batchMetadataUpdateEvent

Creates an event object for the BatchMetadataUpdate event.

Example

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

Returns

let returnType: PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "_fromTokenId"; readonly type: "uint256" },
{ readonly name: "_toTokenId"; readonly type: "uint256" },
];
readonly name: "BatchMetadataUpdate";
readonly type: "event";
}>;

The prepared event object.