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?

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.

  • 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 パトシ Jan 7 '14 at 20:56
  • You must scan entire blockchain, to find out in which transactions this address participates. – Zergatul Jan 7 '14 at 21:20
  • is there an offline application that can scan the blockchain to do this kind of functionality? – Patoshi パトシ Jan 7 '14 at 21:24
  • I don't know. Why you cannot use blockchain.info? They have an API for such queries. – Zergatul Jan 7 '14 at 21:37
  • i just want to know how i would do it if i do not have internet access to blockchain.info – Patoshi パトシ Jan 7 '14 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.

  • @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 Feb 7 '14 at 13:13
  • @duckx Is it that you dont have internet access or is it that your doing this from SSH or Command? – SimplePi Feb 7 '14 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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