Get Number of Accounts Holding TRX
1. Overview & Typical Use
Returns the number of accounts holding TRX, sorted by date in ascending order.
- Typical use: analyze growth trends in the number of TRX holders.
- When not to use: for active account counts use “Get Active Account Statistics”.
2. Endpoint & Authentication
GET /api/overview/accountswithtrx
For Base URL and authentication, see Common Network & Authentication.
3. Request
Fields
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
days | integer | No | — | Number of days to query |
4. Response
Fields
Top-level
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
success | boolean | Required | Whether the request succeeded | — |
data | array | Required | TRX holder data list; see below | — |
data[] elements
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
date | integer | Required | Statistics date | Millisecond timestamp |
dateDayStr | string | Required | Statistics date string | yyyy-MM-dd |
accountWithTrx | integer | Required | Number of accounts holding TRX | — |
accountWithTrxPercentage | number | Required | Ratio of TRX-holding accounts to all accounts | — |
totalAddress | integer | Required | Total account count on the network | — |
5. Errors
For HTTP status codes, see Common Errors. Notes for this endpoint:
- Empty result is not an error: no matches returns
200+data: [], which is a normal response.
Last updated on: