Markets
Spot
Trade crypto tokens on fully onchain central limit order books
Spot markets pair crypto assets against USDso on an onchain central limit order book. Orders rest in the book, match by price-time priority and settle against balances in the same block.
Order types
- Limit and market orders, with GTC, IOC, FOK and post-only
- Stop-loss and take-profit, through an onchain stop registry
- Amend, batch place and batch cancel
- Operators and session keys can trade for a wallet without taking custody
| Quote asset | USDso |
| Live pairs | WETH, WBTC, SOMI, USDC.e |
See it in use
- dreamDEX. A trading app on these books, live on mainnet, built on the Markets SDK.
- Somnia Markets in Somnia Explorer. Every spot pair on the shared books, with the live order flow.
Use it from the CLI and MCP
somnia catalog markets --type SPOT # every spot pool
somnia spot book --pool $POOL # one pool's book, with its tick and lot
somnia spot place --pool $POOL --side buy --price 0.1818 --quantity 10 # a limit buy, signed by your signer
The MCP server gives agents the reads as its markets, spot_book and spot_portfolio tools. It never signs, so an agent places and cancels orders by running the CLI in a shell. Building an app? Use the Markets SDK.