Versions in this module Expand all Collapse all v0 v0.18.15 May 17, 2022 Changes in this version + const EarliestBlockNumber + const InitialBlockNumber + const LatestBlockNumber + const PendingBlockNumber + func BlockMaxGasFromConsensusParams(tmClient rpcclient.Client) (uint64, error) + func EthTransactionsFromTendermint(block *tmtypes.Block, fullTx bool) ([]interface{}, uint64, error) + func GetBlockBloom(events []abci.Event) vm.Bloom + func GetBlockCumulativeGas(block *tmtypes.Block, idx int) uint64 + func NewRevertError(result *vm.ExecutionResult) *revertError + func ParseLegacyTx(tmTx tmtypes.Tx) (*action.SignedTx, error) + func StateAndHeaderByNumberOrHash(blockStore *store.BlockStore, blockNrOrHash rpc.BlockNumberOrHash) (int64, error) + type Block struct + Difficulty hexutil.Uint64 + ExtraData hexutil.Bytes + GasLimit *hexutil.Big + GasUsed *hexutil.Big + Hash common.Hash + LogsBloom vm.Bloom + Miner common.Address + MixHash common.Hash + Nonce ethtypes.BlockNonce + Number hexutil.Uint64 + ParentHash common.Hash + ReceiptsRoot common.Hash + Sha3Uncles common.Hash + Size hexutil.Uint64 + StateRoot common.Hash + Timestamp hexutil.Uint64 + TotalDifficulty hexutil.Uint64 + Transactions []interface{} + TransactionsRoot common.Hash + Uncles []common.Hash + func EthBlockFromTendermint(block *tmtypes.Block, fullTx bool) (*Block, error) + type CallArgs struct + Data hexutil.Bytes + From common.Address + Gas hexutil.Uint64 + GasPrice *hexutil.Big + To *common.Address + Value *hexutil.Big + type EthService interface + GetBlockStore func() *store.BlockStore + GetStateDB func() *vm.CommitStateDB + type Header struct + Bloom vm.Bloom + Coinbase common.Address + Difficulty *big.Int + Extra []byte + GasLimit *big.Int + GasUsed *big.Int + Hash common.Hash + MixDigest common.Hash + Nonce ethtypes.BlockNonce + Number *big.Int + ParentHash common.Hash + ReceiptHash common.Hash + Root common.Hash + Size uint64 + Time uint64 + TxHash common.Hash + UncleHash common.Hash + func EthHeaderFromTendermint(block *tmtypes.Block) (*Header, error) + type LogReceipt struct + Bloom vm.Bloom + ContractAddress *common.Address + Logs []*ethtypes.Log + Status uint64 + func GetTxEthLogs(res *abci.ResponseDeliverTx, txIndex uint32) *LogReceipt + type Transaction struct + BlockHash *common.Hash + BlockNumber *hexutil.Big + From common.Address + Gas hexutil.Uint64 + GasPrice *hexutil.Big + Hash common.Hash + Input hexutil.Bytes + Nonce hexutil.Uint64 + R *common.Hash + S *common.Hash + To *common.Address + TransactionIndex *hexutil.Uint64 + V *hexutil.Big + Value hexutil.Big + func LegacyRawBlockAndTxToEthTx(tmBlock *tmtypes.Block, tmTx *tmtypes.Tx, chainID *big.Int, ...) (*Transaction, error) + type TransactionReceipt struct + BlockHash common.Hash + BlockNumber hexutil.Big + ContractAddress *common.Address + CumulativeGasUsed hexutil.Uint64 + From common.Address + GasUsed hexutil.Uint64 + Logs []*ethtypes.Log + LogsBloom vm.Bloom + Status hexutil.Uint64 + To *common.Address + TransactionHash common.Hash + TransactionIndex hexutil.Uint64 + type Web3Context interface + GetAccountKeeper func() balance.AccountKeeper + GetBlockStore func() *store.BlockStore + GetConfig func() *config.Server + GetConsensusReactor func() *cs.Reactor + GetContractStore func() *evm.ContractStore + GetEventBus func() *types.EventBus + GetFeePool func() *fees.Store + GetGenesisDoc func() *types.GenesisDoc + GetLogger func() *log.Logger + GetMempool func() mempool.Mempool + GetNode func() *consensus.Node + GetNodeContext func() *node.Context + GetSwitch func() *p2p.Switch + RegisterService func(name string, srv Web3Service) + ServiceList func() map[string]Web3Service + type Web3Service interface