> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modo.link/llms.txt
> Use this file to discover all available pages before exploring further.

# GetLedgerEnd

> Fetch the current ledger end offset

Returns the current ledger end offset. Use it as the `begin_exclusive` for a subsequent [`GetUpdates`](/agentic-api/core/get-updates) stream, or to checkpoint progress when polling for transaction confirmations.

## Request

```proto theme={null}
message GetLedgerEndRequest {}
```

## Response

<ParamField path="offset" type="int64">Current ledger end offset.</ParamField>

## Example

```bash theme={null}
grpcurl rpc-devnet.modo-api.app:443 \
  silvana.ledger.v1.DAppProviderService/GetLedgerEnd
```

## See also

* [`GetUpdates`](/agentic-api/core/get-updates) — pass the returned offset as `begin_exclusive` to start streaming new ledger updates.
