Home > @3rdweb/sdk > TokenModule > mintBatchTo
Mint Tokens To Many Wallets
Signature:
mintBatchTo(args: ITokenMintArgs[]): Promise<void>;
Parameter | Type | Description |
---|---|---|
args | ITokenMintArgs[] |
Returns:
Promise<void>
Mint tokens to many different wallets
// Data of the tokens you want to mint
const data = [
{
address: "", // Address to mint tokens to
amount: 100, // How many tokens to mint to specified address
},
{
address: "0x...",
amount: 100,
}
]
await module.mintBatchTo(data);