Skip to content

Commit

Permalink
dumb 5
Browse files Browse the repository at this point in the history
  • Loading branch information
anihamde committed Nov 29, 2024
1 parent 1a78f7f commit 0a73c2a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/dex-router/src/router/jupiter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
Expand Down

0 comments on commit 0a73c2a

Please sign in to comment.