how to get unspents of an address using bitcoind?

0

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 gives an unspent transaction inputs of the addresses in the wallet.

I want to get an unspent transaction inputs of one particular bitcoin address which are currently not part of our wallet. Could anyone tell me how to get that?

merklexy

Posted 2018-03-08T11:18:39.903

Reputation: 87

Answers

0

You should send your addresses as following:

bitcoin-cli listunspent 0 9999999 '["1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg","1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP"]'

Adam

Posted 2018-03-08T11:18:39.903

Reputation: 3 215