Skip to main content

ContractMetadata.get() method

Get the metadata of a contract

Example

const metadata = await contract.metadata.get();

Signature:

get(): Promise<z.output<TSchema["output"]>>;

Returns:

Promise<z.output<TSchema["output"]>>

the metadata of the given contract

Remarks

Get the metadata of a contract