Bitcoin Asked on December 28, 2021
I’m trying to build out a Bitcoin service that requires me to query address balances and other data. So far I’ve been just using blockchain.info to do these request, but lately i’m hitting the too many request error. I’ve looked into alternatives, but many of these just went belly up over the years. Blockchain.info seems to be best long standing one that is free up to a point. Even blockstream.info has a limit.
Is there some type of locally hosted service I can just use it for the same type of query data like blockchain.info? I understand I’ll need to install bitcoind and download the entire blockchain.
Two good options currently are Esplora (as outlined in this answer) and Mempool.space.
Answered by darosior on December 28, 2021
You can try my script that can convert raw blockchain database to the simple text format with all blockchain blocks and transactions data in it.
Those text files contain all information you need, but balances need to be calculated through calculation of UTXO set from those data in offine mode. No need RPC calls or any of remote API. All processing goes local on your's machine.
Answered by Denis Leonov on December 28, 2021
Blockstream.info is powered by Esplora, which is open source and reasonably easy to run yourself. You can then query that API as much as you want, with no rate limits. Note that you need quite a bit more disk space than just running Bitcoin Core.
Esplora code repo (front end, with links to back end repo): https://github.com/Blockstream/esplora
Answered by torkel on December 28, 2021
You should check https://github.com/janoside/btc-rpc-explorer
BTC RPC Explorer is a simple, database-free self-hosted explorer for the Bitcoin blockchain, driven by RPC calls to your own Bitcoin node. It is easy to run and can be connected to other tools (like ElectrumX) to achieve a full-featured explorer.
Whatever reasons one may have for running a full node (trustlessness, technical curiosity, supporting the network, etc) it's helpful to appreciate the "fullness" of your node. With this explorer, you can explore not just the blockchain database, but also explore the functional capabilities of your own node.
Live demo available at: https://explorer.btc21.org
Answered by Riccardo Masutti on December 28, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP