@fileverse-dev/formulajs 4.4.38 → 4.4.41-example

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.
@@ -236,8 +236,24 @@ var EOA_metadata = {
236
236
  example: "10",
237
237
  require: "o",
238
238
  type: "number"
239
+ },
240
+ {
241
+ name: "columnsName",
242
+ detail: "Filter columns by name in output. Comma separated list.",
243
+ example: `"id,address"`,
244
+ require: "o",
245
+ type: "string"
239
246
  }
240
- ]
247
+ ],
248
+ examples: [{
249
+ title: "EOA",
250
+ argumentString: 'vitalik.eth, txns, ethereum, "01/01/2023", "01/05/2024", 1, 2',
251
+ description: "Fetches transaction history for the address vitalik.eth on the Ethereum blockchain between January 1, 2023 and January 5, 2024, returning page 1 with 2 transactions per page."
252
+ }, {
253
+ title: "EOA",
254
+ argumentString: "vitalik.eth, balance, gnosis",
255
+ description: "Fetches the balance for the address vitalik.eth on the Gnosis blockchain."
256
+ }]
241
257
  };
242
258
 
243
259
  // src/crypto/uniswap/metadata.js
@@ -270,6 +286,25 @@ var UNISWAP_metadata = {
270
286
  example: `"eth"`,
271
287
  require: "m",
272
288
  type: "string"
289
+ },
290
+ {
291
+ name: "columnsName",
292
+ detail: "Filter columns by name in output. Comma separated list.",
293
+ example: `"id,address"`,
294
+ require: "o",
295
+ type: "string"
296
+ }
297
+ ],
298
+ examples: [
299
+ {
300
+ title: "UNISWAP",
301
+ argumentString: "v3, tokens, eth",
302
+ description: "Fetches data for the ETH token from Uniswap V3."
303
+ },
304
+ {
305
+ title: "UNISWAP",
306
+ argumentString: "v3-raw, markets, 0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8",
307
+ description: "Fetches data for the Uniswap V3 market with the specified contract address."
273
308
  }
274
309
  ]
275
310
  };
@@ -305,6 +340,25 @@ If "derivatives": exchange name (e.g., "binance_futures", "hyperliquid", "weex-f
305
340
  detail: `If "market" and "stablecoins" then eg. "1h", "24h", "7d", "14d", "30d", "200d", "1y".`,
306
341
  example: `"1h,24h,7d"`,
307
342
  require: "o"
343
+ },
344
+ {
345
+ name: "columnsName",
346
+ detail: "Filter columns by name in output. Comma separated list.",
347
+ example: `"id,address"`,
348
+ require: "o",
349
+ type: "string"
350
+ }
351
+ ],
352
+ examples: [
353
+ {
354
+ title: "COINGECKO",
355
+ argumentString: "stablecoins, yield-bearing-stablecoins, 1h,24h,7d",
356
+ description: "Fetches yield-bearing stablecoins with percentage changes over 1 hour, 24 hours, and 7 days."
357
+ },
358
+ {
359
+ title: "COINGECKO",
360
+ argumentString: "derivatives, binance_futures",
361
+ description: "Fetches derivatives data from the Binance Futures exchange."
308
362
  }
309
363
  ]
310
364
  };
@@ -326,8 +380,24 @@ var DEFILLAMA_metadata = {
326
380
  example: `"protocols"`,
327
381
  require: "m",
328
382
  type: "string"
383
+ },
384
+ {
385
+ name: "columnsName",
386
+ detail: "Filter columns by name in output. Comma separated list.",
387
+ example: `"id,address"`,
388
+ require: "o",
389
+ type: "string"
329
390
  }
330
- ]
391
+ ],
392
+ examples: [{
393
+ title: "DEFILLAMA",
394
+ argumentString: "protocols",
395
+ description: "Fetches a list of DeFi protocols from Defillama."
396
+ }, {
397
+ title: "DEFILLAMA",
398
+ argumentString: "dex",
399
+ description: "Fetches decentralized exchange (DEX) data from Defillama."
400
+ }]
331
401
  };
332
402
 
333
403
  // src/crypto/base/metadata.js
@@ -382,6 +452,25 @@ var BASE_metadata = {
382
452
  example: `2`,
383
453
  require: "o",
384
454
  type: "number"
455
+ },
456
+ {
457
+ name: "columnsName",
458
+ detail: "Filter columns by name in output. Comma separated list.",
459
+ example: `"id,address"`,
460
+ require: "o",
461
+ type: "string"
462
+ }
463
+ ],
464
+ examples: [
465
+ {
466
+ title: "BASE",
467
+ argumentString: 'token-txns, 0x7FD624f3f97A7dd36195E8379F28dB6147C270ff, "01/01/2024", "07/07/2024", 1, 2',
468
+ description: "Fetches ERC-20 token transfer history for the specified address on the Base network between January 1, 2024 and July 7, 2024, returning page 1 with 2 results per page."
469
+ },
470
+ {
471
+ title: "BASE",
472
+ argumentString: "gas",
473
+ description: "Fetches gas price metrics for the Base network."
385
474
  }
386
475
  ]
387
476
  };
@@ -439,7 +528,16 @@ var GNOSIS_metadata = {
439
528
  require: "o",
440
529
  type: "number"
441
530
  }
442
- ]
531
+ ],
532
+ examples: [{
533
+ title: "GNOSIS",
534
+ argumentString: 'nft-txns, 0x90830Ed558f12D826370DC52E9D87947A7F18De9, "01/01/2024", "14/06/2025", 1, 50',
535
+ description: "Fetches NFT transaction history for the address 0x90830Ed558f12D826370DC52E9D87947A7F18De9 on the Gnosis Chain between January 1, 2024 and June 14, 2025, returning page 1 with 50 transactions per page."
536
+ }, {
537
+ title: "GNOSIS",
538
+ argumentString: "gas",
539
+ description: "Fetches current gas price metrics for the Gnosis Chain."
540
+ }]
443
541
  };
444
542
 
445
543
  // src/crypto/etherscan/metadata.js
@@ -487,6 +585,25 @@ var ETHERSCAN_metadata = {
487
585
  example: `"01/07/2025"`,
488
586
  require: "o",
489
587
  type: "string"
588
+ },
589
+ {
590
+ name: "columnsName",
591
+ detail: "Filter columns by name in output. Comma separated list.",
592
+ example: `"id,address"`,
593
+ require: "o",
594
+ type: "string"
595
+ }
596
+ ],
597
+ examples: [
598
+ {
599
+ title: "ETHERSCAN",
600
+ argumentString: "all-txns, ethereum, vitalik.eth",
601
+ description: "Fetches the complete transaction history for the address vitalik.eth on the Ethereum blockchain."
602
+ },
603
+ {
604
+ title: "ETHERSCAN",
605
+ argumentString: 'token-txns, gnosis, vitalik.eth, "01/01/2024", "01/05/2024"',
606
+ description: "Fetches the token transaction history for the address vitalik.eth on the Gnosis blockchain between January 1, 2024 and January 5, 2024."
490
607
  }
491
608
  ]
492
609
  };
@@ -514,7 +631,16 @@ var PNL_metadata = {
514
631
  repeat: "n",
515
632
  type: "range"
516
633
  }
517
- ]
634
+ ],
635
+ examples: [{
636
+ title: "PNL",
637
+ argumentString: "A1:A10, B1:B10",
638
+ description: "Calculates the total profit or loss by subtracting the costs in range A1:A10 from the revenues in range B1:B10."
639
+ }, {
640
+ title: "PNL",
641
+ argumentString: "{100, 200, 150}, {250, 300, 200}",
642
+ description: "Calculates the total profit or loss by subtracting the costs {100, 200, 150} from the revenues {250, 300, 200}."
643
+ }]
518
644
  };
519
645
 
520
646
  // src/crypto/safe/metadata.js
@@ -560,7 +686,16 @@ var SAFE_metadata = {
560
686
  require: "o",
561
687
  repeat: "n"
562
688
  }
563
- ]
689
+ ],
690
+ examples: [{
691
+ title: "SAFE",
692
+ argumentString: "0xe9A6378d8FD4983C2999DB0735f258397E8C2253, txns, gnosis, 10, 0",
693
+ description: "Fetches the last 10 transactions for the specified Safe address on the Gnosis chain."
694
+ }, {
695
+ title: "SAFE",
696
+ argumentString: "0x1234567890abcdef1234567890abcdef12345678, txns, ethereum",
697
+ description: "Fetches the last 100 transactions for the specified Safe address on the Ethereum chain."
698
+ }]
564
699
  };
565
700
 
566
701
  // src/crypto/blockscout/metadata.js
@@ -624,7 +759,16 @@ var BLOCKSCOUT_metadata = {
624
759
  repeat: "n",
625
760
  type: "rangenumber"
626
761
  }
627
- ]
762
+ ],
763
+ examples: [{
764
+ title: "BLOCKSCOUT",
765
+ argumentString: 'vitalik.eth, txns, ethereum, "01/01/2023", "01/05/2024", 1, 2',
766
+ description: "Fetches transaction history for the address vitalik.eth on the Ethereum blockchain between January 1, 2023 and January 5, 2024, returning page 1 with 2 transactions per page."
767
+ }, {
768
+ title: "BLOCKSCOUT",
769
+ argumentString: "vitalik.eth, balance, gnosis",
770
+ description: "Fetches the balance for the address vitalik.eth on the Gnosis blockchain."
771
+ }]
628
772
  };
629
773
 
630
774
  // src/crypto/aave/metadata.js
@@ -657,6 +801,25 @@ var AAVE_metadata = {
657
801
  example: `"USDT"`,
658
802
  require: "m",
659
803
  type: "string"
804
+ },
805
+ {
806
+ name: "columnsName",
807
+ detail: "Filter columns by name in output. Comma separated list.",
808
+ example: `"balance"`,
809
+ require: "o",
810
+ type: "string"
811
+ }
812
+ ],
813
+ examples: [
814
+ {
815
+ title: "AAVE",
816
+ argumentString: "v2, tokens, USDT",
817
+ description: "Fetches data for the USDT token from Aave V2."
818
+ },
819
+ {
820
+ title: "AAVE",
821
+ argumentString: "v2-raw, markets, AAVE",
822
+ description: "Fetches data for the AAVE token from Aave V2."
660
823
  }
661
824
  ]
662
825
  };
@@ -701,6 +864,18 @@ var LENS_metadata = {
701
864
  require: "o",
702
865
  type: "number"
703
866
  }
867
+ ],
868
+ examples: [
869
+ {
870
+ title: "LENS",
871
+ argumentString: "posts, toka,miroyato",
872
+ description: "Fetches posts made by the users with the usernames toka and miroyato on Lens."
873
+ },
874
+ {
875
+ title: "LENS",
876
+ argumentString: "replies, 0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d",
877
+ description: "Fetches replies to the post with the specified hash on Lens."
878
+ }
704
879
  ]
705
880
  };
706
881
 
@@ -744,6 +919,18 @@ var FARCASTER_metadata = {
744
919
  require: "o",
745
920
  type: "number"
746
921
  }
922
+ ],
923
+ examples: [
924
+ {
925
+ title: "FARCASTER",
926
+ argumentString: "posts, miroyato",
927
+ description: "Fetches posts made by the user with the username miroyato."
928
+ },
929
+ {
930
+ title: "FARCASTER",
931
+ argumentString: "replies, 0x123abc456def789ghi012jkl345mno678pqr901stu234vwx567yz890abc123d",
932
+ description: "Fetches replies to the post with the specified hash."
933
+ }
747
934
  ]
748
935
  };
749
936
 
@@ -793,6 +980,18 @@ var FIREFLY_metadata = {
793
980
  require: "o",
794
981
  type: "number"
795
982
  }
983
+ ],
984
+ examples: [
985
+ {
986
+ title: "FIREFLY",
987
+ argumentString: "farcaster, posts, miroyato",
988
+ description: "Fetches posts made by the user with the username miroyato on Farcaster."
989
+ },
990
+ {
991
+ title: "FIREFLY",
992
+ argumentString: "lens, posts, toka",
993
+ description: "Fetches posts made by the user with the username toka on Lens."
994
+ }
796
995
  ]
797
996
  };
798
997
 
@@ -814,7 +1013,16 @@ var Neynar_metadata = {
814
1013
  require: "m",
815
1014
  type: "number"
816
1015
  }
817
- ]
1016
+ ],
1017
+ examples: [{
1018
+ title: "NEYNAR",
1019
+ argumentString: "miroyato",
1020
+ description: "Fetches followers for the Farcaster user with the username miroyato."
1021
+ }, {
1022
+ title: "NEYNAR",
1023
+ argumentString: "alice",
1024
+ description: "Fetches followers for the Farcaster user with the username alice."
1025
+ }]
818
1026
  };
819
1027
 
820
1028
  // src/crypto/smart-contract/metadata.js
@@ -872,7 +1080,16 @@ var TALLY_metadata = {
872
1080
  require: "m",
873
1081
  type: "string"
874
1082
  }
875
- ]
1083
+ ],
1084
+ examples: [{
1085
+ title: "TALLY",
1086
+ argumentString: "organization, arbitrum",
1087
+ description: "Fetches details about the Arbitrum organization from Tally."
1088
+ }, {
1089
+ title: "TALLY",
1090
+ argumentString: "proposals, aave",
1091
+ description: "Fetches proposals for the Aave organization from Tally."
1092
+ }]
876
1093
  };
877
1094
 
878
1095
  // src/crypto/dune-sim/metadata.js
@@ -921,6 +1138,18 @@ var DUNESIM_metadata = {
921
1138
  require: "o",
922
1139
  type: "number"
923
1140
  }
1141
+ ],
1142
+ examples: [
1143
+ {
1144
+ title: "DUNE",
1145
+ argumentString: "price, base, 1, 0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, 5",
1146
+ description: "Fetches the price of the specified token on the Base chain with a 1-hour historical offset, limiting results to 5 entries."
1147
+ },
1148
+ {
1149
+ title: "DUNE",
1150
+ argumentString: "activity, vitalik.eth, eth, 10",
1151
+ description: "Fetches the latest 10 wallet activities for the address vitalik.eth on the Ethereum chain."
1152
+ }
924
1153
  ]
925
1154
  };
926
1155
 
@@ -952,6 +1181,18 @@ var PRICE_metadata = {
952
1181
  require: "o",
953
1182
  type: "string"
954
1183
  }
1184
+ ],
1185
+ examples: [
1186
+ {
1187
+ title: "PRICE",
1188
+ argumentString: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca, base, 1,24",
1189
+ description: "Fetches the price of the specified token on the Base chain with 1-hour and 24-hour historical offsets."
1190
+ },
1191
+ {
1192
+ title: "PRICE",
1193
+ argumentString: "ETH,BTC, 1,24,168",
1194
+ description: "Fetches the prices of ETH and BTC with 1-hour, 24-hour, and 168-hour (7-day) historical offsets."
1195
+ }
955
1196
  ]
956
1197
  };
957
1198
 
@@ -990,6 +1231,18 @@ var WALLET_metadata = {
990
1231
  require: "o",
991
1232
  type: "string"
992
1233
  }
1234
+ ],
1235
+ examples: [
1236
+ {
1237
+ title: "WALLET",
1238
+ argumentString: "0x7FD624f3f97A7dd36195E8379F28dB6147C270ff, ethereum, txns, 17520",
1239
+ description: "Fetches transactions for the specified wallet address on the Ethereum chain within the last 17520 hours (approximately 2 years)."
1240
+ },
1241
+ {
1242
+ title: "WALLET",
1243
+ argumentString: "vitalik.eth, base, balance",
1244
+ description: "Fetches the latest balance for the address vitalik.eth on the Base chain."
1245
+ }
993
1246
  ]
994
1247
  };
995
1248
 
@@ -1007,7 +1260,16 @@ var YIELD_metadata = {
1007
1260
  require: "m",
1008
1261
  type: "string"
1009
1262
  }
1010
- ]
1263
+ ],
1264
+ examples: [{
1265
+ title: "YIELD",
1266
+ argumentString: "stablecoins",
1267
+ description: "Fetches yield data for stablecoins."
1268
+ }, {
1269
+ title: "YIELD",
1270
+ argumentString: "all",
1271
+ description: "Fetches yield data for all categories."
1272
+ }]
1011
1273
  };
1012
1274
 
1013
1275
  // src/crypto/circles/metadata.js
@@ -1036,8 +1298,24 @@ var CIRCLES_metadata = {
1036
1298
  example: `10`,
1037
1299
  require: "o",
1038
1300
  type: "number"
1301
+ },
1302
+ {
1303
+ name: "columnsName",
1304
+ detail: "Filter columns by name in output. Comma separated list.",
1305
+ example: `"id,address"`,
1306
+ require: "o",
1307
+ type: "string"
1039
1308
  }
1040
- ]
1309
+ ],
1310
+ examples: [{
1311
+ title: "CIRCLES",
1312
+ argumentString: "trust, 0xe9A6378d8FD4983C2999DB0735f258397E8C2253",
1313
+ description: "Fetches the trust relationships for the specified Circles address."
1314
+ }, {
1315
+ title: "CIRCLES",
1316
+ argumentString: "transactions, 0xe9A6378d8FD4983C2999DB0735f258397E8C2253, 5",
1317
+ description: "Fetches the last 5 transactions for the specified Circles address."
1318
+ }]
1041
1319
  };
1042
1320
 
1043
1321
  // src/crypto/crypto-metadata.js