取得指定區塊鏈上所有 DEX 的資訊
cURL
curl --request GET \ --url https://api.chainstream.io/v2/dex \ --header 'Authorization: Bearer <token>'
{ "data": [ { "chain": "sol", "image": "https://example.com/dex-logo.png", "programAddress": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc", "protocolFamily": "Raydium" } ], "endCursor": "eyJpZCI6ImVuZCJ9", "hasNext": false, "hasPrev": false, "startCursor": "eyJpZCI6InN0YXJ0In0=" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
分頁游標
每頁回傳結果數量
分頁方向(next 或 prev) Pagination direction
next
prev
按區塊鏈網路篩選
按 DEX 程式地址篩選
成功回應
Generic pagination response
Page data
Show child attributes
Cursor for the end of current page
"eyJpZCI6ImVuZCJ9"
Whether there is a next page
false
Whether there is a previous page
Cursor for the start of current page
"eyJpZCI6InN0YXJ0In0="
這個頁面有幫助嗎?