Skip to content

Filter

Filter<filterType, abi, eventName, args, strict, fromBlock, toBlock>: object & filterType extends "event" ? object & abi extends Abi ? undefined extends eventName ? object : args extends MaybeExtractEventArgsFromAbi<abi, eventName> ? object : object : object : object

Type declaration

id

id: Hex

request

request: EIP1193RequestFn<FilterRpcSchema>

type

type: filterType

Type Parameters

filterType extends FilterType = "event"

abi extends Abi | readonly unknown[] | undefined = undefined

eventName extends string | undefined = undefined

args extends MaybeExtractEventArgsFromAbi<abi, eventName> | undefined = MaybeExtractEventArgsFromAbi<abi, eventName>

strict extends boolean | undefined = undefined

fromBlock extends BlockNumber | BlockTag | undefined = undefined

toBlock extends BlockNumber | BlockTag | 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/types/filter.d.ts:11