---
title: "Blocks with entries, for mirrors."
method: GET
path: "/v1/ledger/export"
tags: ["Ledger"]
---

# Blocks with entries, for mirrors.

`GET /v1/ledger/export`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/ledger/export`
- Auth: none required

## Headers

- `X-Request-Id` string

## Response `200`

OK

- object: Inferred from 7 recorded responses; required fields appeared in every one; additional properties may appear.
  - `blocks` object[], required
    - `block` object, required
      - `v` integer, required
      - `height` integer, required
      - `prev_hash` string, required
      - `merkle_root` string, required
      - `first_seq` integer, required
      - `last_seq` integer, required
      - `entry_count` integer, required
      - `at` string, required
      - `key_id` string, required
      - `block_hash` string, required
      - `signature` string, required
      - `public_key_pem` string, required
    - `entries` object[], required

## Other responses

- `400`: Problem details: a stable error code, type URI, title, status and an explanation
- `401`: Problem details: a stable error code, type URI, title, status and an explanation
- `404`: Problem details: a stable error code, type URI, title, status and an explanation
- `405`: Problem details: a stable error code, type URI, title, status and an explanation
- `422`: Problem details: a stable error code, type URI, title, status and an explanation
- `429`: Request budget exhausted; retry after Retry-After seconds
- `500`: Problem details: a stable error code, type URI, title, status and an explanation
- `4XX`: {error, detail}

---

[API](https://skmtc.dev/rightshold/apis/rightshold-api.md) · [All operations](https://skmtc.dev/rightshold/apis/rightshold-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rightshold/apis/rightshold-api/revisions/cfe84fdde1ca?raw)
