Documentation ¶
Index ¶
- func DefaultOption() *option
- type ETHClient
- func (cl *ETHClient) DebugTraceTransaction(ctx context.Context, txHash common.Hash) (string, error)
- func (cl *ETHClient) EstimateGasFromTx(ctx context.Context, tx *gethtypes.Transaction) (uint64, error)
- func (cl ETHClient) GetProof(address common.Address, storageKeys [][]byte, blockNumber *big.Int) (*StateProof, error)
- func (cl *ETHClient) GetTransactionReceipt(ctx context.Context, txHash common.Hash, enableDebugTrace bool) (rc *gethtypes.Receipt, revertReason string, err error)
- func (cl *ETHClient) Raw() *rpc.Client
- func (cl *ETHClient) WaitForReceiptAndGet(ctx context.Context, txHash common.Hash, enableDebugTrace bool) (*gethtypes.Receipt, string, error)
- type Option
- type Receipt
- type StateProof
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultOption ¶
func DefaultOption() *option
Types ¶
type ETHClient ¶
func (*ETHClient) DebugTraceTransaction ¶ added in v0.2.2
func (*ETHClient) EstimateGasFromTx ¶ added in v0.2.14
func (*ETHClient) GetTransactionReceipt ¶
type Option ¶
type Option func(*option)
func WithRetryOption ¶
func WithRetryOption(rops ...retry.Option) Option
Click to show internal directories.
Click to hide internal directories.