> For the complete documentation index, see [llms.txt](https://corpus-core.gitbook.io/specification-colibri-stateless/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://corpus-core.gitbook.io/specification-colibri-stateless/developer-guide/bindings/cli/colibri-verifier.md).

# colibri-verifier

The colibri-verifier command is used to verify a proof for a given method and parameters. You can pass either a proof file as input or a url to a prover-service. If none are specified the default prover-service will be used.

```sh
    # Verify a proof for the eth_getBlockByNumber method
    colibri-verifier -i block_proof.ssz eth_getBlockByNumber latest false
```

## Options

| Option     | Argument            | Description                                                                                                                                                                                                                                                                      | Default |
| ---------- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `-c`       | `<chain_id>`        | Chain name or ID                                                                                                                                                                                                                                                                 |         |
| `-l`       | `<log_level>`       | Log level (0=silent, 1=error, 2=info, 3=debug, 4=debug\_full)                                                                                                                                                                                                                    |         |
| `-C`       | `<block_hash>`      | Trusted checkpoint                                                                                                                                                                                                                                                               |         |
| `-s`       | `<cache_dir>`       | cache-directory                                                                                                                                                                                                                                                                  |         |
| `-t`       | `<test_dir>`        | Test directory (if -DTEST=1)                                                                                                                                                                                                                                                     |         |
| `-i`       | `<proof_file>`      | Proof file to verify                                                                                                                                                                                                                                                             |         |
| `-o`       | `<proof_file>`      | Proof file to write                                                                                                                                                                                                                                                              |         |
| `-p`       | `<prover_url>`      | URL of the prover                                                                                                                                                                                                                                                                |         |
| `-r`       | `<rpc_url>`         | URL of the rpc-prover                                                                                                                                                                                                                                                            |         |
| `-b`       | `<beacon_url>`      | URL of the beacon-api                                                                                                                                                                                                                                                            |         |
| `-x`       | `<checkpointz_url>` | URL of a checkpointz or beacon-api                                                                                                                                                                                                                                               |         |
| `-m`       | `<mode>`            | Prover mode: `local`, `remote`, `hybrid`                                                                                                                                                                                                                                         |         |
| `-P`       |                     | Enable PAP (Pragmatic Adaptive Privacy) mode                                                                                                                                                                                                                                     |         |
| `-W`       |                     | Skip the Weak Subjectivity Period check (sets `VERIFY_FLAG_SKIP_WSP_CHECK`). **SECURITY:** only safe when another trust anchor (witness signatures, hard-coded checkpoint, signed package) is in place; raises the risk of long-range attacks across periods older than the WSP. |         |
| `-A`       | `<seconds>`         | Maximum age (in seconds) accepted for proofs whose request uses the `"latest"` block tag. Currently active for `eth_call`, `eth_estimateGas`, and `colibri_simulateTransaction`. `0` disables the check.                                                                         | `60`    |
| `-h`       |                     | Display this help message                                                                                                                                                                                                                                                        |         |
| `<method>` |                     | Method to verify                                                                                                                                                                                                                                                                 |         |
| `<args>`   |                     | Arguments for the method                                                                                                                                                                                                                                                         |         |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://corpus-core.gitbook.io/specification-colibri-stateless/developer-guide/bindings/cli/colibri-verifier.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
