Skip to content

CreateEventFilterParameters

CreateEventFilterParameters<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock, _EventName, _Args>: object & MaybeExtractEventArgsFromAbi<TAbiEvents, _EventName> extends infer TEventFilterArgs ? object | object | object | object : object

Type declaration

address?

optional address: Address | Address[]

fromBlock?

optional fromBlock: TFromBlock | BlockNumber | BlockTag

toBlock?

optional toBlock: TToBlock | BlockNumber | BlockTag

Type parameters

TAbiEvent extends AbiEvent | undefined = undefined

TAbiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = TAbiEvent extends AbiEvent ? [TAbiEvent] : undefined

TStrict extends boolean | undefined = undefined

TFromBlock extends BlockNumber | BlockTag | undefined = undefined

TToBlock extends BlockNumber | BlockTag | undefined = undefined

_EventName extends string | undefined = MaybeAbiEventName<TAbiEvent>

_Args extends MaybeExtractEventArgsFromAbi<TAbiEvents, _EventName> | undefined = undefined

Source

node_modules/.pnpm/viem@2.8.18_typescript@5.4.5_zod@3.23.8/node_modules/viem/_types/actions/public/createEventFilter.d.ts:13