getaddressbalance - BitcoinZ 2.0.7 RPC

getaddressbalance {"addresses": ["taddr", ...]}

Returns the balance for addresses.

Arguments:
{
  "addresses:"
    [
      "address"  (string) The base58check encoded address
      ,...
    ]
}
(or)
"address"  (string) The base58check encoded address

Result:
{
  "balance"  (string) The current balance in zatoshis
  "received"  (string) The total number of zatoshis received (including change)
}

Examples:
> bitcoinz-cli getaddressbalance '{"addresses": ["tmYXBYJj1K7vhejSec5osXK2QsGa5MTisUQ"]}'
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["tmYXBYJj1K7vhejSec5osXK2QsGa5MTisUQ"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8032/




Control