Rightshold Ledger API
The Ledger API from Rightshold — 45 operation(s) for ledger.
Operations 46
GET
/v1/me/ledger/commitments/{ref_type}/{ref_id}
Open a settlement or award commitment you are party to, to prove it to a third…
#
GET
/v1/mls/listings
Multiple-listing feed: every published, updated or withdrawn service listing in…
#
GET
/v1/mls/listings/current
Current snapshot of every active public listing with its ledger reference
#
GET
/v1/ledger/blocks/{height}/anchor
Bitcoin anchor of a block through OpenTimestamps: status per calendar (pending…
#
GET
/v1/ledger/blocks/{height}/witnesses
Outside witnesses' Ed25519 cosignatures of a block header, with their public…
#
POST
/v1/ledger/blocks/{height}/cosign
Cosign a block as a registered witness: {domain, signature} where signature =…
#
GET
/v1/ledger/peers
The sister-ledger interlock, both directions: each sister ledger under common…
#
GET
/v1/ledger/witnesses
Registered witness domains with their current keys, verification times and…
#
POST
/v1/ledger/witnesses
Register or re-verify a witness domain: Rightshold fetches the Ed25519 key…
#
POST
/v1/ledger/witnesses/declare
Sign the published unaffiliation statement with a registered witness key…
#
POST
/v1/ledger/witnesses/challenge
Challenge a witness's unaffiliation with evidence: {witness (public label or…
#
POST
/v1/ledger/witnesses/challenge/{challenge_id}/withdraw
Withdraw your own witness challenge: {withdrawal_token}, the one-time token…
#
GET
/v1/ledger/witnesses/affiliation
One witness's public affiliation record: its computed status (affiliated…
#
POST
/v1/forensic-checks/verify
Check Rightshold's signature on a forensic report and re-run the published…
#
GET
/v1/forensic-checks/engine
The forensic checks engine: version, the SHA-256 of the downloadable file…
#
GET
/.well-known/rightshold-checkpoint.json
The latest signed checkpoint of the ledger's Merkle tree (size, root, time…
#
GET
/checkpoints/checkpoint
The latest checkpoint as a C2SP tlog-checkpoint signed note (text), for…
#
GET
/v1/checkpoints/{index}
One checkpoint by index, with its signed bytes and cosignatures. Free, no key
#
POST
/v1/checkpoints/{index}/cosign
A registered witness cosigns a checkpoint after checking it extends the last…
#
GET
/v1/checkpoints/witness-spec
How to witness the Checkpoint Log: the steps, the command-line tool and the…
#
GET
/v1/checkpoints/consistency
RFC 9162 consistency proof that the tree of size `second` starts with the tree…
#
GET
/v1/checkpoints/inclusion
RFC 9162 inclusion proof that ledger entry `seq` is in the tree (of `size`…
#
GET
/v1/checkpoints/policy
The witnessing threshold for checkpoints and blocks, the witness set, and…
#
GET
/v1/anchors/status
The state of every anchor of the ledger: Bitcoin (OpenTimestamps) counts, the…
#
GET
/v1/anchors/super-roots
Daily Anchor super-roots, newest first: each UTC day's anchors folded into one…
#
GET
/v1/anchors/super-roots/{date}
One day's super-root with every leaf and anchor (anchor id, root, server…
#
GET
/v1/anchors/super-roots/{date}.ots
The day's super-root timestamp as a standard OpenTimestamps proof file.
#
GET
/v1/anchors/super-roots/{date}/witnesses
Cosignatures over the day's super-root header, with the signed bytes and the…
#
GET
/v1/anchors/super-roots/{date}/eth-anchor
The EVM-chain transaction that carries the day's super-root, when the operator…
#
POST
/v1/anchors/super-roots/{date}/cosign
A registered witness cosigns a day's super-root header after recomputing it.
#
GET
/v1/ledger/blocks/{height}/anchor.ots
The block's OpenTimestamps proof file (.ots) for its hash; check with ots…
#