Certain methods may be restricted.
To provide a reliable service, Xplorer imposes restrictions on a few methods. Please refer to the following for more information.
Range Restrictions
In Ethereum or Klaytn, there are methods that allow you to specify a block range, such as eth_getLogs
. In Xplorer, the block range is limited for server stability.
- The range between fromBlock and toBlock is limited to 2000.
- If the request exceeds the scope, the following error is returned
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32005,
"message": "In eth_getLogs, eth_newFilter, klay_getLogs, and klay_newFilter, the block range is limited to 2000."
}
}
See the table below for a list of restricted scope methods by platform.
Platform | Restrict Methods |
---|---|
Bitcoin | None |
BNB Smart Chain | eth_getLogs, eth_newFilter |
Ethereum | eth_getLogs, eth_newFilter |
Klaytn | eth_getLogs, eth_newFilter, klay_getLogs, klay_newFilter |
Polygon | eth_getLogs, eth_newFilter |