I know there are some tools out there that help reading historical data from the Cardano blockchain, such as IOHK's cardano-db-sync and blockfrost.io, but I would like to read directly from the a Cardano node I am running on my machine. I was trying to do this by using the cardano-cli, but it seems pretty limited, as it doesn't seem to have a way to get historical data from the blocks, like for example, what transactions got included into block X, or what are the inputs and outputs of transaction with the id 68f1f35323eada5601170011239c5e9b4dd15da559ceb9ad17cfd8eb7c317753 (random example).

I am probably lacking some knowledge here, but it seems to me such queries should be possible given the fact that in theory, I have all data from the Cardano blockchain directly in my machine.

Note: my cardano node comes from the Daedalus wallet.

2 Answers 2


No it's not possible with the current implementation of cardnao-node. cardano-api (haskell API for interacting with cardano-node) doesn't have any method to query block or transaction from cardano-node

If you want to look at the queries that are possible, they are here.


  • And if this is the case what type of data does PAB server/local cluster have access to from the local cardano-node? Is it best to setup PAB to access the local cardano node or would you recommend a different configuration for PAB during development and initial plutus script testing?
    – Deano
    May 2, 2022 at 17:58
  • so tools like cardano-db-sync don't get their data from the cardano-node? May 3, 2022 at 12:51
  • db-sync does get data from the node, via the local chain sync protocol, however that protocol is written in Haskell and uses CBOR encoding. Writing something to talk that protocol is totally doable but not trivial. Jul 19, 2022 at 23:13

Such tools would have to be developed, either by IOG or other third party entities. Txpipe is working on such tools like Oura and Scrolls; both are still under development but are already a good step in the right direction. I'm sure there are others I am unaware of, but are mostly still WIP and lack a good UX.

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.