metadataFrozenEvent

Creates an event object for the MetadataFrozen event.

Example

import { getContractEvents } from "thirdweb";
import { metadataFrozenEvent } from "thirdweb/extensions/erc1155";
const events = await getContractEvents({
contract,
events: [metadataFrozenEvent()],
});
function metadataFrozenEvent(): PreparedEvent<{
readonly inputs: readonly [];
readonly name: "MetadataFrozen";
readonly type: "event";
}>;

Returns

let returnType: PreparedEvent<{
readonly inputs: readonly [];
readonly name: "MetadataFrozen";
readonly type: "event";
}>;

The prepared event object.