Closed liuyuekeng closed 3 months ago
raydium.tradeV2.fetchRoutePoolBasicInfo doesn't
call raydium's api, it calls rpc to fetch huge pool data
from rpc directly, according to your error message and some tests from our side, we can confirm that it's your rpc's error, please ensure your rpcs have enough network capacity to fetch more than 20k pools data.
which CONNECT_TIMEOUT
and Internal server error
were both thrown from rpc nodes.
also reminds that this issue is related to demo reop, you can open issues there.
Hello I am encountering failures when running the
routeSwap
script in theraydium-sdk-V2-demo
project. I have tried using both OneKey's RPC and Alchemy's RPC, and errors are thrown during the fetchRoutePoolBasicInfo process. Below is the error message.using onekey
using alchemy
According to the issue at https://github.com/raydium-io/raydium-sdk-V2/issues/9, I have checked the network status and can confirm that I can access api-v3.raydium.io without any issues.
How should I resolve this issue?