# Proof

Cryptographic proofs for verification

## Get validator proof for entry

> Get cryptographic proof of validator attestations for an entry

```json
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Proof","description":"Cryptographic proofs for verification"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/proof/validators/{entry_hash}":{"get":{"tags":["Proof"],"summary":"Get validator proof for entry","description":"Get cryptographic proof of validator attestations for an entry","parameters":[{"name":"entry_hash","in":"path","required":true,"description":"Entry hash (Base58 encoded)","schema":{"type":"string"}}],"responses":{"200":{"description":"Validator proof","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}
```

## Get contract state proof

> Get cryptographic proof for a contract state key

```json
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Proof","description":"Cryptographic proofs for verification"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/proof/contractstate/{key}":{"get":{"tags":["Proof"],"summary":"Get contract state proof","description":"Get cryptographic proof for a contract state key","parameters":[{"name":"key","in":"path","required":true,"description":"Contract state key (Base58 encoded)","schema":{"type":"string"}}],"responses":{"200":{"description":"State proof","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}
```

## Get contract state proof with value

> Get cryptographic proof for a contract state key-value pair

```json
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Proof","description":"Cryptographic proofs for verification"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/proof/contractstate/{key}/{value}":{"get":{"tags":["Proof"],"summary":"Get contract state proof with value","description":"Get cryptographic proof for a contract state key-value pair","parameters":[{"name":"key","in":"path","required":true,"description":"Contract state key (Base58 encoded)","schema":{"type":"string"}},{"name":"value","in":"path","required":true,"description":"Expected value (Base58 encoded)","schema":{"type":"string"}}],"responses":{"200":{"description":"State proof","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}
```

## Get contract state proof (POST)

> Get cryptographic proof for contract state using vecpak encoding

```json
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Proof","description":"Cryptographic proofs for verification"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/proof/contractstate":{"post":{"tags":["Proof"],"summary":"Get contract state proof (POST)","description":"Get cryptographic proof for contract state using vecpak encoding","requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary","description":"Vecpak encoded map with fields:\n- key: State key (bytes)\n- value: Optional expected value (bytes)\n"}}}},"responses":{"200":{"description":"State proof","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ama.one/http-api/proof.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
