I'm building an app to display information pertaining to individual Bitcoin addresses.
I've been using the blockchain.info API to get data regarding the final_balance
, total_received
, and total_sent
.
But I'm having a little trouble figuring out how to retrieve data on transaction fees.
Looking at the json when querying an address (for example 1CK6KHY6MHgYvmRQ4PAafKYDrg1ejbH1cE) I'm assuming I would need to iterate through the hash of transactions it returns, and use the hash of the transaction with the value "result" > 0?
I'm just not certain how to differentiate between spending and receiving when looking at the json.