API Reference
Endpoints
Every endpoint speaks JSON over HTTPS. Base URL: https://api.hyperovsm.xyz
| Method | Path | Description |
|---|---|---|
| GET | /v1/block/:id | Fetch a block by height or hash. |
| GET | /v1/tx/:hash | Retrieve a transaction with receipts. |
| POST | /v1/tx/submit | Broadcast a signed transaction. |
| GET | /v1/book/:market | Live L2 orderbook snapshot. |
| GET | /v1/account/:addr | Balances, nonces, open orders. |
| WS | /v1/stream/trades | Realtime trade stream over WebSocket. |
Interactive console
Pick a method, edit the JSON params, and send. Responses are formatted and latency is shown. Requests run against the HyperOvsm public sandbox.
GET
/v1/block/:idFetch a block by height or hash.
Request params (JSON)
Response
// click Send request to see the response
cURL
curl https://api.hyperovsm.xyz/v1/block/latest \ -H "Authorization: Bearer $HYPEROVSM_KEY"