Docs

transfer

Transfers ERC20 tokens from the sender's address to the specified recipient address.

Example

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

Parameters

Returns

A promise that resolves to the prepared transaction.