Creates a Deploy for transferring an NFT (Non-Fungible Token). This function constructs and returns a Deploy for transferring NFTs according to the specified parameters.
Deploy
A deploy object representing the NFT transfer operation.
import { makeNftTransferDeploy, NFTTokenStandard } from 'casper-js-sdk';const deploy = await makeNftTransferDeploy({ nftStandard: NFTTokenStandard.CEP47, contractPackageHash: '0123456789asdfbcdef...', senderPublicKeyHex: '0123456789asdfbcdef...', recipientPublicKeyHex: '0123456789abcdef...', paymentAmount: '3000000000', // 3 CSPR tokenId: 234,});console.log('Created Deploy:', deploy);
The parameters required to create the NFT transfer deploy.
Generated using TypeDoc
Creates a
Deploy
for transferring an NFT (Non-Fungible Token). This function constructs and returns aDeploy
for transferring NFTs according to the specified parameters.Returns
A deploy object representing the NFT transfer operation.
Example