Mints ERC1155 tokens to a specified address via a ClaimableERC1155 module.
import { ClaimableERC1155 } from "thirdweb/modules"; const transaction = ClaimableERC1155.mint({ contract, to: "0x...", // Address to mint tokens to quantity: 2, // Amount of tokens to mint}); // Send the transactionawait sendTransaction({ transaction, account });
function mint( options: BaseTransactionOptions<MintParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for minting tokens.
let options: BaseTransactionOptions<MintParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A transaction to mint tokens.