Docs

ContractMetadata

Handles metadata for a Contract

Read and update metadata for this contract

Example

const contract = await sdk.getContract("{{contract_address}}");
const metadata = await contract.metadata.get();
await contract.metadata.set({
name: "My Contract",
description: "My contract description",
});

Methods

Properties