Erc721.transfer() method
Transfer a single NFT
Example
const walletAddress = "{{wallet_address}}";
const tokenId = 0;
await contract.nft.transfer(walletAddress, tokenId);
Signature:
transfer(to: string, tokenId: BigNumberish): Promise<TransactionResult>;
Parameters
Parameter | Type | Description |
---|---|---|
to | string | |
tokenId | BigNumberish |
Returns:
Promise<TransactionResult>
Remarks
Transfer an NFT from the connected wallet to another wallet.