---
title: "Bitcoin anchor of a block through OpenTimestamps: status per calendar (pending or confirmed), the Bitcoin block once confirmed, and the digest to check. The proof file is at /anchor.ots."
method: GET
path: "/v1/ledger/blocks/{height}/anchor"
tags: ["Ledger"]
---

# Bitcoin anchor of a block through OpenTimestamps: status per calendar (pending or confirmed), the Bitcoin block once confirmed, and the digest to check. The proof file is at /anchor.ots.

`GET /v1/ledger/blocks/{height}/anchor`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/ledger/blocks/{height}/anchor`
- Auth: none required

## Path parameters

- `height` string, 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.
  - `height` integer, required
  - `block_hash` string, required
  - `status` string, required
  - `bitcoin_block_height` integer, nullable, required
  - `digest` object, required
    - `alg` string, required
    - `hex` string, required
    - `preimage` string, required
  - `calendars` object[], required
    - `calendar` string, required
    - `status` string, required
    - `submitted_at` string, required
    - `updated_at` string, required
    - `bitcoin_block_height` integer, nullable, required
    - `attestations` object[], required
  - `proof_url` string, required
  - `how_to_verify` string, 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)
