estimateFee static method

BigInt estimateFee({
  1. required TxSizeEstimate sizeEstimate,
  2. required int satPerVbyte,
})

Implementation

static BigInt estimateFee({
  required TxSizeEstimate sizeEstimate,
  required int satPerVbyte,
}) {
  return BigInt.from(sizeEstimate.vsize) * BigInt.from(satPerVbyte);
}