GET
/
trade
/
v1
/
{chain}
交易 - 列表
curl --request GET \
  --url https://api-dex.chainstream.io/trade/v1/{chain} \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    "<string>"
  ],
  "hasNext": false,
  "hasPrev": false,
  "startCursor": "<string>",
  "endCursor": "<string>",
  "total": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

chain
any
required

Query Parameters

cursor
string

分页游标

limit
number
default:20

每页结果数量

Required range: 1 <= x <= 100
direction
enum<string>
default:next

分页方向(next或prev)

Available options:
next,
prev
tokenAddress
string

查询交易的代币地址

Example:

"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"

walletAddress
string

查询交易的钱包地址

Example:

"3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w"

poolAddress
string

筛选交易的资金池地址

Example:

"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"

beforeTimestamp
number

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

Example:

1717334400000

afterTimestamp
number

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

Example:

1717334400000

beforeBlockHeight
number

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

Example:

332417228

afterBlockHeight
number

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

Example:

332417228

Response

200 - application/json

The response is of type object.