Docs

claimTo

Claim ERC1155 NFTs to a specified address

Example

import { claimTo } from "thirdweb/extensions/erc1155";
const tx = await claimTo({
contract,
to: "0x...",
tokenId: 0n,
quantity: 1n,
});

Parameters

Returns

The prepared transaction