Skip to main content
GET

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

Authorizations

httpAuth

string
required
HTTP bearer authentication. Send the token as Authorization: Bearer <token>. Ledger API standard JWT token

apiKeyAuth

string
required
API key authentication in the header. Ledger API standard JWT token (websocket)

Query parameters

string[]

Responses

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
SynchronizerTime[]
Final record times observed by this participant for each of the requested synchronizers. If there is no connection to a sequencer, corresponding record time can be arbitrarily far back in the past. Optional: can be empty

400

Invalid value, Invalid value for: query parameter synchronizer_id
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

Updated3.6

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

Updated3.5

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