[docs-agent] Bump Stellar RPC retention window to 60 days - #1561
Open
alchemy-bot wants to merge 2 commits into
Open
[docs-agent] Bump Stellar RPC retention window to 60 days#1561alchemy-bot wants to merge 2 commits into
alchemy-bot wants to merge 2 commits into
Conversation
Alchemy's Stellar mainnet endpoint now advertises `ledgerRetentionWindow: 1036800` ledgers (~60 days at 1 ledger / 5s), up from the previous 7-day events / 14-day transactions windows. Updates the on-page description on getEvents, getTransaction, and getTransactions to reflect the new window, and keeps the getLedgers cross-reference consistent. Refs DOCS-203 Requested-by: @caleighc
🔗 Preview Mode
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6bd57e90d7
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
…indow Codex flagged that the getHealth schema example was still advertising ledgerRetentionWindow: 17280 (~1 day), inconsistent with the 60-day claim being added on the sibling methods in this PR. Also brings the accompanying latestLedger / oldestLedger values into a plausible current range (delta = 1,036,800 ledgers). Refs DOCS-203 Requested-by: @caleighc
SahilAujla
approved these changes
Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Alchemy's Stellar mainnet RPC has moved to a 60-day retention window. Live
getHealthcurrently returnsledgerRetentionWindow: 1036800ledgers (~5s each = 60 days), whereas the docs still describe 7 days for events and 14 days for transactions. This PR aligns the on-page copy with the new window.Changes
src/openrpc/chains/_components/stellar/methods.yamlgetEventsdescription:7 days→60 daysgetEventsexample description:last 7 days of events→last 60 days of eventsgetLedgersexample description:Unlike getEvents and getTransactions (which retain ~7 and ~14 days respectively)→... (which retain ~60 days)— keeps the cross-reference consistentsrc/openrpc/chains/_components/custom/methods.yamlgetTransaction: addStellar-RPC will support querying within a maximum 60 days of recent ledgers.to the description. Example description~14 days→~60 days.getTransactions: same 60-day note added to description. Example description~14 days→~60 days.No schema, param, or example-value changes.
Verified
pnpm run generate:rpc— passedpnpm run validate:rpc— passedgetHealthonstellar-mainnet.g.alchemy.com/v2/docs-demoreturnedledgerRetentionWindow: 1036800Linear
DOCS-203
Requested by
@caleighc (via Slack thread)