Skip to main content
GET
Returns the market’s insurance fund: what it holds and has paid out, whether it covers this market, and what the market has booked for it but not yet swept. It also reports the losses the market has taken, and states in words when the reserve is drawn on this market’s generation. The fund reports only what it paid. Read marketBadDebt beside it, because a fund that covered nothing and a market that never took a loss otherwise look the same.

When the reserve pays

Where the market draws on it, the reserve absorbs a shortfall ahead of the liquidity providers, but only up to what it holds. A draw larger than the balance pays the balance, and the pool books the rest. A fund whose owner has withdrawn this market’s authorization pays nothing and blocks nothing, so the whole loss lands on the pool. Which events draw on the reserve depends on the market implementation, reported as generation.settlementDrawsReserve. A later recovery on a record the reserve advanced against is shared differently too. With true, the recovery makes the pool whole on the record’s claim first, and only what is left above the claim repays the reserve. With false, the recovery repays the reserve before anything becomes pool income. disclosure states all of this in words, chosen for this market. The reserve is funded two ways. Sweep Protocol Fees deposits the insurance-fund rate’s share of interest, and Top Up Insurance Fund lets any wallet add capital. Apart from coverage paid to an authorized market, only the fund owner can take money out, through Withdraw from Insurance Fund.

Path Parameters

string
required
Market ID.

Response Fields

object
On a fund that books top-ups, reading this endpoint also records top-ups nobody recorded through Record Insurance Top-Up. It looks back 50,000 blocks, runs at most once a minute per market, and skips deposits from markets the fund authorizes, which are protocol-fee sweeps.

Error Codes