Network IDs
Network IDs are case-sensitive string identifiers used inbaseNetworkId / quoteNetworkId and other on-chain calls.
| Network ID | Description |
|---|---|
BTC | Bitcoin |
ETH | Ethereum |
BSC | BNB Smart Chain |
TRX | TRON |
SOL | Solana |
TON | The Open Network |
CC | Canton Coin |
XRP | XRP Ledger |
BASE | Base |
GNK | Gonka |
ARB | Arbitrum |
OP | Optimism |
POL | Polygon |
HyperEVM | Hyperliquid EVM |
Order status enum
See the full list with meanings on the Technical Details page.Smart contracts
The protocol is composed of the following contracts:OrderEngine— order lifecycle, auction, settlement, liquidation entry points.BroadcasterRegister— broadcaster registration, BRON deposits, front-end fee accounting.SolverRegister— solver registration, insurance management, fee accrual and collection.OracleAggregator— oracle registration, network subscriptions, vote aggregation, cooldown / suspension logic.InsuranceManager— insurance token configuration (haircut, liquidation premium).Metadata— read-only aggregator that combines order, fee, and timeout data into a single struct.
Useful read-only views
| Call | Returns |
|---|---|
Metadata.getOrderFullResponse(orderId) | One-call aggregate: order struct, all fee breakdowns (solver / broadcaster / oracles, percent_e4 / bps / absolute), liquidation premium, auction / user-settlement / confirmation timeouts, settlement-from addresses, derived WAIT_FOR_USER_TX and timeout-cancelled status |
OrderEngine.getOrder(orderId) | Full order struct (status, base/quote params, pricing) — raw, no derived statuses |
OrderEngine.getSettlementFromAddresses(orderId) | User and solver settlement-from addresses |
OrderEngine.ordersFrontEndFee(orderId) | Stored front-end fee for the order |
SolverRegister.getSolverAvailableOperationAmount(solver) | How much volume the solver can still react on |
SolverRegister.getAvailableAmountToWithdraw(solver) | How much insurance the solver can withdraw right now |
InsuranceManager.getInsuranceTokens(token) | Current haircut and liquidation premium for a token |
