provider.log_block_range
Documentation for eth_defi.provider.log_block_range Python module.
How long log queries are split into smaller batches per RPC provider.
Functions
|
Get how many blocks is the max batch size in eth_getLogs for this RPC provider. |
- get_logs_max_block_range(web3)
Get how many blocks is the max batch size in eth_getLogs for this RPC provider.
See https://www.alchemy.com/docs/node/ethereum/ethereum-api-endpoints/eth-get-logs
Handle broken chains and subpar RPC providers
- Parameters
web3 (web3.main.Web3) –
- Return type