user6616: As the title, I've been wondering if cardano-cli has an ability to get all utxo based on given address.
I already tried
cardano-cli query utxo --address $(cat /path/to/addr) --testnet-magic 1097911063 --whole-utxo

But, it will return an error message
Invalid option '--whole-utxo'

I'm kinda confuse as on help it says, that --whole-utxo is available, but I do notice, that, it's like an option we choose between --whole-utxo or --address or --tx-in.

I tried to dig some documents / forum and even on official github, but I found no clue to do so.
Mostly it pointed to install db-sync etc, but, tbh, I'm not a fan to install or use other additional components outside cardano-cli (db-sync, blockfrost, etc).
I prefer to use the core itself rather than rely on outside of core.
Been wonder if I missed something.
Thanks & Cheers.

user6820: You can do it via cli omitting --whole-utxo
cardano-cli query utxo --address $(cat /path/to/addr) --testnet-magic 1097911063


6616: <p>As the title, I've been wondering if <code>cardano-cli</code> has an ability to get all utxo based on given address.</p>
<p>I already tried</p>
<pre><code>cardano-cli query utxo --address $(cat /path/to/addr) --testnet-magic 1097911063 --whole-utxo
</code></pre>
<p>But, it will return an error message</p>
<pre><code>Invalid option '--whole-utxo'
</code></pre>
<p>I'm kinda confuse as on <code>help</code> it says, that <code>--whole-utxo</code> is available, but I do notice, that, it's like an option we choose between <code>--whole-utxo</code> or <code>--address</code> or <code>--tx-in</code>.</p>
<hr>
I tried to dig some documents / forum and even on official github, but I found no clue to do so.
<p>Mostly it pointed to install <code>db-sync</code> etc, but, tbh, I'm not a fan to install or use other additional components outside cardano-cli (<code>db-sync</code>, <code>blockfrost</code>, etc).</p>
<p>I prefer to use the <code>core</code> itself rather than rely on <code>outside of core</code>.</p>
<p>Been wonder if I missed something.</p>
<p>Thanks &amp; Cheers.</p>
 6820: <p>You can do it via cli omitting --whole-utxo</p>
<pre><code>cardano-cli query utxo --address $(cat /path/to/addr) --testnet-magic 1097911063
</code></pre>
