---
title: "GET /v2/state/ledger-end"
method: GET
path: "/v2/state/ledger-end"
---

# GET /v2/state/ledger-end

`GET /v2/state/ledger-end`

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

## Response `200`

- GetLedgerEndResponse
  - `offset` integer — 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

## Other responses

- `400` — Invalid value
- `default`

---

[API](https://skmtc.dev/canton/apis/json-ledger-api-http-endpoints.md) · [All operations](https://skmtc.dev/canton/apis/json-ledger-api-http-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/canton/json-ledger-api-http-endpoints/revisions/296292e8b8f1/schema)
