nansen-cli 2.5.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/README.md +19 -13
- package/docs/error-codes.md +1 -0
- package/package.json +5 -5
- package/scripts/postinstall.js +36 -11
- package/skills/nansen-alerts-webhook-listener/SKILL.md +1 -1
- package/skills/nansen-limit-orders/SKILL.md +6 -3
- package/skills/nansen-smart-alerts/SKILL.md +0 -21
- package/skills/nansen-token-research/SKILL.md +1 -1
- package/skills/nansen-trading/SKILL.md +18 -15
- package/skills/nansen-web-searcher/SKILL.md +1 -1
- package/src/api.js +0 -14
- package/src/bridge.js +48 -4
- package/src/cli.js +151 -117
- package/src/commands/alerts.js +54 -66
- package/src/commands/completion.js +0 -1
- package/src/commands/research.js +35 -35
- package/src/crypto.js +17 -0
- package/src/error-codes.js +1 -0
- package/src/execute-guard.js +43 -3
- package/src/input-validation.js +32 -3
- package/src/limit-order.js +12 -4
- package/src/perp.js +72 -13
- package/src/privy.js +145 -103
- package/src/schema.json +499 -93
- package/src/trade-validation.js +57 -2
- package/src/trading.js +14 -14
- package/src/transfer.js +65 -7
- package/src/wallet.js +9 -10
- package/skills/nansen-web-fetcher/SKILL.md +0 -53
package/src/schema.json
CHANGED
|
@@ -183,10 +183,11 @@
|
|
|
183
183
|
],
|
|
184
184
|
"description": "Place a perp order (limit or market, with optional take-profit/stop-loss)",
|
|
185
185
|
"options": {
|
|
186
|
-
"
|
|
186
|
+
"symbol": {
|
|
187
187
|
"type": "string",
|
|
188
|
+
"aliases": ["coin"],
|
|
188
189
|
"required": true,
|
|
189
|
-
"description": "Asset symbol, e.g. BTC, ETH
|
|
190
|
+
"description": "Asset symbol, e.g. BTC, ETH"
|
|
190
191
|
},
|
|
191
192
|
"side": {
|
|
192
193
|
"type": "string",
|
|
@@ -254,7 +255,7 @@
|
|
|
254
255
|
"aliases": [
|
|
255
256
|
"y"
|
|
256
257
|
],
|
|
257
|
-
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed. Declining the prompt exits 1 with nothing signed."
|
|
258
|
+
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed, unless NANSEN_REQUIRE_CONFIRM=1 is set, in which case this (or NANSEN_YES=1) is required and a run without it fails with CONFIRMATION_REQUIRED before any request or signature. Declining the prompt exits 1 with nothing signed."
|
|
258
259
|
}
|
|
259
260
|
}
|
|
260
261
|
},
|
|
@@ -267,10 +268,11 @@
|
|
|
267
268
|
],
|
|
268
269
|
"description": "Cancel an open order by order id",
|
|
269
270
|
"options": {
|
|
270
|
-
"
|
|
271
|
+
"symbol": {
|
|
271
272
|
"type": "string",
|
|
273
|
+
"aliases": ["coin"],
|
|
272
274
|
"required": true,
|
|
273
|
-
"description": "Asset symbol
|
|
275
|
+
"description": "Asset symbol"
|
|
274
276
|
},
|
|
275
277
|
"oid": {
|
|
276
278
|
"type": "string",
|
|
@@ -290,7 +292,7 @@
|
|
|
290
292
|
"aliases": [
|
|
291
293
|
"y"
|
|
292
294
|
],
|
|
293
|
-
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed. Declining the prompt exits 1 with nothing signed."
|
|
295
|
+
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed, unless NANSEN_REQUIRE_CONFIRM=1 is set, in which case this (or NANSEN_YES=1) is required and a run without it fails with CONFIRMATION_REQUIRED before any request or signature. Declining the prompt exits 1 with nothing signed."
|
|
294
296
|
}
|
|
295
297
|
}
|
|
296
298
|
},
|
|
@@ -304,10 +306,11 @@
|
|
|
304
306
|
],
|
|
305
307
|
"description": "Close a position (reduce-only market order)",
|
|
306
308
|
"options": {
|
|
307
|
-
"
|
|
309
|
+
"symbol": {
|
|
308
310
|
"type": "string",
|
|
311
|
+
"aliases": ["coin"],
|
|
309
312
|
"required": true,
|
|
310
|
-
"description": "Asset symbol
|
|
313
|
+
"description": "Asset symbol"
|
|
311
314
|
},
|
|
312
315
|
"size": {
|
|
313
316
|
"type": "string",
|
|
@@ -346,7 +349,7 @@
|
|
|
346
349
|
"aliases": [
|
|
347
350
|
"y"
|
|
348
351
|
],
|
|
349
|
-
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed. Declining the prompt exits 1 with nothing signed."
|
|
352
|
+
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed, unless NANSEN_REQUIRE_CONFIRM=1 is set, in which case this (or NANSEN_YES=1) is required and a run without it fails with CONFIRMATION_REQUIRED before any request or signature. Declining the prompt exits 1 with nothing signed."
|
|
350
353
|
}
|
|
351
354
|
}
|
|
352
355
|
},
|
|
@@ -359,10 +362,11 @@
|
|
|
359
362
|
],
|
|
360
363
|
"description": "Set leverage and margin mode for an asset",
|
|
361
364
|
"options": {
|
|
362
|
-
"
|
|
365
|
+
"symbol": {
|
|
363
366
|
"type": "string",
|
|
367
|
+
"aliases": ["coin"],
|
|
364
368
|
"required": true,
|
|
365
|
-
"description": "Asset symbol
|
|
369
|
+
"description": "Asset symbol"
|
|
366
370
|
},
|
|
367
371
|
"leverage": {
|
|
368
372
|
"type": "string",
|
|
@@ -391,7 +395,7 @@
|
|
|
391
395
|
"aliases": [
|
|
392
396
|
"y"
|
|
393
397
|
],
|
|
394
|
-
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed. Declining the prompt exits 1 with nothing signed."
|
|
398
|
+
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed, unless NANSEN_REQUIRE_CONFIRM=1 is set, in which case this (or NANSEN_YES=1) is required and a run without it fails with CONFIRMATION_REQUIRED before any request or signature. Declining the prompt exits 1 with nothing signed."
|
|
395
399
|
}
|
|
396
400
|
}
|
|
397
401
|
},
|
|
@@ -414,11 +418,22 @@
|
|
|
414
418
|
"amount": {
|
|
415
419
|
"type": "string",
|
|
416
420
|
"required": true,
|
|
417
|
-
"description": "USDC amount to transfer"
|
|
421
|
+
"description": "USDC amount to transfer, at most 8 decimal places. An amount that can't be signed exactly is refused."
|
|
418
422
|
},
|
|
419
423
|
"wallet": {
|
|
420
424
|
"type": "string",
|
|
421
425
|
"description": "Wallet name (defaults to the configured default wallet)"
|
|
426
|
+
},
|
|
427
|
+
"dry-run": {
|
|
428
|
+
"type": "boolean",
|
|
429
|
+
"description": "Run the normal validation and the compliance screen, print the transfer plan (wallet, direction, the exact USDC amount that would be signed), then stop. Nothing is signed or sent to Hyperliquid and no wallet password is needed. Exits 0."
|
|
430
|
+
},
|
|
431
|
+
"yes": {
|
|
432
|
+
"type": "boolean",
|
|
433
|
+
"aliases": [
|
|
434
|
+
"y"
|
|
435
|
+
],
|
|
436
|
+
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed, unless NANSEN_REQUIRE_CONFIRM=1 is set, in which case this (or NANSEN_YES=1) is required and a run without it fails with CONFIRMATION_REQUIRED before any request or signature. Declining the prompt exits 1 with nothing signed."
|
|
422
437
|
}
|
|
423
438
|
}
|
|
424
439
|
},
|
|
@@ -433,6 +448,17 @@
|
|
|
433
448
|
"wallet": {
|
|
434
449
|
"type": "string",
|
|
435
450
|
"description": "Wallet name (defaults to the configured default wallet)"
|
|
451
|
+
},
|
|
452
|
+
"dry-run": {
|
|
453
|
+
"type": "boolean",
|
|
454
|
+
"description": "Read the builder-fee status and run the compliance screen, print the approval plan (wallet, builder address, maximum fee rate), then stop. Nothing is signed or sent to Hyperliquid and no wallet password is needed. When the fee is already approved it says so and stops with nothing to preview. Exits 0."
|
|
455
|
+
},
|
|
456
|
+
"yes": {
|
|
457
|
+
"type": "boolean",
|
|
458
|
+
"aliases": [
|
|
459
|
+
"y"
|
|
460
|
+
],
|
|
461
|
+
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed, unless NANSEN_REQUIRE_CONFIRM=1 is set, in which case this (or NANSEN_YES=1) is required and a run without it fails with CONFIRMATION_REQUIRED before any request or signature. Declining the prompt exits 1 with nothing signed."
|
|
436
462
|
}
|
|
437
463
|
}
|
|
438
464
|
},
|
|
@@ -618,7 +644,7 @@
|
|
|
618
644
|
"aliases": [
|
|
619
645
|
"y"
|
|
620
646
|
],
|
|
621
|
-
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed. Declining the prompt exits 1 with nothing signed."
|
|
647
|
+
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed, unless NANSEN_REQUIRE_CONFIRM=1 is set, in which case this (or NANSEN_YES=1) is required and a run without it fails with CONFIRMATION_REQUIRED before any request or signature. Declining the prompt exits 1 with nothing signed."
|
|
622
648
|
}
|
|
623
649
|
},
|
|
624
650
|
"examples": [
|
|
@@ -830,6 +856,9 @@
|
|
|
830
856
|
},
|
|
831
857
|
"token": {
|
|
832
858
|
"type": "string",
|
|
859
|
+
"aliases": [
|
|
860
|
+
"token-address"
|
|
861
|
+
],
|
|
833
862
|
"description": "Only this token (contract address); sent as filters.token_address"
|
|
834
863
|
}
|
|
835
864
|
}
|
|
@@ -891,7 +920,7 @@
|
|
|
891
920
|
},
|
|
892
921
|
"chain": {
|
|
893
922
|
"type": "string",
|
|
894
|
-
"default": "
|
|
923
|
+
"default": "all",
|
|
895
924
|
"description": "Chain to profile the address on"
|
|
896
925
|
},
|
|
897
926
|
"days": {
|
|
@@ -932,7 +961,7 @@
|
|
|
932
961
|
},
|
|
933
962
|
"chain": {
|
|
934
963
|
"type": "string",
|
|
935
|
-
"default": "
|
|
964
|
+
"default": "all",
|
|
936
965
|
"description": "Chain to profile the address on"
|
|
937
966
|
},
|
|
938
967
|
"days": {
|
|
@@ -958,7 +987,7 @@
|
|
|
958
987
|
},
|
|
959
988
|
"chain": {
|
|
960
989
|
"type": "string",
|
|
961
|
-
"default": "
|
|
990
|
+
"default": "all",
|
|
962
991
|
"description": "Chain to profile the address on"
|
|
963
992
|
},
|
|
964
993
|
"entity": {
|
|
@@ -995,7 +1024,7 @@
|
|
|
995
1024
|
},
|
|
996
1025
|
"chain": {
|
|
997
1026
|
"type": "string",
|
|
998
|
-
"default": "
|
|
1027
|
+
"default": "all",
|
|
999
1028
|
"description": "Chain to profile the address on"
|
|
1000
1029
|
},
|
|
1001
1030
|
"days": {
|
|
@@ -1075,7 +1104,7 @@
|
|
|
1075
1104
|
},
|
|
1076
1105
|
"chain": {
|
|
1077
1106
|
"type": "string",
|
|
1078
|
-
"default": "
|
|
1107
|
+
"default": "all",
|
|
1079
1108
|
"description": "Chain to profile the address on"
|
|
1080
1109
|
},
|
|
1081
1110
|
"days": {
|
|
@@ -1111,7 +1140,7 @@
|
|
|
1111
1140
|
},
|
|
1112
1141
|
"chain": {
|
|
1113
1142
|
"type": "string",
|
|
1114
|
-
"default": "
|
|
1143
|
+
"default": "all",
|
|
1115
1144
|
"description": "Chain to profile the address on"
|
|
1116
1145
|
},
|
|
1117
1146
|
"sort": {
|
|
@@ -1148,7 +1177,7 @@
|
|
|
1148
1177
|
},
|
|
1149
1178
|
"chain": {
|
|
1150
1179
|
"type": "string",
|
|
1151
|
-
"default": "
|
|
1180
|
+
"default": "all",
|
|
1152
1181
|
"description": "Chain to profile the address on"
|
|
1153
1182
|
},
|
|
1154
1183
|
"days": {
|
|
@@ -1189,7 +1218,7 @@
|
|
|
1189
1218
|
},
|
|
1190
1219
|
"chain": {
|
|
1191
1220
|
"type": "string",
|
|
1192
|
-
"default": "
|
|
1221
|
+
"default": "all",
|
|
1193
1222
|
"description": "Chain to profile the address on"
|
|
1194
1223
|
}
|
|
1195
1224
|
}
|
|
@@ -1262,7 +1291,7 @@
|
|
|
1262
1291
|
},
|
|
1263
1292
|
"chain": {
|
|
1264
1293
|
"type": "string",
|
|
1265
|
-
"default": "
|
|
1294
|
+
"default": "all",
|
|
1266
1295
|
"description": "Chain to profile the address on"
|
|
1267
1296
|
},
|
|
1268
1297
|
"days": {
|
|
@@ -1309,7 +1338,7 @@
|
|
|
1309
1338
|
"options": {
|
|
1310
1339
|
"chain": {
|
|
1311
1340
|
"type": "string",
|
|
1312
|
-
"default": "
|
|
1341
|
+
"default": "all",
|
|
1313
1342
|
"description": "Chain to profile every address on"
|
|
1314
1343
|
},
|
|
1315
1344
|
"include": {
|
|
@@ -1349,7 +1378,7 @@
|
|
|
1349
1378
|
},
|
|
1350
1379
|
"chain": {
|
|
1351
1380
|
"type": "string",
|
|
1352
|
-
"default": "
|
|
1381
|
+
"default": "all",
|
|
1353
1382
|
"description": "Chain to profile the address on"
|
|
1354
1383
|
},
|
|
1355
1384
|
"depth": {
|
|
@@ -1387,7 +1416,7 @@
|
|
|
1387
1416
|
},
|
|
1388
1417
|
"chain": {
|
|
1389
1418
|
"type": "string",
|
|
1390
|
-
"default": "
|
|
1419
|
+
"default": "all",
|
|
1391
1420
|
"description": "Chain to compare the wallets on"
|
|
1392
1421
|
},
|
|
1393
1422
|
"days": {
|
|
@@ -1715,9 +1744,7 @@
|
|
|
1715
1744
|
"type": "string",
|
|
1716
1745
|
"required": true,
|
|
1717
1746
|
"description": "Perp symbol, e.g. BTC",
|
|
1718
|
-
"aliases": [
|
|
1719
|
-
"token-symbol"
|
|
1720
|
-
]
|
|
1747
|
+
"aliases": ["token-symbol", "coin"]
|
|
1721
1748
|
},
|
|
1722
1749
|
"days": {
|
|
1723
1750
|
"type": "integer",
|
|
@@ -1757,9 +1784,7 @@
|
|
|
1757
1784
|
"type": "string",
|
|
1758
1785
|
"required": true,
|
|
1759
1786
|
"description": "Perp symbol, e.g. BTC",
|
|
1760
|
-
"aliases": [
|
|
1761
|
-
"token-symbol"
|
|
1762
|
-
]
|
|
1787
|
+
"aliases": ["token-symbol", "coin"]
|
|
1763
1788
|
},
|
|
1764
1789
|
"filters": {
|
|
1765
1790
|
"type": "string",
|
|
@@ -1789,9 +1814,7 @@
|
|
|
1789
1814
|
"type": "string",
|
|
1790
1815
|
"required": true,
|
|
1791
1816
|
"description": "Perp symbol, e.g. BTC",
|
|
1792
|
-
"aliases": [
|
|
1793
|
-
"token-symbol"
|
|
1794
|
-
]
|
|
1817
|
+
"aliases": ["token-symbol", "coin"]
|
|
1795
1818
|
},
|
|
1796
1819
|
"days": {
|
|
1797
1820
|
"type": "integer",
|
|
@@ -1875,7 +1898,7 @@
|
|
|
1875
1898
|
"options": {
|
|
1876
1899
|
"chain": {
|
|
1877
1900
|
"type": "string",
|
|
1878
|
-
"default": "
|
|
1901
|
+
"default": "solana",
|
|
1879
1902
|
"description": "Chain the token lives on"
|
|
1880
1903
|
},
|
|
1881
1904
|
"token": {
|
|
@@ -1906,8 +1929,9 @@
|
|
|
1906
1929
|
"token-address"
|
|
1907
1930
|
]
|
|
1908
1931
|
},
|
|
1909
|
-
"
|
|
1932
|
+
"interval": {
|
|
1910
1933
|
"type": "string",
|
|
1934
|
+
"aliases": ["timeframe"],
|
|
1911
1935
|
"default": "1d",
|
|
1912
1936
|
"description": "Candle interval"
|
|
1913
1937
|
}
|
|
@@ -2442,8 +2466,9 @@
|
|
|
2442
2466
|
"endpoint": "/api/v1/chains/chain-rank",
|
|
2443
2467
|
"description": "Rank chains by growth metrics",
|
|
2444
2468
|
"options": {
|
|
2445
|
-
"
|
|
2469
|
+
"days": {
|
|
2446
2470
|
"type": "number",
|
|
2471
|
+
"aliases": ["timeframe-days"],
|
|
2447
2472
|
"enum": [7, 30, 365],
|
|
2448
2473
|
"default": 7,
|
|
2449
2474
|
"description": "Growth window in days"
|
|
@@ -2498,8 +2523,9 @@
|
|
|
2498
2523
|
"type": "string",
|
|
2499
2524
|
"repeatable": true
|
|
2500
2525
|
},
|
|
2501
|
-
"
|
|
2526
|
+
"days": {
|
|
2502
2527
|
"type": "number",
|
|
2528
|
+
"aliases": ["timeframe-days"],
|
|
2503
2529
|
"enum": [1, 7, 30, 90, 180],
|
|
2504
2530
|
"default": 7,
|
|
2505
2531
|
"description": "Timeframe in days"
|
|
@@ -2529,7 +2555,8 @@
|
|
|
2529
2555
|
},
|
|
2530
2556
|
"chain": {
|
|
2531
2557
|
"type": "string",
|
|
2532
|
-
"description": "Single chain; --chains takes precedence"
|
|
2558
|
+
"description": "Single chain; --chains takes precedence",
|
|
2559
|
+
"default": "solana"
|
|
2533
2560
|
}
|
|
2534
2561
|
}
|
|
2535
2562
|
},
|
|
@@ -2541,10 +2568,7 @@
|
|
|
2541
2568
|
"required": true,
|
|
2542
2569
|
"description": "Hyperliquid asset symbol (--token-address is accepted as an alias)",
|
|
2543
2570
|
"type": "string",
|
|
2544
|
-
"aliases": [
|
|
2545
|
-
"token-address",
|
|
2546
|
-
"token"
|
|
2547
|
-
]
|
|
2571
|
+
"aliases": ["token-address", "token", "coin"]
|
|
2548
2572
|
}
|
|
2549
2573
|
},
|
|
2550
2574
|
"pagination": false
|
|
@@ -2577,13 +2601,11 @@
|
|
|
2577
2601
|
"endpoint": "/api/v1beta1/tgm/historical-token-ohlcv",
|
|
2578
2602
|
"description": "Historical token OHLCV candles",
|
|
2579
2603
|
"options": {
|
|
2580
|
-
"token
|
|
2604
|
+
"token": {
|
|
2581
2605
|
"required": true,
|
|
2582
2606
|
"description": "Token address or Hyperliquid asset symbol",
|
|
2583
2607
|
"type": "string",
|
|
2584
|
-
"aliases": [
|
|
2585
|
-
"token"
|
|
2586
|
-
]
|
|
2608
|
+
"aliases": ["token-address", "symbol"]
|
|
2587
2609
|
},
|
|
2588
2610
|
"chain": {
|
|
2589
2611
|
"type": "string",
|
|
@@ -2603,8 +2625,9 @@
|
|
|
2603
2625
|
"description": "Exact Hyperliquid cutoff timestamp; exactly one of --as-of-date or --as-of-ts is required",
|
|
2604
2626
|
"type": "string"
|
|
2605
2627
|
},
|
|
2606
|
-
"
|
|
2628
|
+
"interval": {
|
|
2607
2629
|
"type": "string",
|
|
2630
|
+
"aliases": ["timeframe"],
|
|
2608
2631
|
"required": true,
|
|
2609
2632
|
"enum": [
|
|
2610
2633
|
"5m",
|
|
@@ -2649,12 +2672,12 @@
|
|
|
2649
2672
|
"endpoint": "/api/v1/tgm/historical-dex-trades",
|
|
2650
2673
|
"description": "Historical DEX trades for a token at a point in time",
|
|
2651
2674
|
"options": {
|
|
2652
|
-
"token
|
|
2675
|
+
"token": {
|
|
2653
2676
|
"required": true,
|
|
2654
2677
|
"description": "Token address",
|
|
2655
2678
|
"type": "string",
|
|
2656
2679
|
"aliases": [
|
|
2657
|
-
"token"
|
|
2680
|
+
"token-address"
|
|
2658
2681
|
]
|
|
2659
2682
|
},
|
|
2660
2683
|
"from-date": {
|
|
@@ -2694,12 +2717,12 @@
|
|
|
2694
2717
|
"endpoint": "/api/v1/tgm/historical-pnl-leaderboard",
|
|
2695
2718
|
"description": "Historical PnL leaderboard for a token",
|
|
2696
2719
|
"options": {
|
|
2697
|
-
"token
|
|
2720
|
+
"token": {
|
|
2698
2721
|
"required": true,
|
|
2699
2722
|
"description": "Token address",
|
|
2700
2723
|
"type": "string",
|
|
2701
2724
|
"aliases": [
|
|
2702
|
-
"token"
|
|
2725
|
+
"token-address"
|
|
2703
2726
|
]
|
|
2704
2727
|
},
|
|
2705
2728
|
"from-date": {
|
|
@@ -2739,12 +2762,12 @@
|
|
|
2739
2762
|
"endpoint": "/api/v1/tgm/historical-token-flow-summary",
|
|
2740
2763
|
"description": "Historical token flow summary (no pagination; whale, public figure, top PnL and exchange segments start 2025-03-11)",
|
|
2741
2764
|
"options": {
|
|
2742
|
-
"token
|
|
2765
|
+
"token": {
|
|
2743
2766
|
"required": true,
|
|
2744
2767
|
"description": "Token address",
|
|
2745
2768
|
"type": "string",
|
|
2746
2769
|
"aliases": [
|
|
2747
|
-
"token"
|
|
2770
|
+
"token-address"
|
|
2748
2771
|
]
|
|
2749
2772
|
},
|
|
2750
2773
|
"from-date": {
|
|
@@ -2771,12 +2794,12 @@
|
|
|
2771
2794
|
"endpoint": "/api/v1/tgm/historical-token-quant-scores",
|
|
2772
2795
|
"description": "Historical token quantitative scores at a snapshot date",
|
|
2773
2796
|
"options": {
|
|
2774
|
-
"token
|
|
2797
|
+
"token": {
|
|
2775
2798
|
"required": true,
|
|
2776
2799
|
"description": "Token address",
|
|
2777
2800
|
"type": "string",
|
|
2778
2801
|
"aliases": [
|
|
2779
|
-
"token"
|
|
2802
|
+
"token-address"
|
|
2780
2803
|
]
|
|
2781
2804
|
},
|
|
2782
2805
|
"as-of-date": {
|
|
@@ -2797,12 +2820,12 @@
|
|
|
2797
2820
|
"endpoint": "/api/v1/tgm/historical-top-holders",
|
|
2798
2821
|
"description": "Historical top holders of a token at a snapshot date",
|
|
2799
2822
|
"options": {
|
|
2800
|
-
"token
|
|
2823
|
+
"token": {
|
|
2801
2824
|
"required": true,
|
|
2802
2825
|
"description": "Token address",
|
|
2803
2826
|
"type": "string",
|
|
2804
2827
|
"aliases": [
|
|
2805
|
-
"token"
|
|
2828
|
+
"token-address"
|
|
2806
2829
|
]
|
|
2807
2830
|
},
|
|
2808
2831
|
"as-of-date": {
|
|
@@ -2836,12 +2859,12 @@
|
|
|
2836
2859
|
"endpoint": "/api/v1/tgm/historical-who-bought-sold",
|
|
2837
2860
|
"description": "Historical buyers/sellers of a token",
|
|
2838
2861
|
"options": {
|
|
2839
|
-
"token
|
|
2862
|
+
"token": {
|
|
2840
2863
|
"required": true,
|
|
2841
2864
|
"description": "Token address",
|
|
2842
2865
|
"type": "string",
|
|
2843
2866
|
"aliases": [
|
|
2844
|
-
"token"
|
|
2867
|
+
"token-address"
|
|
2845
2868
|
]
|
|
2846
2869
|
},
|
|
2847
2870
|
"from-date": {
|
|
@@ -2905,7 +2928,8 @@
|
|
|
2905
2928
|
},
|
|
2906
2929
|
"chain": {
|
|
2907
2930
|
"type": "string",
|
|
2908
|
-
"description": "Single chain; --chains takes precedence"
|
|
2931
|
+
"description": "Single chain; --chains takes precedence",
|
|
2932
|
+
"default": "solana"
|
|
2909
2933
|
}
|
|
2910
2934
|
}
|
|
2911
2935
|
},
|
|
@@ -2913,9 +2937,10 @@
|
|
|
2913
2937
|
"endpoint": "/api/v1beta1/token-screener/historical",
|
|
2914
2938
|
"description": "Historical token screener over a trailing window",
|
|
2915
2939
|
"options": {
|
|
2916
|
-
"
|
|
2940
|
+
"days": {
|
|
2917
2941
|
"required": true,
|
|
2918
2942
|
"type": "number",
|
|
2943
|
+
"aliases": ["timeframe-days"],
|
|
2919
2944
|
"description": "Trailing window size in days"
|
|
2920
2945
|
},
|
|
2921
2946
|
"to-date": {
|
|
@@ -2946,7 +2971,8 @@
|
|
|
2946
2971
|
},
|
|
2947
2972
|
"chain": {
|
|
2948
2973
|
"type": "string",
|
|
2949
|
-
"description": "Single chain; --chains takes precedence"
|
|
2974
|
+
"description": "Single chain; --chains takes precedence",
|
|
2975
|
+
"default": "solana"
|
|
2950
2976
|
}
|
|
2951
2977
|
}
|
|
2952
2978
|
},
|
|
@@ -3040,6 +3066,37 @@
|
|
|
3040
3066
|
"description"
|
|
3041
3067
|
],
|
|
3042
3068
|
"options": {
|
|
3069
|
+
"token": {
|
|
3070
|
+
"type": "string",
|
|
3071
|
+
"aliases": [
|
|
3072
|
+
"token-address"
|
|
3073
|
+
],
|
|
3074
|
+
"description": "Only alerts that include or exclude this token address"
|
|
3075
|
+
},
|
|
3076
|
+
"type": {
|
|
3077
|
+
"type": "string",
|
|
3078
|
+
"description": "Only alerts of this type (sm-token-flows, common-token-transfer)"
|
|
3079
|
+
},
|
|
3080
|
+
"enabled": {
|
|
3081
|
+
"type": "boolean",
|
|
3082
|
+
"description": "Only enabled alerts. Cannot be combined with --disabled"
|
|
3083
|
+
},
|
|
3084
|
+
"disabled": {
|
|
3085
|
+
"type": "boolean",
|
|
3086
|
+
"description": "Only disabled alerts. Cannot be combined with --enabled"
|
|
3087
|
+
},
|
|
3088
|
+
"chain": {
|
|
3089
|
+
"type": "string",
|
|
3090
|
+
"description": "Only alerts that watch this chain (alerts on all chains also match)"
|
|
3091
|
+
},
|
|
3092
|
+
"limit": {
|
|
3093
|
+
"type": "number",
|
|
3094
|
+
"description": "Max results (non-negative integer)"
|
|
3095
|
+
},
|
|
3096
|
+
"offset": {
|
|
3097
|
+
"type": "number",
|
|
3098
|
+
"description": "Skip the first N results (non-negative integer)"
|
|
3099
|
+
},
|
|
3043
3100
|
"reveal": {
|
|
3044
3101
|
"type": "boolean",
|
|
3045
3102
|
"description": "Show full channel webhook URLs and webhook signing secrets (redacted by default)"
|
|
@@ -3059,12 +3116,172 @@
|
|
|
3059
3116
|
"type": {
|
|
3060
3117
|
"type": "string",
|
|
3061
3118
|
"required": true,
|
|
3062
|
-
"
|
|
3119
|
+
"enum": [
|
|
3120
|
+
"sm-token-flows",
|
|
3121
|
+
"common-token-transfer"
|
|
3122
|
+
],
|
|
3123
|
+
"description": "Alert type: sm-token-flows or common-token-transfer"
|
|
3063
3124
|
},
|
|
3064
3125
|
"chains": {
|
|
3065
3126
|
"type": "string",
|
|
3066
3127
|
"description": "Comma-separated chains (e.g. ethereum,solana). Merged into data."
|
|
3067
3128
|
},
|
|
3129
|
+
"inflow-1h-min": {
|
|
3130
|
+
"type": "number",
|
|
3131
|
+
"description": "sm-token-flows: Minimum smart money inflow over the last hour, in USD"
|
|
3132
|
+
},
|
|
3133
|
+
"inflow-1h-max": {
|
|
3134
|
+
"type": "number",
|
|
3135
|
+
"description": "sm-token-flows: Maximum smart money inflow over the last hour, in USD"
|
|
3136
|
+
},
|
|
3137
|
+
"inflow-1d-min": {
|
|
3138
|
+
"type": "number",
|
|
3139
|
+
"description": "sm-token-flows: Minimum smart money inflow over the last day, in USD"
|
|
3140
|
+
},
|
|
3141
|
+
"inflow-1d-max": {
|
|
3142
|
+
"type": "number",
|
|
3143
|
+
"description": "sm-token-flows: Maximum smart money inflow over the last day, in USD"
|
|
3144
|
+
},
|
|
3145
|
+
"inflow-7d-min": {
|
|
3146
|
+
"type": "number",
|
|
3147
|
+
"description": "sm-token-flows: Minimum smart money inflow over the last 7 days, in USD"
|
|
3148
|
+
},
|
|
3149
|
+
"inflow-7d-max": {
|
|
3150
|
+
"type": "number",
|
|
3151
|
+
"description": "sm-token-flows: Maximum smart money inflow over the last 7 days, in USD"
|
|
3152
|
+
},
|
|
3153
|
+
"outflow-1h-min": {
|
|
3154
|
+
"type": "number",
|
|
3155
|
+
"description": "sm-token-flows: Minimum smart money outflow over the last hour, in USD"
|
|
3156
|
+
},
|
|
3157
|
+
"outflow-1h-max": {
|
|
3158
|
+
"type": "number",
|
|
3159
|
+
"description": "sm-token-flows: Maximum smart money outflow over the last hour, in USD"
|
|
3160
|
+
},
|
|
3161
|
+
"outflow-1d-min": {
|
|
3162
|
+
"type": "number",
|
|
3163
|
+
"description": "sm-token-flows: Minimum smart money outflow over the last day, in USD"
|
|
3164
|
+
},
|
|
3165
|
+
"outflow-1d-max": {
|
|
3166
|
+
"type": "number",
|
|
3167
|
+
"description": "sm-token-flows: Maximum smart money outflow over the last day, in USD"
|
|
3168
|
+
},
|
|
3169
|
+
"outflow-7d-min": {
|
|
3170
|
+
"type": "number",
|
|
3171
|
+
"description": "sm-token-flows: Minimum smart money outflow over the last 7 days, in USD"
|
|
3172
|
+
},
|
|
3173
|
+
"outflow-7d-max": {
|
|
3174
|
+
"type": "number",
|
|
3175
|
+
"description": "sm-token-flows: Maximum smart money outflow over the last 7 days, in USD"
|
|
3176
|
+
},
|
|
3177
|
+
"netflow-1h-min": {
|
|
3178
|
+
"type": "number",
|
|
3179
|
+
"description": "sm-token-flows: Minimum smart money netflow over the last hour, in USD"
|
|
3180
|
+
},
|
|
3181
|
+
"netflow-1h-max": {
|
|
3182
|
+
"type": "number",
|
|
3183
|
+
"description": "sm-token-flows: Maximum smart money netflow over the last hour, in USD"
|
|
3184
|
+
},
|
|
3185
|
+
"netflow-1d-min": {
|
|
3186
|
+
"type": "number",
|
|
3187
|
+
"description": "sm-token-flows: Minimum smart money netflow over the last day, in USD"
|
|
3188
|
+
},
|
|
3189
|
+
"netflow-1d-max": {
|
|
3190
|
+
"type": "number",
|
|
3191
|
+
"description": "sm-token-flows: Maximum smart money netflow over the last day, in USD"
|
|
3192
|
+
},
|
|
3193
|
+
"netflow-7d-min": {
|
|
3194
|
+
"type": "number",
|
|
3195
|
+
"description": "sm-token-flows: Minimum smart money netflow over the last 7 days, in USD"
|
|
3196
|
+
},
|
|
3197
|
+
"netflow-7d-max": {
|
|
3198
|
+
"type": "number",
|
|
3199
|
+
"description": "sm-token-flows: Maximum smart money netflow over the last 7 days, in USD"
|
|
3200
|
+
},
|
|
3201
|
+
"token": {
|
|
3202
|
+
"type": "string",
|
|
3203
|
+
"repeatable": true,
|
|
3204
|
+
"description": "sm-token-flows, common-token-transfer: Only this token, as address:chain"
|
|
3205
|
+
},
|
|
3206
|
+
"exclude-token": {
|
|
3207
|
+
"type": "string",
|
|
3208
|
+
"repeatable": true,
|
|
3209
|
+
"description": "sm-token-flows, common-token-transfer: Exclude this token, as address:chain"
|
|
3210
|
+
},
|
|
3211
|
+
"token-sector": {
|
|
3212
|
+
"type": "string",
|
|
3213
|
+
"repeatable": true,
|
|
3214
|
+
"description": "sm-token-flows, common-token-transfer: Only tokens in this sector"
|
|
3215
|
+
},
|
|
3216
|
+
"exclude-token-sector": {
|
|
3217
|
+
"type": "string",
|
|
3218
|
+
"repeatable": true,
|
|
3219
|
+
"description": "sm-token-flows, common-token-transfer: Exclude tokens in this sector"
|
|
3220
|
+
},
|
|
3221
|
+
"token-age-min": {
|
|
3222
|
+
"type": "number",
|
|
3223
|
+
"description": "common-token-transfer: Minimum token age, in days"
|
|
3224
|
+
},
|
|
3225
|
+
"token-age-max": {
|
|
3226
|
+
"type": "number",
|
|
3227
|
+
"description": "sm-token-flows, common-token-transfer: Maximum token age, in days"
|
|
3228
|
+
},
|
|
3229
|
+
"market-cap-min": {
|
|
3230
|
+
"type": "number",
|
|
3231
|
+
"description": "sm-token-flows, common-token-transfer: Minimum token market cap, in USD"
|
|
3232
|
+
},
|
|
3233
|
+
"market-cap-max": {
|
|
3234
|
+
"type": "number",
|
|
3235
|
+
"description": "sm-token-flows, common-token-transfer: Maximum token market cap, in USD"
|
|
3236
|
+
},
|
|
3237
|
+
"fdv-min": {
|
|
3238
|
+
"type": "number",
|
|
3239
|
+
"description": "sm-token-flows: Minimum token fully diluted valuation, in USD"
|
|
3240
|
+
},
|
|
3241
|
+
"fdv-max": {
|
|
3242
|
+
"type": "number",
|
|
3243
|
+
"description": "sm-token-flows: Maximum token fully diluted valuation, in USD"
|
|
3244
|
+
},
|
|
3245
|
+
"events": {
|
|
3246
|
+
"type": "string",
|
|
3247
|
+
"description": "common-token-transfer: Comma-separated event types: buy, sell, swap, send, receive"
|
|
3248
|
+
},
|
|
3249
|
+
"usd-min": {
|
|
3250
|
+
"type": "number",
|
|
3251
|
+
"description": "common-token-transfer: Minimum transfer value, in USD"
|
|
3252
|
+
},
|
|
3253
|
+
"usd-max": {
|
|
3254
|
+
"type": "number",
|
|
3255
|
+
"description": "common-token-transfer: Maximum transfer value, in USD"
|
|
3256
|
+
},
|
|
3257
|
+
"token-amount-min": {
|
|
3258
|
+
"type": "number",
|
|
3259
|
+
"description": "common-token-transfer: Minimum token amount transferred"
|
|
3260
|
+
},
|
|
3261
|
+
"token-amount-max": {
|
|
3262
|
+
"type": "number",
|
|
3263
|
+
"description": "common-token-transfer: Maximum token amount transferred"
|
|
3264
|
+
},
|
|
3265
|
+
"subject": {
|
|
3266
|
+
"type": "string",
|
|
3267
|
+
"repeatable": true,
|
|
3268
|
+
"description": "common-token-transfer: Only transfers by this subject, as type:value (address, entity, label, custom-label), e.g. label:\"Centralized Exchange\""
|
|
3269
|
+
},
|
|
3270
|
+
"counterparty": {
|
|
3271
|
+
"type": "string",
|
|
3272
|
+
"repeatable": true,
|
|
3273
|
+
"description": "common-token-transfer: Only transfers with this counterparty, as type:value. Requires --subject"
|
|
3274
|
+
},
|
|
3275
|
+
"exclude-from": {
|
|
3276
|
+
"type": "string",
|
|
3277
|
+
"repeatable": true,
|
|
3278
|
+
"description": "common-token-transfer: Exclude transfers sent from this subject, as type:value"
|
|
3279
|
+
},
|
|
3280
|
+
"exclude-to": {
|
|
3281
|
+
"type": "string",
|
|
3282
|
+
"repeatable": true,
|
|
3283
|
+
"description": "common-token-transfer: Exclude transfers sent to this subject, as type:value"
|
|
3284
|
+
},
|
|
3068
3285
|
"telegram": {
|
|
3069
3286
|
"type": "string",
|
|
3070
3287
|
"description": "Telegram chat ID for notifications"
|
|
@@ -3118,12 +3335,172 @@
|
|
|
3118
3335
|
},
|
|
3119
3336
|
"type": {
|
|
3120
3337
|
"type": "string",
|
|
3121
|
-
"
|
|
3338
|
+
"enum": [
|
|
3339
|
+
"sm-token-flows",
|
|
3340
|
+
"common-token-transfer"
|
|
3341
|
+
],
|
|
3342
|
+
"description": "Alert type: sm-token-flows or common-token-transfer. Must match the alert's current type; it cannot be changed"
|
|
3122
3343
|
},
|
|
3123
3344
|
"chains": {
|
|
3124
3345
|
"type": "string",
|
|
3125
3346
|
"description": "Comma-separated chains. Merged into data."
|
|
3126
3347
|
},
|
|
3348
|
+
"inflow-1h-min": {
|
|
3349
|
+
"type": "number",
|
|
3350
|
+
"description": "sm-token-flows: Minimum smart money inflow over the last hour, in USD"
|
|
3351
|
+
},
|
|
3352
|
+
"inflow-1h-max": {
|
|
3353
|
+
"type": "number",
|
|
3354
|
+
"description": "sm-token-flows: Maximum smart money inflow over the last hour, in USD"
|
|
3355
|
+
},
|
|
3356
|
+
"inflow-1d-min": {
|
|
3357
|
+
"type": "number",
|
|
3358
|
+
"description": "sm-token-flows: Minimum smart money inflow over the last day, in USD"
|
|
3359
|
+
},
|
|
3360
|
+
"inflow-1d-max": {
|
|
3361
|
+
"type": "number",
|
|
3362
|
+
"description": "sm-token-flows: Maximum smart money inflow over the last day, in USD"
|
|
3363
|
+
},
|
|
3364
|
+
"inflow-7d-min": {
|
|
3365
|
+
"type": "number",
|
|
3366
|
+
"description": "sm-token-flows: Minimum smart money inflow over the last 7 days, in USD"
|
|
3367
|
+
},
|
|
3368
|
+
"inflow-7d-max": {
|
|
3369
|
+
"type": "number",
|
|
3370
|
+
"description": "sm-token-flows: Maximum smart money inflow over the last 7 days, in USD"
|
|
3371
|
+
},
|
|
3372
|
+
"outflow-1h-min": {
|
|
3373
|
+
"type": "number",
|
|
3374
|
+
"description": "sm-token-flows: Minimum smart money outflow over the last hour, in USD"
|
|
3375
|
+
},
|
|
3376
|
+
"outflow-1h-max": {
|
|
3377
|
+
"type": "number",
|
|
3378
|
+
"description": "sm-token-flows: Maximum smart money outflow over the last hour, in USD"
|
|
3379
|
+
},
|
|
3380
|
+
"outflow-1d-min": {
|
|
3381
|
+
"type": "number",
|
|
3382
|
+
"description": "sm-token-flows: Minimum smart money outflow over the last day, in USD"
|
|
3383
|
+
},
|
|
3384
|
+
"outflow-1d-max": {
|
|
3385
|
+
"type": "number",
|
|
3386
|
+
"description": "sm-token-flows: Maximum smart money outflow over the last day, in USD"
|
|
3387
|
+
},
|
|
3388
|
+
"outflow-7d-min": {
|
|
3389
|
+
"type": "number",
|
|
3390
|
+
"description": "sm-token-flows: Minimum smart money outflow over the last 7 days, in USD"
|
|
3391
|
+
},
|
|
3392
|
+
"outflow-7d-max": {
|
|
3393
|
+
"type": "number",
|
|
3394
|
+
"description": "sm-token-flows: Maximum smart money outflow over the last 7 days, in USD"
|
|
3395
|
+
},
|
|
3396
|
+
"netflow-1h-min": {
|
|
3397
|
+
"type": "number",
|
|
3398
|
+
"description": "sm-token-flows: Minimum smart money netflow over the last hour, in USD"
|
|
3399
|
+
},
|
|
3400
|
+
"netflow-1h-max": {
|
|
3401
|
+
"type": "number",
|
|
3402
|
+
"description": "sm-token-flows: Maximum smart money netflow over the last hour, in USD"
|
|
3403
|
+
},
|
|
3404
|
+
"netflow-1d-min": {
|
|
3405
|
+
"type": "number",
|
|
3406
|
+
"description": "sm-token-flows: Minimum smart money netflow over the last day, in USD"
|
|
3407
|
+
},
|
|
3408
|
+
"netflow-1d-max": {
|
|
3409
|
+
"type": "number",
|
|
3410
|
+
"description": "sm-token-flows: Maximum smart money netflow over the last day, in USD"
|
|
3411
|
+
},
|
|
3412
|
+
"netflow-7d-min": {
|
|
3413
|
+
"type": "number",
|
|
3414
|
+
"description": "sm-token-flows: Minimum smart money netflow over the last 7 days, in USD"
|
|
3415
|
+
},
|
|
3416
|
+
"netflow-7d-max": {
|
|
3417
|
+
"type": "number",
|
|
3418
|
+
"description": "sm-token-flows: Maximum smart money netflow over the last 7 days, in USD"
|
|
3419
|
+
},
|
|
3420
|
+
"token": {
|
|
3421
|
+
"type": "string",
|
|
3422
|
+
"repeatable": true,
|
|
3423
|
+
"description": "sm-token-flows, common-token-transfer: Only this token, as address:chain"
|
|
3424
|
+
},
|
|
3425
|
+
"exclude-token": {
|
|
3426
|
+
"type": "string",
|
|
3427
|
+
"repeatable": true,
|
|
3428
|
+
"description": "sm-token-flows, common-token-transfer: Exclude this token, as address:chain"
|
|
3429
|
+
},
|
|
3430
|
+
"token-sector": {
|
|
3431
|
+
"type": "string",
|
|
3432
|
+
"repeatable": true,
|
|
3433
|
+
"description": "sm-token-flows, common-token-transfer: Only tokens in this sector"
|
|
3434
|
+
},
|
|
3435
|
+
"exclude-token-sector": {
|
|
3436
|
+
"type": "string",
|
|
3437
|
+
"repeatable": true,
|
|
3438
|
+
"description": "sm-token-flows, common-token-transfer: Exclude tokens in this sector"
|
|
3439
|
+
},
|
|
3440
|
+
"token-age-min": {
|
|
3441
|
+
"type": "number",
|
|
3442
|
+
"description": "common-token-transfer: Minimum token age, in days"
|
|
3443
|
+
},
|
|
3444
|
+
"token-age-max": {
|
|
3445
|
+
"type": "number",
|
|
3446
|
+
"description": "sm-token-flows, common-token-transfer: Maximum token age, in days"
|
|
3447
|
+
},
|
|
3448
|
+
"market-cap-min": {
|
|
3449
|
+
"type": "number",
|
|
3450
|
+
"description": "sm-token-flows, common-token-transfer: Minimum token market cap, in USD"
|
|
3451
|
+
},
|
|
3452
|
+
"market-cap-max": {
|
|
3453
|
+
"type": "number",
|
|
3454
|
+
"description": "sm-token-flows, common-token-transfer: Maximum token market cap, in USD"
|
|
3455
|
+
},
|
|
3456
|
+
"fdv-min": {
|
|
3457
|
+
"type": "number",
|
|
3458
|
+
"description": "sm-token-flows: Minimum token fully diluted valuation, in USD"
|
|
3459
|
+
},
|
|
3460
|
+
"fdv-max": {
|
|
3461
|
+
"type": "number",
|
|
3462
|
+
"description": "sm-token-flows: Maximum token fully diluted valuation, in USD"
|
|
3463
|
+
},
|
|
3464
|
+
"events": {
|
|
3465
|
+
"type": "string",
|
|
3466
|
+
"description": "common-token-transfer: Comma-separated event types: buy, sell, swap, send, receive"
|
|
3467
|
+
},
|
|
3468
|
+
"usd-min": {
|
|
3469
|
+
"type": "number",
|
|
3470
|
+
"description": "common-token-transfer: Minimum transfer value, in USD"
|
|
3471
|
+
},
|
|
3472
|
+
"usd-max": {
|
|
3473
|
+
"type": "number",
|
|
3474
|
+
"description": "common-token-transfer: Maximum transfer value, in USD"
|
|
3475
|
+
},
|
|
3476
|
+
"token-amount-min": {
|
|
3477
|
+
"type": "number",
|
|
3478
|
+
"description": "common-token-transfer: Minimum token amount transferred"
|
|
3479
|
+
},
|
|
3480
|
+
"token-amount-max": {
|
|
3481
|
+
"type": "number",
|
|
3482
|
+
"description": "common-token-transfer: Maximum token amount transferred"
|
|
3483
|
+
},
|
|
3484
|
+
"subject": {
|
|
3485
|
+
"type": "string",
|
|
3486
|
+
"repeatable": true,
|
|
3487
|
+
"description": "common-token-transfer: Only transfers by this subject, as type:value (address, entity, label, custom-label), e.g. label:\"Centralized Exchange\""
|
|
3488
|
+
},
|
|
3489
|
+
"counterparty": {
|
|
3490
|
+
"type": "string",
|
|
3491
|
+
"repeatable": true,
|
|
3492
|
+
"description": "common-token-transfer: Only transfers with this counterparty, as type:value. Requires --subject"
|
|
3493
|
+
},
|
|
3494
|
+
"exclude-from": {
|
|
3495
|
+
"type": "string",
|
|
3496
|
+
"repeatable": true,
|
|
3497
|
+
"description": "common-token-transfer: Exclude transfers sent from this subject, as type:value"
|
|
3498
|
+
},
|
|
3499
|
+
"exclude-to": {
|
|
3500
|
+
"type": "string",
|
|
3501
|
+
"repeatable": true,
|
|
3502
|
+
"description": "common-token-transfer: Exclude transfers sent to this subject, as type:value"
|
|
3503
|
+
},
|
|
3127
3504
|
"telegram": {
|
|
3128
3505
|
"type": "string",
|
|
3129
3506
|
"description": "Telegram chat ID"
|
|
@@ -3326,7 +3703,7 @@
|
|
|
3326
3703
|
"aliases": [
|
|
3327
3704
|
"y"
|
|
3328
3705
|
],
|
|
3329
|
-
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed. Declining the prompt exits 1 with nothing signed."
|
|
3706
|
+
"description": "Skip the confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; when stdin is not a terminal (agents, CI, pipes) the command proceeds unprompted whether or not this is passed, unless NANSEN_REQUIRE_CONFIRM=1 is set, in which case this (or NANSEN_YES=1) is required and a run without it fails with CONFIRMATION_REQUIRED before any request or signature. Declining the prompt exits 1 with nothing signed."
|
|
3330
3707
|
}
|
|
3331
3708
|
},
|
|
3332
3709
|
"examples": [
|
|
@@ -3420,7 +3797,7 @@
|
|
|
3420
3797
|
"aliases": [
|
|
3421
3798
|
"y"
|
|
3422
3799
|
],
|
|
3423
|
-
"description": "Skip the create confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; non-TTY automation proceeds unprompted. Declining exits 1 before API requests or signing."
|
|
3800
|
+
"description": "Skip the create confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; non-TTY automation proceeds unprompted unless NANSEN_REQUIRE_CONFIRM=1 is set, which makes this (or NANSEN_YES=1) required there (CONFIRMATION_REQUIRED). Declining exits 1 before API requests or signing."
|
|
3424
3801
|
}
|
|
3425
3802
|
},
|
|
3426
3803
|
"chains": [
|
|
@@ -3431,14 +3808,15 @@
|
|
|
3431
3808
|
]
|
|
3432
3809
|
},
|
|
3433
3810
|
"list": {
|
|
3434
|
-
"description": "List your limit orders. Explicitly blank --wallet, --limit, --offset, --dir, and --
|
|
3811
|
+
"description": "List your limit orders. Explicitly blank --wallet, --limit, --offset, --dir, and --token values are rejected.",
|
|
3435
3812
|
"options": {
|
|
3436
3813
|
"state": {
|
|
3437
3814
|
"type": "string",
|
|
3438
3815
|
"description": "Filter by state (active, past)"
|
|
3439
3816
|
},
|
|
3440
|
-
"
|
|
3817
|
+
"token": {
|
|
3441
3818
|
"type": "string",
|
|
3819
|
+
"aliases": ["mint"],
|
|
3442
3820
|
"description": "Filter by token mint address"
|
|
3443
3821
|
},
|
|
3444
3822
|
"limit": {
|
|
@@ -3490,7 +3868,7 @@
|
|
|
3490
3868
|
"aliases": [
|
|
3491
3869
|
"y"
|
|
3492
3870
|
],
|
|
3493
|
-
"description": "Skip the cancel confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; non-TTY automation proceeds unprompted. Declining exits 1 before API requests or signing."
|
|
3871
|
+
"description": "Skip the cancel confirmation prompt (alias: -y, or set NANSEN_YES=1). The prompt is only shown when stdin is an interactive terminal; non-TTY automation proceeds unprompted unless NANSEN_REQUIRE_CONFIRM=1 is set, which makes this (or NANSEN_YES=1) required there (CONFIRMATION_REQUIRED). Declining exits 1 before API requests or signing."
|
|
3494
3872
|
}
|
|
3495
3873
|
},
|
|
3496
3874
|
"chains": [
|
|
@@ -3599,7 +3977,7 @@
|
|
|
3599
3977
|
"to": {
|
|
3600
3978
|
"type": "string",
|
|
3601
3979
|
"required": true,
|
|
3602
|
-
"description": "Recipient address"
|
|
3980
|
+
"description": "Recipient wallet address. A mixed-case EVM address must have a valid EIP-55 checksum. Refused: the token's own contract, and on Solana any account that is not a wallet (token account, mint, program)"
|
|
3603
3981
|
},
|
|
3604
3982
|
"chain": {
|
|
3605
3983
|
"type": "string",
|
|
@@ -3613,7 +3991,7 @@
|
|
|
3613
3991
|
},
|
|
3614
3992
|
"max": {
|
|
3615
3993
|
"type": "boolean",
|
|
3616
|
-
"description": "Send the entire spendable balance instead of --amount"
|
|
3994
|
+
"description": "Send the entire spendable balance instead of --amount. Cannot be combined with a numeric --amount"
|
|
3617
3995
|
},
|
|
3618
3996
|
"token": {
|
|
3619
3997
|
"type": "string",
|
|
@@ -3748,7 +4126,7 @@
|
|
|
3748
4126
|
]
|
|
3749
4127
|
},
|
|
3750
4128
|
"web": {
|
|
3751
|
-
"description": "Web search
|
|
4129
|
+
"description": "Web search commands",
|
|
3752
4130
|
"subcommands": {
|
|
3753
4131
|
"search": {
|
|
3754
4132
|
"endpoint": "/api/v1/search/web-search",
|
|
@@ -3768,24 +4146,6 @@
|
|
|
3768
4146
|
"nansen web search --query \"btc\" --query \"eth\"",
|
|
3769
4147
|
"nansen web search \"btc\" --query \"eth\" # positional + flag merged"
|
|
3770
4148
|
]
|
|
3771
|
-
},
|
|
3772
|
-
"fetch": {
|
|
3773
|
-
"endpoint": "/api/v1/search/web-fetch",
|
|
3774
|
-
"description": "Fetch and analyze content from one or more URLs using AI",
|
|
3775
|
-
"options": {
|
|
3776
|
-
"url": {
|
|
3777
|
-
"description": "URL to fetch (can be repeated for multiple URLs)"
|
|
3778
|
-
},
|
|
3779
|
-
"question": {
|
|
3780
|
-
"description": "Question to answer about the URL content",
|
|
3781
|
-
"required": true
|
|
3782
|
-
}
|
|
3783
|
-
},
|
|
3784
|
-
"examples": [
|
|
3785
|
-
"nansen web fetch https://nansen.ai --question \"What does Nansen do?\"",
|
|
3786
|
-
"nansen web fetch --url https://a.com --url https://b.com --question \"Compare these\"",
|
|
3787
|
-
"nansen web fetch https://a.com --url https://b.com --question \"Diff?\" # positional + flag merged"
|
|
3788
|
-
]
|
|
3789
4149
|
}
|
|
3790
4150
|
}
|
|
3791
4151
|
},
|
|
@@ -4009,6 +4369,53 @@
|
|
|
4009
4369
|
]
|
|
4010
4370
|
}
|
|
4011
4371
|
}
|
|
4372
|
+
},
|
|
4373
|
+
"help": {
|
|
4374
|
+
"description": "Show the top-level help, one help topic, or a command's help. \"nansen help <command> [subcommand]\" prints the same as \"nansen <command> [subcommand] --help\". Prints local text only: no network call, no credits.",
|
|
4375
|
+
"subcommands": {
|
|
4376
|
+
"auth": {
|
|
4377
|
+
"description": "Sign-in options, API keys, browser sessions and how auto-payment relates to authentication",
|
|
4378
|
+
"examples": [
|
|
4379
|
+
"nansen help auth"
|
|
4380
|
+
]
|
|
4381
|
+
},
|
|
4382
|
+
"options": {
|
|
4383
|
+
"description": "Global options: paging, output format, retries, caching and the --debug request trace",
|
|
4384
|
+
"examples": [
|
|
4385
|
+
"nansen help options"
|
|
4386
|
+
]
|
|
4387
|
+
},
|
|
4388
|
+
"examples": {
|
|
4389
|
+
"description": "Example commands for trading, the Hyperliquid bridge and research",
|
|
4390
|
+
"examples": [
|
|
4391
|
+
"nansen help examples"
|
|
4392
|
+
]
|
|
4393
|
+
},
|
|
4394
|
+
"chains": {
|
|
4395
|
+
"description": "Chains accepted by research, trade and the Hyperliquid bridge",
|
|
4396
|
+
"examples": [
|
|
4397
|
+
"nansen help chains"
|
|
4398
|
+
]
|
|
4399
|
+
},
|
|
4400
|
+
"labels": {
|
|
4401
|
+
"description": "Smart Money labels",
|
|
4402
|
+
"examples": [
|
|
4403
|
+
"nansen help labels"
|
|
4404
|
+
]
|
|
4405
|
+
},
|
|
4406
|
+
"deprecated": {
|
|
4407
|
+
"description": "Deprecated top-level aliases and the commands that replace them",
|
|
4408
|
+
"examples": [
|
|
4409
|
+
"nansen help deprecated"
|
|
4410
|
+
]
|
|
4411
|
+
},
|
|
4412
|
+
"telemetry": {
|
|
4413
|
+
"description": "What anonymous usage telemetry sends, and how to turn it off",
|
|
4414
|
+
"examples": [
|
|
4415
|
+
"nansen help telemetry"
|
|
4416
|
+
]
|
|
4417
|
+
}
|
|
4418
|
+
}
|
|
4012
4419
|
}
|
|
4013
4420
|
},
|
|
4014
4421
|
"globalOptions": {
|
|
@@ -4101,7 +4508,6 @@
|
|
|
4101
4508
|
"neverCached": [
|
|
4102
4509
|
"account",
|
|
4103
4510
|
"web search",
|
|
4104
|
-
"web fetch",
|
|
4105
4511
|
"alerts create",
|
|
4106
4512
|
"alerts update",
|
|
4107
4513
|
"alerts toggle",
|