Function getMinimumFee

  • Given a number of bytes and a fee rate in satoshis-per-kilobyte, return the minimum required fee. This calculation is important for standardness in dust threshold calculation.


    • length: bigint

      the number of bytes for which the fee is to be paid

    • feeRateSatsPerKb: bigint

      the fee rate in satoshis per 1000 bytes

    Returns bigint

Generated using TypeDoc