pub fn tx_fee(tx: &Transaction) -> u64
Expand description
Calculates the fee of the Transaction
.
ยงPanics
This will panic if the inputs overflow or the transaction outputs too much, so should only be used on known to be valid txs.
pub fn tx_fee(tx: &Transaction) -> u64
Calculates the fee of the Transaction
.
This will panic if the inputs overflow or the transaction outputs too much, so should only be used on known to be valid txs.