mintAdditionalSupplyTo

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

Example

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

Parameters

Returns

A promise that resolves to the transaction result.