Post
Topic
Board Development & Technical Discussion
Merits 2 from 2 users
Re: how to read blockexplorer
by
HCP
on 20/01/2020, 19:56:00 UTC
⭐ Merited by OmegaStarScream (1) ,ETFbitcoin (1)
If the fee is not explicitly stated by the API, you can calculate it yourself very easily as it is simply the difference between the total of vIn amouts and vOut amounts for a transaction.

In the example above:

vIn = 0.03602039
VOut = 0.01 + 0.02601813 = 0.03601813

Fee = vIn - vOut = 0.03602039 - 0.03601813 = 0.00000226