Docs

batchMetadataUpdateEvent

Creates an event object for the BatchMetadataUpdate event.

Example

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

Returns

The prepared event object.