Documentation
¶
Index ¶
- func GetBlockRange(ctx context.Context, from, to uint64, c *ethrpc.Client) ([]*json.RawMessage, error)
- func GetBlockRangeInPages(ctx context.Context, from, to, pageSize uint64, c *ethrpc.Client) ([]*json.RawMessage, error)
- func GetReceipts(ctx context.Context, rawBlocks []*json.RawMessage, c *ethrpc.Client, ...) ([]*json.RawMessage, error)
- func GetTxPoolSize(rpc *ethrpc.Client) (uint64, error)
- func ValidateUrl(input string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlockRange ¶
func GetBlockRangeInPages ¶ added in v0.1.35
func GetReceipts ¶
func GetReceipts(ctx context.Context, rawBlocks []*json.RawMessage, c *ethrpc.Client, batchSize uint64) ([]*json.RawMessage, error)
func ValidateUrl ¶ added in v0.1.35
ValidateUrl checks if a string URL can be parsed and if it has a valid scheme.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.