Documentation
¶
Index ¶
- type Provider
- func (p *Provider) GetBlockByHash(ctx context.Context, blockHash string, fullTransaction bool) (*response.BlockByHashResponse, error)
- func (p *Provider) GetBlockByNumber(ctx context.Context, blockNumberHex string, fullTransaction bool) (*response.BlockByNumberResponse, error)
- func (p *Provider) GetBlockNumber(ctx context.Context) (*response.BlockNumberResponse, error)
- func (p *Provider) GetTransactionByHash(ctx context.Context, transactionHash string) (*response.TransactionByHashResponse, error)
- func (p *Provider) GetTransactionReceipt(ctx context.Context, transactionHash string) (*response.TransactionReceiptResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func (*Provider) GetBlockByHash ¶
func (*Provider) GetBlockByNumber ¶
func (*Provider) GetBlockNumber ¶
func (*Provider) GetTransactionByHash ¶
func (*Provider) GetTransactionReceipt ¶
Click to show internal directories.
Click to hide internal directories.