Get Open Orders
API Description
Retrieves all open orders for a specific trader address. This endpoint provides real-time information about pending limit orders across all trading pairs. Only orders that are currently active and not yet filled or cancelled are returned.
HTTP Request
GET /v4/public/mm/order/realtimeRequest Parameters
chainId
uint64
Yes
Chain ID (e.g., 143 for Monad mainnet)
address
string
Yes
Trader address (EVM address format)
Response Parameters
The response is an array of open order objects.
taken
string
Amount already filled (usually "0" for open orders)
tick
int64
Price tick level
nonce
uint64
Order nonce
balance
string
Order balance (in wei/smallest unit)
size
string
Order size (positive for long, negative for short)
oid
uint64
Order ID
side
uint32
Order side (1 = SHORT, 2 = LONG)
limitPrice
string
Limit price for the order (in wei/smallest unit)
lastUpdateTime
uint64
Last update timestamp (Unix timestamp in seconds)
lastUpdateTxHash
string
Transaction hash of last update
Request Example
Python (requests)
Note: This endpoint requires API authentication. See Quick Start Guide for signature generation details.
Response Example
Success Response
Error Response
Notes
This endpoint requires API authentication (see Quick Start Guide)
Required parameters:
chainId,addressResponse format: Returns an array of open order objects
Order filtering: Only returns orders that are currently active (not filled or cancelled)
Order side:
side: 1= SHORT orderside: 2= LONG order
Order size:
Positive value = LONG order
Negative value = SHORT order
Price and size format: All values are returned as strings in wei/smallest unit format to preserve precision
Taken field: Usually "0" for open orders (indicates how much of the order has been filled)
Tick: Represents the price tick level in the order book
Nonce: Order nonce used for ordering and cancellation
Balance: Order balance (collateral allocated to this order)
Limit price: The price at which the order will be executed
Time fields:
lastUpdateTimeis a Unix timestamp in seconds (not milliseconds)Transaction hash:
lastUpdateTxHashis the transaction hash of the last order updateOrder ID: Unique identifier for the order
Note: This endpoint only returns limit orders. Market orders are executed immediately and won't appear here
Note: Orders are returned across all trading pairs for the specified address
Rate limit: 120 requests per minute
Success response has
code: 0(not 200)
Last updated