Bitcoin Forum

Other => Beginners & Help => Topic started by: Jamie_Boulder on August 19, 2014, 10:13:08 AM



Title: How to query a wallet into finding out how much $$ it has
Post by: Jamie_Boulder on August 19, 2014, 10:13:08 AM
Does anyone know how I can achieve this? briefly had a look through blockchain but not sure where to start...


Title: Re: How to query a wallet into finding out how much $$ it has
Post by: Meuh6879 on August 19, 2014, 10:20:36 AM
wallet = private + public(s) adresse(s)
you can only view the public adress balance.

if user don't have transmit bitcoin from public 1 to public 2 ... you can't known that public 1 and public 2 is the same wallet at the end.


Title: Re: How to query a wallet into finding out how much $$ it has
Post by: shorena on August 19, 2014, 10:40:15 AM
Does anyone know how I can achieve this? briefly had a look through blockchain but not sure where to start...

Its not possible for wallets*, but for addresses. I made a little java tool [1] a while back (sadly for an idiot, but maybe it can help you) that takes a list of addresses, checks blockchain.info's API for the balance and writes it into a file. You could use that to get the balances for each of your addresses and make a sum of the result to know how much BTC is in your wallet. But honestly, why does your wallet client not show the amount of BTC you have?

*wallets do not exist on a protocol level, but are an abstraction to help humans handle multiple addresses and keys.

[1] https://bitcointalk.org/index.php?topic=736607.msg8355029#msg8355029


Title: Re: How to query a wallet into finding out how much $$ it has
Post by: Jamie_Boulder on August 19, 2014, 11:14:51 AM
Does anyone know how I can achieve this? briefly had a look through blockchain but not sure where to start...

Its not possible for wallets*, but for addresses. I made a little java tool [1] a while back (sadly for an idiot, but maybe it can help you) that takes a list of addresses, checks blockchain.info's API for the balance and writes it into a file. You could use that to get the balances for each of your addresses and make a sum of the result to know how much BTC is in your wallet. But honestly, why does your wallet client not show the amount of BTC you have?

*wallets do not exist on a protocol level, but are an abstraction to help humans handle multiple addresses and keys.

[1] https://bitcointalk.org/index.php?topic=736607.msg8355029#msg8355029
Thanks Shorena!


Title: Re: How to query a wallet into finding out how much $$ it has
Post by: franky1 on August 19, 2014, 12:00:02 PM
simply add ?currency=USD at the end of your blockchain/info address search. for example i searched a random address on the lask block mined and it showed the USD total

https://blockchain.info/address/1E4iJGgqT7KkF5pgBHxDPHX1Q5phGdWc3G?currency=USD

if you want to easily navigate through different currencies there is a currency selection box at the bottom footer of blockchain.info


Title: Re: How to query a wallet into finding out how much $$ it has
Post by: meadefreling on August 22, 2014, 09:49:34 AM
There is a currency selection box at the bottom footer of blockchain.info simply change the currency and its done, okay.


Title: Re: How to query a wallet into finding out how much $$ it has
Post by: noel57 on August 22, 2014, 10:31:19 AM
Simply navigate through different currencies by using the currency selection box at the bottom footer of blockchain.info.