amm/quotes
Get a price quote by providing the specified tokens information through native swap.pump.fun liquidity pool.
Last updated
Get a price quote by providing the specified tokens information through native swap.pump.fun liquidity pool.
Last updated
Be aware that this endpoint is using a beta URL.
GET ./api/v2/pumpfun/amm/quotes
inToken
string
Address of the swap-in token.
inAmount
double
The amount of token wants to be swapped from.
outToken
string
Address of the swap-out token.
pool
string
Specify exact which liquidity pool wants to interact with.
slippage
double
The maximum slippage tolerance in percentage.
quoteType
string
The type of the swap, which is either a 'BUY' or a 'SELL'.
inToken
string
Address of the swap-in token.
inAmount
double
The amount of token wanted to be swapped from.
outToken
string
Address of the swap-out token.
outAmount
string
The amount of token expected to be received.
Response Example: