Versions in this module Expand all Collapse all v0 v0.2.6 Sep 19, 2023 v0.2.5 Sep 18, 2023 Changes in this version + func DefaultOption() *option + type ETHClient struct + func NewETHClient(endpoint string, opts ...Option) (*ETHClient, error) + func (cl *ETHClient) DebugTraceTransaction(ctx context.Context, txHash common.Hash) (string, string, error) + func (cl *ETHClient) GetTransactionReceipt(ctx context.Context, txHash common.Hash, enableDebugTrace bool) (rc *gethtypes.Receipt, recoverable bool, err error) + func (cl *ETHClient) WaitForReceiptAndGet(ctx context.Context, tx *gethtypes.Transaction, enableDebugTrace bool) (*gethtypes.Receipt, error) + func (cl ETHClient) GetProof(address common.Address, storageKeys [][]byte, blockNumber *big.Int) (*StateProof, error) + type Option func(*option) + func WithRetryOption(rops ...retry.Option) Option + type Receipt struct + RevertReason []byte + func (rc Receipt) GetRevertReason() (string, error) + func (rc Receipt) HasRevertReason() bool + type Result struct + Calls []Result + Error *string + From *string + Gas *string + GasUsed *string + Input *string + Output *string + RevertReason *string + To *string + Type *string + Value *string + type StateProof struct + AccountProofRLP []byte + Balance big.Int + CodeHash [32]byte + Nonce uint64 + StorageHash [32]byte + StorageProofRLP [][]byte