Skip to content

Commit

Permalink
docs: improve openrpc limit docs for eth_getLogs (#2327)
Browse files Browse the repository at this point in the history
Improve openrpc limit docs

Signed-off-by: Luis Mastrangelo <luis@swirldslabs.com>
  • Loading branch information
acuarica authored Apr 11, 2024
1 parent d2ba45d commit 4bc9650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
{
"name": "eth_getLogs",
"summary": "Returns an array of all logs matching a given filter object.",
"description": "The block range filter, _i.e._, `fromBlock` and `toBlock` arguments, cannot be larger than `ETH_GET_LOGS_BLOCK_RANGE_LIMIT` (defaults to `1000`). However, when `address` represents a single address, either a `string` or an array with a single element, this restriction is lifted.\n\nWhen the logs for an individual address exceeds the Mirror Node page limit `MIRROR_NODE_CONTRACT_RESULTS_LOGS_PG_MAX` (defaults to `200`) an error `-32011` _Mirror Node pagination count range too large_ is returned.",
"description": "The block range filter, _i.e._, `fromBlock` and `toBlock` arguments, cannot be larger than `ETH_GET_LOGS_BLOCK_RANGE_LIMIT` (defaults to `1000`). However, when `address` represents a single address, either a `string` or an array with a single element, this restriction is lifted.\n\nWhen the logs for an individual address exceeds `MIRROR_NODE_CONTRACT_RESULTS_LOGS_PG_MAX * MIRROR_NODE_LIMIT_PARAM` (defaults to `20k`) an error `-32011` _Mirror Node pagination count range too large_ is returned. These settings are the Mirror Node page limit (defaults to `200`) and Mirror Node entries per page (defaults to `100`) respectively.",
"params": [
{
"name": "Filter",
Expand Down

0 comments on commit 4bc9650

Please sign in to comment.