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?
2 Answers
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.
-
so how would one find out how much btc a specific address has if all you had was access to the entire downloaded blockchain? Commented Jan 7, 2014 at 20:56
-
You must scan entire blockchain, to find out in which transactions this address participates.– ZergatulCommented Jan 7, 2014 at 21:20
-
is there an offline application that can scan the blockchain to do this kind of functionality? Commented Jan 7, 2014 at 21:24
-
I don't know. Why you cannot use blockchain.info? They have an API for such queries.– ZergatulCommented Jan 7, 2014 at 21:37
-
i just want to know how i would do it if i do not have internet access to blockchain.info Commented Jan 7, 2014 at 22:46
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.
-
@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.– SimplePiCommented Feb 7, 2014 at 13:13
-
@duckx Is it that you dont have internet access or is it that your doing this from SSH or Command?– SimplePiCommented Feb 7, 2014 at 13:24