Private
contractPrivate
erc20Mint Tokens To Many Wallets
Rest
...args: [args: { Mint tokens to many wallets in one transaction.
// Data of the tokens you want to mint
const data = [
{
toAddress: "{{wallet_address}}", // Address to mint tokens to
amount: 0.2, // How many tokens to mint to specified address
},
{
toAddress: "0x...",
amount: 1.4,
}
]
await contract.token.mint.batch(data);
Rest
...args: [args: { Generated using TypeDoc
Mint Many ERC20 Tokens at once
Remarks
Token batch minting functionality that handles unit parsing for you.
Example