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 });
function mintAdditionalSupplyTo(

Parameters

The transaction options.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A promise that resolves to the transaction result.