Checking Account Quota

This endpoint allows you to check your transaction quota usage.

REQUEST

Method: quota_usage

Parameters: None

Examples

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

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
  }
}

Last updated