Skip to main content

Proof

Merkle proofs a light client can check without trusting the node.

  • /api/proof/contractstate proves contract state keys against root_contractstate of 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) under root_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).