简体   繁体   中英

How to query blockchain bitcoin locally

I downloaded 122 gb file of the complete blockchain to my computer with the download of the bitcoin core wallet. I would like to query against it locally using preferably node.js.

Any idea how I can do this?

You can use json RPC provided by bitcoin core.

You can call http calls via node.js.

see below.

https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#Node.js

or there are other third party libraries.

https://bitcoinjs.org/

which are wrappers of above RPC calls.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM