Caravan Documentation
    Preparing search index...

    Function validateFee

    • Validate the given transaction fee (in Satoshis).

      • Must be a parseable as a number.

      • Cannot be negative (zero is OK).

      • Cannot exceed the total input amount.

      • Cannot be higher than the limit set by MAX_FEE_SATS.

      Parameters

      • feeSats: any
      • inputsTotalSats: any

      Returns string