Links

Checking Account Quota

This endpoint allows you to check your transaction quota usage.

REQUEST

Method: quota_usage
Parameters: None

Examples

Gateway-API
Cloud-API
wscat -c ws://127.0.0.1:28333/ws --header "Authorization: <YOUR-AUTHORIZATION-HEADER>"
> {"method": "quota_usage", "id": "1", "params": null}
< ......
We assume that the Gateway IP is 127.0.0.1 with WebSocket port 28333
curl https://api.blxrbdn.com \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: <YOUR-AUTHORIZATION-HEADER>" \
-d '{"method": "quota_usage", "id": "1", "params": null}'

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

{
"jsonrpc": "2.0",
"id": "1",
"result": {
"account_id": "a62874b2-2f56-41fe-b297-0a0711ec6ee5",
"quota_filled": 8,
"quota_limit": 100
}
}