Get Contract Daily Call Count List
1. Overview & Typical Use
Returns the daily call count statistics for a contract over a specified time range, used for analyzing contract usage frequency trends.
- Typical use: contract call volume trend charts, DApp daily transaction volume statistics, contract activity monitoring.
- When not to use: for daily unique caller counts use “Get Contract Daily Unique Caller Count”; for top called methods use “Get Contract Call Statistics”.
2. Endpoint & Authentication
GET /api/onecontracttriggerstatistic
For Base URL and authentication, see Common Network & Authentication.
3. Request
Fields
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
address | string | Yes | — | Contract address (Base58, starts with T) |
start_timestamp | integer | No | — | Start time, millisecond timestamp |
end_timestamp | integer | No | — | End time, millisecond timestamp |
4. Response
Fields
Top-level
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
total | integer | Required | Number of data points (days) | — |
totalAmount | integer | Required | Total calls within the time range | — |
data | array | Required | Daily statistics array | — |
data[] element
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
day | integer | Required | Date | millisecond timestamp |
amount | integer | Required | Number of calls on this day | — |
5. Errors
For HTTP status codes, see Common Errors. Key points for this endpoint:
- No data in time range: returns
200+data: [],total: 0. - Empty result is not an error: when the contract does not exist or there are no calls in the time range, an empty array is returned as a normal response.
Last updated on: