Proof
Merkle proofs a light client can check without trusting the node.
/api/proof/contractstateproves contract state keys againstroot_contractstateof the entry it names./api/proof/validator_record/{height}proves the validator-set record for a height against the state root of the block before it./api/proof/block/{height}proves that a block is committed in the chain's MMR (Merkle mountain range) underroot_chain.
To anchor a state proof, fetch /api/chain/consensus/{entry_height} for the same height: its root_contractstate must match, and its aggsig is the quorum BLS aggregate signature over claim. For a block proof, the root to trust is the root_chain in the signed header of the commitment block (at_height); the copy in the proof is informational. The /api/chain/* entry endpoints do not return that header field in a decodable form (see EntryHeader.root_chain).
Get contract state proof
Merkle proof for one contract state key against the state root of the entry named in the reply. The key is the raw state key, Base58-encoded. A missing key returns a proof of non-inclusion (`terminus: 'empty'`). Verify `root_contractstate` against `/api/chain/consensus/{entry_height}`. The proof is built at the node's current tip, which can be a few entries above `rooted_height`; `/api/chain/consensus/{entry_height}` answers `not_found` until that height is rooted.
Get contract state proof (POST)
Proofs for several keys at once, all against the same entry. The body is a VecPak map `{keys: [key, ...]}` of raw keys; only the first 100 are used. The proof is built at the node's current tip, which can be a few entries above `rooted_height`; `/api/chain/consensus/{entry_height}` answers `not_found` until that height is rooted.
Get block inclusion proof
Proof that the main-chain block at `height` is committed in the chain's MMR. By default the proof is built against the MMR at the rooted tip; `at_height` picks an earlier rooted commitment. From the claim fork on, the MMR leaf is the SHA-256 of the block's `claim`; below it, the block hash.
Get validator record proof
The validator-set record stored for `height`, with a proof against the state root of block `height - 1` (the block that wrote it). Verify it against `/api/chain/consensus/{entry_height}`. `not_found` (HTTP 200) when no record or proof exists for that height.