Stryke Docs
HomeGitHubSocials
  • ⚑Introducing Stryke
  • πŸ”Products Overview
    • Product Overview (CLAMM)
      • For Option Traders
      • For Liquidity Providers
  • 🌚Tokenomics
    • SYK Token
    • xSYK Token
    • Reward Gauges
    • Protocol Fees
  • πŸšΆβ€β™‚οΈUI Walkthroughs
    • CLAMM Walkthrough
      • Connect Wallet
      • Navigate Markets
      • Trade Options
      • Limit Exercise
      • Provide Liquidity
      • Reward Gauges
  • ⛓️Developers
    • Contracts
      • LP Management
        • Mint a Position
        • Burn a Position
        • Reserve Liquidity
        • Withdraw Reserved Liquidity
      • Trading
        • Mint Option
        • Exercise Option
    • APIs
      • xSYK
      • CLAMM
        • Trading
          • Purchase
          • Exercise
        • LP management
        • Option markets
        • Strikes chain
    • Deployed Addresses
      • CLAMM
      • Tokens & Others
      • Gauges
    • Bug Bounty Program
  • πŸ“šREFERENCES
    • Glossary
    • Audits
    • Partners
    • Media Kit
Powered by GitBook
LogoLogo

Β© 2024 Stryke

On this page

Was this helpful?

  1. Developers
  2. APIs
  3. CLAMM

Strikes chain

PreviousOption marketsNextDeployed Addresses

Last updated 1 year ago

Was this helpful?

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"
      }
    }
  }
]
  • How Handlers and Hooks Work
  • GETGet strikes chain or options chain of a options market