-
I'm experiencing an issue where fetching a pool by its ID using the Raydium SDK returns null. Despite passing a valid pool ID, the fetched pool data is null, which prevents further actions such as exe…
-
While trying to swap CPMM tokens to SOL there is always I small residue amount left in the token wallet even though I am passing the entire token balance for swap. Do I need to make any changes in the…
-
Sorry for asking this question but I am confuse on how to sell instead of buy. I manage to get the code to work but when I want to sell I assume we need to change 'in' to 'out' and u swap base and quo…
-
Does this sdk support Raydium V4?
-
I run yarn dev trade/routeSwap.ts, swap 3B5wuUrMEi5yATD7on46hKfej3pfmd7t1RKgrsN3pump to SOL, the tx is on chain, and the code don't throw error, but the solscan always show this error:
Program Error…
-
hello.
I don't know why it gives me this error when I exceute the swap.
this error related to the pool and it's like the code can't read the pool list.
Loaded pool keys
C:\raydium-sdk-swap-examp…
-
Cant' find create_raydium_pool module in the /programs/pump/src/instructions
-
Hello,
I am encountering an issue with token swaps through the CPMM pool: error `TransactionExpiredBlockheightExceededError`. I noticed similar issues reported previously, where increasing the prio…
6otah updated
3 months ago
-
Anyone else have this issue?
MINT IN : So11111111111111111111111111111111111111112
AMOUNT IN : 100
MINT OUT : AujTJJ7aMS8LDo3bFzoyXDwT3jBALUbu4VZhzZdTZLmG
AMOUNT OUT : 83106
Slightly modified…
-
```
const out = raydium.liquidity.computeAmountOut({
poolInfo: {
...poolInfo,
baseReserve: pool.baseReserve,
quoteReser…