Trading Infrastructure
Orderbook
VordCore native orderbook for all trading pairs.
The orderbook is managed natively by VordCore. There is no on-chain orderbook contract. All order placement, matching, and settlement happen through the VordCore execution layer with instant BFT finality. Prices are in 1e6 format (e.g. ETH at $2300 = 2300000000). Sizes are in 1e18 format.
Side values
0= Buy1= Sell
Pair IDs
| Pair | ID |
|---|---|
| ETH | 1 |
| BTC | 2 |
| BNB | 3 |
| SOL | 4 |
| POL | 5 |
| ARB | 6 |
| OP | 7 |
| AVAX | 8 |
| LINK | 9 |
| UNI | 10 |
| DOGE | 11 |
| XRP | 12 |
| ADA | 13 |
| DOT | 14 |
| SUI | 15 |
VordCore API
# Place an order (requires session key)
POST https://rpc.vordium.com/order/place
Body: { pair_id, side: "Buy"|"Sell", size, owner, session_key, order_type: "Market"|"Limit", price, leverage, signature }
# Cancel an order
POST https://rpc.vordium.com/order/cancel
Body: { order_id, owner, signature, session_key }
# Get orderbook
GET https://rpc.vordium.com/orderbook/{pair_id}
# Get open orders for address
GET https://rpc.vordium.com/orders/{address}
function getAvailableLiquidity(uint256 pairId, uint8 side, uint256 worstPrice) external view returns (uint256);
function getPairBids(uint256 pairId) external view returns (Order[] memory);
function getPairAsks(uint256 pairId) external view returns (Order[] memory);