Type alias GetLogsParameters<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock, _EventName>

GetLogsParameters<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock, _EventName>: {
    address?: Address | Address[];
} & ({
    args?: MaybeExtractEventArgsFromAbi<TAbiEvents, _EventName>;
    event: TAbiEvent;
    events?: never;
    strict?: TStrict;
} | {
    args?: never;
    event?: never;
    events: TAbiEvents;
    strict?: TStrict;
} | {
    args?: never;
    event?: never;
    events?: never;
    strict?: never;
}) & ({
    blockHash?: never;
    fromBlock?: TFromBlock | BlockNumber | BlockTag;
    toBlock?: TToBlock | BlockNumber | BlockTag;
} | {
    blockHash?: Hash;
    fromBlock?: never;
    toBlock?: never;
})

Type Parameters

  • TAbiEvent extends AbiEvent | undefined = undefined

  • TAbiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = TAbiEvent extends AbiEvent
        ? [TAbiEvent]
        : undefined

  • TStrict extends boolean | undefined = undefined

  • TFromBlock extends BlockNumber | BlockTag | undefined = undefined

  • TToBlock extends BlockNumber | BlockTag | undefined = undefined

  • _EventName extends string | undefined = MaybeAbiEventName<TAbiEvent>

Type declaration

  • Optional address?: Address | Address[]

    Address or list of addresses from which logs originated

Generated using TypeDoc