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 - 兑换

