GetEventArgs
GetEventArgs<
abi
,eventName
,config
,abiEvent
,args
,FailedToParseArgs
>:true
extendsFailedToParseArgs
? readonlyunknown
[] |Record
<string
,unknown
> :args
Type Parameters
• abi extends Abi
| readonly unknown
[]
• eventName extends string
• config extends EventParameterOptions
= DefaultEventParameterOptions
• abiEvent extends AbiEvent
& object
= abi
extends Abi
? ExtractAbiEvent
<abi
, eventName
> : AbiEvent
& object
• args = AbiEventParametersToPrimitiveTypes
<abiEvent
["inputs"
], config
>
• FailedToParseArgs = [args
] extends [never
] ? true
: false
| readonly unknown
[] extends args
? true
: false
Defined in
node_modules/.pnpm/viem@2.21.1_bufferutil@4.0.8_typescript@5.6.2_utf-8-validate@6.0.4_zod@3.23.8/node_modules/viem/_types/types/contract.d.ts:72