MaybeExtractEventArgsFromAbi
MaybeExtractEventArgsFromAbi<
TAbi
,TEventName
>:TAbi
extendsAbi
| readonlyunknown
[] ?TEventName
extendsstring
?GetEventArgs
<TAbi
,TEventName
> :undefined
:undefined
Adapted from viem. This is a helper type to extract the event args from an abi
Type parameters
• TAbi extends Abi
| readonly unknown
[] | undefined
• TEventName extends string
| undefined
Source
event/EventActionCreator.ts:18