Skip to main content

Erc20.mintTo() method

Mint Tokens

Example

const toAddress = "{{wallet_address}}"; // Address of the wallet you want to mint the tokens to
const amount = "1.5"; // The amount of this token you want to mint
await contract.erc20.mintTo(toAddress, amount);

Signature:

mintTo(receiver: string, amount: Amount): Promise<TransactionResult>;

Parameters

ParameterTypeDescription
receiverstring
amountAmount

Returns:

Promise<TransactionResult>

Remarks

Mint tokens to a specified address.