Skip to main content

Questions tagged [raydium]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

How do I find if a token that just listed on Raydium is a Pump.fun token

am interested in finding pump fun tokens that just listed on Raydium. I want the data to flow continously so am probably thinking a websocket would be ideal. Any ideas how I can go about implementing ...
muh bri's user avatar
0 votes
0 answers
2 views

Is there a way to retrieve raydium's pool keys with timestamp going back x amount of time?

As the title says, I'm looking for a way to retrieve these for a specified amount of time or from the current block until block x in the past. The json file they are providing for download has ~380k ...
styla's user avatar
  • 1
0 votes
0 answers
7 views

How to Swap reverse order of the Raydium poolkeys?

I listen new pools on Raydium. As you might know most of the pools come with the token becoming base and sol becoming quote. In my script I also retrieve poolkeys in the same order. I want to swap sol ...
Hayri Bahri's user avatar
0 votes
1 answer
6 views

Excess amount of SOL being expended from wallet when I swap with Raydium or deposit liquidity into Raydium

This may be a problem that can occur with other Solana programs, but I digress. Whenever I attempt to swap with Raydium, it would appear as if I'm losing more SOL than I should. For example, I might ...
Code man's user avatar
1 vote
1 answer
26 views

Transactions for providing liquidity to Raydium pools consistently failing

I recently began to deposit tokens into liquidity pools on the Raydium decentralized exchange, which initially succeeded with minimal issues, but today I was not able to deposit any further liquidity. ...
Code man's user avatar
0 votes
0 answers
20 views

monitor the price of coins

I have a virtual pool with token pairs sol/memecoin. i want to draw a k-line chart (pump.fun one) to reflect the coin price. How should I do it? Should I listen to my pool account's token balance and ...
caesear's user avatar
  • 41
0 votes
0 answers
26 views

Is there any faster way to getPoolKeys from Solana Raydium?

Currently, I am fetching all liquidity-related data from Raydium API. (https://api.raydium.io/v2/sdk/liquidity/mainnet.json) And then matching with my desired token address to filter the right ...
Shahria Emon's user avatar
0 votes
0 answers
25 views

How can I add liquidity for a token I want in a Raydium CPMM pool?

require('./globals'); const { Percent } = require('@raydium-io/raydium-sdk-v2'); const BN = require('bn.js'); const Decimal = require('decimal.js'); const { lpBotServices, raydiumServices } = require('...
Akash Yadav's user avatar
0 votes
0 answers
55 views

How can I swap solana token in python

I have been struggling for nights to get a swap on solana network running in python 3.10.2 installed solana, solders and Raydium but I can't get it to work. this is what I have: import time from ...
Paul tje's user avatar
0 votes
0 answers
22 views

How to swap and send

I manage to send raydium swap using typescript but i cant manage to swap and send the spl token to another address within the same transaction. Anyone here have tips on how to do it I tried ...
PythonNoobie's user avatar
0 votes
1 answer
34 views

Is there a way to programmatically pull a pool ID using two tokens CA?

Is there a way to use the Raydium SDK to find a pool? From what I've seen I cannot find this information.
Sebastian Ordas's user avatar
1 vote
1 answer
48 views

How can we prevent wallet to not hold more than 1% token if market cap is under 1B

I am building a token and i want to wallets to not buy much token. How can we prevent wallet to not hold more than 1% token if market cap is under 1B. How can i achieve this , Please keep in mind ...
Mohammad Abuzar's user avatar
0 votes
0 answers
48 views

How to identify liquidity add/remove instructions in Raydium and OpenBook AMM transactions?

Question: I'm working on a project to parse transactions on Solana, specifically to identify addLiquidity and removeLiquidity instructions for Raydium and OpenBook. Here is the code I am using: import ...
SDN's user avatar
  • 1
0 votes
0 answers
19 views

question about parse liquidiity

When we use the getParsedAccountInfo method to parse a pool ID, we usually use LIQUIDITY_STATE_LAYOUT_V4 to decode the results. In the final parsed data, what does each field mean? need your help,...
Mo Feng's user avatar
0 votes
0 answers
16 views

fetching and store function working time solution

now, I build a custom program on solana. I have to make a custom program that can retrieve the Market ID of a user specified token and then also use that market ID to retrieve the Market Account, ...
silver toml's user avatar
0 votes
1 answer
114 views

How to determine whether a token's liquidity is locked or burned?

can someone tell me how to use the Solana/web3.js or Raydium SDK to determine if a token is burned or the liquidity is locked? What is the main idea? I've tried a few things, but none of them work I ...
Mo Feng's user avatar
0 votes
1 answer
30 views

pubkey.toBase58 is not a function

I'm trying to create swapAmm function on Raydium I get targetPoolInfo by formatAmmKeysById() and get poolKeys by jsonInfo2PoolKeys() But when I'm trying to run Liquidity.makeSwapInstructionSimple() ...
nyslxj's user avatar
  • 27
0 votes
0 answers
41 views

Live Solana Token Data

I'm trying to find a better method to get live, accurate and fast token data. I've been using Raydium API for the better part of the last 3 months however, a lot if not all my new pairs initially take ...
Guruu's user avatar
  • 11
1 vote
1 answer
83 views

What is the best PROGRAM_ID for creating Liquidity pool on Raydium in Devnet?

I'm trying to create Liquidity pool on Raydium in Devnet. But transaction always failes. With errorr: Unknown Program (HWy1jotHpo6UqeQxx49dpYYdQB8wj9Qk9MdxwjLvDHB8) It is realy to create liquidity ...
nyslxj's user avatar
  • 27
0 votes
0 answers
60 views

I can't create liquidity pool on Raydium (JS)

I'm trying to create liquidity pool by Raydium(in JS @raydium-io/raydium-sdk) But always Creating pool Transcation is failed for example: https://explorer.solana.com/tx/...
nyslxj's user avatar
  • 27
0 votes
0 answers
47 views

Fastest way to get the first liquidity pool creation transaction for a given token

I currently have a context where I need to get hash of the first liquidity pool creation transaction on raydium, given a token address. I know that if I page back through the transactions, I will ...
Eric vinicius's user avatar
1 vote
1 answer
143 views

Raydium error: Transaction instruction index 0 has undefined program id

I'm trying to create a new MarketId using makeCreateMarketInstrucrion in '@raydium-io/raydium-sdk-v2'. But the program gives an error: Error: Transaction instruction index 0 has undefined program id ...
nyslxj's user avatar
  • 27
0 votes
1 answer
72 views

Failed to create a market ID

The 3 different sites I have used to try to create market ID each show me a failed transaction or or some other error message. The "Failed to load spl token data" was the error message on ...
David's user avatar
  • 1
2 votes
0 answers
49 views

Multiple instruction for the same token on Raydium

I need to create a transaction which needs to contain multiple swap instruction on Raydium, not jito or anyting else. Check this link: https://solscan.io/tx/...
Stormy0611's user avatar
1 vote
0 answers
28 views

How to Monitor token Holding pattern using Raydium Api?

I am using Raydium to monitor new pools and tokens but I want to go a step further and monitor token holders for the same token as well. I believe that is an important check before entering the token. ...
Parth Waikar's user avatar
0 votes
3 answers
226 views

Low latency in RPC node (~30 seconds delay)

I am trying to develop an snipe bot but when detecting new pools from Raydium I detect them between 20-40 seconds after creation. I have tried with QuickNode and Helius RPC nodes, but I don't see a ...
J. Pablo García's user avatar
0 votes
0 answers
19 views

¿Is there a way to see the LIQUIDITY and other data of a pool, using the raydium sdk?

I have the id of a pool, but I want to obtain the LIQUIDITY, the markers, the price of the coins of those holders, etc. I know that with dex Screener, you can, but the information is not in real time. ...
Ismael Treviño's user avatar
0 votes
0 answers
66 views

Is there a Raydium Liquidity Pool List url for the new raydium-cp-swap?

For previous Raydium AMM's we had the following url for the Liquidity Pool List: https://api.raydium.io/v2/sdk/liquidity/mainnet.json Is there a similarly maintained url for the the new raydium-cp-...
Bill McRoberts's user avatar
0 votes
1 answer
51 views

Monitoring the latest Price

I need help getting the latest price of a token. I am working on a sniper bot where users buy and sell the token at a specific price. I need to constantly monitor the current price, and if it matches ...
Bobz's user avatar
  • 514
2 votes
2 answers
137 views

How to Convert from Account<'info, TokenAccount> to UncheckedAccount<'info>

Please help me convert from -> #[account(mut)] pub user_token_source: Account<'info, TokenAccount>, into -> /// CHECK: Safe. user source token Account. user Account to swap from. #[...
att's user avatar
  • 151
2 votes
0 answers
50 views

How to identify liquidity pool burns in Sol Incinerator and determine authority in Solana?

When a liquidity pool is burned in Sol Incinerator on Solana, will the associated token always have Raydium as the authority? Additionally, how can I filter transactions to specifically identify when ...
Nerevaine's user avatar
  • 169
0 votes
0 answers
36 views

Why newly created pool id is not in https://api.raydium.io/v2/sdk/liquidity/mainnet.json

Why newly created pool id is not in https://api.raydium.io/v2/sdk/liquidity/mainnet.json
Mudaser's user avatar
0 votes
1 answer
88 views

Failed create CLMM using Token 2022 - Raydium Concentrated Liquidity: OpenPositionV2 (Program Error: "null")

I will add liquidity from the tokens I built in token 2022 using CLMM according to this question How to create a Liquidity pool for a token 2022 token After I entered “Confirm Deposit” and the gas fee ...
anggyferdiawan's user avatar
0 votes
1 answer
363 views

Raydium Liquidity Pool V4: SwapBaseIn (Program Error: "insufficient funds")

I am creating a program in Java to send a swap transaction, but I keep receiving this error. Transactions examples: https://solscan.io/tx/...
Groork Zoork's user avatar
0 votes
1 answer
200 views

How to get lp pair key from mint address of a raydium token?

I want to get a LP key pair(WSOL-TOKEN). For example in $WIF, the mint addres is EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm, but I want to get EP2ib6dYdEeqD8MfE2ezHCxX3kP3K2eLKkirfPm5eyMx. I'm using ...
Krix's user avatar
  • 1
0 votes
1 answer
182 views

Where can i find documentation for raydium sdk v2?

I can't find the documentation online for the raydium sdk v2, can someone help me?
user17459's user avatar
0 votes
0 answers
56 views

Create raydium pool and how to build arg ownerInfo?

tokenAccounts: [], // how to get token accounts? // interface TokenAccount { programId: PublicKey, pubkey: PublicKey, accountInfo: SplAccount} I don't know how to build this arg, pls const ...
Syu's user avatar
  • 1
0 votes
0 answers
35 views

Where all liquidity gone in a Raydium Pool

I purchased tiny amount of CATDRICK token on Raydium. The pool is created with 200K CATDRICK + 39 SOL. Here is a Raydium Pool on Solscan. I filtered for defi activities and token creator added 200K ...
att's user avatar
  • 151
0 votes
0 answers
23 views

Trade start on raydium

Is there any way to know when the trade of a token starts? Raydium provides webhooks to listen for newly added tokens, but some tokens set a specific time for when trading will open. These webhooks ...
Bobz's user avatar
  • 514
0 votes
0 answers
62 views

How do I make transaction instructions to swap on Raydium?

I'm trying to create transaction instructions to swap the raydium of a token. How could I do this? I would like some example. I'm using python to do this. transaction = Transaction() ...
Gabriel novais's user avatar
0 votes
0 answers
174 views

I want to create a liquidity Pool on raydium, using CPI

I have my custom logic on a program and want to create a liquidity pool on Raydium using CPIs, I am aware of the Raydium SDK which interacts with the Raydium program, but I don't want to utilize it on ...
Rishabh Jamwal's user avatar
0 votes
0 answers
167 views

decode raydium transaction detail information

Solscan has introduced a new feature called "defi activities." By opening any token address, you can see all the transaction details for that token. Currently, I am using the WebSocket ...
blueboy's user avatar
  • 23
0 votes
0 answers
56 views

Why is Raydium swap not working on ubuntu server but its perfectly working on my windows pc and Ubuntu WSL?

I am trying to run this project from github:https://github.com/precious-void/raydium-swap, this is basic raydium swap example its working perfectly in local windows and WSL but its not running on my ...
Karthik Balivada's user avatar
3 votes
1 answer
246 views

How To Make a cpi call to swap on raydium clmm program?

I worked out an program to make a swap cpi call to raydium v4 pool, with the help of raydium offically offered an cpi demo, raydium-contract-instructions. But not found any resources or instruction to ...
ClarkChen's user avatar
0 votes
0 answers
33 views

Raydium CLMM Config ID

I'm creating CLMM Pool using Raydim SDK. can anyone tell what is clmmConfigID and how can I create or get it? https://github.com/raydium-io/raydium-sdk-V1-demo/blob/...
Tayab's user avatar
  • 11
0 votes
0 answers
42 views

USDC on Solana not able to trade to other coins for a couple weeks

I have USDC in my wallet but everytime I've tried to trade it for another coin the past couple weeks it says i have insufficient balance. I have Solana and USDC in my wallet, so I know i do have ...
user14547's user avatar
0 votes
0 answers
111 views

Swapping in golang on raydium

I'm looking for a maintained golang API, to execute swaps against raydium pools. Anyone knows about any current library?
berlinguyinca's user avatar
0 votes
0 answers
85 views

Raydium Pull Current Price per token

I'm trying to pull the current price of a solana token / shitcoin through raydium (yes I don't want the on chain price etc. I want the price from raydium) I've tried all sorts of their APIs and either:...
Mika Cammann's user avatar
0 votes
0 answers
41 views

Decoding Raydium AMM program transaction instructions in Rust [duplicate]

I'm working on listening for events on Raydium v4 AMM program and have figured out most of what I need. However, I'm currently stuck on decoding Raydium transaction instructions. Has anyone done ...
iamnotstatic's user avatar
0 votes
0 answers
92 views

Combine multiple instructions swap raydium with lookup table

I want to combine multiple instructions of swap function using addresses of lookup table(LUT). But I stuck with it when combine instructions and sign with addresses in LUT. If you guys how to fix it. ...
AJackTi's user avatar
  • 11