Skip to main content

Erc20.mint() method

Mint Tokens

Example

const amount = "1.5"; // The amount of this token you want to mint
await contract.erc20.mint(toAddress, amount);

Signature:

mint(amount: Amount): Promise<TransactionResult>;

Parameters

ParameterTypeDescription
amountAmount

Returns:

Promise<TransactionResult>

Remarks

Mint tokens to the connected wallet.