Checking Account Quota
This endpoint allows you to check your transaction quota usage.

REQUEST

Method: quota_usage
Parameters: None

Examples

Gateway-API
Cloud-API
1
curl http://127.0.0.1:28332 \
2
-X POST \
3
-H "Content-Type: application/json" \
4
-H "Authorization: <YOUR-AUTHORIZATION-HEADER>" \
5
-d '{"method": "quota_usage", "id": "1", "params": null}'
6
Copied!
We assume that the Gateway IP is 127.0.0.1 with port 28332
1
curl https://api.blxrbdn.com \
2
-X POST \
3
-H "Content-Type: application/json" \
4
-H "Authorization: <YOUR-AUTHORIZATION-HEADER>" \
5
-d '{"method": "quota_usage", "id": "1", "params": null}'
6
Copied!
​

RESPONSE

Result Fields

Result Field
Description
account_id
Client's account ID.
quota_filled
The number of transactions that have been sent from the above account during the last day (UTC time).
quota_limit
The daily limit of the number of transactions that can be sent from the account. For instance, the Professional plan has a limit of 1,500 transactions/day.

Example

1
{
2
"jsonrpc": "2.0",
3
"id": "1",
4
"result": {
5
"account_id": "a62874b2-2f56-41fe-b297-0a0711ec6ee5",
6
"quota_filled": 8,
7
"quota_limit": 100
8
}
9
}
10
​
Copied!
Last modified 10mo ago
Copy link