@fileverse-dev/formulajs 4.4.11-mod-22-patch-4 → 4.4.11-mod-23
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/lib/browser/formula.js +332 -91
- package/lib/browser/formula.min.js +2 -2
- package/lib/browser/formula.min.js.map +1 -1
- package/lib/cjs/index.cjs +118 -54
- package/lib/esm/crypto-constants.mjs +462 -19
- package/lib/esm/index.mjs +118 -54
- package/package.json +1 -1
- package/types/cjs/index.d.cts +3 -3
- package/types/esm/index.d.mts +3 -3
|
@@ -20,7 +20,10 @@ var ERROR_MESSAGES_FLAG = {
|
|
|
20
20
|
INVALID_API_KEY: "_INVALID_KEY",
|
|
21
21
|
RATE_LIMIT: "_RATE_LIMIT_REACHED",
|
|
22
22
|
DEFAULT: "FETCH_ERROR",
|
|
23
|
-
MISSING_KEY: "_MISSING"
|
|
23
|
+
MISSING_KEY: "_MISSING",
|
|
24
|
+
INVALID_CHAIN: "_INVALID_CHAIN",
|
|
25
|
+
INVALID_TYPE: "_INVALID_TYPE",
|
|
26
|
+
INVALID_ADDRESS: "_INVALID_ADDRESS"
|
|
24
27
|
};
|
|
25
28
|
|
|
26
29
|
// src/crypto-constants.js
|
|
@@ -32,7 +35,7 @@ var SERVICE_API_KEY = {
|
|
|
32
35
|
var FUNCTION_LOCALE = [
|
|
33
36
|
{
|
|
34
37
|
LOGO: "https://cdn.prod.website-files.com/65f94dfd53db8b337c808067/68485baa72714ae58f350ce2_bs-logo.png",
|
|
35
|
-
BRAND_COLOR: "#
|
|
38
|
+
BRAND_COLOR: "#f8f8fd",
|
|
36
39
|
BRAND_SECONDARY_COLOR: "#5353D3",
|
|
37
40
|
n: "BLOCKSCOUT",
|
|
38
41
|
t: 20,
|
|
@@ -99,29 +102,42 @@ var FUNCTION_LOCALE = [
|
|
|
99
102
|
BRAND_SECONDARY_COLOR: "#21325B",
|
|
100
103
|
n: "ETHERSCAN",
|
|
101
104
|
t: 20,
|
|
102
|
-
d: "
|
|
103
|
-
a: "
|
|
105
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
106
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
104
107
|
p: [
|
|
105
108
|
{
|
|
106
|
-
name: "
|
|
107
|
-
detail: "The
|
|
109
|
+
name: "type",
|
|
110
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
111
|
+
example: `"all-txns"`,
|
|
112
|
+
require: "m",
|
|
113
|
+
type: "string"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: "chain",
|
|
117
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
118
|
+
example: `"ethereum"`,
|
|
119
|
+
require: "m",
|
|
120
|
+
type: "string"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: "address",
|
|
124
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
108
125
|
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
109
|
-
require: "
|
|
126
|
+
require: "o",
|
|
127
|
+
type: "string"
|
|
110
128
|
},
|
|
111
129
|
{
|
|
112
|
-
name: "
|
|
113
|
-
detail: "
|
|
114
|
-
example: "
|
|
130
|
+
name: "startDate",
|
|
131
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
132
|
+
example: `"1704067200"`,
|
|
115
133
|
require: "o",
|
|
116
|
-
repeat: "n",
|
|
117
134
|
type: "rangenumber"
|
|
118
135
|
},
|
|
119
136
|
{
|
|
120
|
-
name: "
|
|
121
|
-
detail: "
|
|
122
|
-
example: "
|
|
137
|
+
name: "endDate",
|
|
138
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
139
|
+
example: `"1706659200"`,
|
|
123
140
|
require: "o",
|
|
124
|
-
repeat: "n",
|
|
125
141
|
type: "rangenumber"
|
|
126
142
|
}
|
|
127
143
|
]
|
|
@@ -137,10 +153,11 @@ var FUNCTION_LOCALE = [
|
|
|
137
153
|
a: "Dynamically queries blockchain data such as transactions, balances by resolving time ranges to block ranges.",
|
|
138
154
|
p: [
|
|
139
155
|
{
|
|
140
|
-
name: "
|
|
141
|
-
detail: "
|
|
142
|
-
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
143
|
-
require: "m"
|
|
156
|
+
name: "addresses",
|
|
157
|
+
detail: "One or more Ethereum addresses (comma-separated) to query.",
|
|
158
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC,0x000000000000000000000000000000000000dead"`,
|
|
159
|
+
require: "m",
|
|
160
|
+
type: "string"
|
|
144
161
|
},
|
|
145
162
|
{
|
|
146
163
|
name: "categories",
|
|
@@ -171,6 +188,9 @@ var FUNCTION_LOCALE = [
|
|
|
171
188
|
]
|
|
172
189
|
},
|
|
173
190
|
{
|
|
191
|
+
LOGO: "https://files.readme.io/06394e687778e238a6cd43de6e1d7d339043aa50054703f64606369352ef1864-VariantCG-Symbol-Color.png",
|
|
192
|
+
BRAND_COLOR: "#f8fdf8",
|
|
193
|
+
BRAND_SECONDARY_COLOR: "#4bc63d",
|
|
174
194
|
n: "COINGECKO",
|
|
175
195
|
t: 20,
|
|
176
196
|
API_KEY: SERVICE_API_KEY.Coingecko,
|
|
@@ -278,6 +298,429 @@ var FUNCTION_LOCALE = [
|
|
|
278
298
|
type: "range"
|
|
279
299
|
}
|
|
280
300
|
]
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
API_KEY: SERVICE_API_KEY.Etherscan,
|
|
304
|
+
LOGO: "https://app.uniswap.org/favicon.png",
|
|
305
|
+
BRAND_COLOR: "#fef5fc",
|
|
306
|
+
BRAND_SECONDARY_COLOR: "#f50db4",
|
|
307
|
+
n: "UNISWAP",
|
|
308
|
+
t: 20,
|
|
309
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
310
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
311
|
+
p: [
|
|
312
|
+
{
|
|
313
|
+
name: "type",
|
|
314
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
315
|
+
example: `"all-txns"`,
|
|
316
|
+
require: "m",
|
|
317
|
+
type: "string"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
name: "chain",
|
|
321
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
322
|
+
example: `"ethereum"`,
|
|
323
|
+
require: "m",
|
|
324
|
+
type: "string"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: "address",
|
|
328
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
329
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
330
|
+
require: "o",
|
|
331
|
+
type: "string"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
name: "startDate",
|
|
335
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
336
|
+
example: `"1704067200"`,
|
|
337
|
+
require: "o",
|
|
338
|
+
type: "rangenumber"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
name: "endDate",
|
|
342
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
343
|
+
example: `"1706659200"`,
|
|
344
|
+
require: "o",
|
|
345
|
+
type: "rangenumber"
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
API_KEY: SERVICE_API_KEY.Etherscan,
|
|
351
|
+
LOGO: "https://avatars.githubusercontent.com/u/47617460?s=200&v=4",
|
|
352
|
+
BRAND_COLOR: "#f7f7ff",
|
|
353
|
+
BRAND_SECONDARY_COLOR: "#9896ff",
|
|
354
|
+
n: "AAVE",
|
|
355
|
+
t: 20,
|
|
356
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
357
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
358
|
+
p: [
|
|
359
|
+
{
|
|
360
|
+
name: "type",
|
|
361
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
362
|
+
example: `"all-txns"`,
|
|
363
|
+
require: "m",
|
|
364
|
+
type: "string"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
name: "chain",
|
|
368
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
369
|
+
example: `"ethereum"`,
|
|
370
|
+
require: "m",
|
|
371
|
+
type: "string"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
name: "address",
|
|
375
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
376
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
377
|
+
require: "o",
|
|
378
|
+
type: "string"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
name: "startDate",
|
|
382
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
383
|
+
example: `"1704067200"`,
|
|
384
|
+
require: "o",
|
|
385
|
+
type: "rangenumber"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
name: "endDate",
|
|
389
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
390
|
+
example: `"1706659200"`,
|
|
391
|
+
require: "o",
|
|
392
|
+
type: "rangenumber"
|
|
393
|
+
}
|
|
394
|
+
]
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
API_KEY: SERVICE_API_KEY.Etherscan,
|
|
398
|
+
LOGO: "https://www.pendle.finance/uploads/wp-content/uploads/2021/12/cropped-Pendle-Logo-quite-small.png",
|
|
399
|
+
BRAND_COLOR: "#eafffb",
|
|
400
|
+
BRAND_SECONDARY_COLOR: "#47e2c2",
|
|
401
|
+
n: "PENDLE",
|
|
402
|
+
t: 20,
|
|
403
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
404
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
405
|
+
p: [
|
|
406
|
+
{
|
|
407
|
+
name: "type",
|
|
408
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
409
|
+
example: `"all-txns"`,
|
|
410
|
+
require: "m",
|
|
411
|
+
type: "string"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: "chain",
|
|
415
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
416
|
+
example: `"ethereum"`,
|
|
417
|
+
require: "m",
|
|
418
|
+
type: "string"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
name: "address",
|
|
422
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
423
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
424
|
+
require: "o",
|
|
425
|
+
type: "string"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
name: "startDate",
|
|
429
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
430
|
+
example: `"1704067200"`,
|
|
431
|
+
require: "o",
|
|
432
|
+
type: "rangenumber"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
name: "endDate",
|
|
436
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
437
|
+
example: `"1706659200"`,
|
|
438
|
+
require: "o",
|
|
439
|
+
type: "rangenumber"
|
|
440
|
+
}
|
|
441
|
+
]
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
API_KEY: SERVICE_API_KEY.Etherscan,
|
|
445
|
+
LOGO: "https://aerodrome.finance/images/AERO/favicon.ico",
|
|
446
|
+
BRAND_COLOR: "#edf3ff",
|
|
447
|
+
BRAND_SECONDARY_COLOR: "#2966f0",
|
|
448
|
+
n: "AERODROME",
|
|
449
|
+
t: 20,
|
|
450
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
451
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
452
|
+
p: [
|
|
453
|
+
{
|
|
454
|
+
name: "type",
|
|
455
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
456
|
+
example: `"all-txns"`,
|
|
457
|
+
require: "m",
|
|
458
|
+
type: "string"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
name: "chain",
|
|
462
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
463
|
+
example: `"ethereum"`,
|
|
464
|
+
require: "m",
|
|
465
|
+
type: "string"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
name: "address",
|
|
469
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
470
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
471
|
+
require: "o",
|
|
472
|
+
type: "string"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
name: "startDate",
|
|
476
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
477
|
+
example: `"1704067200"`,
|
|
478
|
+
require: "o",
|
|
479
|
+
type: "rangenumber"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
name: "endDate",
|
|
483
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
484
|
+
example: `"1706659200"`,
|
|
485
|
+
require: "o",
|
|
486
|
+
type: "rangenumber"
|
|
487
|
+
}
|
|
488
|
+
]
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
API_KEY: SERVICE_API_KEY.Etherscan,
|
|
492
|
+
LOGO: "https://cdn.prod.website-files.com/6760e87b474d412dfa9a7a68/6760e8ebe8faad5fb985c89a_Frame%201321316795.png",
|
|
493
|
+
BRAND_COLOR: "#f6f4ff",
|
|
494
|
+
BRAND_SECONDARY_COLOR: "#684ff8",
|
|
495
|
+
n: "ARTEMIS",
|
|
496
|
+
t: 20,
|
|
497
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
498
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
499
|
+
p: [
|
|
500
|
+
{
|
|
501
|
+
name: "type",
|
|
502
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
503
|
+
example: `"all-txns"`,
|
|
504
|
+
require: "m",
|
|
505
|
+
type: "string"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
name: "chain",
|
|
509
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
510
|
+
example: `"ethereum"`,
|
|
511
|
+
require: "m",
|
|
512
|
+
type: "string"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
name: "address",
|
|
516
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
517
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
518
|
+
require: "o",
|
|
519
|
+
type: "string"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
name: "startDate",
|
|
523
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
524
|
+
example: `"1704067200"`,
|
|
525
|
+
require: "o",
|
|
526
|
+
type: "rangenumber"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
name: "endDate",
|
|
530
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
531
|
+
example: `"1706659200"`,
|
|
532
|
+
require: "o",
|
|
533
|
+
type: "rangenumber"
|
|
534
|
+
}
|
|
535
|
+
]
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
API_KEY: SERVICE_API_KEY.Etherscan,
|
|
539
|
+
LOGO: "https://aerodrome.finance/images/AERO/favicon.ico",
|
|
540
|
+
BRAND_COLOR: "#effdfb",
|
|
541
|
+
BRAND_SECONDARY_COLOR: "#5eead4",
|
|
542
|
+
n: "KAITO",
|
|
543
|
+
t: 20,
|
|
544
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
545
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
546
|
+
p: [
|
|
547
|
+
{
|
|
548
|
+
name: "type",
|
|
549
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
550
|
+
example: `"all-txns"`,
|
|
551
|
+
require: "m",
|
|
552
|
+
type: "string"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
name: "chain",
|
|
556
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
557
|
+
example: `"ethereum"`,
|
|
558
|
+
require: "m",
|
|
559
|
+
type: "string"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
name: "address",
|
|
563
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
564
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
565
|
+
require: "o",
|
|
566
|
+
type: "string"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
name: "startDate",
|
|
570
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
571
|
+
example: `"1704067200"`,
|
|
572
|
+
require: "o",
|
|
573
|
+
type: "rangenumber"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
name: "endDate",
|
|
577
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
578
|
+
example: `"1706659200"`,
|
|
579
|
+
require: "o",
|
|
580
|
+
type: "rangenumber"
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
API_KEY: SERVICE_API_KEY.Etherscan,
|
|
586
|
+
LOGO: "https://safe-transaction-mainnet.safe.global/static/safe/favicon.png",
|
|
587
|
+
BRAND_COLOR: "#f6f7f6",
|
|
588
|
+
BRAND_SECONDARY_COLOR: "#133629",
|
|
589
|
+
n: "GNOSIS",
|
|
590
|
+
t: 20,
|
|
591
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
592
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
593
|
+
p: [
|
|
594
|
+
{
|
|
595
|
+
name: "type",
|
|
596
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
597
|
+
example: `"all-txns"`,
|
|
598
|
+
require: "m",
|
|
599
|
+
type: "string"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
name: "chain",
|
|
603
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
604
|
+
example: `"ethereum"`,
|
|
605
|
+
require: "m",
|
|
606
|
+
type: "string"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
name: "address",
|
|
610
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
611
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
612
|
+
require: "o",
|
|
613
|
+
type: "string"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
name: "startDate",
|
|
617
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
618
|
+
example: `"1704067200"`,
|
|
619
|
+
require: "o",
|
|
620
|
+
type: "rangenumber"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
name: "endDate",
|
|
624
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
625
|
+
example: `"1706659200"`,
|
|
626
|
+
require: "o",
|
|
627
|
+
type: "rangenumber"
|
|
628
|
+
}
|
|
629
|
+
]
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
API_KEY: SERVICE_API_KEY.Etherscan,
|
|
633
|
+
LOGO: "https://avatars.githubusercontent.com/u/129790008?s=48&v=4",
|
|
634
|
+
BRAND_COLOR: "#f1f7fc",
|
|
635
|
+
BRAND_SECONDARY_COLOR: "#5098d6",
|
|
636
|
+
n: "OTTERSCAN",
|
|
637
|
+
t: 20,
|
|
638
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
639
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
640
|
+
p: [
|
|
641
|
+
{
|
|
642
|
+
name: "type",
|
|
643
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
644
|
+
example: `"all-txns"`,
|
|
645
|
+
require: "m",
|
|
646
|
+
type: "string"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
name: "chain",
|
|
650
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
651
|
+
example: `"ethereum"`,
|
|
652
|
+
require: "m",
|
|
653
|
+
type: "string"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
name: "address",
|
|
657
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
658
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
659
|
+
require: "o",
|
|
660
|
+
type: "string"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
name: "startDate",
|
|
664
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
665
|
+
example: `"1704067200"`,
|
|
666
|
+
require: "o",
|
|
667
|
+
type: "rangenumber"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
name: "endDate",
|
|
671
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
672
|
+
example: `"1706659200"`,
|
|
673
|
+
require: "o",
|
|
674
|
+
type: "rangenumber"
|
|
675
|
+
}
|
|
676
|
+
]
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
API_KEY: SERVICE_API_KEY.Etherscan,
|
|
680
|
+
LOGO: "https://avatars.githubusercontent.com/u/129790008?s=48&v=4",
|
|
681
|
+
BRAND_COLOR: "#f9f8ff",
|
|
682
|
+
BRAND_SECONDARY_COLOR: "#725bff",
|
|
683
|
+
n: "TALLY",
|
|
684
|
+
t: 20,
|
|
685
|
+
d: "Fetches data from Etherscan including transactions, token transfers, NFT transfers, and gas tracker info.",
|
|
686
|
+
a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
|
|
687
|
+
p: [
|
|
688
|
+
{
|
|
689
|
+
name: "type",
|
|
690
|
+
detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
|
|
691
|
+
example: `"all-txns"`,
|
|
692
|
+
require: "m",
|
|
693
|
+
type: "string"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
name: "chain",
|
|
697
|
+
detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
|
|
698
|
+
example: `"ethereum"`,
|
|
699
|
+
require: "m",
|
|
700
|
+
type: "string"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
name: "address",
|
|
704
|
+
detail: "The wallet address to fetch data for (not required for 'gas').",
|
|
705
|
+
example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
|
|
706
|
+
require: "o",
|
|
707
|
+
type: "string"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
name: "startDate",
|
|
711
|
+
detail: "Start timestamp in seconds (optional). Used to filter block range.",
|
|
712
|
+
example: `"1704067200"`,
|
|
713
|
+
require: "o",
|
|
714
|
+
type: "rangenumber"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
name: "endDate",
|
|
718
|
+
detail: "End timestamp in seconds (optional). Used to filter block range.",
|
|
719
|
+
example: `"1706659200"`,
|
|
720
|
+
require: "o",
|
|
721
|
+
type: "rangenumber"
|
|
722
|
+
}
|
|
723
|
+
]
|
|
281
724
|
}
|
|
282
725
|
];
|
|
283
726
|
export {
|