Skip to main content

New answers tagged

0 votes

How does rate limiting work on Solana

How does the rate limiting work? Does the public RPC provider block Ip Addresses? YES How long does this last or is it a permanent ban? it last typically for 1 second, as it rate limited by the second....
Backpac_XYZ's user avatar
0 votes

How to Use WebSockets to Check if a Token Mint Address is Tradable on Raydium?

Would this help? https://www.helius.dev/blog/how-to-fetch-newly-minted-tokens-with-helius Explains how to set up a websocket to check the tokens. You'd still have to filter out the Raydium tokens (...
ecairncross's user avatar
1 vote

Do I need my own RPC node to use getProgramAccounts or getTokenLargestAccounts?

Both of these methods are quite compute heavy, so yes, you should get your own RPC. There are alternatives to getProgramAccount which are faster (indexers and such). You can try Hello moon or Helius ...
Syed Aabis Akhtar's user avatar
0 votes

Low latency in RPC node (~30 seconds delay)

Getting close to real-time detection of new LP-pools on raydium can be quite trivial and don't have to cost that much. I have achieved this using Helius's geyser rpc endpoints with their transaction ...
pål-jørgen valdersnes's user avatar
0 votes

Do I need my own RPC node to use getProgramAccounts or getTokenLargestAccounts?

getTokenLargestAccounts --> QuickNode I guess you can also make a call for programaccounts on quicknode also.
NFT_Player's user avatar
1 vote

Do I need my own RPC node to use getProgramAccounts or getTokenLargestAccounts?

As much as I know, they in deed require account indexing. You could maybe use helius, as they offer a free-tier to get started.
Björn W's user avatar
  • 173
2 votes

`getTokenAccountsByDelegate` Method Not Available After Clean Install of `@solana/web3.js`

As you've noted, that RPC method isn't part of the current released version of web3.js Connection class. Ref here of available methods. It might be part of web3.js once the Technological preview is ...
Jimii's user avatar
  • 3,120
0 votes

Low latency in RPC node (~30 seconds delay)

Here is a list of RPC providers: https://solana.com/rpc It seems like Triton and Helius have good reputation. In Triton's case it seems that they offer 400 ms latency with a dedicated RPC node that ...
J. Pablo García's user avatar
1 vote

Fastest RPC node for solana transaction paod

This is such a subjective question because factors such as latency come into play. Triton and Helius have great reputation, but I'd say play with each one to get the one which works best for you from ...
Jimii's user avatar
  • 3,120
0 votes

How to retrieve pool adresses

Just want to say I'm also looking for this and finding nothing. Kind of ridiculous for an "open-source" blockchain
kaweinh's user avatar
2 votes
Accepted

Error: failed to get recent blockhash: TypeError: fetch failed

on, Linux Pop OS. Fixed the error by changing my DNS to point to the Google DNS server. Start the resolvconf service if it's not on sudo systemctl start resolvconf.service sudo systemctl enable ...
Jimii's user avatar
  • 3,120
1 vote

Solana TransactionExpiredTimeoutError : Transaction was not confirmed in 30.00 seconds

From the question, I assume you're confirming transactions with connection.confirmTransaction(signature, "confirmed) Try using this instead: const block = await connection.getLatestBlockhash(&...
Joey Meere's user avatar
  • 1,294
0 votes

Fastest way to get liquidity pool creation event

To get liquidity pool creation events as quickly as possible, you're already on the right track by using popular RPC webhooks and the logsSubscribe WebSocket method with a processed commitment. ...
Nerevaine's user avatar
  • 159
1 vote
Accepted

How can I track all buy and sell transactions that relate to a specific Token address?

What you can do is use the logsSubscribe RPC method to subscribe to log notifications. After that, you can use the getTransaction method to filter the notifications. I did this for tracking a wallet, ...
Nerevaine's user avatar
  • 159
1 vote

How to obtain the top 5 holders of a Solana token using getProgramAccounts?

I didn't end up using that method, so I'm not entirely sure what the issue was. However, the most optimal way to get the largest holders is by using the getTokenLargestAccounts RPC method. This method ...
Nerevaine's user avatar
  • 159
2 votes

How to Obtain the Metadata URI of a Solana Token Using Python

Looking at the source code, I think the offsets are incorrect. Given the sizes at https://github.com/metaplex-foundation/mpl-token-metadata/blob/e86de64101fc386dd4cc97b6f107da3de258833a/programs/token-...
Jon C's user avatar
  • 15.3k
2 votes

Solana RPC Node and Turbine Tree

An RPC node is considered as a validator, even if it doesn't have any stake delegated to it. So you've got it all correct: the RPC node receives shreds, but it will not be a priority target for the ...
Jon C's user avatar
  • 15.3k

Top 50 recent answers are included