fix: jup staking

This commit is contained in:
aryan
2024-12-16 02:22:02 +05:30
parent 0ba572f184
commit 751738f7de
4 changed files with 2 additions and 47 deletions

View File

@@ -19,8 +19,6 @@ export async function trade(
slippageBps: number = DEFAULT_OPTIONS.SLIPPAGE_BPS,
): Promise<string> {
try {
// Get quote for the swap
console.log(inputMint.toString(), outputMint.toString(), inputAmount, slippageBps);
const quoteResponse = await (
await fetch(
`${JUP_API}/quote?` +