Strikes chain

The /strikes-chain endpoint retrieves the options chain, also known as the strikes chain, providing information about each strike price, along with additional details regarding handlers and hooks. This endpoint offers a comprehensive view of available options for a given market, including where the liquidity for each strike comes from and the specific conditions under which it can be used.

How Handlers and Hooks Work

  • Handlers specify the DEX and the specific liquidity pool from which the liquidity for the options is sourced. This information is useful for understanding the underlying structure supporting the options market.

  • Hooks outline constraints such as the maximum allowable duration for which the liquidity can be utilized (Time-To-Live or TTL) and the expiration conditions for the options.

Together, handlers and hooks provide a deeper understanding of the liquidity and constraints governing the options chain.

Get strikes chain or options chain of a options market

get
Query parameters
optionMarketstringRequired

Address of the option market

chainIdnumber · enumRequired

Chain ID of the network

Possible values:
callsReachnumber · enumRequiredPossible values:
putsReachnumber · enumRequiredPossible values:
Responses
200
List of strikes of the option market
application/json
get
GET /clamm/strikes-chain HTTP/1.1
Host: api.stryke.xyz
Accept: */*
200

List of strikes of the option market

[
  {
    "<strike price>": {
      "totalLiquidity": "text",
      "availableLiquidity": "text",
      "utilization": "text",
      "apr": "text",
      "handler": {
        "name": "text",
        "deprecated": true,
        "handler": {},
        "pool": "text"
      },
      "meta": {
        "hook": "text",
        "tickLower": 1,
        "tickUpper": 1,
        "totalTokenLiquidity": "text",
        "availableTokenLiquidity": "text",
        "totalLiquidity": "text",
        "availableLiquidity": "text"
      },
      "token": {
        "address": "text",
        "decimals": "text",
        "symbol": "text"
      }
    }
  }
]

Last updated

Was this helpful?