Dopex · Schema

PurchasePositionMetaDto

Metadata for an options purchase position including expiry, handlers, and liquidity breakdowns

DeFiDecentralized OptionsSSOVOptions ExchangeArbitrumDPXrDPXStakingImplied VolatilityBlack-ScholesOptions PricingCLAMMCryptocurrencyWeb3EVM

Properties

Name Type Description
tokenId string ERC721 token ID representing the options position NFT
expiry number Unix timestamp when the option expires
handlers array List of handlers providing liquidity for this position
liquidities array Liquidity amounts per handler
View JSON Schema on GitHub

JSON Schema

PurchasePositionMetaDto.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.stryke.xyz/schemas/PurchasePositionMetaDto",
  "title": "PurchasePositionMetaDto",
  "description": "Metadata for an options purchase position including expiry, handlers, and liquidity breakdowns",
  "type": "object",
  "properties": {
    "tokenId": {
      "type": "string",
      "description": "ERC721 token ID representing the options position NFT"
    },
    "expiry": {
      "type": "number",
      "description": "Unix timestamp when the option expires"
    },
    "handlers": {
      "type": "array",
      "items": {
        "$ref": "PurchasePositionMetaHandlerDto.json"
      },
      "description": "List of handlers providing liquidity for this position"
    },
    "liquidities": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Liquidity amounts per handler"
    }
  },
  "required": ["tokenId", "expiry", "handlers", "liquidities"]
}