Proof

Cryptographic proofs for verification

Get validator proof for entry

get
/api/proof/validators/{entry_hash}

Get cryptographic proof of validator attestations for an entry

Path parameters
entry_hashstringRequired

Entry hash (Base58 encoded)

Responses
get
/api/proof/validators/{entry_hash}
200

Validator proof

Get contract state proof

get
/api/proof/contractstate/{key}

Get cryptographic proof for a contract state key

Path parameters
keystringRequired

Contract state key (Base58 encoded)

Responses
get
/api/proof/contractstate/{key}
200

State proof

Get contract state proof with value

get
/api/proof/contractstate/{key}/{value}

Get cryptographic proof for a contract state key-value pair

Path parameters
keystringRequired

Contract state key (Base58 encoded)

valuestringRequired

Expected value (Base58 encoded)

Responses
get
/api/proof/contractstate/{key}/{value}
200

State proof

Get contract state proof (POST)

post
/api/proof/contractstate

Get cryptographic proof for contract state using vecpak encoding

Body
string · binaryOptional

Vecpak encoded map with fields:

  • key: State key (bytes)
  • value: Optional expected value (bytes)
Responses
post
/api/proof/contractstate
200

State proof

Last updated