Caravan Documentation
    Preparing search index...

    Function validateFeeRate

    • Validate the given transaction fee rate (in Satoshis/vbyte). Returns an error message if invalid. Returns empty string if valid.

      • Must be parseable as a number.

      • Cannot be negative (zero is OK).

      • Cannot be greater than the limit set by MAX_FEE_RATE_SATS_PER_VBYTE.

      Parameters

      • feeRateSatsPerVbyte: any

      Returns string