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_logs_max_block_range(web3)

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.

Parameters

web3 (web3.main.Web3) –

Return type

int