From 2d2bdfc4ed3ad5a41dfe2041b849e7b02950a15b Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 16 Jul 2019 14:02:21 +0300 Subject: [PATCH] add note about pagination params --- apps/explorer/lib/explorer/eth_rpc.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/eth_rpc.ex b/apps/explorer/lib/explorer/eth_rpc.ex index 6acb7f523f..aaec38f4f6 100644 --- a/apps/explorer/lib/explorer/eth_rpc.ex +++ b/apps/explorer/lib/explorer/eth_rpc.ex @@ -22,7 +22,8 @@ defmodule Explorer.EthRPC do "eth_getLogs" => %{ action: :eth_get_logs, notes: """ - Will never return more than 1000 log entries. + Will never return more than 1000 log entries.\n + For this reason, you can use pagination options to request the next page. Pagination options params: {"block_number": 1, "transaction_index": 0, "log_index": 1} which include parameters from the last log received from the previous request. """, example: """ {"id": 0, "jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"address": "0x0000000000000000000000000000000000000026","topics": ["0x01"]}]}