How to extract data, blocks from blockcain stored on local disk drive, and acquire it through some usual data transfer chanel (eg. JSON) in other application?


Run a local daemon, and then use the daemon RPC API to query it for blocks:


  • 1
    Expanding on this answer, the jq utility is really handy to filter out the JSON output. To illustrate, have a look at this example, which dealt with the date of the genesis block, and number of days on the blockchain. – dpzz May 20 '17 at 22:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.