# RPC Documentation

This folder contains JSON-RPC methods enabled on a Citrea node.

* [citrea-rpc-documentation.md](https://docs.citrea.xyz/developer-documentation/rpc-documentation/citrea-rpc-documentation) has the Citrea-specific RPC methods (prefixed `citrea_`, `ledger_`, `debug_`, etc.) that extend beyond the standard Ethereum API. These endpoints are particularly useful in the rollup/Bitcoin settlement context, such as sequencer commitments, proofs, and more.
* [eth-rpc-endpoints.md](https://docs.citrea.xyz/developer-documentation/rpc-documentation/eth-rpc-endpoints) has standard Ethereum JSON-RPC methods that are **also** implemented by Citrea for wallet / tool compatibility.


---

# 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.citrea.xyz/developer-documentation/rpc-documentation.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.
