Skip to main content
GET

JSON Ledger API

Get the current ledger end

OpenAPISince 3.4Changed 3.5
Get the current ledger end. Subscriptions started with the returned offset will serve events after this RPC was called.

Protocol Details

Operation IDgetV2StateLedger-end
AuthenticationBearer token
Published3.5

Inputs

Outputs

200

application/json
integer (int64)
It will always be a non-negative integer. If zero, the participant view of the ledger is empty. If positive, the absolute offset of the ledger as viewed by the participant. Optional

400

text/plain
string
required

default

application/json
string
required
string
required
string
string
Map_String
required
Tuple2_String_String[]
integer (int32)
required
integer (int32)
string
boolean

History

Changed3.5

The GET /v2/state/ledger-end operation changed in this snapshot.

Introduced3.4