wenrange API Service (1.0.0)

Download OpenAPI specification:

Read-only public API over indexed OptionsMarket state. Backed by the Goldsky subgraph + Mirror pipeline; data is reconciled from on-chain events and may lag the head of chain by a few seconds.

This service holds no funds and exposes no state-changing operations. For quoting, see the orchestrator API. For on-chain settlement, see the on-chain reference.

Health

Liveness probes.

Liveness probe

Responses

Response samples

Content type
application/json
{
  • "ok": true
}

Positions

Current ERC-1155 position holdings.

List positions held by an address

Returns current ERC-1155 position holdings for the given owner. Results are sorted by maturity_hour ASC, token_id ASC. Cost basis follows units through transfers automatically (see Protocol reference).

query Parameters
owner
required
string (EthereumAddress) ^0x[0-9a-fA-F]{40}$
Example: owner=0x1234567890AbCdEf1234567890AbCdEf12345678

Wallet address to look up.

limit
integer [ 1 .. 100 ]
Default: 20
offset
integer >= 0
Default: 0

Responses

Response samples

Content type
application/json
{
  • "owner": "0x1234567890AbCdEf1234567890AbCdEf12345678",
  • "limit": 0,
  • "offset": 0,
  • "total": 0,
  • "positions": [
    ]
}

Settlement

Recorded oracle settlement prices.

List recorded settlement prices

Returns settlement prices that have been recorded on the Pyth oracle, most recent first.

query Parameters
limit
integer [ 1 .. 100 ]
Default: 20
offset
integer >= 0
Default: 0

Responses

Response samples

Content type
application/json
{
  • "limit": 0,
  • "offset": 0,
  • "total": 0,
  • "settlement_prices": [
    ]
}

Solvers

Pool-wide solver liquidity aggregates.

Pool-wide solver liquidity

Aggregate solver collateral across the entire pool. Free pool liquidity is total_liquidity − frozen_liquidity.

Responses

Response samples

Content type
application/json
{
  • "total_liquidity": "string",
  • "frozen_liquidity": "string"
}