API Reference
One MTF-native protocol, served by the gateway front door
(https://api.<net>.mtf.exchange).
| Surface | Where | Notes |
|---|---|---|
| MTF-native | POST /exchange, POST /info, GET /ws, POST /faucet | Compact snake_case shape. Exposes everything, including advanced MTF features (RFQ, FBA, PM enrollment, cross-chain). |
The gateway is the front door for the MTF-native surface (
/info,/exchange,/ws). Running the node yourself? It serves the same native surface directly athttp://localhost:8080.
Start here
| I want to… | Go to |
|---|---|
| make my first call in five minutes | Quickstart |
| place an order | submit_order, then placing orders |
| sign a request | Signing · typed data |
| read an account | account_state |
| stream the book or my fills | WS subscriptions |
| find one action's fields | the action catalog |
| know why a request was refused | Errors |
| use a client library | TypeScript · Rust |
REST
POST /exchange— the envelope, signing, and the action catalog. Each action's fields live on its lane's page, linked from the catalog.POST /info— per-type read schemas
WebSocket
- WS protocol — connection lifecycle, frames, auth, resume
- Subscriptions — full channel catalog
Cross-cutting
- Errors — the one response envelope, every error code, and what to do about each
- Rate limits — per-IP weight + per-account request budgets
See also
- Integration quickstart — 5-minute end-to-end
- Signing walkthrough — EIP-712 envelope
- Networks — endpoints per network
- Changelog — what changed and at which block. Only needed for an existing client