Skip to content

CreateEventFilterParameters

CreateEventFilterParameters<abiEvent, abiEvents, strict, fromBlock, toBlock, _eventName, _args>: object & MaybeExtractEventArgsFromAbi<abiEvents, _eventName> extends infer eventFilterArgs ? object | object | object | object : object

Type declaration

address?

optional address: Address | Address[]

fromBlock?

optional fromBlock: fromBlock | BlockNumber | BlockTag

toBlock?

optional toBlock: toBlock | BlockNumber | BlockTag

Type Parameters

abiEvent extends AbiEvent | undefined = undefined

abiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = abiEvent extends AbiEvent ? [abiEvent] : undefined

strict extends boolean | undefined = undefined

fromBlock extends BlockNumber | BlockTag | undefined = undefined

toBlock extends BlockNumber | BlockTag | undefined = undefined

_eventName extends string | undefined = MaybeAbiEventName<abiEvent>

_args extends MaybeExtractEventArgsFromAbi<abiEvents, _eventName> | undefined = undefined

Defined in

node_modules/.pnpm/viem@2.21.1_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@6.0.4_zod@3.23.8/node_modules/viem/_types/actions/public/createEventFilter.d.ts:13