Calculate transaction fee from getrawtransaction

1

Is there an easier way than substracting vout to previous vin's transaction vout to calculate the fee paid for a transaction?

Callombert

Posted 2017-10-06T15:49:10.437

Reputation: 113

Answers

1

No, there is not. That is how the transaction is set and calculated in the first place.

Andrew Chow

Posted 2017-10-06T15:49:10.437

Reputation: 40 910