diff --git a/openrpc/src/methods/getHealth.json b/openrpc/src/methods/getHealth.json index 8cd98294b..2a7a221d7 100644 --- a/openrpc/src/methods/getHealth.json +++ b/openrpc/src/methods/getHealth.json @@ -15,6 +15,18 @@ "status": { "type": "string", "description": "\"healthy\"" + }, + "latestLedger": { + "type": "number", + "description": "Most recent known ledger sequence" + }, + "oldestLedger": { + "type": "number", + "description": "Oldest ledger sequence kept in history" + }, + "ledgerRetentionWindow": { + "type": "number", + "description": "Maximum retention window configured. A full window state can be determined via: ledgerRetentionWindow = latestLedger - oldestLedger + 1" } } } @@ -27,7 +39,10 @@ "result": { "name": "getHealthResult", "value": { - "status": "healthy" + "status": "healthy", + "latestLedger": 51583040, + "oldestLedger": 51565760, + "ledgerRetentionWindow": 17281 } } }