---
title: "POST /block/latest"
method: POST
path: "/block/latest"
---

# POST /block/latest

`POST /block/latest`

Get the latest block. Useful for checking synchronization process and pagination

## Request body

- BlockLatestRequest
  - `offset` number, double, required — Note: an offset of -1 is treated the same as an offset of +1 It's usually best to avoid pagination on the latest block as in Cardano, small rollbacks of 1~2 block are very frequent and expected (read Ouroboros for why) That means that using this block for pagination will often lead to your pagination being invalidated by a rollback To avoid this, you can pass an `offset` from the tip for more stable pagination

## Response `200`

- BlockLatestResponse
  - `block` BlockSubset, required
    - `slot` number, double, required
    - `epoch` number, double, required
    - `height` number, double, required
    - `hash` string, required
    - `era` number, double, required

## Other responses

- `400`
- `409`

---

[API](https://skmtc.dev/dcspark/apis/carp.md) · [All operations](https://skmtc.dev/dcspark/apis/carp/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dcspark/carp/revisions/ab189523ed9a/schema)
