Dex
Dex - 兌換
兌換參數,包括輸入代幣、輸出代幣、數量和滑點
POST
Dex - 兌換
Documentation Index
Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
Use this file to discover all available pages before exploring further.
授權
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
路徑參數
支援網路列表中的鏈名稱
可用選項:
sol, bsc, eth 主體
application/json
交易所使用的 DEX 標識符
可用選項:
jupiter, kyberswap, raydium, pumpfun, moonshot, candy, launchpad 範例:
"jupiter"
發起交易的錢包公鑰
Required string length:
8 - 64範例:
"oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7"
兌換數量。使用 "auto" 表示全部餘額,或使用百分比如 "50%"
範例:
"1000000000"
兌換方向模式
可用選項:
ExactIn, ExactOut 範例:
"ExactIn"
滑點容忍百分比
必填範圍:
0 <= x <= 100範例:
10
優先費(SOL),用於提高交易處理速度
範例:
"1000"
DEX 池子地址
範例:
"58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2"
輸入代幣鑄造地址
輸出代幣鑄造地址
回應
200 - application/json
Dex - 兌換

