Option markets
Option markets and information about them can be queried from the following endpoints:
Query parameters
chainIdnumber · enumRequiredPossible values:
Chain ID of the network
Responses
200
List of option markets on specified chain
application/json
get
GET /clamm/option-markets HTTP/1.1
Host: api.stryke.xyz
Accept: */*
200
List of option markets on specified chain
[
{
"deprecated": true,
"address": "text",
"callToken": {
"address": "text",
"decimals": "text",
"symbol": "text"
},
"putToken": {
"address": "text",
"decimals": "text",
"symbol": "text"
},
"primePool": "text",
"dpFee": "text",
"optionsPricing": "text",
"tokenURIFetcher": "text",
"totalPremium": "text",
"totalVolume": "text",
"totalFees": "text",
"pairName": "text",
"ticker": "text"
}
]
V1.1 change log:
new
chains
query parameter replacingchainId
that accepts a comma separated array of chain ids i.e"42161,5000"
providing the ability to query option markets of multiple chains.More market stats of the options market are included in the response i.e: Total liquidity USD, available liquidity USD, open Interest USD. Check example schema for full list of response data.
Query parameters
chainsstring[]Required
Chain IDs of networks to query option markets for
Responses
200
List of option markets on specified chain
application/json
get
GET /v1.1/clamm/option-markets HTTP/1.1
Host: api.stryke.xyz
Accept: */*
200
List of option markets on specified chain
[
{
"deprecated": true,
"address": "text",
"callToken": {
"address": "text",
"decimals": "text",
"symbol": "text"
},
"putToken": {
"address": "text",
"decimals": "text",
"symbol": "text"
},
"primePool": "text",
"optionsPricing": "text",
"tokenURIFetcher": "text",
"pairName": "text",
"ticker": "text",
"chainId": 1,
"pools": [
{}
],
"feeStrategy": {},
"premiums24h": 1,
"volume24h": 1,
"protocolFees24h": 1,
"totalLiquidity": 1,
"availableLiquidity": 1,
"openInterest": 1
}
]
Last updated
Was this helpful?