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 agree to our terms of service, privacy policy and cookie policy

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