Mints ERC721 tokens to a specified address via a ClaimableERC721 module.
import { ClaimableERC721 } from "thirdweb/modules"; const transaction = ClaimableERC721.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.