TrackedLazyTimestampReader

Documentation for eth_defi.event_reader.lazy_timestamp_reader.TrackedLazyTimestampReader Python class.

class TrackedLazyTimestampReader

Bases: object

Track block header fetching across multiple chunks.

Monitor expensive eth_getBlock JSON-RPC process via :py:method:`get_count`.

Methods summary

__init__()

extract_timestamps_json_rpc_lazy(web3, ...)

get_count()

on_block_data(block_hash, block_number, ...)

__init__()