Skip to main content

getLatestLedger

note

The getLatestLedger method is still a work-in-progress.

For finding out the current latest known ledger of this node. This is a subset of the ledger info from Horizon.

Parameters

  • None

Returns

  • <object>
    • id: <hash> - hash of the latest ledger as a hex-encoded string
    • protocolVersion: <number>
    • sequence: <number>