Skip to content

[docs-agent] Bump Stellar RPC retention window to 60 days - #1561

Open
alchemy-bot wants to merge 2 commits into
mainfrom
docs/stellar-60-day-retention
Open

[docs-agent] Bump Stellar RPC retention window to 60 days#1561
alchemy-bot wants to merge 2 commits into
mainfrom
docs/stellar-60-day-retention

Conversation

@alchemy-bot

Copy link
Copy Markdown
Contributor

Summary

Alchemy's Stellar mainnet RPC has moved to a 60-day retention window. Live getHealth currently returns ledgerRetentionWindow: 1036800 ledgers (~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.yaml

  • getEvents description: 7 days60 days
  • getEvents example description: last 7 days of eventslast 60 days of events
  • getLedgers example description: Unlike getEvents and getTransactions (which retain ~7 and ~14 days respectively)... (which retain ~60 days) — keeps the cross-reference consistent

src/openrpc/chains/_components/custom/methods.yaml

  • getTransaction: add Stellar-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 — passed
  • pnpm run validate:rpc — passed
  • getHealth on stellar-mainnet.g.alchemy.com/v2/docs-demo returned ledgerRetentionWindow: 1036800

Linear

DOCS-203

Requested by

@caleighc (via Slack thread)

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
@alchemy-bot
alchemy-bot requested a review from a team as a code owner August 24, 2026 19:41
@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Aug 24, 2026, 8:29 PM

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread src/openrpc/chains/_components/custom/methods.yaml
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants