Skip to content
Documentation/canton-network-docs/Ledger APIOpenAPIView on canton-network-docs
canton-network-docs/Ledger APIOpenAPI

GET /v2/state/ledger

GET
/
v2
/
state
/
ledger-end
Try it
GET /v2/state/ledger-end

cURL

curl --request GET \
  --url https://api.example.com/v2/state/ledger-end \
  --header 'Authorization: Bearer <token>'
200
400
default
{
  "offset": 123
}

Authorizations

Authorization
string
header
required

Ledger API standard JWT token

Response

200
application/json
offset
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