Bitcoin Forum

Bitcoin => Electrum => Topic started by: DavidCWG on July 14, 2014, 04:04:29 AM



Title: Console non-wallet address balance
Post by: DavidCWG on July 14, 2014, 04:04:29 AM
Is it possible to determinate the unspent balance of an arbitrary bitcoin address (not one from my wallet) from the Electrum console?


Title: Re: Console non-wallet address balance
Post by: shorena on July 14, 2014, 05:49:58 PM
Is it possible to determinate the unspent balance of an arbitrary bitcoin address (not one from my wallet) from the Electrum console?

yes use getaddressbalance("address") - Note I only use electrum for litecoin but should work the same for bitcoin. Also the address used below is not mine but a random one from a litecoin blockchain explorer.

Code:
>> getaddressbalance("LiEMRo8aYs7iHQzRPpUF3GGG3xmgEGJLrr")
{
    "confirmed": "16103.49132166",
    "unconfirmed": "0"
}


Title: Re: Console non-wallet address balance
Post by: DavidCWG on July 14, 2014, 09:32:56 PM
Awesome, thanks.