SgtSpike (OP)
Legendary
Offline
Activity: 1400
Merit: 1005
|
|
July 04, 2011, 07:57:45 AM |
|
How would I check the balance of an address not in my wallet? And not through blockexplorer or a similar service, but directly through bitcoind? Is there an RPC call to do this?
Also, is there a list of all RPC calls that are available somewhere? I looked around on the wiki, and only saw examples of a few RPC calls, but not a list of all of them that are available.
|
|
|
|
titeuf_87
Member
Offline
Activity: 111
Merit: 10
|
|
July 04, 2011, 10:13:30 AM |
|
How would I check the balance of an address not in my wallet? And not through blockexplorer or a similar service, but directly through bitcoind? Is there an RPC call to do this?
This isn't possible with the standard client. You could try writing a script (possibly using bitcointools) to parse the blockchain to give you those results. Also, is there a list of all RPC calls that are available somewhere? I looked around on the wiki, and only saw examples of a few RPC calls, but not a list of all of them that are available.
There is here.
|
15kfBM3TQ4PGzL7cKncU3su2pH7ZJmiLtr
|
|
|
Jack of Diamonds
|
|
July 04, 2011, 06:06:31 PM |
|
Daemon doesn't support that by default. If you have spare time though, you could improvise a fetch script for BE which you can integrate in the client binary before compiling. Then there's RPC for <bitcoinaddress> [minconf= your value] But it doesn't necessarily indicate the balance of that wallet since some of it might have been spent.
|
1f3gHNoBodYw1LLs3ndY0UanYB1tC0lnsBec4USeYoU9AREaCH34PBeGgAR67fx
|
|
|
gigabytecoin
|
|
July 05, 2011, 03:22:33 AM |
|
Blockexplorer.com???
|
|
|
|
TiagoTiago
|
|
July 05, 2011, 03:47:33 AM |
|
Blockexplorer.com???
How would I check the balance of an address not in my wallet? And not through blockexplorer or a similar service, but directly through bitcoind? Is there an RPC call to do this?...
|
(I dont always get new reply notifications, pls send a pm when you think it has happened) Wanna gimme some BTC/BCH for any or no reason? 1FmvtS66LFh6ycrXDwKRQTexGJw4UWiqDX The more you believe in Bitcoin, and the more you show you do to other people, the faster the real value will soar!
|
|
|
gochk
|
|
July 05, 2011, 04:15:13 PM |
|
I hope this is not hijacking this thread. On a related subject matter, after we change address of the wallet, can we still get the btc going to the previous addresses?
|
|
|
|
SgtSpike (OP)
Legendary
Offline
Activity: 1400
Merit: 1005
|
|
July 05, 2011, 04:16:59 PM |
|
Ok, thanks for the answers guys. I'm not a c programmer, so I can't do compiling or any of that. Ah well, I'll just find a different solution to what I am planning to do.
I wonder how block explorer does it...
|
|
|
|
joepie91
|
|
July 05, 2011, 06:05:17 PM |
|
Ok, thanks for the answers guys. I'm not a c programmer, so I can't do compiling or any of that. Ah well, I'll just find a different solution to what I am planning to do.
I wonder how block explorer does it...
I believe it analyzes the entire blockchain, with all transactions that were sent to and from an address, and uses that to calculate and store the balance of an address.
|
Like my post(s)? 12TSXLa5Tu6ag4PNYCwKKSiZsaSCpAjzpu I just can't wait for fall/winter. My furnace never generated money for me before. I'll keep mining until my furnace is more profitable.
|
|
|
SgtSpike (OP)
Legendary
Offline
Activity: 1400
Merit: 1005
|
|
July 05, 2011, 06:16:44 PM |
|
Ok, thanks for the answers guys. I'm not a c programmer, so I can't do compiling or any of that. Ah well, I'll just find a different solution to what I am planning to do.
I wonder how block explorer does it...
I believe it analyzes the entire blockchain, with all transactions that were sent to and from an address, and uses that to calculate and store the balance of an address. Right, but HOW does it analyze the blockchain, if the default client doesn't allow it? Do they manually parse the blockchain files? Do they run a custom client? I doubt that those questions are answerable by anyone reading this thread, so it's more of a rhetorical question.
|
|
|
|
|
SgtSpike (OP)
Legendary
Offline
Activity: 1400
Merit: 1005
|
|
July 05, 2011, 07:20:50 PM |
|
|
|
|
|
kokjo
Legendary
Offline
Activity: 1050
Merit: 1000
You are WRONG!
|
|
July 05, 2011, 07:24:09 PM |
|
I hope this is not hijacking this thread. On a related subject matter, after we change address of the wallet, can we still get the btc going to the previous addresses?
NO! they will be gone forever! MUHAHHAHAHAHAH! all the addresses are stored in the wallet, yes you can stil use your bitcoins
|
"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
|
|
|
|