Function balancesTransferAll

  • Name

    balancesTransferAll

    Summary

    Transfers the entire transferable balance from the caller account.

    Returns

    BalancesTransferEvent Blockchain event.

    Parameters

    • to: string

      Public address of the account to transfer the amount to.

    • keepAlive: boolean = true

      Ensure that the transfer does not kill the account, it retains the Existential Deposit.

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: TernoaConstants.WaitUntil

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

    Returns Promise<TernoaEvents.BalancesTransferEvent>

Generated using TypeDoc