SPB Git

Repository Public

mainnet-clearinghouseState.json 2.1 KB 98 lines json

1{2 "recordedAt": "2026-11-11T03:05:49.914Z",3 "network": "mainnet",4 "request": {5  "type": "clearinghouseState",6  "user": "0x3d62aa392daa9cc4cbe9e11d57681ea1371f3447"7 },8 "status": 200,9 "body": {10  "marginSummary": {11   "accountValue": "6515.769962",12   "totalNtlPos": "51217.3",13   "totalRawUsd": "57733.069962",14   "totalMarginUsed": "2226.1"15  },16  "crossMarginSummary": {17   "accountValue": "6515.769962",18   "totalNtlPos": "51217.3",19   "totalRawUsd": "57733.069962",20   "totalMarginUsed": "2226.1"21  },22  "crossMaintenanceMarginUsed": "1113.05",23  "withdrawable": "8.589962",24  "assetPositions": [25   {26    "type": "oneWay",27    "position": {28     "coin": "BTC",29     "szi": "-0.3",30     "leverage": {31      "type": "cross",32      "value": 4033     },34     "entryPx": "73728.0",35     "positionValue": "22114.8",36     "unrealizedPnl": "3.6",37     "returnOnEquity": "0.0065104167",38     "liquidationPx": "91502.7323851852",39     "marginUsed": "552.87",40     "maxLeverage": 40,41     "cumFunding": {42      "allTime": "6.33548",43      "sinceOpen": "-0.827937",44      "sinceChange": "-0.827937"45     }46    }47   },48   {49    "type": "oneWay",50    "position": {51     "coin": "ETH",52     "szi": "-10.0",53     "leverage": {54      "type": "cross",55      "value": 2556     },57     "entryPx": "2056.35",58     "positionValue": "20617.0",59     "unrealizedPnl": "-53.5",60     "returnOnEquity": "-0.0650424295",61     "liquidationPx": "2591.3784276471",62     "marginUsed": "824.68",63     "maxLeverage": 25,64     "cumFunding": {65      "allTime": "13.27634",66      "sinceOpen": "-0.281091",67      "sinceChange": "0.0"68     }69    }70   },71   {72    "type": "oneWay",73    "position": {74     "coin": "AVAX",75     "szi": "-1000.0",76     "leverage": {77      "type": "cross",78      "value": 1079     },80     "entryPx": "8.5089",81     "positionValue": "8485.5",82     "unrealizedPnl": "23.434255",83     "returnOnEquity": "0.027540764",84     "liquidationPx": "13.6309475829",85     "marginUsed": "848.55",86     "maxLeverage": 10,87     "cumFunding": {88      "allTime": "-0.090408",89      "sinceOpen": "-0.090408",90      "sinceChange": "-0.090408"91     }92    }93   }94  ],95  "time": 179436634940396 }97}98
Files main
Menu

Theme