Docs

mintTo

Mints a specified amount of tokens to a given address.

Example

import { mintTo } from "thirdweb/extensions/erc20";
const tx = await mintTo({
contract,
to: "0x...",
amount: 100,
});

Parameters

Returns

A prepared transaction object.