From 0a73c2a8b1537c8c9265e54d01f3b4683896d75b Mon Sep 17 00:00:00 2001 From: --systemdf Date: Fri, 29 Nov 2024 13:08:35 +0000 Subject: [PATCH] dumb 5 --- scripts/dex-router/src/router/jupiter.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/dex-router/src/router/jupiter.ts b/scripts/dex-router/src/router/jupiter.ts index f1884915..1200a244 100644 --- a/scripts/dex-router/src/router/jupiter.ts +++ b/scripts/dex-router/src/router/jupiter.ts @@ -55,12 +55,10 @@ export class JupiterRouter implements Router { console.log(`amountIn: ${amountIn}`); console.log(`url: ${this.quoteurl.toString()}`); console.log(`debugging, does this msg show up?`); - console.log(`once more version 2`); + console.log(`once more version 3`); const quoteResponseDumb = await fetch( - `${this.quoteurl.toString()}?inputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&outputMint=So11111111111111111111111111111111111111112&amount=50000000&autoSlippage=true&maxAutoSlippageBps=50&maxAccounts=${ - this.maxAccounts - }` + `https://jupiter-swap-api.quiknode.pro/quote?inputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&outputMint=So11111111111111111111111111111111111111112&amount=50000000&autoSlippage=true&maxAutoSlippageBps=50&maxAccounts=10` ); console.log( `quoteResponseDumb: ${quoteResponseDumb.status}, ${quoteResponseDumb.statusText}, ${quoteResponseDumb.body}`