WELUPS Document
Search…
⌃K

GetAccountBalance

GET: http://172.104.51.182:16667/wallet/getaccountbalance
Get the account balance in a specific block.
BODY PARAMS {
account_identifier json
block_identifier json
visible boolean (Optional)
}
Example:
curl -X POST http://127.0.0.1:8090/wallet/getaccountbalance -d '{ "account_identifier": { "address": "TLLM21wteSPs4hKjbxgmH1L6poyMjeTbHm" }, "block_identifier": { "hash": "0000000000010c4a732d1e215e87466271e425c86945783c3d3f122bfa5affd9", "number": 68682 }, "visible": true }'
Input:
{
"account_identifier":
{ "address": "414203485a535a4072C9FBFaADDfe2A010AD0BcdB0" }, "block_identifier": { "hash": "00000000004583a03fdc04c333d70ea3c80d2e567919b91107582246b82befee", "number": 4555680 }
}
Response:
{
"balance": 0,
"block_identifier":
{
"hash": "00000000004583a03fdc04c333d70ea3c80d2e567919b91107582246b82befee", "number": 4555680
}
}