Skip to Content
API统计数据获取合约调用分布

获取合约调用分布

1. 概述与典型用途

返回指定日期的合约调用分布情况,包括各合约的触发次数和调用者数量。

  • 典型用途:分析合约调用热度分布、查看调用者与触发次数排行。
  • 何时不要用:查看按时间段汇总的合约调用趋势用「获取合约调用统计数据」。

2. 接口与鉴权

GET /api/triggeramountstatistic

Base URL 与鉴权见 公共网络与鉴权说明

3. 请求

参数类型必填默认说明
dayinteger最近统计周期数据时间,精确到毫秒
limitinteger10返回数量,最大 50

4. 响应

顶层

字段类型是否必返说明单位/精度
totalTriggerinteger必返当日触发交易总数
totalCallerAmountinteger必返当日调用者总数
totalEnergyinteger必返当日能量消耗总量
totalinteger必返命中合约总数
lastUpdateSecondsinteger必返数据更新时间秒级 Unix 时间戳
dataarray必返合约调用分布列表,见下

data[] 元素

字段类型是否必返说明单位/精度
contract_addressstring必返合约地址
trigger_amountinteger必返触发次数
caller_amountinteger必返调用者数量
call_valueinteger必返调用金额
namestring必返合约名称
trigger_amount_percentnumber必返触发次数占比
caller_amount_percentnumber必返调用者数量占比
tag1string可选合约标签
tag1Urlstring可选合约标签链接
blueTagUrlstring可选合约官网链接
isTokenboolean必返是否为代币合约
publicTagDescstring可选公开标签描述
riskboolean必返风险标记
vipboolean必返是否为 VIP 合约

5. 错误

HTTP 状态码见 公共错误说明。本接口要点:

  • 空结果不是错误:无命中返回 200 + data: [],属于正常响应。
最后更新于: