metadataUpdateEvent

Creates an event object for the MetadataUpdate event.

Example

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

Returns

The prepared event object.