Skip to content

Commit

Permalink
Add endLedger in getEvents (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
psheth9 authored Oct 28, 2024
1 parent f3cf65e commit c3e8e57
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 c3e8e57

Please sign in to comment.