Function getRecipientsAmount

  • Gets the amount from a transaction, considering ordinary and multi out transactions (with same and different payments)

    Parameters

    • recipientId: string

      The numeric id of the recipient

    • transaction: Transaction

      The payment transaction

    Returns Amount

    the amount value object