Get Contract Call Distribution
1. Overview & Typical Use
Returns the contract call distribution for a specified date, including trigger count and caller count per contract.
- Typical use: analyzing contract call heat distribution, viewing trigger count and caller count rankings.
- When not to use: to view contract call trends aggregated over time periods use “Get Contract Call Statistics”.
2. Endpoint & Authentication
GET /api/triggeramountstatistic
For Base URL and authentication, see Common Network & Authentication.
3. Request
Fields
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
day | integer | No | Most recent statistics period | Data date, millisecond timestamp |
limit | integer | No | 10 | Number of results to return, max 50 |
4. Response
Fields
Top-level
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
totalTrigger | integer | Required | Total trigger transactions for the day | — |
totalCallerAmount | integer | Required | Total unique callers for the day | — |
totalEnergy | integer | Required | Total energy consumed for the day | — |
total | integer | Required | Total number of matched contracts | — |
lastUpdateSeconds | integer | Required | Data update time | Unix timestamp in seconds s |
data | array | Required | Contract call distribution list; see below | — |
data[] elements
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
contract_address | string | Required | Contract address | — |
trigger_amount | integer | Required | Number of triggers | — |
caller_amount | integer | Required | Number of callers | — |
call_value | integer | Required | Call value | — |
name | string | Required | Contract name | — |
trigger_amount_percent | number | Required | Trigger count proportion | — |
caller_amount_percent | number | Required | Caller count proportion | — |
tag1 | string | Optional | Contract tag | — |
tag1Url | string | Optional | Contract tag link | — |
blueTagUrl | string | Optional | Contract official website link | — |
isToken | boolean | Required | Whether this is a token contract | — |
publicTagDesc | string | Optional | Public tag description | — |
risk | boolean | Required | Risk flag | — |
vip | boolean | Required | Whether this is a VIP contract | — |
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: