claimTo

Claim ERC721 NFTs to a specified address

Example

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

Parameters

Returns

A promise that resolves with the submitted transaction hash.