Author

Topic: Blockonomics transaction receipts (Read 389 times)

hero member
Activity: 688
Merit: 567
August 23, 2015, 01:02:16 PM
#3
This sounds very promising and it looks clean as well.

Would there be a chance to add fiat currency values to these receipts? like the major currencies USD/EUR/CNY/GBP? Or something we can pick manually?

Thanks... if you find it useful, I can surely add this with a param in url &cur=
legendary
Activity: 1596
Merit: 1010
August 23, 2015, 02:10:18 AM
#2
This sounds very promising and it looks clean as well.

Would there be a chance to add fiat currency values to these receipts? like the major currencies USD/EUR/CNY/GBP? Or something we can pick manually?
hero member
Activity: 688
Merit: 567
August 22, 2015, 12:50:11 PM
#1
Hi all,

If you are developing a bitcoin application which has anything to do with payment, you can generate a permalink receipt like this

https://www.blockonomics.co/api/tx?txid=3b14f2b256a5fad043311e4b36674d455d4ff22db404e8e205af29fafcd0870c&addr=1B9Hbrcd9sSMg4acHBttjvYE9kucmNEG1k

Format is
https://www.blockonomics.co/api/tx?txid=&addr=

for example, for the given  tx ,

I can generate receipt for payment made to receiver1  like this https://www.blockonomics.co/api/tx?txid=3b14f2b256a5fad043311e4b36674d455d4ff22db404e8e205af29fafcd0870c&addr=1B9Hbrcd9sSMg4acHBttjvYE9kucmNEG1k

and for reciever2 I can send the link
https://www.blockonomics.co/api/tx?txid=3b14f2b256a5fad043311e4b36674d455d4ff22db404e8e205af29fafcd0870c&addr=1AbjLAe45WfEPgyeUqBXz6JT5qxXhC1tep,1MZakirz92c76pK6BNy1NAEmbWYpDcP7mh

This way both reciever1 and reciever2 can easily find out how much they got paid  and the status of their tx instead of links like https://blockchain.info/tx/3b14f2b256a5fad043311e4b36674d455d4ff22db404e8e205af29fafcd0870c where you know the tx amount but then you have you have to compare outputs to find out what you got paid (which is a bit daunting a non newbie bitcoin user)

Would be great to hear everyone's thought and if they find this helpful.



Jump to: