4

I noticed a transaction whose spendable and solvable are both false, what does this mean and why?

 {
    "txid": "c940241a0ef626e865e2004bc120536fb7868d510115e923c76d5e658a97f6d5",
    "vout": 0,
    "address": "mnbFFLXUqTPBweLm6w1GA2ZAJQbrTndEGC",
    "account": "",
    "scriptPubKey": "76a9144d98b2350032c849ac6e6e7ad0eb88e00fd7fbff88ac",
    "amount": 1.10000000,
    "confirmations": 132,
    "spendable": false,
    "solvable": false
},

Is this means this utxo is invalid somehow so cannot spend it?

Also, this is on testnet.

3
  • Could you tell us how you produced this output? That doesn't look like a transaction to me, but rather like a transaction output with some added data.
    – Murch
    Commented Nov 22, 2017 at 3:36
  • sorry my bad word, i meant utxo, not entire transaction. I used bitcoin-cli.exe -conf="${pwd}\bitcoin-testnet.conf" -testnet listunspent to list outputs in my local testnet node.
    – fluter
    Commented Nov 22, 2017 at 3:52
  • i do not see anything strange with it. you can spend it with a private key of mnbFF...
    – amaclin
    Commented Nov 22, 2017 at 4:30

1 Answer 1

8

The listunspent rpc call returns all unspent transaction outputs (UTXOs) tracked by this wallet. This includes the UTXOs that can be spent by this wallet, but also UTXOs that belong to watch-only addresses tracked by this wallet.

When spendable is false, this wallet does not have the private key to spend the UTXO. This is e.g. the case for watch-only addresses.

When solvable is false, the wallet does not know how to spend the UTXO, regardless of whether it has the corresponding private keys. It follows that any output that is solvable false will also be spendable false.

4
  • Spendable being false is implied by solvable being false. So perhaps he does have the private key, but not the necessary redeemscript? Commented Nov 25, 2017 at 23:53
  • Is there possible the case that spendable is true and solvable is false? Just out of curiosity.
    – fluter
    Commented Nov 26, 2017 at 1:30
  • "It is not possible for a script to be spendable but not solvable" - achow101 bitcoin PR review club March 9 2022 bitcoincore.reviews/19602
    – vnprc
    Commented Mar 9, 2022 at 18:24
  • why wouldn't the wallet know how to spend an utxo?
    – Mercedes
    Commented Mar 10, 2022 at 0:12

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.