freezeMetadata

Prepares a transaction to call the "freezeMetadata" function on the contract.

Example

import { freezeMetadata } from "thirdweb/extensions/erc1155";
const transaction = freezeMetadata();
// Send the transaction
...
function freezeMetadata(

Parameters

The options for the "freezeMetadata" function.

Type

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

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.