Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Expose a getLedgers endpoint #109

Closed
mootz12 opened this issue Mar 20, 2024 · 1 comment
Closed

Feature: Expose a getLedgers endpoint #109

mootz12 opened this issue Mar 20, 2024 · 1 comment

Comments

@mootz12
Copy link

mootz12 commented Mar 20, 2024

What problem does your feature solve?

Get ledger is useful for applications to get information about a past ledger from the sequence number, like what time the ledger was closed at.

Currently, applications must integrate horizon as well if they wish to translate any past sequence number to a timestamp.

What would you like to see?

An endpoint on the RPC like: https://developers.stellar.org/network/horizon/resources/retrieve-a-ledger

What alternatives are there?

Use Horizon and the RPC in the same application. This works, but IIRC there was a push to avoid having dApps depend on both Horizon and the RPC. If this is not correct - please feel free to close this feature request.

@mollykarcher
Copy link
Contributor

Closing this as a duplicate of #111

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

No branches or pull requests

2 participants