Function transferCoinsOf

  • Transfers coins 'from' an address 'to' another address.

    Remarks

    The transfer can only be done if the caller has write access to the sender's address.

    See

    Throws

    • if the sender's or the receiver address is not a valid address.
    • if the balance of the sender's address is insufficient to make the transaction.

    Parameters

    • from: Address

      the sender address.

    • to: Address

      the address to send coins to.

    • amount: number

      value in the smallest unit.

    Returns void

Generated using TypeDoc