user237: Daedalus is a full node wallet application, but can I use the full node to query the ledger?

user237: Daedalus runs its own instance of cardano-node under the hood, so by installing and using cardano-cli, one can connect to this node and interact with the blockchain directly.

Start Daedalus, and wait until it reaches the wallet home screen; the cardano-node.socket file is only made available after the cardano-node has started fully.
Use cardano-cli: [Documentation]

Ubuntu Example (Bash)
export CARDANO_NODE_SOCKET_PATH=/home/$USER/.local/share/Daedalus/mainnet/cardano-node.socket
cardano-cli query tip --mainnet

MacOS Example
export CARDANO_NODE_SOCKET_PATH=~/Library/Application\ Support/Daedalus\ Mainnet/cardano-node.socket
cardano-cli query tip --mainnet

Windows Example (PowerShell)
On Windows, a socket file isn't used, instead we specify the pipe used, which has a different name every time Daedalus runs.
cd "C:\Program Files\Daedalus Mainnet"
$ENV:CARDANO_NODE_SOCKET_PATH = (Get-ChildItem \\.\pipe\ | Where-Object {$_.name -like "cardano-node*"}).FullName
.\cardano-cli.exe query tip --mainnet


237: <p>Daedalus is a full node wallet application, but can I use the full node to query the ledger?</p>
 237: <p>Daedalus runs its own instance of <code>cardano-node</code> under the hood, so by installing and using <code>cardano-cli</code>, one can connect to this node and interact with the blockchain directly.</p>
<ol>
<li>Start Daedalus, and wait until it reaches the wallet home screen; the <code>cardano-node.socket</code> file is only made available after the <code>cardano-node</code> has started fully.</li>
<li>Use <code>cardano-cli</code>: [<a href="https://github.com/input-output-hk/cardano-node#cardano-cli" rel="noreferrer">Documentation</a>]</li>
</ol>
<h3>Ubuntu Example (Bash)</h3>
<pre><code>export CARDANO_NODE_SOCKET_PATH=/home/$USER/.local/share/Daedalus/mainnet/cardano-node.socket
cardano-cli query tip --mainnet
</code></pre>
<h3>MacOS Example</h3>
<pre><code>export CARDANO_NODE_SOCKET_PATH=~/Library/Application\ Support/Daedalus\ Mainnet/cardano-node.socket
cardano-cli query tip --mainnet
</code></pre>
<h3>Windows Example (PowerShell)</h3>
<p>On Windows, a socket file isn't used, instead we specify the pipe used, which has a different name every time Daedalus runs.</p>
<pre><code>cd &quot;C:\Program Files\Daedalus Mainnet&quot;
$ENV:CARDANO_NODE_SOCKET_PATH = (Get-ChildItem \\.\pipe\ | Where-Object {$_.name -like &quot;cardano-node*&quot;}).FullName
.\cardano-cli.exe query tip --mainnet
</code></pre>
