From 75a153717616316855c8ec53d9b6b9022d53df07 Mon Sep 17 00:00:00 2001 From: Tamas Date: Wed, 14 Feb 2024 13:28:47 +0100 Subject: [PATCH] comment --- ethrpc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ethrpc.go b/ethrpc.go index 52b05cb..49c53bc 100644 --- a/ethrpc.go +++ b/ethrpc.go @@ -583,6 +583,7 @@ func (rpc *EthRPC) BatchGetLogsByRange(from, to int) ([][]Log, error) { return batchedLogs, nil } +// BatchGetBlocksAndLogs returns blocks and logs for a range in order, fetched in a single batched call func (rpc *EthRPC) BatchGetBlocksAndLogs(numbers ...int) ([]*Block, [][]Log, error) { var blockRequests []ethRequest var logRequests []ethRequest