changedInput schema / properties / request / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "description": "Complete request for token who bought/sold (flattened).",
- "properties": {
- "buy_or_sell": {
- "description": "Transaction type for buyers or sellers analysis",
- "enum": [
- "BUY",
- "SELL"
- ],
- "type": "string"
- },
- "chain": {
- "type": "string"
- },
- "include_labels": {
- "description": "Filter based on a particular set of segments based on label, default is empty which includes all segments",
- "items": {
- "description": "Wallet labels for holder analysis and filtering.",
- "enum": [
- "Whale",
- "Public Figure",
- "Exchange",
- "Fund",
- "30D Smart Trader",
- "90D Smart Trader",
- "180D Smart Trader",
- "All Time Smart Trader"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "min_trade_volume_usd": {
- "default": 10,
- "type": "number"
- },
- "order_by": {
- "default": "bought_volume_usd",
- "type": "string"
- },
- "order_by_direction": {
- "default": "DESC",
- "enum": [
- "asc",
- "desc",
- "ASC",
- "DESC"
- ],
- "type": "string"
- },
- "page": {
- "default": 1,
- "type": "integer"
- },
- "time_range": {
- "description": "Date range for analysis",
- "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"
- },
- "tokenAddress": {
- "type": "string"
- }
- },
- "required": [
- "chain",
- "tokenAddress",
- "buy_or_sell"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "description": "Complete request for token who bought/sold (flattened).",
+ "properties": {
+ "buy_or_sell": {
+ "description": "Transaction type for buyers or sellers analysis",
+ "enum": [
+ "BUY",
+ "SELL"
+ ],
+ "type": "string"
+ },
+ "chain": {
+ "type": "string"
+ },
+ "include_labels": {
+ "description": "Filter based on a particular set of segments based on label, default is empty which includes all segments",
+ "items": {
+ "description": "Wallet labels for holder analysis and filtering.",
+ "enum": [
+ "Whale",
+ "Public Figure",
+ "Exchange",
+ "Fund",
+ "30D Smart Trader",
+ "90D Smart Trader",
+ "180D Smart Trader",
+ "All Time Smart Trader"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "min_trade_volume_usd": {
+ "default": 10,
+ "type": "number"
+ },
+ "orderBy": {
+ "anyOf": [
+ {
+ "enum": [
+ "token_trade_volume",
+ "bought_token_volume",
+ "sold_token_volume"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Sort field. Pass an exact value above or None for default ('token_trade_volume'). USD volume fields are disabled; native token volume is preferred."
+ },
+ "order_by_direction": {
+ "default": "DESC",
+ "enum": [
+ "ASC",
+ "DESC",
+ "asc",
+ "desc"
+ ],
+ "type": "string"
+ },
+ "page": {
+ "default": 1,
+ "type": "integer"
+ },
+ "time_range": {
+ "description": "Date range for analysis",
+ "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"
+ },
+ "tokenAddress": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "chain",
+ "tokenAddress",
+ "buy_or_sell"
+ ],
+ "type": "object"
+ }
+]