<!-- Generated from the function registry (sdk/src/functions) by `cd sdk && npm run gen`. Do not edit. -->

# API reference

> **Status:** Current (generated)

Every network action is a function in one registry (`sdk/src/functions`): a name, a description, JSON Schemas for its input and output, and whether it reads, writes or streams. The console, the MCP server (`mcp/`), `mox fn` and these pages are generated from it; `site/functions.json` is the same registry as JSON.

Reads go to the gateway. Writes return an unsigned transaction and a summary: a wallet signs it (agents propose, wallets sign), and `tx.submit` sends the signed bytes.

| Group | Functions | About |
|---|---|---|
| [Chain](chain.md) | 7 | The network's state as validators see it: status, epochs, fees, rewards, checkpoints, bootstrap security. |
| [Accounts](account.md) | 2 | Balances and sequence numbers, and testnet MUR from the faucet. |
| [Transactions](tx.md) | 6 | Prepare (unsigned, for a wallet), estimate, submit signed bytes, and read receipts. |
| [Contracts](contract.md) | 8 | Interfaces and published code; deploy, create, call and view any contract by its `.mxi` interface. `contract.open` adds one function per entry of a deployed contract. |
| [Events and feeds](events.md) | 5 | Contract events, the live DAG and executed commits: by cursor (long-polling) or as Server-Sent Events. |
| [Mesh](mesh.md) | 2 | Interchain: peer networks anchored here, and messages waiting for relayers. |
| [Gateway](gateway.md) | 2 | The gateway itself: health, the chain it serves. |
| [Explorer](explorer.md) | 9 | History from the gateway's indexer: transactions, addresses, commits, events, contracts, search. |
| [Analytics](analytics.md) | 3 | Network metrics scraped from every validator, block propagation, statistics over time. |
| [Node](node.md) | 8 | A validator's own port, not exposed by the gateway: raw submission, Prometheus metrics, safety checks, fault injection. |

Contract functions are generated per deployed contract from its `.mxi` interface by `contract.open`: `<alias>.<entry>`, a read for each `view` and a write for each `fn`.

52 functions in 10 groups.
