API
Reads
| Endpoint | Returns |
|---|
GET /api/status | chain head, contracts, auction service and feed status |
GET /api/quote?sell=USDC&buy=HYPE&amount=100 | the reference solver's v4 route and output, with the HyperCore mid |
GET /api/conditions?coins=HYPE,BTC | HyperCore values as feed keys, and ElyraFeed's on-chain values once deployed |
GET /api/pools | the v4 pools the reference solver routes through, read live |
POST /api/rpc | Elysium JSON-RPC (read methods and eth_sendRawTransaction) |
Order book
| Endpoint | Does |
|---|
POST /api/orders | {order, signature, scheme, proof?, root?} returns {uid} |
GET /api/orders?owner=0x..&status=open | orders with status and fills |
GET /api/orders/:uid | one order |
DELETE /api/orders/:uid | {signature} of Cancel(orderHash): off-chain cancel |
GET /api/auction | the batch open now |
GET /api/auctions?limit=20 | recent batches, scores, winners and transactions |
Solvers
| Endpoint | Does |
|---|
POST /api/solutions | submit a solution with its Commit signature |
GET /api/solvers | board: bonds, wins, fills, surplus, strikes (bond and surplusHype in wei, as decimal strings) |
Amounts are integers in base units, as decimal strings. All endpoints are keyless and send CORS headers.