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

Fix start ledger required param #1371

Merged
merged 2 commits into from
Mar 7, 2025
Merged

Fix start ledger required param #1371

merged 2 commits into from
Mar 7, 2025

Conversation

tamirms
Copy link
Contributor

@tamirms tamirms commented Mar 7, 2025

Fixes #826

This PR makes the startLedger an optional parameter. startLedger is part of the request of the following endpoints:

  • getTransactions
  • getLedgers
  • getEvents

The reason why startLedger is optional is because it cannot be set if a cursor is provided in the request.

@stellar-jenkins
Copy link

@tamirms tamirms requested a review from a team March 7, 2025 12:02
@tamirms tamirms merged commit e51db60 into main Mar 7, 2025
2 checks passed
@tamirms tamirms deleted the fix-start-ledger-required branch March 7, 2025 15:32
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.

getTransactions incorrectly states startLedger as required
3 participants