Function makeNftTransferDeploy

  • 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.

    Returns

    A deploy object representing the NFT transfer operation.

    Example

    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);

    Parameters

    Returns Deploy

Generated using TypeDoc