sharedMetadata

Calls the "sharedMetadata" function on the contract.

Example

import { sharedMetadata } from "thirdweb/extensions/erc721";
const result = await sharedMetadata({
contract,
});
function sharedMetadata(
): Promise<readonly [string, string, string, string]>;

Parameters

The options for the sharedMetadata function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<readonly [string, string, string, string]>;

The parsed result of the function call.