batchMetadataUpdateEvent

Creates an event object for the BatchMetadataUpdate event.

Example

import { getContractEvents } from "thirdweb";
import { BatchMetadataERC1155 } from "thirdweb/modules";
const events = await getContractEvents({
contract,
events: [BatchMetadataERC1155.batchMetadataUpdateEvent()],
});
function batchMetadataUpdateEvent(): PreparedEvent<{
readonly inputs: readonly [
{
readonly name: "startTokenIdIncluside";
readonly type: "uint256";
},
{
readonly name: "endTokenIdInclusive";
readonly type: "uint256";
},
{ readonly name: "baseURI"; readonly type: "string" },
];
readonly name: "BatchMetadataUpdate";
readonly type: "event";
}>;

Returns

let returnType: PreparedEvent<{
readonly inputs: readonly [
{
readonly name: "startTokenIdIncluside";
readonly type: "uint256";
},
{
readonly name: "endTokenIdInclusive";
readonly type: "uint256";
},
{ readonly name: "baseURI"; readonly type: "string" },
];
readonly name: "BatchMetadataUpdate";
readonly type: "event";
}>;

The prepared event object.