What is the bitcoind command to see how much btc a specific address has?

2

I was wondering if I can make a query via the console on how much btc a specific address has without having to go into blockchain.info. What is this command?

Patoshi パトシ

Posted 2014-01-07T20:42:59.060

Reputation: 8 911

Answers

1

There is no such command. Addresses are like a superstructure over a bitcoin transaction processing. Client does not maintain index with addresses and balances on them.

Zergatul

Posted 2014-01-07T20:42:59.060

Reputation: 948

so how would one find out how much btc a specific address has if all you had was access to the entire downloaded blockchain?Patoshi パトシ 2014-01-07T20:56:52.160

You must scan entire blockchain, to find out in which transactions this address participates.Zergatul 2014-01-07T21:20:07.520

is there an offline application that can scan the blockchain to do this kind of functionality?Patoshi パトシ 2014-01-07T21:24:52.160

I don't know. Why you cannot use blockchain.info? They have an API for such queries.Zergatul 2014-01-07T21:37:42.520

i just want to know how i would do it if i do not have internet access to blockchain.infoPatoshi パトシ 2014-01-07T22:46:13.007

-1

There is no command in bitcoind to view the balance of a single wallet. Your best luck is setting up a script with cURL that gets the data from api.

SimplePi

Posted 2014-01-07T20:42:59.060

Reputation: 216

@NateEldredge I see, Well the best option in linux is to do cURL from api as there is no command. I edited my post also.SimplePi 2014-02-07T13:13:08.733

@duckx Is it that you dont have internet access or is it that your doing this from SSH or Command?SimplePi 2014-02-07T13:24:02.810