credmark.cmf.types.contract_web3.fetch_events_async

async fetch_events_async(async_web3, event_filter_params, from_block, to_block, num_of_chunk=10)[source]
events = asyncio.run(fetch_events_async(async_web3, event_filter_params,

from_block, to_block, num_of_chunk)) # type: ignore

Parameters
  • async_web3 (AsyncWeb3) –

  • event_filter_params (FilterParams) –

  • from_block (int) –

  • to_block (int) –

  • num_of_chunk (int) –