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.
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).
| 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 |
{- "owner": "0x1234567890AbCdEf1234567890AbCdEf12345678",
- "limit": 0,
- "offset": 0,
- "total": 0,
- "positions": [
- {
- "token_id": "string",
- "balance": "10",
- "cost_basis": "3000000",
- "lower_bound": 0,
- "upper_bound": 0,
- "maturity_hour": 0,
- "maturity_timestamp": 0,
- "solver_id": 0
}
]
}Returns settlement prices that have been recorded on the Pyth oracle, most recent first.
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 Default: 0 |
{- "limit": 0,
- "offset": 0,
- "total": 0,
- "settlement_prices": [
- {
- "maturity_hour": 0,
- "maturity_timestamp": 0,
- "price": "67432500000000000000000",
- "block_number": 0,
- "block_timestamp": 0,
- "tx_hash": "string"
}
]
}