argentlabs / web3.swift

Ethereum Swift API with support for smart contracts, ENS & ERC20
MIT License
668 stars 168 forks source link

Add fee info to EthereumBlockInfo #359

Closed Syn-McJ closed 7 months ago

Syn-McJ commented 7 months ago

EthereumBlockInfo is quite slim, but some fee info would be very useful. https://www.quicknode.com/docs/ethereum/eth_getBlockByNumber

Added gasLimit, gasUsed, and optional baseFeePerGas.