Home > @3rdweb/sdk > TokenModule > mintTo
Mint Tokens
Signature:
mintTo(to: string, amount: BigNumberish): Promise<void>;
Parameter | Type | Description |
---|---|---|
to | string | |
amount | BigNumberish |
Returns:
Promise<void>
Mint tokens to a specified address
// Address of the wallet you want to mint the tokens to
const toAddress = "";
// The amount of this token you want to mint
const amount = ethers.utils.parseEther("1.5");
await module.mintTo(toAddress, amount);