Skip to content

Commit

Permalink
Add endLedger in getEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
psheth9 committed Oct 1, 2024
1 parent 800b768 commit 435fdb6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions openrpc/src/stellar-rpc/contentDescriptors/EndLedger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"EndLedger": {
"name": "endLedger",
"summary": "ledger represents the end of search window",
"description": "Ledger sequence number represents the end of search window (exclusive). If a cursor is included in the request, `endLedger` must be omitted.",
"required": false,
"schema": {
"$ref": "#/components/schemas/LedgerSequence"
}
}
}
3 changes: 3 additions & 0 deletions openrpc/src/stellar-rpc/methods/getEvents.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
{
"$ref": "#/components/contentDescriptors/StartLedger"
},
{
"$ref": "#/components/contentDescriptors/EndLedger"
},
{
"$ref": "#/components/contentDescriptors/EventFilters"
},
Expand Down

0 comments on commit 435fdb6

Please sign in to comment.