Type Alias GetContractEventsParameters<abi, eventName, strict, fromBlock, toBlock>

GetContractEventsParameters<abi, eventName, strict, fromBlock, toBlock>: {
    abi: abi;
    address?: Address | Address[];
    args?: ContractEventArgs<abi, eventName extends ContractEventName<abi>
        ? eventName
        : ContractEventName<abi>>;
    eventName?: eventName | ContractEventName<abi>;
    strict?: strict | boolean;
} & ({
    blockHash?: undefined;
    fromBlock?: fromBlock | BlockNumber | BlockTag;
    toBlock?: toBlock | BlockNumber | BlockTag;
} | {
    blockHash?: Hash;
    fromBlock?: undefined;
    toBlock?: undefined;
})

Type Parameters

Type declaration