Versions in this module Expand all Collapse all v12 v12.2.0 Jan 3, 2024 Changes in this version + const BlockParamEarliest + const BlockParamFinalized + const BlockParamLatest + const BlockParamPending + const BlockParamSafe + const EthEarliestBlockNumber + const EthLatestBlockNumber + const EthPendingBlockNumber + const ExceedBlockGasLimitError + func BaseFeeFromEvents(events []abci.Event) *big.Int + func BlockMaxGasFromConsensusParams(goCtx context.Context, clientCtx client.Context, blockHeight int64) (int64, error) + func CheckTxFee(gasPrice *big.Int, gas uint64, cap float64) error + func ContextWithHeight(height int64) context.Context + func EthHeaderFromTendermint(header tmtypes.Header, bloom ethtypes.Bloom, baseFee *big.Int) *ethtypes.Header + func FormatBlock(header tmtypes.Header, size int, gasLimit int64, gasUsed *big.Int, ...) map[string]interface + func ParseTxIndexerResult(txResult *tmrpctypes.ResultTx, tx sdk.Tx, getter func(*ParsedTxs) *ParsedTx) (*types.TxResult, error) + func RawTxToEthTx(clientCtx client.Context, txBz tmtypes.Tx) ([]*evmtypes.MsgEthereumTx, error) + func TxExceedBlockGasLimit(res *abci.ResponseDeliverTx) bool + func TxSuccessOrExceedsBlockGasLimit(res *abci.ResponseDeliverTx) bool + 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 EventFormat int + type FeeHistoryResult struct + BaseFee []*hexutil.Big + GasUsedRatio []float64 + OldestBlock *hexutil.Big + Reward [][]*hexutil.Big + type OneFeeHistory struct + BaseFee *big.Int + GasUsedRatio float64 + NextBaseFee *big.Int + 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 ParsedTx struct + EthTxIndex int32 + Failed bool + GasUsed uint64 + Hash common.Hash + MsgIndex int + func NewParsedTx(msgIndex int) ParsedTx + type ParsedTxs struct + TxHashes map[common.Hash]int + Txs []ParsedTx + func ParseTxResult(result *abci.ResponseDeliverTx, tx sdk.Tx) (*ParsedTxs, error) + func (p *ParsedTxs) AccumulativeGasUsed(msgIndex int) (result uint64) + func (p *ParsedTxs) GetTxByHash(hash common.Hash) *ParsedTx + func (p *ParsedTxs) GetTxByMsgIndex(i int) *ParsedTx + func (p *ParsedTxs) GetTxByTxIndex(txIndex int) *ParsedTx + 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 SignTransactionResult struct + Raw hexutil.Bytes + Tx *ethtypes.Transaction + type StateOverride map[common.Address]OverrideAccount + type StorageResult struct + Key string + Proof []string + Value *hexutil.Big