跳转到主要内容
GET
交易 - 列表
获取某条链上最近的 DEX 交易。可按代币地址过滤以查看特定代币的交易。返回买卖方向、数量、价格及 DEX 信息。
相关: GraphQL DEX 交易 | MCP: trade_get

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

chain
enum<string>
必填

支持网络列表中的链名称 Supported blockchain chains

可用选项:
sol,
eth,
bsc

查询参数

cursor
string

分页游标

limit
integer<int64>
默认值:20

每页返回结果数量

direction
enum<string>
默认值:next

分页方向(next 或 prev) Pagination direction

可用选项:
next,
prev
tokenAddress
string

代币地址

walletAddress
string

钱包地址

poolAddress
string

池子地址

beforeTimestamp
integer<int64>

交易筛选的开始时间戳(Unix 秒级时间戳)

afterTimestamp
integer<int64>

交易筛选的结束时间戳(Unix 秒级时间戳)

beforeBlockHeight
integer<int64>

筛选此区块高度之前的交易

afterBlockHeight
integer<int64>

筛选此区块高度之后的交易

transactionsSignature
string

交易签名/哈希

type
enum<string>

交易类型筛选 Trade type

可用选项:
BUY,
SELL

响应

200 - application/json

成功响应

Generic pagination response

data
object[]
必填

Page data

endCursor
string | null

Cursor for the end of current page

示例:

"eyJpZCI6ImVuZCJ9"

hasNext
boolean

Whether there is a next page

示例:

false

hasPrev
boolean

Whether there is a previous page

示例:

false

startCursor
string | null

Cursor for the start of current page

示例:

"eyJpZCI6InN0YXJ0In0="

total
integer<int64> | null

Total number of items matching the query (not just the current page). When None, the caller should treat it as unknown (backward-compatible).

示例:

564094