@fileverse-dev/formulajs 4.4.11-mod-48 → 4.4.11-mod-49

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.
@@ -45,209 +45,172 @@ var SERVICE_API_KEY = {
45
45
  };
46
46
  var FUNCTION_LOCALE = [
47
47
  {
48
- API_KEY: SERVICE_API_KEY.Firefly,
49
- LOGO: "https://firefly.social/android-chrome-192x192.png",
50
- BRAND_COLOR: "#f8f5fc",
51
- BRAND_SECONDARY_COLOR: "#855dcd",
52
- n: "FIREFLY",
48
+ API_KEY: SERVICE_API_KEY.Etherscan,
49
+ LOGO: "https://etherscan.io/images/favicon3.ico",
50
+ BRAND_COLOR: "#F6F7F8",
51
+ BRAND_SECONDARY_COLOR: "#21325B",
52
+ n: "EOA",
53
53
  t: 20,
54
- d: "Fetches content from Farcaster or Lens.",
55
- a: "Retrieves posts, replies, or channels from Farcaster and Lens by usernames, IDs, or hashes.",
54
+ d: "Fetches address data like transactions, balances, or portfolio info from multiple supported chains.",
55
+ a: "Dynamically queries blockchain data such as transactions and balances by resolving time ranges to block ranges and supporting pagination.",
56
56
  p: [
57
57
  {
58
- name: "platform",
59
- detail: "The social platform to query. Supports 'farcaster' or 'lens'.",
60
- example: `"farcaster"`,
58
+ name: "addresses",
59
+ detail: "One or more addresses (comma-separated) to query.",
60
+ example: `"vitalik.eth"`,
61
61
  require: "m",
62
62
  type: "string"
63
63
  },
64
64
  {
65
- name: "contentType",
66
- detail: "Type of content to fetch. Supports 'posts', 'replies', and 'channels' (channels only for 'farcaster').",
67
- example: `"posts"`,
65
+ name: "categories",
66
+ detail: `Type of data to fetch. Supported values: "txns", "balance".`,
67
+ example: `"txns"`,
68
68
  require: "m",
69
69
  type: "string"
70
70
  },
71
71
  {
72
- name: "identifier",
73
- detail: "Comma-separated usernames, IDs, or post hashes depending on platform and contentType.",
74
- example: `"toka,miroyato"`,
72
+ name: "chain",
73
+ detail: `Blockchain network(s) to query. Supported values: "ethereum", "gnosis", "base". Accepts comma-separated values.`,
74
+ example: `"ethereum"`,
75
75
  require: "m",
76
76
  type: "string"
77
77
  },
78
78
  {
79
- name: "start",
80
- detail: "Pagination start index (default is 0).",
81
- example: `0`,
82
- require: "o",
83
- type: "number"
84
- },
85
- {
86
- name: "end",
87
- detail: "Pagination end index (default is 10).",
88
- example: `10`,
89
- require: "o",
90
- type: "number"
91
- }
92
- ]
93
- },
94
- {
95
- API_KEY: SERVICE_API_KEY.Firefly,
96
- LOGO: "https://firefly.social/android-chrome-192x192.png",
97
- BRAND_COLOR: "#f8f5fc",
98
- BRAND_SECONDARY_COLOR: "#855dcd",
99
- n: "LENS",
100
- t: 20,
101
- d: "Fetches content from Lens.",
102
- a: "Retrieves posts or replies from Lens by usernames, IDs, or hashes.",
103
- p: [
104
- {
105
- name: "contentType",
106
- detail: "Type of content to fetch. Supports 'posts' or 'replies'.",
107
- example: `"posts"`,
79
+ name: "startTime",
80
+ detail: "Used to calculate starting block for transaction queries.",
81
+ example: `"01/01/2024"`,
108
82
  require: "m",
109
83
  type: "string"
110
84
  },
111
85
  {
112
- name: "identifier",
113
- detail: "Comma-separated usernames, IDs, or post hashes depending on platform and contentType.",
114
- example: `"toka,miroyato"`,
86
+ name: "endTime",
87
+ detail: "Used to calculate ending block for transaction queries.",
88
+ example: `"01/06/2024"`,
115
89
  require: "m",
116
90
  type: "string"
117
91
  },
118
92
  {
119
- name: "start",
120
- detail: "Pagination start index (default is 0).",
121
- example: `0`,
93
+ name: "page",
94
+ detail: "The page number for paginated transaction results. Only used when category is 'txns'. Default is 1",
95
+ example: "1",
122
96
  require: "o",
123
97
  type: "number"
124
98
  },
125
99
  {
126
- name: "end",
127
- detail: "Pagination end index (default is 10).",
128
- example: `10`,
100
+ name: "offset",
101
+ detail: "The number of results to return per page (limit). Only used when category is 'txns'. Default is 10",
102
+ example: "10",
129
103
  require: "o",
130
104
  type: "number"
131
105
  }
132
106
  ]
133
107
  },
134
108
  {
135
- API_KEY: SERVICE_API_KEY.Firefly,
136
- LOGO: "https://firefly.social/android-chrome-192x192.png",
137
- BRAND_COLOR: "#f8f5fc",
138
- BRAND_SECONDARY_COLOR: "#855dcd",
139
- n: "FARCASTER",
109
+ API_KEY: SERVICE_API_KEY.Uniswap,
110
+ LOGO: "https://app.uniswap.org/favicon.png",
111
+ BRAND_COLOR: "#fef5fc",
112
+ BRAND_SECONDARY_COLOR: "#f50db4",
113
+ n: "UNISWAP",
140
114
  t: 20,
141
- d: "Fetches content from Farcaster.",
142
- a: "Retrieves posts, replies, or channels from Farcaster by usernames, IDs, or hashes.",
115
+ d: "Returns Uniswap transaction history for the given address",
116
+ a: "Retrieves Uniswap data for a given chain and address from Uniswap",
143
117
  p: [
144
118
  {
145
- name: "contentType",
146
- detail: "Type of content to fetch. Supports 'posts', 'replies', and 'channels'.",
147
- example: `"posts"`,
119
+ name: "type",
120
+ detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
121
+ example: `"all-txns"`,
148
122
  require: "m",
149
123
  type: "string"
150
124
  },
151
125
  {
152
- name: "identifier",
153
- detail: "Comma-separated usernames, IDs, or post hashes depending on contentType.",
154
- example: `"miroyato"`,
126
+ name: "chain",
127
+ detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
128
+ example: `"ethereum"`,
155
129
  require: "m",
156
130
  type: "string"
157
131
  },
158
132
  {
159
- name: "start",
160
- detail: "Pagination start index (default is 0).",
161
- example: `0`,
133
+ name: "address",
134
+ detail: "Wallet address to query",
135
+ example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
162
136
  require: "o",
163
- type: "number"
137
+ type: "string"
164
138
  },
165
139
  {
166
- name: "end",
167
- detail: "Pagination end index (default is 10).",
168
- example: `10`,
140
+ name: "startDate",
141
+ detail: "Used to filter block range.",
142
+ example: `"01/01/2024"`,
169
143
  require: "o",
170
- type: "number"
144
+ type: "string"
145
+ },
146
+ {
147
+ name: "endDate",
148
+ detail: "Used to filter block range.",
149
+ example: `"01/01/2025"`,
150
+ require: "o",
151
+ type: "string"
171
152
  }
172
153
  ]
173
154
  },
174
155
  {
175
- API_KEY: SERVICE_API_KEY.Neynar,
176
- LOGO: "https://framerusercontent.com/images/OS5YeZ2Y7DmszAxL6Zf06pXtKzc.svg",
177
- BRAND_COLOR: "#e8e6ff",
178
- BRAND_SECONDARY_COLOR: "#28204A",
179
- n: "NEYNAR",
156
+ LOGO: "https://files.readme.io/06394e687778e238a6cd43de6e1d7d339043aa50054703f64606369352ef1864-VariantCG-Symbol-Color.png",
157
+ BRAND_COLOR: "#f8fdf8",
158
+ BRAND_SECONDARY_COLOR: "#4bc63d",
159
+ n: "COINGECKO",
180
160
  t: 20,
181
- d: "Fetches followers for a given Farcaster username using Neynar's API.",
182
- a: "Retrieves followers of a Farcaster user, with support for sorting, pagination, and optional viewer context.",
161
+ API_KEY: SERVICE_API_KEY.Coingecko,
162
+ d: "Query crypto prices, ecosystem market data, stablecoins, or derivatives from CoinGecko.",
163
+ a: 'Supports querying: "price" for specific tokens "market" for ecosystem categories (ETH, BASE, SOL, GNOSIS, HYPERLIQUID, BITCOIN, PUMP)\n- "stablecoins" for stablecoin categories like "crypto-backed-stablecoin"\n- "derivatives" globally or per exchange.\nPagination is supported for all except single-exchange derivatives.',
183
164
  p: [
184
165
  {
185
- name: "username",
186
- detail: "The Farcaster username whose followers should be fetched.",
187
- example: `"miroyato"`,
188
- require: "m",
189
- type: "number"
166
+ name: "category",
167
+ detail: 'Query type: "price", "market", "stablecoins", or "derivatives".',
168
+ example: `"stablecoins"`,
169
+ require: "m"
170
+ },
171
+ {
172
+ name: "param1",
173
+ detail: `If "price" then - eg. "BTC", "ETH", OR any token on coingecko
174
+
175
+ If "market": one of "all", "base", "meme", "aiagents", "bitcoin", "ethereum", "hyperliquid", "pump", "solana".
176
+
177
+ If "stablecoins": one of "all", "yield-bearing-stablecoins", "crypto-backed-stablecoin".
178
+
179
+ If "derivatives": exchange name (e.g., "binance_futures").`,
180
+ example: `"yield-bearing-stablecoins"`,
181
+ require: "m"
182
+ },
183
+ {
184
+ name: "param2",
185
+ detail: `If "market" and "stablecoins" then eg. "1h", "24h", "7d".`,
186
+ example: `"1h,24h,7d"`,
187
+ require: "o"
190
188
  }
191
189
  ]
192
190
  },
193
191
  {
194
- API_KEY: SERVICE_API_KEY.Basescan,
195
- LOGO: "https://2064089921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevP3L0cUvP9xmRefuzCm%2Fuploads%2F2K1pvFsE7JAfcI3LAxYl%2Fbase-logo-in-blue.webp?alt=media&token=32c80439-dbdc-432a-b199-220e012efc3c",
196
- BRAND_COLOR: "#f1f5ff",
197
- BRAND_SECONDARY_COLOR: "#2752ff",
198
- n: "BASE",
192
+ API_KEY: SERVICE_API_KEY.Defillama,
193
+ LOGO: "https://defillama.com/favicon-32x32.png",
194
+ BRAND_COLOR: "#f8f5fc",
195
+ BRAND_SECONDARY_COLOR: "#855dcd",
196
+ n: "DEFILLAMA",
199
197
  t: 20,
200
- d: "Fetches Base network data via Basescan: native txns, ERC-20 transfers, ERC-721 transfers, and gas metrics.",
201
- a: "Pulls on-chain activity for Base (chainid 8453) using Basescan\u2019s API \u2014 supports full tx history, token/NFT transfers, gas prices, and pagination.",
198
+ d: "Fetches content from Defillama.",
199
+ a: "Retrieves data from Defillama.",
202
200
  p: [
203
201
  {
204
- name: "type",
205
- detail: "Data category: 'all-txns' | 'token-txns' | 'nft-txns' | 'gas'.",
206
- example: `"token-txns"`,
202
+ name: "category",
203
+ detail: "Type of content to fetch. Supports 'protocols', 'yields', or 'dex'.",
204
+ example: `"protocols"`,
207
205
  require: "m",
208
206
  type: "string"
209
207
  },
210
208
  {
211
- name: "chain",
212
- detail: "Must be 'base'.",
213
- example: `"base"`,
209
+ name: "param1",
210
+ detail: "For protocols, it's the protocol name. (optional)",
211
+ example: `"aave"`,
214
212
  require: "m",
215
213
  type: "string"
216
- },
217
- {
218
- name: "address",
219
- detail: "Target wallet address (only required for txns, token, and nft queries). Not needed for 'gas'.",
220
- example: `"0x7FD624f3f97A7dd36195E8379F28dB6147C270ff"`,
221
- require: "o",
222
- type: "string"
223
- },
224
- {
225
- name: "startDate",
226
- detail: "Start date (used to resolve block range). Optional, only applies to txns.",
227
- example: `"01/01/2024"`,
228
- require: "o",
229
- type: "string"
230
- },
231
- {
232
- name: "endDate",
233
- detail: "End date (used to resolve block range). Optional, only applies to txns.",
234
- example: `"07/07/2024"`,
235
- require: "o",
236
- type: "string"
237
- },
238
- {
239
- name: "page",
240
- detail: "Page number for paginated results. Only applies to txns/token/nft queries.",
241
- example: `1`,
242
- require: "o",
243
- type: "number"
244
- },
245
- {
246
- name: "offset",
247
- detail: "Number of items per page (limit). Only applies to txns/token/nft queries.",
248
- example: `2`,
249
- require: "o",
250
- type: "number"
251
214
  }
252
215
  ]
253
216
  },
@@ -313,64 +276,63 @@ var FUNCTION_LOCALE = [
313
276
  ]
314
277
  },
315
278
  {
316
- LOGO: "https://cdn.prod.website-files.com/65f94dfd53db8b337c808067/68485baa72714ae58f350ce2_bs-logo.png",
317
- BRAND_COLOR: "#f8f8fd",
318
- BRAND_SECONDARY_COLOR: "#5353D3",
319
- n: "BLOCKSCOUT",
279
+ API_KEY: SERVICE_API_KEY.Basescan,
280
+ LOGO: "https://2064089921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevP3L0cUvP9xmRefuzCm%2Fuploads%2F2K1pvFsE7JAfcI3LAxYl%2Fbase-logo-in-blue.webp?alt=media&token=32c80439-dbdc-432a-b199-220e012efc3c",
281
+ BRAND_COLOR: "#f1f5ff",
282
+ BRAND_SECONDARY_COLOR: "#2752ff",
283
+ n: "BASE",
320
284
  t: 20,
321
- d: "Returns the onchain information about an address on a provided blockchain. By default on Ethereum mainnet.",
322
- a: "Returns the onchain information about an address on a provided blockchain. By default on Ethereum mainnet.",
285
+ d: "Fetches Base network data via Basescan: native txns, ERC-20 transfers, ERC-721 transfers, and gas metrics.",
286
+ a: "Pulls on-chain activity for Base (chainid 8453) using Basescan\u2019s API \u2014 supports full tx history, token/NFT transfers, gas prices, and pagination.",
323
287
  p: [
324
288
  {
325
- name: "address",
326
- detail: "The address string representing the addresses to check for balance",
327
- example: `"vitalik.eth"`,
289
+ name: "type",
290
+ detail: "Data category: 'all-txns' | 'token-txns' | 'nft-txns' | 'gas'.",
291
+ example: `"token-txns"`,
328
292
  require: "m",
329
293
  type: "string"
330
294
  },
331
295
  {
332
- name: "type",
333
- detail: "The type of data to query.",
334
- example: `"txns"`,
296
+ name: "chain",
297
+ detail: "Must be 'base'.",
298
+ example: `"base"`,
335
299
  require: "m",
336
300
  type: "string"
337
301
  },
338
302
  {
339
- name: "chain",
340
- detail: "The blockchain to query. By default on Ethereum mainnet.",
341
- example: `"ethereum"`,
303
+ name: "address",
304
+ detail: "Target wallet address (only required for txns, token, and nft queries). Not needed for 'gas'.",
305
+ example: `"0x7FD624f3f97A7dd36195E8379F28dB6147C270ff"`,
342
306
  require: "o",
343
307
  type: "string"
344
308
  },
345
309
  {
346
- name: "startTimestamp",
347
- detail: 'Start date marking the start of the transaction search range. Work with type === "txns"',
348
- example: `"01/01/2023"`,
310
+ name: "startDate",
311
+ detail: "Start date (used to resolve block range). Optional, only applies to txns.",
312
+ example: `"01/01/2024"`,
349
313
  require: "o",
350
314
  type: "string"
351
315
  },
352
316
  {
353
- name: "endTimestamp",
354
- detail: 'End date marking the end of the transaction search range. Work with type === "txns"',
355
- example: `"01/05/2024"`,
317
+ name: "endDate",
318
+ detail: "End date (used to resolve block range). Optional, only applies to txns.",
319
+ example: `"07/07/2024"`,
356
320
  require: "o",
357
321
  type: "string"
358
322
  },
359
323
  {
360
324
  name: "page",
361
- detail: 'The page number to return. Work with type === "txns"',
362
- example: "1",
325
+ detail: "Page number for paginated results. Only applies to txns/token/nft queries.",
326
+ example: `1`,
363
327
  require: "o",
364
- repeat: "n",
365
- type: "rangenumber"
328
+ type: "number"
366
329
  },
367
330
  {
368
331
  name: "offset",
369
- detail: 'The number of transactions to return per page. Work with type === "txns"',
370
- example: "2",
332
+ detail: "Number of items per page (limit). Only applies to txns/token/nft queries.",
333
+ example: `2`,
371
334
  require: "o",
372
- repeat: "n",
373
- type: "rangenumber"
335
+ type: "number"
374
336
  }
375
337
  ]
376
338
  },
@@ -422,123 +384,29 @@ var FUNCTION_LOCALE = [
422
384
  ]
423
385
  },
424
386
  {
425
- API_KEY: SERVICE_API_KEY.Etherscan,
426
- LOGO: "https://etherscan.io/images/favicon3.ico",
427
- BRAND_COLOR: "#F6F7F8",
428
- BRAND_SECONDARY_COLOR: "#21325B",
429
- n: "EOA",
387
+ n: "PNL",
430
388
  t: 20,
431
- d: "Fetches address data like transactions, balances, or portfolio info from multiple supported chains.",
432
- a: "Dynamically queries blockchain data such as transactions and balances by resolving time ranges to block ranges and supporting pagination.",
389
+ d: "Subtract each element from A column from B column and return the total sum.",
390
+ a: "Returns the total of A - B element-wise subtraction across two ranges.",
433
391
  p: [
434
392
  {
435
- name: "addresses",
436
- detail: "One or more addresses (comma-separated) to query.",
437
- example: `"vitalik.eth"`,
438
- require: "m",
439
- type: "string"
440
- },
441
- {
442
- name: "categories",
443
- detail: `Type of data to fetch. Supported values: "txns", "balance".`,
444
- example: `"txns"`,
445
- require: "m",
446
- type: "string"
447
- },
448
- {
449
- name: "chain",
450
- detail: `Blockchain network(s) to query. Supported values: "ethereum", "gnosis", "base". Accepts comma-separated values.`,
451
- example: `"ethereum"`,
452
- require: "m",
453
- type: "string"
454
- },
455
- {
456
- name: "startTime",
457
- detail: "Used to calculate starting block for transaction queries.",
458
- example: `"01/01/2024"`,
393
+ name: "A",
394
+ detail: "The column or array of values to subtract from B (e.g. cost).",
395
+ example: "A1:A10",
459
396
  require: "m",
460
- type: "string"
397
+ repeat: "n",
398
+ type: "range"
461
399
  },
462
400
  {
463
- name: "endTime",
464
- detail: "Used to calculate ending block for transaction queries.",
465
- example: `"01/06/2024"`,
401
+ name: "B",
402
+ detail: "The column or array of values to subtract A from (e.g. revenue).",
403
+ example: "B1:B10",
466
404
  require: "m",
467
- type: "string"
468
- },
469
- {
470
- name: "page",
471
- detail: "The page number for paginated transaction results. Only used when category is 'txns'. Default is 1",
472
- example: "1",
473
- require: "o",
474
- type: "number"
475
- },
476
- {
477
- name: "offset",
478
- detail: "The number of results to return per page (limit). Only used when category is 'txns'. Default is 10",
479
- example: "10",
480
- require: "o",
481
- type: "number"
482
- }
483
- ]
484
- },
485
- {
486
- LOGO: "https://files.readme.io/06394e687778e238a6cd43de6e1d7d339043aa50054703f64606369352ef1864-VariantCG-Symbol-Color.png",
487
- BRAND_COLOR: "#f8fdf8",
488
- BRAND_SECONDARY_COLOR: "#4bc63d",
489
- n: "COINGECKO",
490
- t: 20,
491
- API_KEY: SERVICE_API_KEY.Coingecko,
492
- d: "Query crypto prices, ecosystem market data, stablecoins, or derivatives from CoinGecko.",
493
- a: 'Supports querying: "price" for specific tokens "market" for ecosystem categories (ETH, BASE, SOL, GNOSIS, HYPERLIQUID, BITCOIN, PUMP)\n- "stablecoins" for stablecoin categories like "crypto-backed-stablecoin"\n- "derivatives" globally or per exchange.\nPagination is supported for all except single-exchange derivatives.',
494
- p: [
495
- {
496
- name: "category",
497
- detail: 'Query type: "price", "market", "stablecoins", or "derivatives".',
498
- example: `"stablecoins"`,
499
- require: "m"
500
- },
501
- {
502
- name: "param1",
503
- detail: `If "price" then - eg. "BTC", "ETH", OR any token on coingecko
504
-
505
- If "market": one of "all", "base", "meme", "aiagents", "bitcoin", "ethereum", "hyperliquid", "pump", "solana".
506
-
507
- If "stablecoins": one of "all", "yield-bearing-stablecoins", "crypto-backed-stablecoin".
508
-
509
- If "derivatives": exchange name (e.g., "binance_futures").`,
510
- example: `"yield-bearing-stablecoins"`,
511
- require: "m"
512
- },
513
- {
514
- name: "param2",
515
- detail: `If "market" and "stablecoins" then eg. "1h", "24h", "7d".`,
516
- example: `"1h,24h,7d"`,
517
- require: "o"
405
+ repeat: "n",
406
+ type: "range"
518
407
  }
519
408
  ]
520
409
  },
521
- // {
522
- // n: "FLVURL",
523
- // t: 20,
524
- // d: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
525
- // a: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
526
- // p: [
527
- // {
528
- // name: "token",
529
- // detail:
530
- // "coins' IDs, comma-separated if querying more than 1 coin.",
531
- // example: `"bitcoin"`,
532
- // require: "m",
533
- // },
534
- // {
535
- // name: "vs_currency",
536
- // detail: "target currency of coins, comma-separated if querying more than 1 currency",
537
- // example: `"usd"`,
538
- // require: "m",
539
- // },
540
- // ],
541
- // },
542
410
  {
543
411
  API_KEY: SERVICE_API_KEY.Safe,
544
412
  LOGO: "https://safe-transaction-mainnet.safe.global/static/safe/favicon.png",
@@ -584,38 +452,76 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
584
452
  ]
585
453
  },
586
454
  {
587
- n: "PNL",
455
+ LOGO: "https://cdn.prod.website-files.com/65f94dfd53db8b337c808067/68485baa72714ae58f350ce2_bs-logo.png",
456
+ BRAND_COLOR: "#f8f8fd",
457
+ BRAND_SECONDARY_COLOR: "#5353D3",
458
+ n: "BLOCKSCOUT",
588
459
  t: 20,
589
- d: "Subtract each element from A column from B column and return the total sum.",
590
- a: "Returns the total of A - B element-wise subtraction across two ranges.",
460
+ d: "Returns the onchain information about an address on a provided blockchain. By default on Ethereum mainnet.",
461
+ a: "Returns the onchain information about an address on a provided blockchain. By default on Ethereum mainnet.",
591
462
  p: [
592
463
  {
593
- name: "A",
594
- detail: "The column or array of values to subtract from B (e.g. cost).",
595
- example: "A1:A10",
464
+ name: "address",
465
+ detail: "The address string representing the addresses to check for balance",
466
+ example: `"vitalik.eth"`,
596
467
  require: "m",
597
- repeat: "n",
598
- type: "range"
468
+ type: "string"
599
469
  },
600
470
  {
601
- name: "B",
602
- detail: "The column or array of values to subtract A from (e.g. revenue).",
603
- example: "B1:B10",
471
+ name: "type",
472
+ detail: "The type of data to query.",
473
+ example: `"txns"`,
604
474
  require: "m",
475
+ type: "string"
476
+ },
477
+ {
478
+ name: "chain",
479
+ detail: "The blockchain to query. By default on Ethereum mainnet.",
480
+ example: `"ethereum"`,
481
+ require: "o",
482
+ type: "string"
483
+ },
484
+ {
485
+ name: "startTimestamp",
486
+ detail: 'Start date marking the start of the transaction search range. Work with type === "txns"',
487
+ example: `"01/01/2023"`,
488
+ require: "o",
489
+ type: "string"
490
+ },
491
+ {
492
+ name: "endTimestamp",
493
+ detail: 'End date marking the end of the transaction search range. Work with type === "txns"',
494
+ example: `"01/05/2024"`,
495
+ require: "o",
496
+ type: "string"
497
+ },
498
+ {
499
+ name: "page",
500
+ detail: 'The page number to return. Work with type === "txns"',
501
+ example: "1",
502
+ require: "o",
503
+ repeat: "n",
504
+ type: "rangenumber"
505
+ },
506
+ {
507
+ name: "offset",
508
+ detail: 'The number of transactions to return per page. Work with type === "txns"',
509
+ example: "2",
510
+ require: "o",
605
511
  repeat: "n",
606
- type: "range"
512
+ type: "rangenumber"
607
513
  }
608
514
  ]
609
515
  },
610
516
  {
611
- API_KEY: SERVICE_API_KEY.Uniswap,
612
- LOGO: "https://app.uniswap.org/favicon.png",
613
- BRAND_COLOR: "#fef5fc",
614
- BRAND_SECONDARY_COLOR: "#f50db4",
615
- n: "UNISWAP",
517
+ API_KEY: SERVICE_API_KEY.Etherscan,
518
+ LOGO: "https://avatars.githubusercontent.com/u/47617460?s=200&v=4",
519
+ BRAND_COLOR: "#f7f7ff",
520
+ BRAND_SECONDARY_COLOR: "#9896ff",
521
+ n: "AAVE",
616
522
  t: 20,
617
- d: "Returns Uniswap transaction history for the given address",
618
- a: "Retrieves Uniswap data for a given chain and address from Uniswap",
523
+ d: "Returns blockchain transaction history for the given address",
524
+ a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
619
525
  p: [
620
526
  {
621
527
  name: "type",
@@ -648,60 +554,180 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
648
554
  {
649
555
  name: "endDate",
650
556
  detail: "Used to filter block range.",
651
- example: `"01/01/2025"`,
557
+ example: `"01/07/2025"`,
652
558
  require: "o",
653
559
  type: "string"
654
560
  }
655
561
  ]
656
562
  },
657
563
  {
658
- API_KEY: SERVICE_API_KEY.Etherscan,
659
- LOGO: "https://avatars.githubusercontent.com/u/47617460?s=200&v=4",
660
- BRAND_COLOR: "#f7f7ff",
661
- BRAND_SECONDARY_COLOR: "#9896ff",
662
- n: "AAVE",
564
+ API_KEY: SERVICE_API_KEY.Firefly,
565
+ LOGO: "https://firefly.social/android-chrome-192x192.png",
566
+ BRAND_COLOR: "#f8f5fc",
567
+ BRAND_SECONDARY_COLOR: "#855dcd",
568
+ n: "LENS",
663
569
  t: 20,
664
- d: "Returns blockchain transaction history for the given address",
665
- a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
570
+ d: "Fetches content from Lens.",
571
+ a: "Retrieves posts or replies from Lens by usernames, IDs, or hashes.",
666
572
  p: [
667
573
  {
668
- name: "type",
669
- detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
670
- example: `"all-txns"`,
574
+ name: "contentType",
575
+ detail: "Type of content to fetch. Supports 'posts' or 'replies'.",
576
+ example: `"posts"`,
671
577
  require: "m",
672
578
  type: "string"
673
579
  },
674
580
  {
675
- name: "chain",
676
- detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
677
- example: `"ethereum"`,
581
+ name: "identifier",
582
+ detail: "Comma-separated usernames, IDs, or post hashes depending on platform and contentType.",
583
+ example: `"toka,miroyato"`,
678
584
  require: "m",
679
585
  type: "string"
680
586
  },
681
587
  {
682
- name: "address",
683
- detail: "Wallet address to query",
684
- example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
588
+ name: "start",
589
+ detail: "Pagination start index (default is 0).",
590
+ example: `0`,
685
591
  require: "o",
686
- type: "string"
592
+ type: "number"
687
593
  },
688
594
  {
689
- name: "startDate",
690
- detail: "Used to filter block range.",
691
- example: `"01/01/2024"`,
595
+ name: "end",
596
+ detail: "Pagination end index (default is 10).",
597
+ example: `10`,
692
598
  require: "o",
599
+ type: "number"
600
+ }
601
+ ]
602
+ },
603
+ {
604
+ API_KEY: SERVICE_API_KEY.Firefly,
605
+ LOGO: "https://firefly.social/android-chrome-192x192.png",
606
+ BRAND_COLOR: "#f8f5fc",
607
+ BRAND_SECONDARY_COLOR: "#855dcd",
608
+ n: "FARCASTER",
609
+ t: 20,
610
+ d: "Fetches content from Farcaster.",
611
+ a: "Retrieves posts, replies, or channels from Farcaster by usernames, IDs, or hashes.",
612
+ p: [
613
+ {
614
+ name: "contentType",
615
+ detail: "Type of content to fetch. Supports 'posts', 'replies', and 'channels'.",
616
+ example: `"posts"`,
617
+ require: "m",
693
618
  type: "string"
694
619
  },
695
620
  {
696
- name: "endDate",
697
- detail: "Used to filter block range.",
698
- example: `"01/07/2025"`,
621
+ name: "identifier",
622
+ detail: "Comma-separated usernames, IDs, or post hashes depending on contentType.",
623
+ example: `"miroyato"`,
624
+ require: "m",
625
+ type: "string"
626
+ },
627
+ {
628
+ name: "start",
629
+ detail: "Pagination start index (default is 0).",
630
+ example: `0`,
631
+ require: "o",
632
+ type: "number"
633
+ },
634
+ {
635
+ name: "end",
636
+ detail: "Pagination end index (default is 10).",
637
+ example: `10`,
699
638
  require: "o",
639
+ type: "number"
640
+ }
641
+ ]
642
+ },
643
+ {
644
+ API_KEY: SERVICE_API_KEY.Firefly,
645
+ LOGO: "https://firefly.social/android-chrome-192x192.png",
646
+ BRAND_COLOR: "#f8f5fc",
647
+ BRAND_SECONDARY_COLOR: "#855dcd",
648
+ n: "FIREFLY",
649
+ t: 20,
650
+ d: "Fetches content from Farcaster or Lens.",
651
+ a: "Retrieves posts, replies, or channels from Farcaster and Lens by usernames, IDs, or hashes.",
652
+ p: [
653
+ {
654
+ name: "platform",
655
+ detail: "The social platform to query. Supports 'farcaster' or 'lens'.",
656
+ example: `"farcaster"`,
657
+ require: "m",
658
+ type: "string"
659
+ },
660
+ {
661
+ name: "contentType",
662
+ detail: "Type of content to fetch. Supports 'posts', 'replies', and 'channels' (channels only for 'farcaster').",
663
+ example: `"posts"`,
664
+ require: "m",
665
+ type: "string"
666
+ },
667
+ {
668
+ name: "identifier",
669
+ detail: "Comma-separated usernames, IDs, or post hashes depending on platform and contentType.",
670
+ example: `"toka,miroyato"`,
671
+ require: "m",
700
672
  type: "string"
673
+ },
674
+ {
675
+ name: "start",
676
+ detail: "Pagination start index (default is 0).",
677
+ example: `0`,
678
+ require: "o",
679
+ type: "number"
680
+ },
681
+ {
682
+ name: "end",
683
+ detail: "Pagination end index (default is 10).",
684
+ example: `10`,
685
+ require: "o",
686
+ type: "number"
687
+ }
688
+ ]
689
+ },
690
+ {
691
+ API_KEY: SERVICE_API_KEY.Neynar,
692
+ LOGO: "https://framerusercontent.com/images/OS5YeZ2Y7DmszAxL6Zf06pXtKzc.svg",
693
+ BRAND_COLOR: "#e8e6ff",
694
+ BRAND_SECONDARY_COLOR: "#28204A",
695
+ n: "NEYNAR",
696
+ t: 20,
697
+ d: "Fetches followers for a given Farcaster username using Neynar's API.",
698
+ a: "Retrieves followers of a Farcaster user, with support for sorting, pagination, and optional viewer context.",
699
+ p: [
700
+ {
701
+ name: "username",
702
+ detail: "The Farcaster username whose followers should be fetched.",
703
+ example: `"miroyato"`,
704
+ require: "m",
705
+ type: "number"
701
706
  }
702
707
  ]
703
708
  },
704
709
  // {
710
+ // n: "FLVURL",
711
+ // t: 20,
712
+ // d: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
713
+ // a: "Query the prices of one or more coins by using their unique Coin API IDs, symbols, or names.",
714
+ // p: [
715
+ // {
716
+ // name: "token",
717
+ // detail:
718
+ // "coins' IDs, comma-separated if querying more than 1 coin.",
719
+ // example: `"bitcoin"`,
720
+ // require: "m",
721
+ // },
722
+ // {
723
+ // name: "vs_currency",
724
+ // detail: "target currency of coins, comma-separated if querying more than 1 currency",
725
+ // example: `"usd"`,
726
+ // require: "m",
727
+ // },
728
+ // ],
729
+ // },
730
+ // {
705
731
  // API_KEY: SERVICE_API_KEY.Etherscan,
706
732
  // LOGO: "https://www.pendle.finance/uploads/wp-content/uploads/2021/12/cropped-Pendle-Logo-quite-small.png",
707
733
  // BRAND_COLOR: "#eafffb",
@@ -748,53 +774,6 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
748
774
  // }
749
775
  // ]
750
776
  // },
751
- {
752
- API_KEY: SERVICE_API_KEY.Etherscan,
753
- LOGO: "https://aerodrome.finance/images/AERO/favicon.ico",
754
- BRAND_COLOR: "#edf3ff",
755
- BRAND_SECONDARY_COLOR: "#2966f0",
756
- n: "AERODROME",
757
- t: 20,
758
- d: "Returns blockchain transaction history for the given address",
759
- a: "Retrieves blockchain data for a given chain and address from Etherscan, including txns, token/nft transfers, and gas metrics.",
760
- p: [
761
- {
762
- name: "type",
763
- detail: "The type of data to retrieve. Can be 'all-txns', 'token-txns', 'nft-txns', or 'gas'.",
764
- example: `"all-txns"`,
765
- require: "m",
766
- type: "string"
767
- },
768
- {
769
- name: "chain",
770
- detail: "The chain name (e.g. 'ethereum', 'base', 'gnosis').",
771
- example: `"ethereum"`,
772
- require: "m",
773
- type: "string"
774
- },
775
- {
776
- name: "address",
777
- detail: "Wallet address to query",
778
- example: `"0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"`,
779
- require: "o",
780
- type: "string"
781
- },
782
- {
783
- name: "startDate",
784
- detail: "Used to filter block range.",
785
- example: `"01/01/2024"`,
786
- require: "o",
787
- type: "string"
788
- },
789
- {
790
- name: "endDate",
791
- detail: "Used to filter block range.",
792
- example: `"01/07/2025"`,
793
- require: "o",
794
- type: "string"
795
- }
796
- ]
797
- },
798
777
  // {
799
778
  // API_KEY: SERVICE_API_KEY.Etherscan,
800
779
  // LOGO: "https://cdn.prod.website-files.com/6760e87b474d412dfa9a7a68/6760e8ebe8faad5fb985c89a_Frame%201321316795.png",
@@ -983,32 +962,6 @@ If "derivatives": exchange name (e.g., "binance_futures").`,
983
962
  d: "Fetch data from Tally.(Comming soon)",
984
963
  a: "Fetch data from Tally.(Comming soon)",
985
964
  p: []
986
- },
987
- {
988
- API_KEY: SERVICE_API_KEY.Defillama,
989
- LOGO: "https://defillama.com/favicon-32x32.png",
990
- BRAND_COLOR: "#f8f5fc",
991
- BRAND_SECONDARY_COLOR: "#855dcd",
992
- n: "DEFILLAMA",
993
- t: 20,
994
- d: "Fetches content from Defillama.",
995
- a: "Retrieves data from Defillama.",
996
- p: [
997
- {
998
- name: "category",
999
- detail: "Type of content to fetch. Supports 'protocols', 'yields', or 'dex'.",
1000
- example: `"protocols"`,
1001
- require: "m",
1002
- type: "string"
1003
- },
1004
- {
1005
- name: "param1",
1006
- detail: "For protocols, it's the protocol name. (optional)",
1007
- example: `"aave"`,
1008
- require: "m",
1009
- type: "string"
1010
- }
1011
- ]
1012
965
  }
1013
966
  ];
1014
967
  export {