claimTo

Claim ERC20 NFTs to a specified address

Example

import { claimTo } from "thirdweb/extensions/erc20";
import { sendTransaction } from "thirdweb";
const transaction = claimTo({
contract,
to: "0x...",
quantity: 100n,
});
await sendTransaction({ transaction, account });

Parameters

Returns

A promise that resolves with the submitted transaction hash.