Suggestion to improve Insights unspent output api


(Tim Lee) #1

Hi, I’m the creator of an iOS bitcoin wallet call ArcBit and it makes good use of Insights API.

I wondering if the Insight team can add a field to the API method /api/addr/[:addr]/utxo. Currently there is a field call “amount” that contains the unspent output amount in bitcoins. It would be helpful if you guys could add a field call “amountSat” that contains the unspent output amount in satoshis. Insight’s API method /api/addrs/[:addrs]/txs already has the “amountSat” field.

It would much more safer to deal with integers then floating point numbers.


(Rich Morgan) #2

You’re definitely welcome to submit any pull requests to the repo. Make sure the appropriate tests are included and the engineers on this team will evaluate the new feature request.


#3

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)