Type alias GetContractEventsParameters<TAbi, TEventName, TStrict, TFromBlock, TToBlock>

GetContractEventsParameters<TAbi, TEventName, TStrict, TFromBlock, TToBlock>: {
    abi: TAbi;
    address?: Address | Address[];
    args?: TEventName extends string
        ? GetEventArgs<TAbi, TEventName>
        : undefined;
    eventName?: InferEventName<TAbi, TEventName>;
    strict?: TStrict;
} & ({
    blockHash?: never;
    fromBlock?: TFromBlock | BlockNumber | BlockTag;
    toBlock?: TToBlock | BlockNumber | BlockTag;
} | {
    blockHash?: Hash;
    fromBlock?: never;
    toBlock?: never;
})

Type Parameters

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

  • TEventName extends string | undefined = string | undefined

  • TStrict extends boolean | undefined = undefined

  • TFromBlock extends BlockNumber | BlockTag | undefined = undefined

  • TToBlock extends BlockNumber | BlockTag | undefined = undefined

Type declaration

Generated using TypeDoc