Skip to main content
Returns the current ledger end offset. Use it as the begin_exclusive for a subsequent GetUpdates stream, or to checkpoint progress when polling for transaction confirmations.

Request

message GetLedgerEndRequest {}

Response

offset
int64
Current ledger end offset.

Example

grpcurl rpc-devnet.modo-api.app:443 \
  silvana.ledger.v1.DAppProviderService/GetLedgerEnd

See also

  • GetUpdates — pass the returned offset as begin_exclusive to start streaming new ledger updates.