Versions in this module Expand all Collapse all v0 v0.12.4 Mar 30, 2022 v0.12.3 Mar 30, 2022 Changes in this version + const BlockParamEarliest + const BlockParamLatest + const BlockParamPending + const EthEarliestBlockNumber + const EthLatestBlockNumber + const EthPendingBlockNumber + const LogRevertedFlag + func AccumulativeGasUsedOfMsg(events []abci.Event, msgIndex int) (gasUsed uint64) + func BaseFeeFromEvents(events []abci.Event) *big.Int + func BlockMaxGasFromConsensusParams(goCtx context.Context, clientCtx client.Context, blockHeight int64) (int64, error) + func ContextWithHeight(height int64) context.Context + func EthHeaderFromTendermint(header tmtypes.Header, bloom ethtypes.Bloom, baseFee *big.Int) *ethtypes.Header + func FindAttribute(attrs []abci.EventAttribute, key []byte) []byte + func FindTxAttributes(events []abci.Event, txHash string) (int, map[string]string) + func FindTxAttributesByIndex(events []abci.Event, txIndex uint64) int + func FormatBlock(header tmtypes.Header, size int, gasLimit int64, gasUsed *big.Int, ...) map[string]interface + func GetUint64Attribute(attrs map[string]string, key string) (uint64, error) + func RawTxToEthTx(clientCtx client.Context, txBz tmtypes.Tx) ([]*evmtypes.MsgEthereumTx, error) + type AccountResult struct + AccountProof []string + Address common.Address + Balance *hexutil.Big + CodeHash common.Hash + Nonce hexutil.Uint64 + StorageHash common.Hash + StorageProof []StorageResult + type AddrLocker struct + func (l *AddrLocker) LockAddr(address common.Address) + func (l *AddrLocker) UnlockAddr(address common.Address) + type BlockNumber int64 + func NewBlockNumber(n *big.Int) BlockNumber + func (bn *BlockNumber) UnmarshalJSON(data []byte) error + func (bn BlockNumber) Int64() int64 + func (bn BlockNumber) TmHeight() *int64 + type BlockNumberOrHash struct + BlockHash *common.Hash + BlockNumber *BlockNumber + func (bnh *BlockNumberOrHash) UnmarshalJSON(data []byte) error + type DataError interface + Error func() string + ErrorData func() interface{} + func ErrRevertedWith(data []byte) DataError + type FeeHistoryResult struct + BaseFee []*hexutil.Big + GasUsedRatio []float64 + OldestBlock *hexutil.Big + Reward [][]*hexutil.Big + type OneFeeHistory struct + BaseFee *big.Int + GasUsedRatio float64 + Reward []*big.Int + type OverrideAccount struct + Balance **hexutil.Big + Code *hexutil.Bytes + Nonce *hexutil.Uint64 + State *map[common.Hash]common.Hash + StateDiff *map[common.Hash]common.Hash + type QueryClient struct + FeeMarket feemarkettypes.QueryClient + func NewQueryClient(clientCtx client.Context) *QueryClient + func (QueryClient) GetProof(clientCtx client.Context, storeKey string, key []byte) ([]byte, *crypto.ProofOps, error) + type RPCTransaction struct + Accesses *ethtypes.AccessList + BlockHash *common.Hash + BlockNumber *hexutil.Big + ChainID *hexutil.Big + From common.Address + Gas hexutil.Uint64 + GasFeeCap *hexutil.Big + GasPrice *hexutil.Big + GasTipCap *hexutil.Big + Hash common.Hash + Input hexutil.Bytes + Nonce hexutil.Uint64 + R *hexutil.Big + S *hexutil.Big + To *common.Address + TransactionIndex *hexutil.Uint64 + Type hexutil.Uint64 + V *hexutil.Big + Value *hexutil.Big + func NewRPCTransaction(tx *ethtypes.Transaction, blockHash common.Hash, blockNumber, index uint64, ...) (*RPCTransaction, error) + func NewTransactionFromMsg(msg *evmtypes.MsgEthereumTx, blockHash common.Hash, blockNumber, index uint64, ...) (*RPCTransaction, error) + type SDKTxLogs struct + Log string + type SignTransactionResult struct + Raw hexutil.Bytes + Tx *ethtypes.Transaction + type StateOverride map[common.Address]OverrideAccount + type StorageResult struct + Key string + Proof []string + Value *hexutil.Big