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
Parameter | Type | Description |
---|---|---|
amount | Amount |
Returns:
Promise<TransactionResult>
Remarks
Mint tokens to the connected wallet.