Docs

mintAdditionalSupplyTo

Mints a "supply" number of additional ERC1155 tokens to the specified "to" address.

Example

import { mintAdditionalSupplyTo } from "thirdweb/extensions/erc1155";
const transaction = mintAdditionalSupplyTo({
contract,
to: "0x...",
tokenId: 1n,
supply: 10n,
});
const { transactionHash } = await sendTransaction({
transaction,
account,
});

Parameters

Returns

A promise that resolves to the transaction result.