import { setContractMetadata } from "@thirdweb/extensions/common";
import { sendTransaction } from "thirdweb";
const transaction = setContractMetadata({
contract,
name: "My NFT",
symbol: "NFT",
});
// Send the transaction
await sendTransaction({
transaction,
account,
});