Author

Topic: what if I want to create rest-API service ? (Read 207 times)

legendary
Activity: 4522
Merit: 3426
Take a look at the btc-rpc-explorer project here: https://github.com/janoside/btc-rpc-explorer

It might be exactly what you are looking for. If you want to create your own service, you could also use it to guide you. Note that it requires a Bitcoin node.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
If i want to create such service, do I just run bitcoin core ? is it right ?

No you can't just run Core and be done with it, because the results of any queries will only show the state of your node. Certain things such as unconfirmed transactions and peers aren't the same for each node. And even if they were, JSON-RPC isn't identical to REST and you'll have to make a few minor translations in the query before you can pass it to a node.
member
Activity: 189
Merit: 16
https://libbitcoin.info/ might be helpful.
jr. member
Activity: 47
Merit: 8
February 25, 2020, 10:02:03 AM
#1
Bitcoin core natually supports some rest api, such as ../rest/chaininfo.json.

I see many websites, like https://www.blockchain.com/explorer,  provide query info service by rest-api.

If i want to create such service, do I just run bitcoin core ? is it right ?


Jump to: