Get user order events
Lightweight endpoint designed for market makers. Returns order-related events only:
order-created, order-canceled, and trade.
Events are sorted by blockTimestamp in descending order.
Cursoring guidance for high-volume market makers:
- use timestamp windows (
fromTimestamp,toTimestamp) as the primary cursor mechanism - persist the last processed event timestamp and query the next window using
fromTimestamp - use
limitonly to cap payload size per request - avoid offset-based deep pagination for continuous polling on accounts with large event volume
- when multiple events share the same second-level timestamp, re-query with a small overlap window and de-duplicate by (
transactionHash,eventType, event-specific identifier)
Timestamp validation:
fromTimestampandtoTimestampmust be non-negative integers- when both are provided,
fromTimestampmust be strictly less thantoTimestamp
Cache behavior:
- responses are cached in Redis with a 2-second TTL per unique parameter combination to minimize staleness for latency-sensitive consumers
Base-denomination convention:
- computed amount fields (
baseDeposited,baseFilled,basePositionValue) are always expressed in base token terms, regardless ofisBuy - buy orders are normalized to base-equivalent position size
Response field denominations:
size,orderSize,filledSize,remainingSize,updatedSize— size precision units; divide bysizePrecisionfor human-readable base amountbaseDeposited,baseFilled,basePositionValue— raw base token units; divide by10^decimal(base token) for human-readable amountprice(order-created, order-canceled) — price precision units; divide bypricePrecisionfor human-readable pricefillPrice(trade) — 1e18 precision; divide by 1e18 for human-readable price*InUsdfields (baseDepositedInUsd,baseFilledInUsd,basePositionValueInUsd) — 1e18 precision; divide by 1e18 for USD value
Path Parameters
Ethereum address of the user (case-insensitive)
"0xabc123..."
Query Parameters
Maximum number of events to return in this window (payload cap, not a cursor)
x >= 150
Number of events to skip (legacy pagination; not recommended for high-volume market-maker polling)
x >= 00
Filter to a specific market contract address
"0x111..."
Unix epoch in seconds; include events at or after this time (recommended cursor start)
x >= 01706400000
Unix epoch in seconds; include events at or before this time (recommended cursor end)
x >= 01706486400
Filter to a single event type
order-created, order-canceled, trade "trade"
Response
Successful response