# Functions
BlockMaxGasFromConsensusParams returns the gas limit for the latest block from the chain consensus params.
EthBlockFromTendermint returns a JSON-RPC compatible Ethereum blockfrom a given Tendermint block.
EthHeaderFromTendermint is an util function that returns an Ethereum Header from a tendermint Block header.
EthTransactionsFromTendermint returns a slice of ethereum transaction hashes and the total gas usage from a set of tendermint block transactions.
GetBlockBloom from tm events.
GetBlockCumulativeGas returns the cumulative gas used on a block up to a given transaction index.
GetTxEthLogs substract logs from deliver response.
LegacyRawBlockAndTxToEthTx returns a eth Transaction compatible from the legacy tx structure.
No description provided by the author
ParseLegacyTx is used to parse the signed tx for old OneLedger tx types.
No description provided by the author
# Constants
No description provided by the author
InitialBlockNumber as tendermint starts at 1 for genesis.
No description provided by the author
No description provided by the author
# Structs
Block represents a block returned to RPC clients.
CallArgs represents the arguments for a call.
Header represents a block header in the Ethereum blockchain.
No description provided by the author
Transaction represents a transaction returned to RPC clients.
TransactionReceipt represents a mined transaction returned to RPC clients.
# Interfaces
No description provided by the author
Web3Context interface to define required elements for the API Context.
Web3Service interface define service.