Documentation ¶
Index ¶
- func DefaultOption() *option
- type CallFrame
- type ETHClient
- func (cl *ETHClient) DebugTraceTransaction(ctx context.Context, txHash common.Hash) (string, 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 CallFrame ¶ added in v0.2.4
type CallFrame struct { Type *string `json:"type"` From *string `json:"from"` To *string `json:"to"` Value *string `json:"value"` Gas *string `json:"gas"` GasUsed *string `json:"gasUsed"` Input *string `json:"input"` Output *string `json:"output"` Error *string `json:"error"` RevertReason *string `json:"revertReason"` Calls []CallFrame `json:"calls"` }
type ETHClient ¶
func (*ETHClient) DebugTraceTransaction ¶ added in v0.2.2
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.