Skip to content

Link limits page to getProgramAccounts reference#307

Merged
akegaviar merged 1 commit intomainfrom
update/solana-getprogramaccounts-filters-guide
Mar 31, 2026
Merged

Link limits page to getProgramAccounts reference#307
akegaviar merged 1 commit intomainfrom
update/solana-getprogramaccounts-filters-guide

Conversation

@akegaviar
Copy link
Copy Markdown
Member

@akegaviar akegaviar commented Mar 31, 2026

Summary

Changes in docs/limits.mdx

  • getProgramAccounts RPS entry now links to the reference page and notes that unfiltered requests are blocked
  • Excluded accounts section explains they can't be used with getProgramAccounts, links to getTokenAccountsByOwner as the alternative, and labels each address (SPL Token Program, Kin)

Test plan

  • Verify Mintlify preview renders the links correctly

Summary by CodeRabbit

  • Documentation
    • Updated getProgramAccounts documentation to clarify that unfiltered requests to large programs are blocked; users must apply dataSize or memcmp filters.
    • Revised getProgramAccounts rate limits by region.
    • Expanded excluded accounts documentation with human-readable labels and alternative query recommendations.

Adds cross-links from the getProgramAccounts RPS limits and excluded
accounts sections to the updated reference page with filter guidance.
Also labels the excluded program addresses for clarity.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 31, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ae2ef462-6298-4816-85ff-d2b9777c15ab

📥 Commits

Reviewing files that changed from the base of the PR and between a6e832f and a4c3f56.

📒 Files selected for processing (1)
  • docs/limits.mdx

Walkthrough

Updated docs/limits.mdx to clarify getProgramAccounts behavior, explicitly blocking unfiltered requests to large programs and directing users to apply dataSize or memcmp filters. Adjusted regional rate limits and expanded the excluded accounts section with alternative query guidance and human-readable account labels.

Changes

Cohort / File(s) Summary
Documentation Updates
docs/limits.mdx
Clarified getProgramAccounts filtering requirements to block unfiltered large program queries, updated regional rate limits, expanded excluded accounts section with human-readable labels ("SPL Token Program", "Kin"), and recommended getTokenAccountsByOwner as alternative.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 A rabbit hops through the docs with glee,
Filtering wisdom for all to see!
"Use dataSize, memcmp," we now declare,
With labels so clear, no more confusion there! 📚✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update/solana-getprogramaccounts-filters-guide

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@akegaviar akegaviar merged commit 4cdcb15 into main Mar 31, 2026
2 of 3 checks passed
@akegaviar akegaviar deleted the update/solana-getprogramaccounts-filters-guide branch April 11, 2026 04:37
@coderabbitai coderabbitai Bot mentioned this pull request Apr 16, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant