Documentation ¶
Index ¶
- type InstrumentedEthClient
- func (i *InstrumentedEthClient) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error)
- func (i *InstrumentedEthClient) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (i *InstrumentedEthClient) PendingNonceAt(ctx context.Context, address string) (uint64, error)
- func (i *InstrumentedEthClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
- func (i *InstrumentedEthClient) SuggestGasTipCap(ctx context.Context) (*big.Int, error)
- func (i *InstrumentedEthClient) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error)
- func (i *InstrumentedEthClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- type InstrumentedSignerClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstrumentedEthClient ¶
type InstrumentedEthClient struct {
// contains filtered or unexported fields
}
func (*InstrumentedEthClient) EstimateGas ¶ added in v0.2.0
func (i *InstrumentedEthClient) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error)
func (*InstrumentedEthClient) HeaderByNumber ¶ added in v0.2.0
func (*InstrumentedEthClient) PendingNonceAt ¶
func (*InstrumentedEthClient) SendTransaction ¶
func (i *InstrumentedEthClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
func (*InstrumentedEthClient) SuggestGasTipCap ¶ added in v0.2.0
func (*InstrumentedEthClient) TransactionByHash ¶
func (i *InstrumentedEthClient) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error)
func (*InstrumentedEthClient) TransactionReceipt ¶
type InstrumentedSignerClient ¶
type InstrumentedSignerClient struct {
// contains filtered or unexported fields
}
func NewSignerClient ¶
func (*InstrumentedSignerClient) SignTransaction ¶
func (i *InstrumentedSignerClient) SignTransaction(ctx context.Context, chainId *big.Int, from *common.Address, tx *types.Transaction) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.