0

Good day to all. I encountered this problem. When I call getProgramAccounts I don't get a response but an error.

  1. Tell me, maybe I’m doing something wrong?

  2. My task is to get a list of tokens - am I doing it right?

I'm calling the endpoint via Python. I tried through a free node and through the main point, but as you can see the result is bad (in the console on the screenshots)

enter image description here

enter image description here

1 Answer 1

1

Most rpcs rate-limit GPA calls or always return an error(if the results aren't already cached) because it's relatively expensive. Consulting your rpc provider support or consider switching.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.