BitcoinJS v5.1.5 Release Notes

Release Date: 2019-08-27 // over 4 years ago
  • added

    • Psbt now has getFee(): number for use when all inputs are finalized. It returns the satoshi fee of the transaction. Calling getFee, getFeeRate, or extractTransaction will cache these values so if you call one after the other, the second call will return immediately.