Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)

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?

1 Answer

0 votes
by (29.5k points)
edited by

You can use json RPC provided by bitcoin core.

You can call http calls via node.js.

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

or there are other third party libraries. which are wrappers of above RPC calls.https://bitcoinjs.org/

You can even check out the Blockchain Certification Course by Intellipaat to have more knowledge about this topic.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...