While Chainstack supporting Solana protocol in our Plan, unfortunately due to some limitations, at the moment, Solana Devnet node does not support API methods listed below:
getProgramAccountsis a versatile API method that returns all accounts owned by a program. We can use
getProgramAccountsfor a number of useful queries, such as finding:
- All token accounts for a particular wallet
- All token accounts for a particular mint
- All custom accounts for a particular program
Despite its usefulness,
getProgramAccountsis often misunderstood due to its current constraints. Many of the queries supported by
getProgramAccountsrequire RPC nodes to scan large sets of data. These scans are both memory and resource intensive. As a result, calls that are too frequent or too large in scope can result in connection timeouts.
By calling the aforementioned method above, Chainstack nodes will return "403 forbidden" error response.
Chainstack currently reworking the new Solana API architecture which will enable all the aforementioned methods above, and the good news is it will be available really soon!
Check our Solana tutorials page to check more regarding Solana.
You may also want to visit Pricing Page for more information regarding our subscription plan