Skip to main content

Hedge reads

The Stellar read adapter preserves the existing event, position and deposit concepts. The routes below are proposed, not implemented by the current production API.

Planned route below /v1/stellarResult
GET /hedge/events/:network/:idPair terms creator asset expiry fees and oracle policy
GET /hedge/events/:network/:id/statsFunded liquidity liabilities premium totals and settlement
GET /hedge/events/:network/:id/rangeInitial rate, strike, limit, direction and price scale
GET /hedge/events/:network/:id/utilizationMaximum liabilities and remaining funded capacity
GET /hedge/events/:network/:id/positionsPaginated event positions
GET /hedge/events/:network/:id/depositsPaginated LP deposits
GET /hedge/positions/:network/:idOwner notional paid premium and payout state
GET /hedge/positions/:network/wallet/:addressPositions for a typed Stellar account
GET /hedge/deposits/:network/:idShares premium accrual and capital entitlement
GET /hedge/deposits/:network/wallet/:addressAccount deposits
GET /hedge/quote-payout/:network/:idHypothetical range payout under the event's terms

Amounts and prices are integer strings with explicit asset decimals and rate scale. Each read includes network, deployment version, and as-of ledger. A hypothetical payout is not a finalized claim. Indexer records are deduplicated by network, transaction hash and event index and reconciled to contract state.