---
title: "POST /ledgers/{name}/digest"
method: POST
path: "/ledgers/{name}/digest"
---

# POST /ledgers/{name}/digest

`POST /ledgers/{name}/digest`

Returns the digest of a ledger at the latest committed block in the journal. The response includes a 256-bit hash value and a block address.

## Path parameters

- `name` string, required

## Response `200`

Success

- GetDigestResponse
  - `Digest` string, required — The 256-bit hash value representing the digest returned by a <code>GetDigest</code> request.
  - `DigestTipAddress` object, required — The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: <code>strandId</code> and <code>sequenceNo</code>.
    - `IonText` string, password — An Amazon Ion plaintext value contained in a <code>ValueHolder</code> structure.

## Other responses

- `480` — InvalidParameterException
- `481` — ResourceNotFoundException
- `482` — ResourcePreconditionNotMetException

---

[API](https://skmtc.net/aws/apis/qldb.md) · [All operations](https://skmtc.net/aws/apis/qldb/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/qldb/versions/40f98f4993d2/schema)
