Skip to Content
API深度分析获取稳定币持有者分布

获取稳定币持有者分布

1. 概述与典型用途

返回稳定币在交易所、钱包及 DeFi 协议(JustLend、SunSwap、SunCurve 等)中的详细持有分布。

  • 典型用途:展示稳定币持有者的当前分布快照。
  • 何时不要用:查看分布随时间变化请用「获取稳定币持仓变化」。

2. 接口与鉴权

GET /api/stableCoin/distribution

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

3. 请求

参数类型必填默认说明
tokenstring稳定币合约地址

4. 响应

顶层

字段类型是否必返说明单位/精度
addressesobject必返地址类别分布(含 exchangeotherAccount 子类,加上聚合 percent / value
contractobject必返合约类别分布(含 JustLendSunSwapSunCurveotherContract 子类,加上聚合 percent / value
tokenNamestring必返代币名称
tokenAbbrstring必返代币缩写
tokenDecimalinteger必返代币精度

addresses / contract 顶层聚合字段(与各子类同级)

字段类型是否必返说明单位/精度
percentstring必返该类(地址/合约)的总占比小数
valuestring必返该类(地址/合约)的总持有量(最小单位)最小单位(除以 10^tokenDecimal

addresses.exchange / addresses.otherAccount

字段类型是否必返说明单位/精度
dataarray必返各地址占比详情
percentstring必返总占比小数
valuestring必返总持有量(最小单位)最小单位(除以 10^tokenDecimal

data[] 元素(地址列表)

字段类型是否必返说明单位/精度
addressstring必返地址或交易所名称
percentstring必返占比小数
valuestring必返持有量(最小单位)最小单位(除以 10^tokenDecimal

contract.JustLend / contract.SunSwap / contract.SunCurve / contract.otherContract

字段类型是否必返说明单位/精度
dataarray必返各合约地址占比详情
percentstring必返占比小数
valuestring必返持有量(最小单位)最小单位(除以 10^tokenDecimal

contract.*.data[] 元素

字段类型是否必返说明单位/精度
addressstring必返合约地址
percentstring必返占比小数
valuestring必返持有量(最小单位)最小单位(除以 10^tokenDecimal

5. 错误

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

  • 通用错误处理规则适用,无特殊错误场景。
最后更新于: