Field | Type | Description |
---|---|---|
balance | int64 | account balance |
block_identifier.hash | string | block hash |
block_identifier.number | int64 | block number |
{
"account_identifier": {
"address": "PJAnjvL467LtS32AMmDWetNaP1AjNZddnx"
},
"block_identifier": {
"hash": "00000000006cc246fe616ee896878f00b7cea80f616c9affa2facfebec997c99",
"number": 7127622
},
"visible": true
}
curl --location --request POST '/wallet/getaccountbalance' \
--header 'Content-Type: application/json' \
--data-raw '{
"account_identifier": {
"address": "PJAnjvL467LtS32AMmDWetNaP1AjNZddnx"
},
"block_identifier": {
"hash": "00000000006cc246fe616ee896878f00b7cea80f616c9affa2facfebec997c99",
"number": 7127622
},
"visible": true
}'
{
"balance": 95000000000000000,
"block_identifier": {
"hash": "00000000000000006e5a9f671ae10e4c56755c8a9818b45138aa8578f4d4228b"
}
}