GMX · Schema

OrderResponse

DeFiPerpetual ExchangeDEXTradingLeverageLiquidity PoolsGLPGM TokensGLVArbitrumAvalancheWeb3

Properties

Name Type Description
requestId string
dataList array
autoCancel boolean
isFrozen boolean
shouldUnwrapNativeToken boolean
isLong boolean
srcChainId string
validFromTime string
updatedAtTime string
minOutputAmount string
callbackGasLimit string
executionFee string
acceptablePrice string
triggerPrice string
initialCollateralDeltaAmount string
sizeDeltaUsd string
decreasePositionSwapType number
orderType number
swapPath array
initialCollateralTokenAddress string
marketAddress string
uiFeeReceiver string
callbackContract string
cancellationReceiver string
receiver string
account string
key string
View JSON Schema on GitHub

JSON Schema

OrderResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/gmx/json-schema/OrderResponse.json",
  "title": "OrderResponse",
  "properties": {
    "requestId": {
      "type": "string",
      "nullable": true
    },
    "dataList": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "autoCancel": {
      "type": "boolean"
    },
    "isFrozen": {
      "type": "boolean"
    },
    "shouldUnwrapNativeToken": {
      "type": "boolean"
    },
    "isLong": {
      "type": "boolean"
    },
    "srcChainId": {
      "type": "string"
    },
    "validFromTime": {
      "type": "string"
    },
    "updatedAtTime": {
      "type": "string"
    },
    "minOutputAmount": {
      "type": "string"
    },
    "callbackGasLimit": {
      "type": "string"
    },
    "executionFee": {
      "type": "string"
    },
    "acceptablePrice": {
      "type": "string"
    },
    "triggerPrice": {
      "type": "string"
    },
    "initialCollateralDeltaAmount": {
      "type": "string"
    },
    "sizeDeltaUsd": {
      "type": "string"
    },
    "decreasePositionSwapType": {
      "type": "number",
      "format": "double"
    },
    "orderType": {
      "type": "number",
      "format": "double"
    },
    "swapPath": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "initialCollateralTokenAddress": {
      "type": "string"
    },
    "marketAddress": {
      "type": "string"
    },
    "uiFeeReceiver": {
      "type": "string"
    },
    "callbackContract": {
      "type": "string"
    },
    "cancellationReceiver": {
      "type": "string"
    },
    "receiver": {
      "type": "string"
    },
    "account": {
      "type": "string"
    },
    "key": {
      "type": "string"
    }
  },
  "required": [
    "requestId",
    "dataList",
    "autoCancel",
    "isFrozen",
    "shouldUnwrapNativeToken",
    "isLong",
    "srcChainId",
    "validFromTime",
    "updatedAtTime",
    "minOutputAmount",
    "callbackGasLimit",
    "executionFee",
    "acceptablePrice",
    "triggerPrice",
    "initialCollateralDeltaAmount",
    "sizeDeltaUsd",
    "decreasePositionSwapType",
    "orderType",
    "swapPath",
    "initialCollateralTokenAddress",
    "marketAddress",
    "uiFeeReceiver",
    "callbackContract",
    "cancellationReceiver",
    "receiver",
    "account",
    "key"
  ],
  "type": "object"
}