Skip to content

Listreceivedbyaddress

listreceivedbyaddress

List balances by receiving address.

Arguments

Position Name Type Required Default Description
1 minconf numeric Optional 1 See CLI help for details
2 addlocked boolean Optional false See CLI help for details
3 include_empty boolean Optional false See CLI help for details
4 include_watchonly boolean Optional false) Whether to include watch-only addresses (see 'importaddress' See CLI help for details

Result

[                                        (json array)
  {                                      (json object)
    "involvesWatchonly" : true|false,    (boolean) Only returns true if imported addresses were involved in transaction
    "address" : "str",                   (string) The receiving address
    "amount" : n,                        (numeric) The total amount in RTM received by the address
    "confirmations" : n,                 (numeric) The number of confirmations of the most recent transaction included.
                                         If 'addlocked' is true, the number of confirmations can be less than
                                         configured for transactions locked via InstantSend
    "label" : "str",                     (string) The label of the receiving address. The default label is ""
    "txids" : [                          (json array)
      "hex",                             (string) The ids of transactions received with the address
      ...
    ]
  },
  ...
]

Examples

 raptoreum-cli listreceivedbyaddress
 raptoreum-cli listreceivedbyaddress 6 false true
 curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, false, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:10225/
 curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, false, true, true, "XbtdLrTsrPDhGy1wXtwKYoBpuKovE3JeBK"] }' -H 'content-type: text/plain;' http://127.0.0.1:10225/