Skip to Content
API深度分析获取流动性交易列表

获取流动性交易列表

1. 概述与典型用途

返回按多种条件筛选的流动性交易列表(添加/移除/兑换)。startTimestamp 与 endTimestamp 之间的最大时间间隔为 60 天。

  • 典型用途:监控稳定币流动性池的添加、移除和兑换操作。
  • 何时不要用:查询普通转账交易请用交易列表接口。

2. 接口与鉴权

GET /api/deep/stableCoin/liquidity/transaction

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

3. 请求

参数类型必填默认说明
sortstring否-timestamp排序方式:timestamp、value 或 tokenValue,加 - 前缀表示降序
minValuenumber否1000最小总 USD 价值
maxValuenumber否—最大总 USD 价值
typestring否全部流动性操作类型:AddLiquidity、RemoveLiquidity、TokenExchange,多个值以逗号分隔
operatorstring否—按操作方地址筛选
startTimestampinteger否当前时间前 60 天开始时间戳,精确到毫秒
endTimestampinteger否当前时间结束时间戳,精确到毫秒
tokenstring否—按代币地址筛选,多个代币以逗号分隔
poolstring否—按流动性池地址筛选
projectstring否—sunswap 或 suncurve
influencestring否—对某代币的影响方向,+ 表示增加,- 表示减少
minTokenValuenumber否—单代币筛选的最小价值
maxTokenValuenumber否—单代币筛选的最大价值

4. 响应

顶层

字段类型是否必返说明单位/精度
totalinteger必返符合条件的记录总数—
dataarray必返流动性交易列表—
refreshTimeInfoobject必返数据刷新信息,含 type("realtime")和 lastUpdateTime(秒时间戳)—

data[] 元素

字段类型是否必返说明单位/精度
projectstring必返项目名称(SunSwap / SunCurve)—
typestring必返操作类型—
valuestring必返总 USD 价值美元
operationarray必返涉及代币详情列表—
operatorstring必返操作方地址—
dateCreatedinteger必返交易时间毫秒时间戳
hashstring必返交易哈希—

operation[] 元素

字段类型是否必返说明单位/精度
tokenIdstring必返代币合约地址—
tokenNamestring必返代币名称—
tokenAbbrstring必返代币缩写—
tokenDecimalinteger必返代币精度—
tokenAmountstring必返代币数量—
tokenValuestring必返代币 USD 价值美元

5. 错误

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

  • 时间区间超过 60 天:startTimestamp 将被自动调整为 endTimestamp 前 60 天。
最后更新于: