GetGuaranteedBalance
Returns the guaranteed balance of an account, which is the minimum balance that cannot be spent due to transaction leasing and other commitments.
Request
GET /nxt?requestType=getGuaranteedBalance
All endpoints use port 22024 by default.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
account | string | Account ID or SHAMWARI address | Yes |
numberOfConfirmations | int | Number of confirmations for guarantee calculation | Optional |
Response
{
"balanceFQT": "1000000000",
"guaranteedBalanceFQT": "800000000",
"errorCode": 0,
"errorDescription": ""
}
Response Fields
| Field | Type | Description |
|---|---|---|
balanceFQT | string | Confirmed balance in NQT |
guaranteedBalanceFQT | string | Minimum guaranteed balance |
Error Codes
| Code | Description |
|---|---|
| 3 | Unknown account |
Example
curl "http://localhost:22024/nxt?requestType=getGuaranteedBalance&account=SHAMWARI-ABCD-EFGH-IJKL-MNOPQ"