Type alias CreateContractEventFilterParameters<abi, eventName, args, strict, fromBlock, toBlock>

CreateContractEventFilterParameters<abi, eventName, args, strict, fromBlock, toBlock>: {
    abi: abi;
    address?: Address | Address[];
    eventName?: eventName | ContractEventName<abi>;
    fromBlock?: fromBlock | BlockNumber | BlockTag;
    strict?: strict | boolean;
    toBlock?: toBlock | BlockNumber | BlockTag;
} & (undefined extends eventName
    ? {
        args?: never;
    }
    : MaybeExtractEventArgsFromAbi<abi, eventName> extends infer TEventFilterArgs
        ? {
            args?: TEventFilterArgs | (args extends TEventFilterArgs
                ? args
                : never);
        }
        : {
            args?: never;
        })

Type Parameters

Type declaration