Docs

EventQueryOptions

Filters for querying past events

type EventQueryOptions<
  TFilter extends Record<string, any> = Record<string, any>,
> = {
  filters: TFilter;
  fromBlock: string | number;
  order: "asc" | "desc";
  toBlock: string | number;
};