sharedMetadataUpdatedEvent

Creates an event object for the SharedMetadataUpdated event.

Example

import { getContractEvents } from "thirdweb";
import { sharedMetadataUpdatedEvent } from "thirdweb/extensions/erc721";
const events = await getContractEvents({
contract,
events: [sharedMetadataUpdatedEvent()],
});
function sharedMetadataUpdatedEvent(): PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "name"; readonly type: "string" },
{ readonly name: "description"; readonly type: "string" },
{ readonly name: "imageURI"; readonly type: "string" },
{ readonly name: "animationURI"; readonly type: "string" },
];
readonly name: "SharedMetadataUpdated";
readonly type: "event";
}>;

Returns

let returnType: PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "name"; readonly type: "string" },
{ readonly name: "description"; readonly type: "string" },
{ readonly name: "imageURI"; readonly type: "string" },
{ readonly name: "animationURI"; readonly type: "string" },
];
readonly name: "SharedMetadataUpdated";
readonly type: "event";
}>;

The prepared event object.