Creates an event object for the BatchMetadataUpdate event.
import { getContractEvents } from "thirdweb";import { batchMetadataUpdateEvent } from "thirdweb/extensions/erc1155"; const events = await getContractEvents({ contract, events: [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";}>;
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.