Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch pool info error #4

Open
pifagorsoft opened this issue Sep 28, 2024 · 2 comments
Open

Fetch pool info error #4

pifagorsoft opened this issue Sep 28, 2024 · 2 comments
Labels
bug Something isn't working raydium

Comments

@pifagorsoft
Copy link

Using http://localhost:3000/docs I send a GET request to the Raydium exchange: /raydium/amm/pool/{poolAddress}. In the poolAddress field I enter 3nMFwZXwY1s1M5s8vYAHqd4wGs4iSxXE4LRoUMMYqEgF -
Screenshot
the pool ID on the exchange (see screenshot). After executing the request, an error appears:

[09:38:51 UTC] INFO: Getting Raydium pool info for address: 3nMFwZXwY1s1M5s8vYAHqd4wGs4iSxXE4LRoUMMYqEgF
[09:38:51 UTC] ERROR: fetch pool info error: 3nMFwZXwY1s1M5s8vYAHqd4wGs4iSxXE4LRoUMMYqEgF
reqId: "req-n"
req: {
"method": "GET",
"url": "/raydium/amm/pool/3nMFwZXwY1s1M5s8vYAHqd4wGs4iSxXE4LRoUMMYqEgF",
"hostname": "localhost:3000",
"remoteAddress": "127.0.0.1",
"remotePort": 35508
}
res: {
"statusCode": 500
}
err: {
"type": "Error",
"message": "fetch pool info error: 3nMFwZXwY1s1M5s8vYAHqd4wGs4iSxXE4LRoUMMYqEgF",
"stack":
Error: fetch pool info error: 3nMFwZXwY1s1M5s8vYAHqd4wGs4iSxXE4LRoUMMYqEgF
at hr.getRpcPoolInfos (/home/roman/larp/node_modules/.pnpm/@raydium-io[email protected]_bufferutil@[email protected]_fastestsmallesttexte_irjogltdfliyh55h5icwmlagbq/node_modules/@raydium-io/raydium-sdk-v2/lib/index.js:1:266060)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async GetPoolInfoController.getPoolInfo (/home/roman/larp/dist/connectors/raydium/amm-routes/getPoolInfo.js:9:21)
at async Object.handler (/home/roman/larp/dist/connectors/raydium/amm-routes/getPoolInfo.js:41:30)
}
[09:38:51 UTC] INFO: request completed
reqId: "req-n"
res: {
"statusCode": 500
}
responseTime: 212.6868109999923

@fengtality
Copy link
Contributor

Thanks! I haven't spent much time on Raydium yet since we're standardizing the Orca and Meteora endpoints first. Will dig into issue when I come back to Raydium.

@fengtality fengtality added bug Something isn't working raydium orca and removed orca labels Oct 7, 2024
@gelinger777
Copy link

@fengtality so the solana connector in use by hummingbot will be this project? The other one will be discontinued?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working raydium
Projects
None yet
Development

No branches or pull requests

3 participants