batchMetadataUpdateEvent
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()],});
readonly inputs: readonly [ { readonly name: "_fromTokenId"; readonly type: "uint256" }, { readonly name: "_toTokenId"; readonly type: "uint256" }, ]; readonly name: "BatchMetadataUpdate"; readonly type: "event";}>;
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.