Post
Topic
Board Development & Technical Discussion
Re: how to read blockexplorer
by
FiNaR76
on 21/01/2020, 06:07:16 UTC
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

great! thank you for your help!

which block explorer api would you recommend? I have found that https://blockexplorer.com/ has been down lately... so not very reliable...

Thank you so much!