Introduction
The developer surface for the CRX venue. Read venue data and run the RFQ workflow: over the relayer API off-chain, and directly against the core contract on-chain.
NoteSandbox on Base Sepolia. Everything here runs in CRX's Sandbox on Base Sepolia — the network operated by Coinbase. Balances and prices are sample values, and mainnet does not exist yet.
What you can build
The API (~4 min)
Run the RFQ workflow and read the maker and taker registries through the relayer's REST endpoints. Auth is a challenge then a login; the trade path itself needs no session. There is no SDK yet. Call the API directly with fetch and read the chain over RPC; the endpoint registry documents every route.
Read the venue (~3 min)
Pull live prices and marks, positions, settlement, and the registries: over the relayer for speed, or directly from the core contract over RPC for certainty.
Two layers: off-chain and on-chain
The relayer carries messages; it never takes custody. It routes your request for quote, prices margin, and anchors the agreed quote on-chain. It never holds funds. The bind happens on-chain, between you and CRX, the dealer on the other side of your trade.
The off-chain API is fast and convenient; the on-chain reads are authoritative.
- Off-chain (relayer): the RFQ workflow, margin estimates, the maker and taker registries. Low latency, session-light.
- On-chain (the core contract): balances, account control agreements, positions, the mark, settlement state. Read directly over RPC when you need certainty.
Get Started
New here? Run three live calls end to end: Quick Start (~5 min). Then fund a wallet (faucet, deposit, withdraw) in Fund Your Account (~3 min). Each surface above links to its own get-started page.
The full model behind it is one page: How CRX works (~6 min).