Skip to content

Timestamp proofs

Every stamp is also timestamped by an outside time-stamp authority (RFC 3161). This gives you a third party’s signed record that a stamp existed at a given time, independent of terrastamp’s own clock.

terrastamp retains timestamp proofs, so you can fetch one whenever you need it.

GET https://api.terrastamp.dev/v1/proof/<jti>
{
"fingerprint": "…",
"path": [{ "side": "L", "hash": "…" }],
"root": "…",
"batch": "…",
"timestampedAt": "2026-12-01T06:28:00Z",
"tsr": "…"
}

tsr is the time-stamp authority’s signed reply, base64 DER. It is null for a short while after the stamp is issued, until its batch has been timestamped.

Checking a proof takes two steps: confirm the proof belongs to your stamp, then confirm the time-stamp authority’s signature.

1. The proof belongs to the stamp. With the SDK:

import { verifyTimestampProof } from './terrastamp'
const res = verifyTimestampProof(token, proof)
// { ok: true, root, timestampedAt } or { ok: false, error }

2. The time-stamp authority signed it.

Terminal window
echo "$TSR" | base64 -d > batch.tsr
openssl ts -verify -digest "$ROOT" -in batch.tsr -CAfile tsa-root.pem

tsa-root.pem is the time-stamp authority’s root certificate.