Skip to main content

Get contract state proof

GET 

/api/proof/contractstate/:key

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.

Request​

Responses​

State proof