p2p - How to get detail of given address from blockchain? -


i building blockchain explorer. have own blockchain. in that, want search details of given address blockchain. there no direct api detail of address, how ? in advance.

two options:

option 1:

blockchain.info has open api (rest + json)

https://blockchain.info/it/api/blockchain_api

here how:

https://blockchain.info/it/rawaddr/$bitcoin_address 

bear in mind can acquire info address moved @ least once bitcoin on network. if create new wallet , not transact public address non existent on blockchain (i.e. there's no difference between newly generated address , non existent address). that's "shameful" approach building blockchain explorer using blockchain explorer, see option 2 correct approach:

option 2:

run bitcoin node on own , query stuff on it. may not able run node on normal hosting, need more amazon aws instance or host on own server


Comments

Popular posts from this blog

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

php - Cannot override Laravel Spark authentication with own implementation -

What is happening when Matlab is starting a "parallel pool"? -