跳转到主要内容
GET
/
v1
/
dex
DEX - 列表
curl --request GET \
  --url https://api-dex.chainstream.io/v1/dex \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "chain": "sol",
      "programAddress": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc",
      "protocolFamily": "OrcaWhirpool",
      "image": "https://ipfs.io/ipfs/bafkreid7667676767676767676767676767676767676767676767676767676767676767"
    }
  ],
  "hasNext": false,
  "hasPrev": false,
  "startCursor": "<string>",
  "endCursor": "<string>",
  "total": 123
}

授权

Authorization
string
header
必填

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

查询参数

chains
string[]
limit
number
默认值:20

每页结果数量

必填范围: 1 <= x <= 100
dexProgram
string

DEX程序地址

响应

200 - application/json
data
object[]
必填

DEX 信息数组

hasNext
boolean
默认值:false

指示是否有更多结果

hasPrev
boolean
默认值:false

指示是否有上一页结果

startCursor
string

当前页第一项的游标

endCursor
string

当前页最后一项的游标

total
number

总项目数