changedInput schema / properties / request / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "description": "Complete request for an address' DEX trades (flattened).",
- "properties": {
- "address": {
- "description": "The wallet address whose DEX trades to fetch",
- "type": "string"
- },
- "chain": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Single chain to query (e.g. ethereum, base, arbitrum, solana). This endpoint queries ONE chain at a time and does NOT accept 'all' or 'evm'. For EVM wallets a concrete chain is REQUIRED (they trade across many chains); non-EVM addresses are auto-detected from the address. Use 'hyperliquid' for Hyperliquid perpetual trades (requires an EVM address)."
- },
- "dateRange": {
- "description": "Date range for the trades (defaults to last 7 days)",
- "properties": {
- "from": {
- "description": "Start value: token (see above) or date (YYYY-MM-DD or ___-MM-DD).",
- "type": "string"
- },
- "to": {
- "description": "End value: token (see above) or date (YYYY-MM-DD or ___-MM-DD).",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- "orderBy": {
- "anyOf": [
- {
- "enum": [
- "timestamp",
- "value"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Sort field. Pass an exact value above or None for default ('timestamp')."
- },
- "order_by_direction": {
- "default": "DESC",
- "enum": [
- "ASC",
- "DESC",
- "asc",
- "desc"
- ],
- "type": "string"
- },
- "page": {
- "default": 1,
- "type": "integer"
- },
- "valueUsd": {
- "anyOf": [
- {
- "description": "Numeric range where from_value and to_value are optional,\nallowing for open-ended ranges (e.g., only minimum or only maximum).",
- "properties": {
- "from": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Minimum value (inclusive), optional"
- },
- "to": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Maximum value (inclusive), optional"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Filter trades by USD value (open-ended min/max allowed)"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "description": "Complete request for an address' DEX trades (flattened).",
+ "properties": {
+ "address": {
+ "description": "The wallet address whose DEX trades to fetch",
+ "type": "string"
+ },
+ "chain": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Single chain to query (e.g. ethereum, base, arbitrum, solana). This endpoint queries ONE chain at a time and does NOT accept 'all' or 'evm'. For EVM wallets a concrete chain is REQUIRED (they trade across many chains); non-EVM addresses are auto-detected from the address. Use 'hyperliquid' for Hyperliquid perpetual trades (requires an EVM address)."
+ },
+ "dateRange": {
+ "description": "Date range for the trades (defaults to last 7 days)",
+ "properties": {
+ "from": {
+ "description": "Start value: token (see above) or date (YYYY-MM-DD or ___-MM-DD).",
+ "type": "string"
+ },
+ "to": {
+ "description": "End value: token (see above) or date (YYYY-MM-DD or ___-MM-DD).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "orderBy": {
+ "anyOf": [
+ {
+ "enum": [
+ "timestamp",
+ "value"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Sort field. Pass an exact value above or None for default ('timestamp')."
+ },
+ "order_by_direction": {
+ "default": "DESC",
+ "enum": [
+ "ASC",
+ "DESC",
+ "asc",
+ "desc"
+ ],
+ "type": "string"
+ },
+ "page": {
+ "default": 1,
+ "type": "integer"
+ },
+ "tokenAddressBought": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Token bought filter. On spot chains, use the token contract address. On Hyperliquid, use a perp symbol (e.g. BTC, HYPE, xyz:NVDA); returns Long-side trades."
+ },
+ "tokenAddressSold": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Token sold filter. On spot chains, use the token contract address. On Hyperliquid, use a perp symbol (e.g. BTC, HYPE, xyz:NVDA); returns Short-side trades."
+ },
+ "valueUsd": {
+ "anyOf": [
+ {
+ "description": "Numeric range where from_value and to_value are optional,\nallowing for open-ended ranges (e.g., only minimum or only maximum).",
+ "properties": {
+ "from": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Minimum value (inclusive), optional"
+ },
+ "to": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Maximum value (inclusive), optional"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Filter trades by USD value (open-ended min/max allowed)"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ }
+]