# JSON-RPC

JSON-RPC is the default integration surface. It powers wallets, indexers, and contract tooling.

### Compatibility

* EVM-compatible: list `eth_*` methods. (TODO)
* Non-EVM: document native methods. (TODO)

### Core methods

* `eth_chainId` (if EVM)
* `eth_getBlockByNumber`
* `eth_call`

> TODO: Replace list based on your chain.

### Practical checklist

* Always set timeouts.
* Retry idempotent reads with backoff.
* Dedupe by block number + tx hash.

### Next steps

<table data-view="cards"><thead><tr><th>Related</th><th data-card-target data-type="content-ref">Link</th></tr></thead><tbody><tr><td>Subscription-based indexing</td><td><a href="websocket">websocket</a></td></tr><tr><td>Indexing patterns</td><td><a href="../build/indexing-and-events">indexing-and-events</a></td></tr></tbody></table>
