diff --git a/openrpc/src/stellar-rpc/contentDescriptors/EndLedger.json b/openrpc/src/stellar-rpc/contentDescriptors/EndLedger.json new file mode 100644 index 000000000..78562739a --- /dev/null +++ b/openrpc/src/stellar-rpc/contentDescriptors/EndLedger.json @@ -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" + } + } +} diff --git a/openrpc/src/stellar-rpc/methods/getEvents.json b/openrpc/src/stellar-rpc/methods/getEvents.json index 256357b2e..3fa57941c 100644 --- a/openrpc/src/stellar-rpc/methods/getEvents.json +++ b/openrpc/src/stellar-rpc/methods/getEvents.json @@ -10,6 +10,9 @@ { "$ref": "#/components/contentDescriptors/StartLedger" }, + { + "$ref": "#/components/contentDescriptors/EndLedger" + }, { "$ref": "#/components/contentDescriptors/EventFilters" },