Type Alias GetLogsParams<abi, event, abiEvent, abiEvents>
Type Parameters
- abi extends Abi
- event extends ContractEventName<abi>
- abiEvent extends ExtractAbiEvent<abi, event> = ExtractAbiEvent<abi, event>
- abiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = abiEvent extends AbiEvent
? [abiEvent]
: undefined
Helper type that encapsulates common
getLogs
parameters without fields likeaddress
that are expected to be provided the SDK. See (getLogs)[https://viem.sh/docs/actions/public/getLogs#getlogs]