Function assetTransfer

  • Name

    assetTransfer

    Summary

    Transfers some balance to another account.

    Parameters

    • id: number

      ID of the Asset

    • to: string

      Public address of the account to transfer the amount to.

    • amount: number | BN

      Token amount to transfer.

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: WaitUntil

      Execution trigger that can be set either to BlockInclusion or BlockFinalization.

    Returns Promise<AssetTransferredEvent>

    AssetTransferredEvent Blockchain event.

Generated using TypeDoc