jupiter-swap-api 6.0.51 29beb0da47c8db4cd23b40f4aa6ce96a6490f9d5
When using the Jupiter Swap API /quote endpoint with excluded_dexes set to "Pump.fun Amm" in Rust, the API fails to filter out Pump.fun AMM (including main and 2.1 branches). Returned routes still include Pump.fun AMM. However, using an HTTP tool with the same parameters correctly filters out Pump.fun AMM.
Steps to Reproduce:
Call the Jupiter Swap API /quote endpoint in Rust.
Configure the request as follows:
let quote_request = QuoteRequest {
input_mint: NATIVE_MINT,
output_mint: mint,
amount: LAMPORTS_PER_SOL,
slippage_bps: 0,
excluded_dexes: Some("Pump.fun Amm".into()),
..QuoteRequest::default()
};
Send the request and inspect the returned routes.
Observe that routes still include Pump.fun AMM (main or 2.1 branches).
Test the same request using an HTTP tool (e.g., Postman), which correctly excludes Pump.fun AMM.
excludeDexes = Pump.fun Amm
jupiter-swap-api 6.0.51 29beb0da47c8db4cd23b40f4aa6ce96a6490f9d5
When using the Jupiter Swap API /quote endpoint with excluded_dexes set to "Pump.fun Amm" in Rust, the API fails to filter out Pump.fun AMM (including main and 2.1 branches). Returned routes still include Pump.fun AMM. However, using an HTTP tool with the same parameters correctly filters out Pump.fun AMM.
Steps to Reproduce:
Call the Jupiter Swap API /quote endpoint in Rust.
Configure the request as follows:
let quote_request = QuoteRequest {
input_mint: NATIVE_MINT,
output_mint: mint,
amount: LAMPORTS_PER_SOL,
slippage_bps: 0,
excluded_dexes: Some("Pump.fun Amm".into()),
..QuoteRequest::default()
};
Send the request and inspect the returned routes.
Observe that routes still include Pump.fun AMM (main or 2.1 branches).
Test the same request using an HTTP tool (e.g., Postman), which correctly excludes Pump.fun AMM.
excludeDexes = Pump.fun Amm