Function makeCsprTransferDeploy

  • Creates a CSPR transfer Deploy.

    This function generates a Deploy for transferring CSPR from one account to another.

    Returns

    A promise that resolves to the created Deploy instance, ready to be sent to the Casper network.

    Example

    import { makeCsprTransferDeploy } from 'casper-js-sdk';

    const deploy = await makeCsprTransferDeploy({
    senderPublicKeyHex: '0123456789asdfbcdef...',
    recipientPublicKeyHex: '0123456789abcdef...',
    transferAmount: '2500000000', // 2.5 CSPR
    });

    console.log('Created Deploy:', deploy);

    Parameters

    Returns Deploy

Generated using TypeDoc