Skip to main content

StandardErc721.transfer() method

Transfer a single NFT

Example

const walletAddress = "{{wallet_address}}";
const tokenId = 0;
await contract.transfer(walletAddress, tokenId);

Signature:

transfer(to: string, tokenId: BigNumberish): Promise<TransactionResult>;

Parameters

ParameterTypeDescription
tostring
tokenIdBigNumberish

Returns:

Promise<TransactionResult>

Remarks

Transfer an NFT from the connected wallet to another wallet.