4

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?

1 Answer 1

5

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

https://getmonero.org/knowledge-base/developer-guides/daemon-rpc

1
  • 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
    Commented May 20, 2017 at 22:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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