Skip to content

Filter

Filter<TFilterType, TAbi, TEventName, TArgs, TStrict, TFromBlock, TToBlock>: object & TFilterType extends "event" ? object & TAbi extends Abi ? undefined extends TEventName ? object : TArgs extends MaybeExtractEventArgsFromAbi<TAbi, TEventName> ? object : object : object : object

Type declaration

id

id: Hex

request

request: EIP1193RequestFn<FilterRpcSchema>

type

type: TFilterType

Type parameters

TFilterType extends FilterType = "event"

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

TEventName extends string | undefined = undefined

TArgs extends MaybeExtractEventArgsFromAbi<TAbi, TEventName> | undefined = MaybeExtractEventArgsFromAbi<TAbi, TEventName>

TStrict extends boolean | undefined = undefined

TFromBlock extends BlockNumber | BlockTag | undefined = undefined

TToBlock extends BlockNumber | BlockTag | undefined = undefined

Source

node_modules/.pnpm/viem@2.8.18_typescript@5.4.5_zod@3.23.8/node_modules/viem/_types/types/filter.d.ts:11