Skip to main content

What it does

Returns the current pair list with market metadata and live price fields.

Example

Filter by pair:
Include a builder fee in the computed openFee values:
On OstiumClient, builderFeeBps defaults to the configured builder.feeBps when omitted.

Use it for

  • pair pickers
  • market tables
  • reading pair and overnight leverage limits before openTrade()
  • pairId discovery before openTrade()

Parameters

Response schema

openFee is the pair taker fee plus the configured builder fee, in basis points. closeFee is currently always 0. oracleFee is the flat oracle fee per order on this pair, in USDC. It needs no live price, so it is available even for pairs where previewOpenTrade() fails. The fee actually charged on an order is fees.oracle on its fill.

Rollover accumulators

rollover carries the accumulators the contracts use to charge rollover. They are global per pair, so one poll covers every position. Pass them with a position’s rolloverSnapshot to rolloverFee() to advance accrued rollover — and therefore PnL and liquidation price — without re-fetching positions.