get_logs_max_block_range
Documentation for eth_defi.provider.log_block_range.get_logs_max_block_range function.
- 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