Docs

parseEventLogs

Parses logs and returns the corresponding events.

Example

import { parseEventLogs } from "thirdweb";
const events = parseEventLogs({
logs,
events: [preparedEvent, preparedEvent2],
});

Parameters

Returns

The parsed events.