From 05d18035109855bf338b5ac68e6c79f8bb4e93f1 Mon Sep 17 00:00:00 2001 From: shialoth Date: Wed, 14 May 2025 05:22:07 +0530 Subject: [PATCH] fixed jup api --- src/components/GpuPaymentModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GpuPaymentModal.tsx b/src/components/GpuPaymentModal.tsx index be5ab06..f84d631 100644 --- a/src/components/GpuPaymentModal.tsx +++ b/src/components/GpuPaymentModal.tsx @@ -311,7 +311,7 @@ export const GpuPaymentModal = ({ isOpen, onClose, gpu }: GpuPaymentModalProps) // Second attempt: Try using Jupiter Aggregator API for Solana tokens try { // Jupiter provides price data for most Solana tokens - const jupiterUrl = `https://price.jup.ag/v4/price?ids=${tokenAddress}`; + const jupiterUrl = `https://lite-api.jup.ag/price/v2?ids=${tokenAddress}`; const jupResponse = await axios.get(jupiterUrl); if (jupResponse.data &&