Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [listunspent]

The tag has no usage guidance.

0
votes
1answer
19 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 = ...
0
votes
0answers
17 views

Listunspent only works for the last address I made a transaction with

I have a wallet on bitcoin core with three addresses I use to make transactions. But listunspent only returns information when I used it with the address I made the last transaction with, is it ...
0
votes
1answer
86 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 ...
0
votes
1answer
100 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 ...
0
votes
1answer
217 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 ...
0
votes
1answer
236 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 ...
0
votes
2answers
58 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 ...
0
votes
1answer
62 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 ...
0
votes
1answer
83 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": "...
0
votes
1answer
244 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 ...
0
votes
1answer
292 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 ...
0
votes
1answer
144 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 ...
0
votes
1answer
45 views

I accidentally sent more than I needed to on changelley

How do I recover my unspent btc? Transaction https://blockchain.info/tx/99d4fc1f8496f493713580b9624f7b0974d36672ed98ffbcdc2e287e596ea164
0
votes
1answer
785 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 ...
1
vote
1answer
42 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 ...