Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
支持网络中列出的区块链名称
Available options:
sol
, base
, bsc
, polygon
, arbitrum
, optimism
, avalanche
, ethereum
, zksync
, sui
Body
application/json
交易的 DEX 标识符
Available options:
raydium
, pumpfun
, moonshot
, candy
, launchpad
Example:
"raydium"
发起交易的钱包公钥
Required string length:
8 - 64
Example:
"oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7"
兑换数量。使用 "auto" 表示全部余额或百分比如 "50%"
Example:
"1000000000"
兑换方向模式
Available options:
ExactIn
, ExactOut
Example:
"ExactIn"
滑点容忍百分比
Required range:
0 <= x <= 100
Example:
10
优先费用,以 SOL 增加交易处理速度
Example:
"1000"
DEX 资金池地址
Required string length:
8 - 64
Example:
"58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2"
输入 Mint,基础代币地址
Ouput Mint,报价代币地址
Response
200 - application/json