Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
A chain name listed in supported networks
sol
, base
, bsc
, polygon
, arbitrum
, optimism
, avalanche
, ethereum
, zksync
, sui
Body
DEX identifier for the trade
raydium
, pumpfun
, moonshot
, candy
, launchpad
"raydium"
Public key of the wallet initiating the transaction
8 - 64
"oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7"
Amount to swap. Use "auto" for full balance or percentage like "50%"
"1000000000"
Swap direction mode
ExactIn
, ExactOut
"ExactIn"
Slippage tolerance percentage
0 <= x <= 100
10
Priority fee in SOL to increase transaction processing speed
"1000"
DEX pool address
8 - 64
"58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2"
Input Mint, the base token address
Ouput Mint, the quote token address
Response
Base64 encoded transaction
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
Time taken to process the request in milliseconds
245