Docs

packUpdatedEvent

Creates an event object for the PackUpdated event.

Example

import { getContractEvents } from "thirdweb";
import { packUpdatedEvent } from "thirdweb/extensions/erc1155";
const events = await getContractEvents({
contract,
events: [
packUpdatedEvent({
packId: ...,
})
],
});

Parameters

Returns

The prepared event object.