---
title: "LastCheckpointWithStatus queries the last checkpoint with a given status or a more matured status"
method: GET
path: "/babylon/checkpointing/v1/last_raw_checkpoint/{status}"
tags: ["Query"]
---

# LastCheckpointWithStatus queries the last checkpoint with a given status or a more matured status

`GET /babylon/checkpointing/v1/last_raw_checkpoint/{status}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `status` 'CKPT_STATUS_ACCUMULATING' | 'CKPT_STATUS_SEALED' | 'CKPT_STATUS_SUBMITTED' | 'CKPT_STATUS_CONFIRMED' | 'CKPT_STATUS_FINALIZED', required

## Response `200`

A successful response.

- object: QueryLastCheckpointWithStatusResponse is the response type for the Query/LastCheckpointWithStatus RPC method.
  - `raw_checkpoint` object
    - `epoch_num` string, uint64
    - `block_hash_hex` string
    - `bitmap` string, byte
    - `bls_multi_sig` string, byte

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/revisions/93a09c641887?raw)
