Skip to main content

Questions tagged [listunspent]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

Listunspent does not return all utxos [duplicate]

I am using Bitcoin Core to get all UTXOs for watchonly imported addresses. The strategy is the following: I load a new wallet await client.execute("loadwallet", ["testwallet"]) I ...
Nahum Maurice's user avatar
0 votes
1 answer
192 views

Unsuccessful Bitcoin Script Execution: Seeking Assistance

I attempted to mint SATS tokens on the Bitcoin network using the Ordinals protocol and BRC20 standards by utilizing an intermediary software written in the Go language. I made no adjustments to the ...
216kedi's user avatar
3 votes
1 answer
127 views

Does 'listunspent 0' return my non-mempool unconfirmed outputs?

If I have an unconfirmed transaction with a UTXO that belongs to my Bitcoin Core wallet, and that transaction is evicted from my mempool, for example due to high fee-pressure, will bitcoin-cli ...
Kalle Rosenbaum's user avatar
1 vote
1 answer
159 views

bitcoin regtest listunspent generated with zero amount

I'm using regtest mode for testing new features. During my tests I encountered weird problem- listunspent RPC return a long list of transactions with amount 0. When I'm calling getwalletinfo RPC I can ...
liorko's user avatar
  • 239
2 votes
2 answers
671 views

Does 'listunspent' work for any address is `txindex=1`?

The listunspent Bitcoin Core RPC method by default works only for addresses loaded in the wallet. Does it work for any address if the node has full index (txindex=1)? (Technically it could I think, ...
OptOut's user avatar
  • 354
0 votes
0 answers
42 views

use java to scan all the block

I am trying to scan all the bitcoin data on my workstation with java to get some high level statistic data. I parsed all the transactions with bitcoinJ, but I encountered a problem, the Transaction ...
Carpemer's user avatar
  • 331
1 vote
0 answers
140 views

Use wallet db for locked UTXOs in Bitcoin Core

Related question: Why are UTXO locks stored in memory only? Sorry this maybe a dumb question for people good with using database in C++ however I am not able to understand what exactly is going wrong ...
user avatar
1 vote
1 answer
211 views

Why are UTXO locks stored in memory only?

Locks are stored in memory only. Nodes start with zero locked outputs, and the locked output list is always cleared (by virtue of process exit) when a node stops or fails. https://bitcoincore.org/en/...
user avatar
2 votes
1 answer
173 views

Retrieve all Unspend Output given a priv key

Is it possible to retrieve all Unspend Output transaction given the private key? I have noticed that different wallet give me different balance for the same Private Key. For instance, Atom and BitPay ...
Samir Sadek's user avatar
0 votes
2 answers
180 views

Listunspent: "Solvable - False"

So i have retrieved an old wallet.dat file. When i open it in bitcoin-core i can only see the adress as an watchadress. I went to the console and typed - listunspent and this shows up. I understand ...
Dogo777's user avatar
0 votes
1 answer
158 views

Main wallet unspent transaction

I have a question about an unspent transaction, we know that after some transactions we have a change address created by the main address, now imagine that Bob mined 6 BTC, now he transferred 2 of the ...
Amin Rezaie's user avatar
1 vote
1 answer
156 views

What can I do with "unspent" transactions? Can I transmit them to a chain?

I withdrew some bitcoin from a service's account I maintain. The transaction shows up in my wallet, but it has been marked as "unspent" ever since. What does this mean?
Alma's user avatar
  • 11
0 votes
0 answers
64 views

Unspent bitcoin transaction [duplicate]

So about two weeks ago i sent bitcoin to a friend, and it was confirmed but in the summary it was listed unspent, he claimed not to have received. I was really confused since then, now this morning i ...
Omodudu's user avatar
0 votes
1 answer
187 views

Calculate Unspent using private keys

Can we calculate unspent of addresses which are generated from other node server if we are having private/public key of those addresses?
Jvd's user avatar
  • 41
0 votes
0 answers
59 views

How to get concerned specific unspent(coin selection algorithm) from list of unspents in a wallet to calculate transaction size

I have a problem to calculate dynamic transaction fees. The problem which i am facing is to calculate the transaction size. When i have one unspent in my wallet it is too easy to calculate transaction ...
aqeel kazmi's user avatar
0 votes
0 answers
28 views

Some weird BTC transaction just happened to my wallet, sub wallet doesn't send back the BTC to my wallet [duplicate]

So my wallet address is 3BA1kdxSyFLADWJHDeaFb2xap4QASVvXto First I sent 0.00010000BTC to 1FjpQCZvqQxpGjvdU8AcxVyxXgJqY17Uzw (https://btc.com/...
bbnn's user avatar
  • 247
0 votes
1 answer
116 views

listunspent bitcoin core command returns the address as String while getrawtransaction addresses are array

this answers why vout.scriptPubKey.addresses is an array, then why the address in listunspent response is a String? Do you know any transactions in the blockchain have multi addresses in the vout?
Tailer's user avatar
  • 3,669
0 votes
1 answer
924 views

How to properly use the rpc command `listunspent` with `bitcore-lib` to create a transaction and get the transaction hash?

I am trying to use the rpc command listunspent to get all the UTXOs relevant to an address, and then I am trying to pass it to a transaction, using bitcore-lib. Below is my code: const Client = ...
Deb's user avatar
  • 133
0 votes
1 answer
191 views

update to 0.17.0 broke several rpc api calls that worked under 0.16.3, how to migrate correcty my code?

After updating from Bitcoin core 0.16.3 to 0.17 I've found several RPC calls are now broken, and I'm not sure on how to migrate/update my code (PHP). Things broken so far: getbalance : does not ...
3codyz0's user avatar
0 votes
1 answer
415 views

What's the best way to store unspent transaction?

AFAIK, To send a raw transaction, which include both input and output. And What if we run it on the local node, we can simply fetch the unspent list by run bitcoin-cli listunspent, but If I just want ...
Frank AK's user avatar
  • 151
2 votes
1 answer
1k views

How to fetch the latest unspent transaction by an address using bitcoind?

I want to build a server, which provide following APIs: 1.Get balance by address. 2.Get latest unspent transaction. 3.broadcast the transaction. First by first, I know I can do above stuffes by ...
Frank AK's user avatar
  • 151
1 vote
1 answer
907 views

How to Get Unspent Transaction Outputs from Node

There is one API called listunspent, however it doesn't return any outputs, and some threads say that it may be because the address is not imported into the node's wallet. Then how to retrieve the ...
xuanzhui's user avatar
  • 119
0 votes
2 answers
145 views

How to generate an address for bitcoin?

I installed bitcoin core and I am generating an address using getnewaddress. To get the private_key of the address I am using dumpprivkey. To get the unspents I am using listunspent. Till here ...
merklexy's user avatar
  • 107
0 votes
1 answer
163 views

Can I generate an address without using bitcoin core?

I am running bitcoin core in my mode. I am using getnewaddress to generate an address and then I am using unspent to get the unspent of an address which returns the unspent successfully. If I created ...
merklexy's user avatar
  • 107
0 votes
1 answer
384 views

bitcoin listunspent showing an address which does not belong to my wallet [duplicate]

I use bitcoin listunspent to list unspent UTXO, but found one that doesn't match my addresses, so what's that address and where is it from ? bitcoin-cli listunspent [ { "txid": "...
Guo Aaron's user avatar
1 vote
1 answer
843 views

how can i query utxo to bitcoind(using bitcoin-cli) with public-private key not wallet

i want make a transaction to send bitcoin to others. so i need utxo by someones' adfress. but bitcoin-cli listunspent command only allows address in wallet. is it any idea to query listunspent with ...
jaemoon lee's user avatar
0 votes
1 answer
601 views

how to get unspents of an address using bitcoind?

I am using bitcoind. I have gone through the json-rpc api's. listunspent [minconf=1] [maxconf=999999] version 0.7 Returns array of unspent transaction inputs in the wallet. listunspent method ...
merklexy's user avatar
  • 107
0 votes
1 answer
171 views

my coin transferred on 17 Dec and confirmed on 31 Dec still showing unspent on 5 Jan [duplicate]

I have done a couple of transaction in Blockchain but have never experienced such problem. I transfered coins from my wallet to another account by choosing custom fee option on 17 Dec which got ...
Manoj Mishra's user avatar
-1 votes
1 answer
87 views

I accidentally sent more than I needed to on changelley

How do I recover my unspent btc? Transaction https://blockchain.info/tx/99d4fc1f8496f493713580b9624f7b0974d36672ed98ffbcdc2e287e596ea164
Chris Higgins's user avatar
0 votes
1 answer
2k views

How to get the available balance of a specific address using blockchain.info?

There seem to be two calls. What's the difference between them ? I basically want to know the total amount available to spend on each address(actually on the whole wallet but there is no such api call ...
Books's user avatar
  • 43
1 vote
1 answer
154 views

My local client not showing correct output for listunspent

I tried using the listunspent command as follows: bitcoin-cli listunspent 10 9999999 "[\"32jdC23ABv86M2ptiqMzFzCaufBtE2NCdN\"]" and it shows a blank output ([]), however, when I look up the same ...
Harry Pillsbury's user avatar