Getreceivedbylabel
getreceivedbylabel
Returns the total amount received by addresses with
Arguments
| Position | Name | Type | Required | Default | Description |
|---|---|---|---|---|---|
| 2 | minconf |
numeric | Optional | 1 | See CLI help for details |
| 3 | addlocked |
boolean | Optional | false | See CLI help for details |
Result
n (numeric) The total amount in RTM received at this label.
Examples
Amount received by the default label with at least 1 confirmation
raptoreum-cli getreceivedbylabel ""
Amount received at the tabby label including unconfirmed amounts with zero confirmations
raptoreum-cli getreceivedbylabel "tabby" 0
The amount with at least 6 confirmations
raptoreum-cli getreceivedbylabel "tabby" 6
As a json rpc call
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbylabel", "params": ["tabby", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:10225/