getaddressdeltas - BitcoinZ 2.0.7 RPC

getaddressdeltas {"addresses": ["taddr", ...], ("start": n), ("end": n), ("chainInfo": true|false)}

Returns all changes for an address.

Returns information about all changes to the given transparent addresses within the given (inclusive)

block height range, default is the full blockchain.

Arguments:
{
  "addresses":
    [
      "address" (string) The base58check encoded address
      ,...
    ]
  "start"       (number, optional) The start block height
  "end"         (number, optional) The end block height
  "chainInfo"   (boolean, optional, default=false) Include chain info in results, only applies if start and end specified
}
(or)
"address"       (string) The base58check encoded address

Result:
[
  {
    "satoshis"  (number) The difference of zatoshis
    "txid"      (string) The related txid
    "index"     (number) The related input or output index
    "height"    (number) The block height
    "address"   (string) The base58check encoded address
  }, ...
]

(or, if chainInfo is true):

{
  "deltas":
    [
      {
        "satoshis"    (number) The difference of zatoshis
        "txid"        (string) The related txid
        "index"       (number) The related input or output index
        "height"      (number) The block height
        "address"     (string)  The address base58check encoded
      }, ...
    ],
  "start":
    {
      "hash"          (string)  The start block hash
      "height"        (numeric) The height of the start block
    }
  "end":
    {
      "hash"          (string)  The end block hash
      "height"        (numeric) The height of the end block
    }
}

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




Control