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
...

Parameters

Returns

A prepared transaction object.