changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "anyOf": [
+ {
+ "properties": {
+ "accepts": {
+ "items": {
+ "properties": {
+ "amount": {
+ "description": "USDC atomic units (6 decimals)",
+ "type": "string"
+ },
+ "asset": {
+ "type": "string"
+ },
+ "extra": {
+ "type": "object"
+ },
+ "maxTimeoutSeconds": {
+ "type": "number"
+ },
+ "network": {
+ "const": "eip155:8453",
+ "type": "string"
+ },
+ "payTo": {
+ "type": "string"
+ },
+ "scheme": {
+ "const": "exact",
+ "type": "string"
+ }
+ },
+ "required": [
+ "scheme",
+ "network",
+ "amount",
+ "asset",
+ "payTo"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "error": {
+ "type": "string"
+ },
+ "resource": {
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "mimeType": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "x402Version": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x402Version",
+ "accepts"
+ ],
+ "title": "x402 PaymentRequired (what this MCP tool returns, isError=true)",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "as_of": {
+ "description": "ISO-8601 UTC",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "billing": {
+ "description": "Charged only on this 200",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "contract_value": {
+ "description": "{ct_val, ct_val_ccy} OKX contract size",
+ "properties": {
+ "ct_val": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "ct_val_ccy": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "count": {
+ "description": "Number of liquidation events",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "disclaimer": {
+ "description": "Not financial advice notice",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "events": {
+ "description": "[{time, price, size_contracts, size_coins, notional_usd, side, venue}]",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "long_liquidations": {
+ "description": "{count, notional_usd} longs liquidated",
+ "properties": {
+ "count": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "notional_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "notional_usd_total": {
+ "description": "Total liquidated USD",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "provenance": {
+ "description": "Optional provenance on paid 200s",
+ "properties": {
+ "data_sha256": {
+ "type": "string"
+ },
+ "fetched_at": {
+ "type": "string"
+ },
+ "max_age_s": {
+ "type": "number"
+ },
+ "source": {
+ "type": "string"
+ },
+ "sources": {
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "short_liquidations": {
+ "description": "{count, notional_usd} shorts liquidated",
+ "properties": {
+ "count": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "notional_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "symbol": {
+ "description": "Ticker",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "venue": {
+ "description": "okx",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "window_hours": {
+ "description": "Window actually used",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "as_of",
+ "billing",
+ "contract_value",
+ "count",
+ "disclaimer",
+ "events",
+ "long_liquidations",
+ "notional_usd_total",
+ "short_liquidations",
+ "symbol",
+ "venue",
+ "window_hours"
+ ],
+ "title": "Paid HTTP 200 body of GET /liquidations/{symbol}",
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}