What exactly do you want to know? Arte you talking about all UTXOs on the Bitcoin timechain or about the UTXOs that your Node holds the keys for?

If it's the latter: I would have a look at my UTXOs in Ride the Lightning's "On-Chain" tab...

I've got no solution for the first option though 🤨

Reply to this note

Please Login to reply.

Discussion

I would like to see wether there is a UTXO with just 1 Satoshi out there

As there's a start limit for transactions it could only be an exchange output, right?

I honestly don’t know. just want to see wether we can point to a single satoshi

You can send dust. Just send 0.0000001 on chain to yourself and pay the mining fee. You'll get 1sat on chain

Yeah, that may be an option. But I want to know how to query the utxo set and see if such an output already exists

I asked Pi, which seems to be pretty decent pi.ai/talk

and I think it's correct when it says:

To scan for a specific UTXO amount, you can use the "scantxoutset" command in the Bitcoin Core CLI. The syntax for this command is:

bitcoin-cli scantxoutset "address" "amount"

Where "address" is the Bitcoin address that you're interested in, and "amount" is the amount of the UTXO that you're looking for. This command will return a list of all UTXOs associated with that address, including the one that matches the amount you specified. Keep in mind that this command can be resource-intensive, so it may take some time to complete, depending on the size of the Bitcoin blockchain and the power of your computer.

the command you're looking for is "bitcoin-cli scantxoutset". This command allows you to search the entire UTXO set (all unspent Bitcoin transactions) for UTXOs with a specific amount, without needing to know the address or transaction associated with the UTXO. Keep in mind that this command can be resource-intensive, so it may take a while to complete. To use it, you would type in something like this:

bitcoin-cli scantxoutset amount=0.00000001

The "amount=0.00000001" is the amount you're searching for. You can change that number to any amount you like. Hope this helps! 👍