Prepares a transaction to call the "freezeMetadata" function on the contract.
import { sendTransaction } from "thirdweb";import { freezeMetadata } from "thirdweb/extensions/erc1155"; const transaction = freezeMetadata(); // Send the transactionawait sendTransaction({ transaction, account });
function freezeMetadata( options: BaseTransactionOptions,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "freezeMetadata" function.
let options: { contract: ThirdwebContract<abi> } & T;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.