Skip to content

decodeEventLog

decodeEventLog<abi, eventName, topics, data, strict>(parameters): DecodeEventLogReturnType<abi, eventName, topics, data, strict>

Type Parameters

abi extends Abi | readonly unknown[]

eventName extends undefined | string = undefined

topics extends `0x${string}`[] = `0x${string}`[]

data extends undefined | `0x${string}` = undefined

strict extends boolean = true

Parameters

parameters: DecodeEventLogParameters<abi, eventName, topics, data, strict>

Returns

DecodeEventLogReturnType<abi, eventName, topics, data, strict>

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/utils/abi/decodeEventLog.d.ts:32