Skip to main content

getaddressdeltas

Get balance of specific address

yerbas-cli getaddressdeltas '{"addresses": ["XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg"]}'

Arguments​

ArgumentTypeDescription
"addresses"(string)(string) The base58check encoded address
"start"(number)The start block height
"end"(number)The end block height
Arguments:
{
"addresses"
[
"address" (string) The base58check encoded address
,...
]
"start" (number) The start block height
"end" (number) The end block height
}

Output​

ResultTypeDescription
"satoshis"(number)The current balance in duffs
"txid"(string)The related txid
"index"(number)The related input or output index
"blockindex"(number)The related block index
"height"(number)The block height
"address"(string)The base58check encoded address
Result:
[
{
"satoshis" (number) The difference of duffs
"txid" (string) The related txid
"index" (number) The related input or output index
"blockindex" (number) The related block index
"height" (number) The block height
"address" (string) The base58check encoded address
}
]

Examples​

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:9998/