Endpoint
Request Body
Response
- 200: OK
Perpetual Market Fields
HIP-3 Market State
Builder markets include ahip3 object. Native perpetuals omit it; onlyIsolated alone does not
identify a HIP-3 market.
Use the qualified
venueName, such as "idx:IDX0", for market subscriptions. Assigned execution
supports per-user isolated leverage and scope state. Read
Market Trading State for that user’s current permissions,
leverage, and available capacity.
A visible market is not necessarily open for new risk. Check isDelisted, hip3.tradingState, and
the user’s isolated.permissions.canOpen; order admission makes the final decision. Registered
builder markets remain in metadata when new trading is disabled so clients retain the identifiers
needed to close existing positions.
Earn Summary Units
earn.apy and earn.borrowApr are integer basis points: 350 represents 3.5%. earn.utilization
is a decimal ratio, and tvl and available are decimal USDC strings. nextAccrualTimestamp is a
Unix-millisecond timestamp or null. If pool state is unavailable, the earn summary can contain
zero values and a null accrual timestamp.
When the pUSD pool is active and readable, the response also includes earnPusd with the same
fields, denominated in pUSD. If balance totals cannot be read, earnPusd.tvl is null; its rates,
available liquidity, utilization, and accrual timestamp remain available. Treat null TVL as
unavailable, not zero. A measured zero is the string "0.00". The entire earnPusd block is
omitted only when the pool is inactive or its own state cannot be read or validated. These
semantics also apply to the WebSocket metadata stream.