user6332: 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.

user4302: 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.

user833: 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.
cardano-api/src/Cardano/Api/Query.hs#L191

6332: <p>I know there are some tools out there that help reading historical data from the Cardano blockchain, such as IOHK's <a href="https://github.com/input-output-hk/cardano-db-sync" rel="noreferrer">cardano-db-sync</a> and <a href="https://blockfrost.io/" rel="noreferrer">blockfrost.io</a>, 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, <em><strong>what transactions got included into block X</strong></em>, or <em><strong>what are the inputs and outputs of transaction with the id 68f1f35323eada5601170011239c5e9b4dd15da559ceb9ad17cfd8eb7c317753</strong></em> (random example).</p>
<p>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.</p>
<p>Note: my cardano node comes from the Daedalus wallet.</p>
 4302: <p>Such tools would have to be developed, either by IOG or other third party entities. <a href="https://github.com/txpipe" rel="nofollow noreferrer">Txpipe</a> is working on such tools like <a href="https://github.com/txpipe/oura" rel="nofollow noreferrer">Oura</a> and <a href="https://github.com/txpipe/scrolls" rel="nofollow noreferrer">Scrolls</a>; 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.</p>
 833: <p>No it's not possible with the current implementation of <code>cardnao-node</code>.
<a href="https://github.com/input-output-hk/cardano-node/tree/master/cardano-api" rel="nofollow noreferrer">cardano-api</a> (haskell API for interacting with cardano-node) doesn't have any method to query block or transaction from <code>cardano-node</code></p>
<p>If you want to look at the queries that are possible, they are here.</p>
<p><a href="https://github.com/input-output-hk/cardano-node/blob/65422ff373f2f88a563afa746a9a16d211ffdc7c/cardano-api/src/Cardano/Api/Query.hs#L191" rel="nofollow noreferrer">cardano-api/src/Cardano/Api/Query.hs#L191</a></p>
