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?

2 Answers 2

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.

5
  • 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.
    – Zergatul
    Commented 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.
    – Zergatul
    Commented 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
-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.

2
  • @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
    Commented 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?
    – SimplePi
    Commented Feb 7, 2014 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.