@coingecko/coingecko-typescript 2.3.0 → 3.0.0

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.
Files changed (202) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/LICENSE +1 -1
  3. package/README.md +23 -10
  4. package/client.d.mts +4 -3
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +4 -3
  7. package/client.d.ts.map +1 -1
  8. package/client.js +15 -2
  9. package/client.js.map +1 -1
  10. package/client.mjs +15 -2
  11. package/client.mjs.map +1 -1
  12. package/internal/parse.d.mts.map +1 -1
  13. package/internal/parse.d.ts.map +1 -1
  14. package/internal/parse.js +5 -0
  15. package/internal/parse.js.map +1 -1
  16. package/internal/parse.mjs +5 -0
  17. package/internal/parse.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/resources/coins/circulating-supply-chart.d.mts +1 -1
  20. package/resources/coins/circulating-supply-chart.d.mts.map +1 -1
  21. package/resources/coins/circulating-supply-chart.d.ts +1 -1
  22. package/resources/coins/circulating-supply-chart.d.ts.map +1 -1
  23. package/resources/coins/coins.d.mts +158 -1
  24. package/resources/coins/coins.d.mts.map +1 -1
  25. package/resources/coins/coins.d.ts +158 -1
  26. package/resources/coins/coins.d.ts.map +1 -1
  27. package/resources/coins/coins.js.map +1 -1
  28. package/resources/coins/coins.mjs.map +1 -1
  29. package/resources/coins/contract/contract.d.mts +9 -1
  30. package/resources/coins/contract/contract.d.mts.map +1 -1
  31. package/resources/coins/contract/contract.d.ts +9 -1
  32. package/resources/coins/contract/contract.d.ts.map +1 -1
  33. package/resources/coins/contract/contract.js.map +1 -1
  34. package/resources/coins/contract/contract.mjs.map +1 -1
  35. package/resources/coins/contract/market-chart.d.mts +5 -1
  36. package/resources/coins/contract/market-chart.d.mts.map +1 -1
  37. package/resources/coins/contract/market-chart.d.ts +5 -1
  38. package/resources/coins/contract/market-chart.d.ts.map +1 -1
  39. package/resources/coins/contract/market-chart.js +5 -1
  40. package/resources/coins/contract/market-chart.js.map +1 -1
  41. package/resources/coins/contract/market-chart.mjs +5 -1
  42. package/resources/coins/contract/market-chart.mjs.map +1 -1
  43. package/resources/coins/history.d.mts +1 -1
  44. package/resources/coins/history.d.ts +1 -1
  45. package/resources/coins/market-chart.d.mts +5 -1
  46. package/resources/coins/market-chart.d.mts.map +1 -1
  47. package/resources/coins/market-chart.d.ts +5 -1
  48. package/resources/coins/market-chart.d.ts.map +1 -1
  49. package/resources/coins/market-chart.js +5 -1
  50. package/resources/coins/market-chart.js.map +1 -1
  51. package/resources/coins/market-chart.mjs +5 -1
  52. package/resources/coins/market-chart.mjs.map +1 -1
  53. package/resources/coins/markets.d.mts +9 -0
  54. package/resources/coins/markets.d.mts.map +1 -1
  55. package/resources/coins/markets.d.ts +9 -0
  56. package/resources/coins/markets.d.ts.map +1 -1
  57. package/resources/coins/tickers.d.mts +1 -1
  58. package/resources/coins/tickers.d.mts.map +1 -1
  59. package/resources/coins/tickers.d.ts +1 -1
  60. package/resources/coins/tickers.d.ts.map +1 -1
  61. package/resources/exchanges/exchanges.d.mts +3 -3
  62. package/resources/exchanges/exchanges.d.mts.map +1 -1
  63. package/resources/exchanges/exchanges.d.ts +3 -3
  64. package/resources/exchanges/exchanges.d.ts.map +1 -1
  65. package/resources/exchanges/tickers.d.mts +1 -1
  66. package/resources/exchanges/tickers.d.mts.map +1 -1
  67. package/resources/exchanges/tickers.d.ts +1 -1
  68. package/resources/exchanges/tickers.d.ts.map +1 -1
  69. package/resources/global/global.d.mts +4 -0
  70. package/resources/global/global.d.mts.map +1 -1
  71. package/resources/global/global.d.ts +4 -0
  72. package/resources/global/global.d.ts.map +1 -1
  73. package/resources/global/global.js.map +1 -1
  74. package/resources/global/global.mjs.map +1 -1
  75. package/resources/index.d.mts +1 -1
  76. package/resources/index.d.mts.map +1 -1
  77. package/resources/index.d.ts +1 -1
  78. package/resources/index.d.ts.map +1 -1
  79. package/resources/index.js.map +1 -1
  80. package/resources/index.mjs.map +1 -1
  81. package/resources/key.d.mts +10 -0
  82. package/resources/key.d.mts.map +1 -1
  83. package/resources/key.d.ts +10 -0
  84. package/resources/key.d.ts.map +1 -1
  85. package/resources/onchain/networks/dexes.d.mts +8 -0
  86. package/resources/onchain/networks/dexes.d.mts.map +1 -1
  87. package/resources/onchain/networks/dexes.d.ts +8 -0
  88. package/resources/onchain/networks/dexes.d.ts.map +1 -1
  89. package/resources/onchain/networks/new-pools.d.mts +16 -0
  90. package/resources/onchain/networks/new-pools.d.mts.map +1 -1
  91. package/resources/onchain/networks/new-pools.d.ts +16 -0
  92. package/resources/onchain/networks/new-pools.d.ts.map +1 -1
  93. package/resources/onchain/networks/pools/info.d.mts +2 -0
  94. package/resources/onchain/networks/pools/info.d.mts.map +1 -1
  95. package/resources/onchain/networks/pools/info.d.ts +2 -0
  96. package/resources/onchain/networks/pools/info.d.ts.map +1 -1
  97. package/resources/onchain/networks/pools/pools.d.mts +8 -0
  98. package/resources/onchain/networks/pools/pools.d.mts.map +1 -1
  99. package/resources/onchain/networks/pools/pools.d.ts +8 -0
  100. package/resources/onchain/networks/pools/pools.d.ts.map +1 -1
  101. package/resources/onchain/networks/pools/pools.js.map +1 -1
  102. package/resources/onchain/networks/pools/pools.mjs.map +1 -1
  103. package/resources/onchain/networks/tokens/index.d.mts +1 -0
  104. package/resources/onchain/networks/tokens/index.d.mts.map +1 -1
  105. package/resources/onchain/networks/tokens/index.d.ts +1 -0
  106. package/resources/onchain/networks/tokens/index.d.ts.map +1 -1
  107. package/resources/onchain/networks/tokens/index.js +3 -1
  108. package/resources/onchain/networks/tokens/index.js.map +1 -1
  109. package/resources/onchain/networks/tokens/index.mjs +1 -0
  110. package/resources/onchain/networks/tokens/index.mjs.map +1 -1
  111. package/resources/onchain/networks/tokens/info.d.mts +2 -0
  112. package/resources/onchain/networks/tokens/info.d.mts.map +1 -1
  113. package/resources/onchain/networks/tokens/info.d.ts +2 -0
  114. package/resources/onchain/networks/tokens/info.d.ts.map +1 -1
  115. package/resources/onchain/networks/tokens/multi.d.mts +6 -0
  116. package/resources/onchain/networks/tokens/multi.d.mts.map +1 -1
  117. package/resources/onchain/networks/tokens/multi.d.ts +6 -0
  118. package/resources/onchain/networks/tokens/multi.d.ts.map +1 -1
  119. package/resources/onchain/networks/tokens/ohlcv.d.mts +5 -0
  120. package/resources/onchain/networks/tokens/ohlcv.d.mts.map +1 -1
  121. package/resources/onchain/networks/tokens/ohlcv.d.ts +5 -0
  122. package/resources/onchain/networks/tokens/ohlcv.d.ts.map +1 -1
  123. package/resources/onchain/networks/tokens/pools.d.mts +14 -0
  124. package/resources/onchain/networks/tokens/pools.d.mts.map +1 -1
  125. package/resources/onchain/networks/tokens/pools.d.ts +14 -0
  126. package/resources/onchain/networks/tokens/pools.d.ts.map +1 -1
  127. package/resources/onchain/networks/tokens/tokens.d.mts +10 -0
  128. package/resources/onchain/networks/tokens/tokens.d.mts.map +1 -1
  129. package/resources/onchain/networks/tokens/tokens.d.ts +10 -0
  130. package/resources/onchain/networks/tokens/tokens.d.ts.map +1 -1
  131. package/resources/onchain/networks/tokens/tokens.js +4 -0
  132. package/resources/onchain/networks/tokens/tokens.js.map +1 -1
  133. package/resources/onchain/networks/tokens/tokens.mjs +4 -0
  134. package/resources/onchain/networks/tokens/tokens.mjs.map +1 -1
  135. package/resources/onchain/networks/tokens/top-holders.d.mts +12 -0
  136. package/resources/onchain/networks/tokens/top-holders.d.mts.map +1 -1
  137. package/resources/onchain/networks/tokens/top-holders.d.ts +12 -0
  138. package/resources/onchain/networks/tokens/top-holders.d.ts.map +1 -1
  139. package/resources/onchain/networks/tokens/top-traders.d.mts +77 -0
  140. package/resources/onchain/networks/tokens/top-traders.d.mts.map +1 -0
  141. package/resources/onchain/networks/tokens/top-traders.d.ts +77 -0
  142. package/resources/onchain/networks/tokens/top-traders.d.ts.map +1 -0
  143. package/resources/onchain/networks/tokens/top-traders.js +30 -0
  144. package/resources/onchain/networks/tokens/top-traders.js.map +1 -0
  145. package/resources/onchain/networks/tokens/top-traders.mjs +26 -0
  146. package/resources/onchain/networks/tokens/top-traders.mjs.map +1 -0
  147. package/resources/onchain/networks/trending-pools.d.mts +16 -0
  148. package/resources/onchain/networks/trending-pools.d.mts.map +1 -1
  149. package/resources/onchain/networks/trending-pools.d.ts +16 -0
  150. package/resources/onchain/networks/trending-pools.d.ts.map +1 -1
  151. package/resources/onchain/pools/megafilter.d.mts +13 -1
  152. package/resources/onchain/pools/megafilter.d.mts.map +1 -1
  153. package/resources/onchain/pools/megafilter.d.ts +13 -1
  154. package/resources/onchain/pools/megafilter.d.ts.map +1 -1
  155. package/resources/onchain/simple/networks/token-price.d.mts +20 -0
  156. package/resources/onchain/simple/networks/token-price.d.mts.map +1 -1
  157. package/resources/onchain/simple/networks/token-price.d.ts +20 -0
  158. package/resources/onchain/simple/networks/token-price.d.ts.map +1 -1
  159. package/resources/public-treasury.d.mts +286 -31
  160. package/resources/public-treasury.d.mts.map +1 -1
  161. package/resources/public-treasury.d.ts +286 -31
  162. package/resources/public-treasury.d.ts.map +1 -1
  163. package/resources/public-treasury.js +39 -4
  164. package/resources/public-treasury.js.map +1 -1
  165. package/resources/public-treasury.mjs +39 -4
  166. package/resources/public-treasury.mjs.map +1 -1
  167. package/src/client.ts +29 -4
  168. package/src/internal/parse.ts +6 -0
  169. package/src/resources/coins/circulating-supply-chart.ts +1 -1
  170. package/src/resources/coins/coins.ts +193 -1
  171. package/src/resources/coins/contract/contract.ts +11 -1
  172. package/src/resources/coins/contract/market-chart.ts +5 -1
  173. package/src/resources/coins/history.ts +1 -1
  174. package/src/resources/coins/market-chart.ts +5 -1
  175. package/src/resources/coins/markets.ts +11 -0
  176. package/src/resources/coins/tickers.ts +1 -1
  177. package/src/resources/exchanges/exchanges.ts +3 -3
  178. package/src/resources/exchanges/tickers.ts +1 -1
  179. package/src/resources/global/global.ts +5 -0
  180. package/src/resources/index.ts +5 -0
  181. package/src/resources/key.ts +12 -0
  182. package/src/resources/onchain/networks/dexes.ts +12 -0
  183. package/src/resources/onchain/networks/new-pools.ts +24 -0
  184. package/src/resources/onchain/networks/pools/info.ts +4 -0
  185. package/src/resources/onchain/networks/pools/pools.ts +12 -0
  186. package/src/resources/onchain/networks/tokens/index.ts +1 -0
  187. package/src/resources/onchain/networks/tokens/info.ts +4 -0
  188. package/src/resources/onchain/networks/tokens/multi.ts +8 -0
  189. package/src/resources/onchain/networks/tokens/ohlcv.ts +6 -0
  190. package/src/resources/onchain/networks/tokens/pools.ts +20 -0
  191. package/src/resources/onchain/networks/tokens/tokens.ts +18 -0
  192. package/src/resources/onchain/networks/tokens/top-holders.ts +21 -0
  193. package/src/resources/onchain/networks/tokens/top-traders.ts +116 -0
  194. package/src/resources/onchain/networks/trending-pools.ts +24 -0
  195. package/src/resources/onchain/pools/megafilter.ts +19 -0
  196. package/src/resources/onchain/simple/networks/token-price.ts +16 -0
  197. package/src/resources/public-treasury.ts +386 -35
  198. package/src/version.ts +1 -1
  199. package/version.d.mts +1 -1
  200. package/version.d.ts +1 -1
  201. package/version.js +1 -1
  202. package/version.mjs +1 -1
@@ -109,6 +109,11 @@ export interface CoinGetIDResponse {
109
109
  */
110
110
  categories?: Array<string>;
111
111
 
112
+ /**
113
+ * detailed coin categories
114
+ */
115
+ categories_details?: Array<CoinGetIDResponse.CategoriesDetail>;
116
+
112
117
  /**
113
118
  * coin community data
114
119
  */
@@ -144,6 +149,11 @@ export interface CoinGetIDResponse {
144
149
  */
145
150
  hashing_algorithm?: string;
146
151
 
152
+ /**
153
+ * coin ICO data
154
+ */
155
+ ico_data?: CoinGetIDResponse.IcoData;
156
+
147
157
  /**
148
158
  * coin image url
149
159
  */
@@ -169,6 +179,11 @@ export interface CoinGetIDResponse {
169
179
  */
170
180
  market_cap_rank?: number;
171
181
 
182
+ /**
183
+ * coin rank by market cap including rehypothecated tokens
184
+ */
185
+ market_cap_rank_with_rehypothecated?: number;
186
+
172
187
  /**
173
188
  * coin market data
174
189
  */
@@ -231,6 +246,18 @@ export interface CoinGetIDResponse {
231
246
  }
232
247
 
233
248
  export namespace CoinGetIDResponse {
249
+ export interface CategoriesDetail {
250
+ /**
251
+ * category ID
252
+ */
253
+ id?: string;
254
+
255
+ /**
256
+ * category name
257
+ */
258
+ name?: string;
259
+ }
260
+
234
261
  /**
235
262
  * coin community data
236
263
  */
@@ -344,6 +371,161 @@ export namespace CoinGetIDResponse {
344
371
  }
345
372
  }
346
373
 
374
+ /**
375
+ * coin ICO data
376
+ */
377
+ export interface IcoData {
378
+ /**
379
+ * accepting currencies
380
+ */
381
+ accepting_currencies?: string;
382
+
383
+ /**
384
+ * amount for sale
385
+ */
386
+ amount_for_sale?: number;
387
+
388
+ /**
389
+ * base pre-sale amount
390
+ */
391
+ base_pre_sale_amount?: number;
392
+
393
+ /**
394
+ * base public sale amount
395
+ */
396
+ base_public_sale_amount?: number;
397
+
398
+ /**
399
+ * bounty detail url
400
+ */
401
+ bounty_detail_url?: string;
402
+
403
+ /**
404
+ * country of origin
405
+ */
406
+ country_origin?: string;
407
+
408
+ /**
409
+ * detailed description
410
+ */
411
+ description?: string;
412
+
413
+ /**
414
+ * hardcap amount
415
+ */
416
+ hardcap_amount?: number;
417
+
418
+ /**
419
+ * hardcap currency
420
+ */
421
+ hardcap_currency?: string;
422
+
423
+ /**
424
+ * ICO end date
425
+ */
426
+ ico_end_date?: string;
427
+
428
+ /**
429
+ * ICO start date
430
+ */
431
+ ico_start_date?: string;
432
+
433
+ /**
434
+ * KYC required
435
+ */
436
+ kyc_required?: boolean;
437
+
438
+ /**
439
+ * ICO related links
440
+ */
441
+ links?: { [key: string]: string };
442
+
443
+ /**
444
+ * pre-sale available
445
+ */
446
+ pre_sale_available?: boolean;
447
+
448
+ /**
449
+ * pre-sale end date
450
+ */
451
+ pre_sale_end_date?: string;
452
+
453
+ /**
454
+ * pre-sale ended
455
+ */
456
+ pre_sale_ended?: boolean;
457
+
458
+ /**
459
+ * pre-sale start date
460
+ */
461
+ pre_sale_start_date?: string;
462
+
463
+ /**
464
+ * quote pre-sale amount
465
+ */
466
+ quote_pre_sale_amount?: number;
467
+
468
+ /**
469
+ * quote pre-sale currency
470
+ */
471
+ quote_pre_sale_currency?: string;
472
+
473
+ /**
474
+ * quote public sale amount
475
+ */
476
+ quote_public_sale_amount?: number;
477
+
478
+ /**
479
+ * quote public sale currency
480
+ */
481
+ quote_public_sale_currency?: string;
482
+
483
+ /**
484
+ * short description
485
+ */
486
+ short_desc?: string;
487
+
488
+ /**
489
+ * softcap amount
490
+ */
491
+ softcap_amount?: number;
492
+
493
+ /**
494
+ * softcap currency
495
+ */
496
+ softcap_currency?: string;
497
+
498
+ /**
499
+ * total raised amount
500
+ */
501
+ total_raised?: number;
502
+
503
+ /**
504
+ * total raised currency
505
+ */
506
+ total_raised_currency?: string;
507
+
508
+ /**
509
+ * whitelist available
510
+ */
511
+ whitelist_available?: boolean;
512
+
513
+ /**
514
+ * whitelist end date
515
+ */
516
+ whitelist_end_date?: string;
517
+
518
+ /**
519
+ * whitelist start date
520
+ */
521
+ whitelist_start_date?: string;
522
+
523
+ /**
524
+ * whitelist url
525
+ */
526
+ whitelist_url?: string;
527
+ }
528
+
347
529
  /**
348
530
  * coin image url
349
531
  */
@@ -546,6 +728,11 @@ export namespace CoinGetIDResponse {
546
728
  */
547
729
  market_cap_rank?: number;
548
730
 
731
+ /**
732
+ * coin rank by market cap including rehypothecated tokens
733
+ */
734
+ market_cap_rank_with_rehypothecated?: number;
735
+
549
736
  /**
550
737
  * coin max supply
551
738
  */
@@ -985,7 +1172,7 @@ export namespace CoinGetIDResponse {
985
1172
  /**
986
1173
  * coin ticker trust score
987
1174
  */
988
- trust_score?: string;
1175
+ trust_score?: string | null;
989
1176
 
990
1177
  /**
991
1178
  * coin ticker volume
@@ -1055,6 +1242,11 @@ export interface CoinGetIDParams {
1055
1242
  */
1056
1243
  dex_pair_format?: 'contract_address' | 'symbol';
1057
1244
 
1245
+ /**
1246
+ * include categories details, default: false
1247
+ */
1248
+ include_categories_details?: boolean;
1249
+
1058
1250
  /**
1059
1251
  * include all the localized languages in the response, default: true
1060
1252
  */
@@ -126,6 +126,11 @@ export interface ContractGetResponse {
126
126
  */
127
127
  market_cap_rank?: number;
128
128
 
129
+ /**
130
+ * coin rank by market cap including rehypothecated tokens
131
+ */
132
+ market_cap_rank_with_rehypothecated?: number;
133
+
129
134
  /**
130
135
  * coin market data
131
136
  */
@@ -503,6 +508,11 @@ export namespace ContractGetResponse {
503
508
  */
504
509
  market_cap_rank?: number;
505
510
 
511
+ /**
512
+ * coin rank by market cap including rehypothecated tokens
513
+ */
514
+ market_cap_rank_with_rehypothecated?: number;
515
+
506
516
  /**
507
517
  * coin max supply
508
518
  */
@@ -942,7 +952,7 @@ export namespace ContractGetResponse {
942
952
  /**
943
953
  * coin ticker trust score
944
954
  */
945
- trust_score?: string;
955
+ trust_score?: string | null;
946
956
 
947
957
  /**
948
958
  * coin ticker volume
@@ -16,7 +16,11 @@ export class MarketChart extends APIResource {
16
16
  * const marketChart =
17
17
  * await client.coins.contract.marketChart.get(
18
18
  * '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
19
- * { id: 'ethereum', days: 'days', vs_currency: 'usd' },
19
+ * {
20
+ * id: 'ethereum',
21
+ * days: 'days',
22
+ * vs_currency: 'usd',
23
+ * },
20
24
  * );
21
25
  * ```
22
26
  */
@@ -243,7 +243,7 @@ export namespace HistoryGetResponse {
243
243
 
244
244
  export interface HistoryGetParams {
245
245
  /**
246
- * date of data snapshot (`YYYY-MM-DD` or `YYYY-MM-DDTHH:MM`)
246
+ * date of data snapshot (`YYYY-MM-DD`)
247
247
  */
248
248
  date: string;
249
249
 
@@ -31,7 +31,11 @@ export class MarketChart extends APIResource {
31
31
  * ```ts
32
32
  * const response = await client.coins.marketChart.getRange(
33
33
  * 'bitcoin',
34
- * { from: 'from', to: 'to', vs_currency: 'usd' },
34
+ * {
35
+ * from: 'from',
36
+ * to: 'to',
37
+ * vs_currency: 'usd',
38
+ * },
35
39
  * );
36
40
  * ```
37
41
  */
@@ -115,6 +115,11 @@ export namespace MarketGetResponse {
115
115
  */
116
116
  market_cap_rank?: number | null;
117
117
 
118
+ /**
119
+ * coin rank by market cap including rehypothecated tokens
120
+ */
121
+ market_cap_rank_with_rehypothecated?: number | null;
122
+
118
123
  /**
119
124
  * coin max supply
120
125
  */
@@ -198,6 +203,12 @@ export interface MarketGetParams {
198
203
  */
199
204
  ids?: string;
200
205
 
206
+ /**
207
+ * include rehypothecated tokens in results, default: false When true, returns
208
+ * `market_cap_rank_with_rehypothecated` field
209
+ */
210
+ include_rehypothecated?: boolean;
211
+
201
212
  /**
202
213
  * for `symbols` lookups, specify `all` to include all matching tokens Default
203
214
  * `top` returns top-ranked tokens (by market cap or volume)
@@ -131,7 +131,7 @@ export namespace TickerGetResponse {
131
131
  /**
132
132
  * coin ticker trust score
133
133
  */
134
- trust_score?: string;
134
+ trust_score?: string | null;
135
135
 
136
136
  /**
137
137
  * coin ticker volume
@@ -91,7 +91,7 @@ export interface ExchangeGetResponse {
91
91
  has_trading_incentive?: boolean;
92
92
 
93
93
  /**
94
- * exchange image url
94
+ * exchange image URL
95
95
  */
96
96
  image?: string;
97
97
 
@@ -116,7 +116,7 @@ export interface ExchangeGetResponse {
116
116
  trust_score_rank?: number;
117
117
 
118
118
  /**
119
- * exchange website url
119
+ * exchange website URL
120
120
  */
121
121
  url?: string;
122
122
 
@@ -339,7 +339,7 @@ export namespace ExchangeGetIDResponse {
339
339
  /**
340
340
  * coin ticker trust score
341
341
  */
342
- trust_score?: string;
342
+ trust_score?: string | null;
343
343
 
344
344
  /**
345
345
  * coin ticker volume
@@ -132,7 +132,7 @@ export namespace TickerGetResponse {
132
132
  /**
133
133
  * coin ticker trust score
134
134
  */
135
- trust_score?: string;
135
+ trust_score?: string | null;
136
136
 
137
137
  /**
138
138
  * coin ticker volume
@@ -79,6 +79,11 @@ export namespace GlobalGetResponse {
79
79
  upcoming_icos?: number;
80
80
 
81
81
  updated_at?: number;
82
+
83
+ /**
84
+ * cryptocurrencies volume change percentage in 24 hours in usd
85
+ */
86
+ volume_change_percentage_24h_usd?: number;
82
87
  }
83
88
 
84
89
  export namespace Data {
@@ -34,7 +34,12 @@ export {
34
34
  PublicTreasury,
35
35
  type PublicTreasuryGetCoinIDResponse,
36
36
  type PublicTreasuryGetEntityIDResponse,
37
+ type PublicTreasuryGetHoldingChartResponse,
38
+ type PublicTreasuryGetTransactionHistoryResponse,
37
39
  type PublicTreasuryGetCoinIDParams,
40
+ type PublicTreasuryGetEntityIDParams,
41
+ type PublicTreasuryGetHoldingChartParams,
42
+ type PublicTreasuryGetTransactionHistoryParams,
38
43
  } from './public-treasury';
39
44
  export { Search, type SearchGetResponse, type SearchGetParams } from './search/search';
40
45
  export { Simple } from './simple/simple';
@@ -20,6 +20,18 @@ export class Key extends APIResource {
20
20
  }
21
21
 
22
22
  export interface KeyGetResponse {
23
+ /**
24
+ * Specific monthly credit limit configured for the API key used to authenticate
25
+ * this request
26
+ */
27
+ api_key_monthly_call_credit?: number;
28
+
29
+ /**
30
+ * Specific request per minute configured for the API key used to authenticate this
31
+ * request
32
+ */
33
+ api_key_rate_limit_request_per_minute?: number;
34
+
23
35
  current_remaining_monthly_calls?: number;
24
36
 
25
37
  current_total_monthly_calls?: number;
@@ -93,6 +93,8 @@ export namespace DexGetPoolsResponse {
93
93
 
94
94
  base_token_price_usd?: string;
95
95
 
96
+ community_sus_report?: number;
97
+
96
98
  fdv_usd?: string;
97
99
 
98
100
  market_cap_usd?: string;
@@ -111,6 +113,10 @@ export namespace DexGetPoolsResponse {
111
113
 
112
114
  reserve_in_usd?: string;
113
115
 
116
+ sentiment_vote_negative_percentage?: number;
117
+
118
+ sentiment_vote_positive_percentage?: number;
119
+
114
120
  transactions?: Attributes.Transactions;
115
121
 
116
122
  volume_usd?: Attributes.VolumeUsd;
@@ -301,6 +307,12 @@ export interface DexGetPoolsParams {
301
307
  */
302
308
  include?: string;
303
309
 
310
+ /**
311
+ * Query param: include GeckoTerminal community data (Sentiment votes, Suspicious
312
+ * reports) Default value: false
313
+ */
314
+ include_gt_community_data?: boolean;
315
+
304
316
  /**
305
317
  * Query param: page through results Default value: 1
306
318
  */
@@ -69,6 +69,8 @@ export namespace NewPoolGetResponse {
69
69
 
70
70
  base_token_price_usd?: string;
71
71
 
72
+ community_sus_report?: number;
73
+
72
74
  fdv_usd?: string;
73
75
 
74
76
  market_cap_usd?: string;
@@ -87,6 +89,10 @@ export namespace NewPoolGetResponse {
87
89
 
88
90
  reserve_in_usd?: string;
89
91
 
92
+ sentiment_vote_negative_percentage?: number;
93
+
94
+ sentiment_vote_positive_percentage?: number;
95
+
90
96
  transactions?: Attributes.Transactions;
91
97
 
92
98
  volume_usd?: Attributes.VolumeUsd;
@@ -285,6 +291,8 @@ export namespace NewPoolGetNetworkResponse {
285
291
 
286
292
  base_token_price_usd?: string;
287
293
 
294
+ community_sus_report?: number;
295
+
288
296
  fdv_usd?: string;
289
297
 
290
298
  market_cap_usd?: string;
@@ -303,6 +311,10 @@ export namespace NewPoolGetNetworkResponse {
303
311
 
304
312
  reserve_in_usd?: string;
305
313
 
314
+ sentiment_vote_negative_percentage?: number;
315
+
316
+ sentiment_vote_positive_percentage?: number;
317
+
306
318
  transactions?: Attributes.Transactions;
307
319
 
308
320
  volume_usd?: Attributes.VolumeUsd;
@@ -481,6 +493,12 @@ export interface NewPoolGetParams {
481
493
  */
482
494
  include?: string;
483
495
 
496
+ /**
497
+ * include GeckoTerminal community data (Sentiment votes, Suspicious reports)
498
+ * Default value: false
499
+ */
500
+ include_gt_community_data?: boolean;
501
+
484
502
  /**
485
503
  * page through results Default value: 1
486
504
  */
@@ -494,6 +512,12 @@ export interface NewPoolGetNetworkParams {
494
512
  */
495
513
  include?: string;
496
514
 
515
+ /**
516
+ * include GeckoTerminal community data (Sentiment votes, Suspicious reports)
517
+ * Default value: false
518
+ */
519
+ include_gt_community_data?: boolean;
520
+
497
521
  /**
498
522
  * page through results Default value: 1
499
523
  */
@@ -60,6 +60,8 @@ export namespace InfoGetResponse {
60
60
 
61
61
  discord_url?: string;
62
62
 
63
+ farcaster_url?: string;
64
+
63
65
  freeze_authority?: string;
64
66
 
65
67
  gt_categories_id?: Array<string>;
@@ -87,6 +89,8 @@ export namespace InfoGetResponse {
87
89
  twitter_handle?: string;
88
90
 
89
91
  websites?: Array<string>;
92
+
93
+ zora_url?: string;
90
94
  }
91
95
 
92
96
  export namespace Attributes {
@@ -86,6 +86,8 @@ export namespace PoolGetResponse {
86
86
 
87
87
  base_token_price_usd?: string;
88
88
 
89
+ community_sus_report?: number;
90
+
89
91
  fdv_usd?: string;
90
92
 
91
93
  market_cap_usd?: string;
@@ -104,6 +106,10 @@ export namespace PoolGetResponse {
104
106
 
105
107
  reserve_in_usd?: string;
106
108
 
109
+ sentiment_vote_negative_percentage?: number;
110
+
111
+ sentiment_vote_positive_percentage?: number;
112
+
107
113
  transactions?: Attributes.Transactions;
108
114
 
109
115
  volume_usd?: Attributes.VolumeUsd;
@@ -572,6 +578,12 @@ export interface PoolGetParams {
572
578
  */
573
579
  include?: string;
574
580
 
581
+ /**
582
+ * include GeckoTerminal community data (Sentiment votes, Suspicious reports)
583
+ * Default value: false
584
+ */
585
+ include_gt_community_data?: boolean;
586
+
575
587
  /**
576
588
  * page through results Default value: 1
577
589
  */
@@ -7,4 +7,5 @@ export { Ohlcv, type OhlcvGetTimeframeResponse, type OhlcvGetTimeframeParams } f
7
7
  export { Pools, type PoolGetResponse, type PoolGetParams } from './pools';
8
8
  export { Tokens, type TokenGetAddressResponse, type TokenGetAddressParams } from './tokens';
9
9
  export { TopHolders, type TopHolderGetResponse, type TopHolderGetParams } from './top-holders';
10
+ export { TopTraders, type TopTraderGetResponse, type TopTraderGetParams } from './top-traders';
10
11
  export { Trades, type TradeGetResponse, type TradeGetParams } from './trades';
@@ -50,6 +50,8 @@ export namespace InfoGetResponse {
50
50
 
51
51
  discord_url?: string;
52
52
 
53
+ farcaster_url?: string;
54
+
53
55
  freeze_authority?: string;
54
56
 
55
57
  gt_categories_id?: Array<string>;
@@ -77,6 +79,8 @@ export namespace InfoGetResponse {
77
79
  twitter_handle?: string;
78
80
 
79
81
  websites?: Array<string>;
82
+
83
+ zora_url?: string;
80
84
  }
81
85
 
82
86
  export namespace Attributes {
@@ -61,6 +61,8 @@ export namespace MultiGetAddressesResponse {
61
61
 
62
62
  image_url?: string;
63
63
 
64
+ last_trade_timestamp?: number;
65
+
64
66
  launchpad_details?: Attributes.LaunchpadDetails;
65
67
 
66
68
  market_cap_usd?: string;
@@ -335,6 +337,12 @@ export interface MultiGetAddressesParams {
335
337
  * Query param: include pool composition, default: false
336
338
  */
337
339
  include_composition?: boolean;
340
+
341
+ /**
342
+ * Query param: include tokens from inactive pools using the most recent swap,
343
+ * default: false
344
+ */
345
+ include_inactive_source?: boolean;
338
346
  }
339
347
 
340
348
  export declare namespace Multi {
@@ -120,6 +120,12 @@ export interface OhlcvGetTimeframeParams {
120
120
  */
121
121
  include_empty_intervals?: boolean;
122
122
 
123
+ /**
124
+ * Query param: include token data from inactive pools using the most recent swap,
125
+ * default: false
126
+ */
127
+ include_inactive_source?: boolean;
128
+
123
129
  /**
124
130
  * Query param: number of OHLCV results to return, maximum 1000 Default value: 100
125
131
  */
@@ -54,8 +54,12 @@ export namespace PoolGetResponse {
54
54
 
55
55
  base_token_price_usd?: string;
56
56
 
57
+ community_sus_report?: number;
58
+
57
59
  fdv_usd?: string;
58
60
 
61
+ last_trade_timestamp?: number;
62
+
59
63
  market_cap_usd?: string;
60
64
 
61
65
  name?: string;
@@ -72,6 +76,10 @@ export namespace PoolGetResponse {
72
76
 
73
77
  reserve_in_usd?: string;
74
78
 
79
+ sentiment_vote_negative_percentage?: number;
80
+
81
+ sentiment_vote_positive_percentage?: number;
82
+
75
83
  transactions?: Attributes.Transactions;
76
84
 
77
85
  volume_usd?: Attributes.VolumeUsd;
@@ -255,6 +263,18 @@ export interface PoolGetParams {
255
263
  */
256
264
  include?: string;
257
265
 
266
+ /**
267
+ * Query param: include GeckoTerminal community data (Sentiment votes, Suspicious
268
+ * reports) Default value: false
269
+ */
270
+ include_gt_community_data?: boolean;
271
+
272
+ /**
273
+ * Query param: include tokens from inactive pools using the most recent swap,
274
+ * default: false
275
+ */
276
+ include_inactive_source?: boolean;
277
+
258
278
  /**
259
279
  * Query param: page through results Default value: 1
260
280
  */