@coingecko/coingecko-typescript 1.13.0 → 1.15.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 (220) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/client.d.mts +6 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -3
  9. package/client.mjs.map +1 -1
  10. package/internal/utils/values.js +3 -3
  11. package/internal/utils/values.js.map +1 -1
  12. package/internal/utils/values.mjs +3 -3
  13. package/internal/utils/values.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/coins/circulating-supply-chart.d.mts +7 -5
  16. package/resources/coins/circulating-supply-chart.d.mts.map +1 -1
  17. package/resources/coins/circulating-supply-chart.d.ts +7 -5
  18. package/resources/coins/circulating-supply-chart.d.ts.map +1 -1
  19. package/resources/coins/circulating-supply-chart.js +1 -1
  20. package/resources/coins/circulating-supply-chart.mjs +1 -1
  21. package/resources/coins/contract/market-chart.d.mts +13 -5
  22. package/resources/coins/contract/market-chart.d.mts.map +1 -1
  23. package/resources/coins/contract/market-chart.d.ts +13 -5
  24. package/resources/coins/contract/market-chart.d.ts.map +1 -1
  25. package/resources/coins/contract/market-chart.js +6 -1
  26. package/resources/coins/contract/market-chart.js.map +1 -1
  27. package/resources/coins/contract/market-chart.mjs +6 -1
  28. package/resources/coins/contract/market-chart.mjs.map +1 -1
  29. package/resources/coins/history.d.mts +2 -2
  30. package/resources/coins/history.d.ts +2 -2
  31. package/resources/coins/history.js +1 -1
  32. package/resources/coins/history.mjs +1 -1
  33. package/resources/coins/market-chart.d.mts +7 -5
  34. package/resources/coins/market-chart.d.mts.map +1 -1
  35. package/resources/coins/market-chart.d.ts +7 -5
  36. package/resources/coins/market-chart.d.ts.map +1 -1
  37. package/resources/coins/market-chart.js +1 -1
  38. package/resources/coins/market-chart.mjs +1 -1
  39. package/resources/coins/markets.d.mts +1 -1
  40. package/resources/coins/markets.d.ts +1 -1
  41. package/resources/coins/ohlc.d.mts +12 -5
  42. package/resources/coins/ohlc.d.mts.map +1 -1
  43. package/resources/coins/ohlc.d.ts +12 -5
  44. package/resources/coins/ohlc.d.ts.map +1 -1
  45. package/resources/coins/ohlc.js +6 -1
  46. package/resources/coins/ohlc.js.map +1 -1
  47. package/resources/coins/ohlc.mjs +6 -1
  48. package/resources/coins/ohlc.mjs.map +1 -1
  49. package/resources/coins/top-gainers-losers.d.mts +95 -5
  50. package/resources/coins/top-gainers-losers.d.mts.map +1 -1
  51. package/resources/coins/top-gainers-losers.d.ts +95 -5
  52. package/resources/coins/top-gainers-losers.d.ts.map +1 -1
  53. package/resources/coins/top-gainers-losers.js +1 -1
  54. package/resources/coins/top-gainers-losers.mjs +1 -1
  55. package/resources/coins/total-supply-chart.d.mts +8 -6
  56. package/resources/coins/total-supply-chart.d.mts.map +1 -1
  57. package/resources/coins/total-supply-chart.d.ts +8 -6
  58. package/resources/coins/total-supply-chart.d.ts.map +1 -1
  59. package/resources/coins/total-supply-chart.js +2 -2
  60. package/resources/coins/total-supply-chart.mjs +2 -2
  61. package/resources/derivatives/exchanges.d.mts +2 -2
  62. package/resources/derivatives/exchanges.d.ts +2 -2
  63. package/resources/derivatives/exchanges.js +2 -2
  64. package/resources/derivatives/exchanges.mjs +2 -2
  65. package/resources/entities.d.mts +54 -0
  66. package/resources/entities.d.mts.map +1 -0
  67. package/resources/entities.d.ts +54 -0
  68. package/resources/entities.d.ts.map +1 -0
  69. package/resources/entities.js +21 -0
  70. package/resources/entities.js.map +1 -0
  71. package/resources/entities.mjs +17 -0
  72. package/resources/entities.mjs.map +1 -0
  73. package/resources/exchanges/exchanges.d.mts +3 -3
  74. package/resources/exchanges/exchanges.d.ts +3 -3
  75. package/resources/exchanges/exchanges.js +3 -3
  76. package/resources/exchanges/exchanges.mjs +3 -3
  77. package/resources/exchanges/tickers.d.mts +2 -2
  78. package/resources/exchanges/tickers.d.mts.map +1 -1
  79. package/resources/exchanges/tickers.d.ts +2 -2
  80. package/resources/exchanges/tickers.d.ts.map +1 -1
  81. package/resources/exchanges/tickers.js +1 -1
  82. package/resources/exchanges/tickers.mjs +1 -1
  83. package/resources/exchanges/volume-chart.d.mts +2 -2
  84. package/resources/exchanges/volume-chart.d.ts +2 -2
  85. package/resources/exchanges/volume-chart.js +2 -2
  86. package/resources/exchanges/volume-chart.mjs +2 -2
  87. package/resources/index.d.mts +2 -1
  88. package/resources/index.d.mts.map +1 -1
  89. package/resources/index.d.ts +2 -1
  90. package/resources/index.d.ts.map +1 -1
  91. package/resources/index.js +5 -3
  92. package/resources/index.js.map +1 -1
  93. package/resources/index.mjs +2 -1
  94. package/resources/index.mjs.map +1 -1
  95. package/resources/onchain/networks/pools/info.d.mts +72 -48
  96. package/resources/onchain/networks/pools/info.d.mts.map +1 -1
  97. package/resources/onchain/networks/pools/info.d.ts +72 -48
  98. package/resources/onchain/networks/pools/info.d.ts.map +1 -1
  99. package/resources/onchain/networks/pools/info.js +5 -2
  100. package/resources/onchain/networks/pools/info.js.map +1 -1
  101. package/resources/onchain/networks/pools/info.mjs +5 -2
  102. package/resources/onchain/networks/pools/info.mjs.map +1 -1
  103. package/resources/onchain/networks/pools/multi.d.mts +35 -0
  104. package/resources/onchain/networks/pools/multi.d.mts.map +1 -1
  105. package/resources/onchain/networks/pools/multi.d.ts +35 -0
  106. package/resources/onchain/networks/pools/multi.d.ts.map +1 -1
  107. package/resources/onchain/networks/pools/ohlcv.d.mts +2 -2
  108. package/resources/onchain/networks/pools/ohlcv.d.mts.map +1 -1
  109. package/resources/onchain/networks/pools/ohlcv.d.ts +2 -2
  110. package/resources/onchain/networks/pools/ohlcv.d.ts.map +1 -1
  111. package/resources/onchain/networks/pools/ohlcv.js.map +1 -1
  112. package/resources/onchain/networks/pools/ohlcv.mjs.map +1 -1
  113. package/resources/onchain/networks/pools/pools.d.mts +35 -0
  114. package/resources/onchain/networks/pools/pools.d.mts.map +1 -1
  115. package/resources/onchain/networks/pools/pools.d.ts +35 -0
  116. package/resources/onchain/networks/pools/pools.d.ts.map +1 -1
  117. package/resources/onchain/networks/pools/pools.js.map +1 -1
  118. package/resources/onchain/networks/pools/pools.mjs.map +1 -1
  119. package/resources/onchain/networks/tokens/info.d.mts +1 -1
  120. package/resources/onchain/networks/tokens/info.d.mts.map +1 -1
  121. package/resources/onchain/networks/tokens/info.d.ts +1 -1
  122. package/resources/onchain/networks/tokens/info.d.ts.map +1 -1
  123. package/resources/onchain/networks/tokens/multi.d.mts +132 -0
  124. package/resources/onchain/networks/tokens/multi.d.mts.map +1 -1
  125. package/resources/onchain/networks/tokens/multi.d.ts +132 -0
  126. package/resources/onchain/networks/tokens/multi.d.ts.map +1 -1
  127. package/resources/onchain/networks/tokens/ohlcv.d.mts +2 -2
  128. package/resources/onchain/networks/tokens/ohlcv.d.mts.map +1 -1
  129. package/resources/onchain/networks/tokens/ohlcv.d.ts +2 -2
  130. package/resources/onchain/networks/tokens/ohlcv.d.ts.map +1 -1
  131. package/resources/onchain/networks/tokens/ohlcv.js.map +1 -1
  132. package/resources/onchain/networks/tokens/ohlcv.mjs.map +1 -1
  133. package/resources/onchain/networks/tokens/tokens.d.mts +15 -0
  134. package/resources/onchain/networks/tokens/tokens.d.mts.map +1 -1
  135. package/resources/onchain/networks/tokens/tokens.d.ts +15 -0
  136. package/resources/onchain/networks/tokens/tokens.d.ts.map +1 -1
  137. package/resources/onchain/networks/tokens/tokens.js.map +1 -1
  138. package/resources/onchain/networks/tokens/tokens.mjs.map +1 -1
  139. package/resources/onchain/pools/megafilter.d.mts +1 -1
  140. package/resources/onchain/pools/megafilter.d.mts.map +1 -1
  141. package/resources/onchain/pools/megafilter.d.ts +1 -1
  142. package/resources/onchain/pools/megafilter.d.ts.map +1 -1
  143. package/resources/public-treasury.d.mts +137 -0
  144. package/resources/public-treasury.d.mts.map +1 -0
  145. package/resources/public-treasury.d.ts +137 -0
  146. package/resources/public-treasury.d.ts.map +1 -0
  147. package/resources/public-treasury.js +40 -0
  148. package/resources/public-treasury.js.map +1 -0
  149. package/resources/public-treasury.mjs +36 -0
  150. package/resources/public-treasury.mjs.map +1 -0
  151. package/resources/simple/price.d.mts +2 -2
  152. package/resources/simple/price.d.ts +2 -2
  153. package/src/client.ts +24 -5
  154. package/src/internal/utils/values.ts +3 -3
  155. package/src/resources/coins/circulating-supply-chart.ts +7 -5
  156. package/src/resources/coins/contract/market-chart.ts +13 -5
  157. package/src/resources/coins/history.ts +2 -2
  158. package/src/resources/coins/market-chart.ts +7 -5
  159. package/src/resources/coins/markets.ts +1 -1
  160. package/src/resources/coins/ohlc.ts +12 -5
  161. package/src/resources/coins/top-gainers-losers.ts +117 -5
  162. package/src/resources/coins/total-supply-chart.ts +8 -6
  163. package/src/resources/derivatives/exchanges.ts +2 -2
  164. package/src/resources/entities.ts +73 -0
  165. package/src/resources/exchanges/exchanges.ts +3 -3
  166. package/src/resources/exchanges/tickers.ts +9 -2
  167. package/src/resources/exchanges/volume-chart.ts +2 -2
  168. package/src/resources/index.ts +7 -1
  169. package/src/resources/onchain/networks/pools/info.ts +92 -54
  170. package/src/resources/onchain/networks/pools/multi.ts +61 -0
  171. package/src/resources/onchain/networks/pools/ohlcv.ts +2 -2
  172. package/src/resources/onchain/networks/pools/pools.ts +61 -0
  173. package/src/resources/onchain/networks/tokens/info.ts +1 -1
  174. package/src/resources/onchain/networks/tokens/multi.ts +211 -0
  175. package/src/resources/onchain/networks/tokens/ohlcv.ts +2 -2
  176. package/src/resources/onchain/networks/tokens/tokens.ts +25 -0
  177. package/src/resources/onchain/pools/megafilter.ts +7 -0
  178. package/src/resources/public-treasury.ts +178 -0
  179. package/src/resources/simple/price.ts +2 -2
  180. package/src/version.ts +1 -1
  181. package/version.d.mts +1 -1
  182. package/version.d.ts +1 -1
  183. package/version.js +1 -1
  184. package/version.mjs +1 -1
  185. package/resources/companies/companies.d.mts +0 -10
  186. package/resources/companies/companies.d.mts.map +0 -1
  187. package/resources/companies/companies.d.ts +0 -10
  188. package/resources/companies/companies.d.ts.map +0 -1
  189. package/resources/companies/companies.js +0 -17
  190. package/resources/companies/companies.js.map +0 -1
  191. package/resources/companies/companies.mjs +0 -12
  192. package/resources/companies/companies.mjs.map +0 -1
  193. package/resources/companies/index.d.mts +0 -3
  194. package/resources/companies/index.d.mts.map +0 -1
  195. package/resources/companies/index.d.ts +0 -3
  196. package/resources/companies/index.d.ts.map +0 -1
  197. package/resources/companies/index.js +0 -9
  198. package/resources/companies/index.js.map +0 -1
  199. package/resources/companies/index.mjs +0 -4
  200. package/resources/companies/index.mjs.map +0 -1
  201. package/resources/companies/public-treasury.d.mts +0 -69
  202. package/resources/companies/public-treasury.d.mts.map +0 -1
  203. package/resources/companies/public-treasury.d.ts +0 -69
  204. package/resources/companies/public-treasury.d.ts.map +0 -1
  205. package/resources/companies/public-treasury.js +0 -25
  206. package/resources/companies/public-treasury.js.map +0 -1
  207. package/resources/companies/public-treasury.mjs +0 -21
  208. package/resources/companies/public-treasury.mjs.map +0 -1
  209. package/resources/companies.d.mts +0 -2
  210. package/resources/companies.d.mts.map +0 -1
  211. package/resources/companies.d.ts +0 -2
  212. package/resources/companies.d.ts.map +0 -1
  213. package/resources/companies.js +0 -6
  214. package/resources/companies.js.map +0 -1
  215. package/resources/companies.mjs +0 -3
  216. package/resources/companies.mjs.map +0 -1
  217. package/src/resources/companies/companies.ts +0 -18
  218. package/src/resources/companies/index.ts +0 -4
  219. package/src/resources/companies/public-treasury.ts +0 -89
  220. package/src/resources/companies.ts +0 -3
@@ -20,114 +20,152 @@ export class Info extends APIResource {
20
20
  * ```
21
21
  */
22
22
  get(poolAddress: string, params: InfoGetParams, options?: RequestOptions): APIPromise<InfoGetResponse> {
23
- const { network } = params;
24
- return this._client.get(path`/onchain/networks/${network}/pools/${poolAddress}/info`, options);
23
+ const { network, ...query } = params;
24
+ return this._client.get(path`/onchain/networks/${network}/pools/${poolAddress}/info`, {
25
+ query,
26
+ ...options,
27
+ });
25
28
  }
26
29
  }
27
30
 
28
31
  export interface InfoGetResponse {
29
- data?: InfoGetResponse.Data;
32
+ data?: Array<InfoGetResponse.Data>;
33
+
34
+ included?: Array<InfoGetResponse.Included>;
30
35
  }
31
36
 
32
37
  export namespace InfoGetResponse {
33
38
  export interface Data {
34
- id?: string;
35
-
36
- attributes?: Data.Attributes;
37
-
38
- type?: string;
39
+ data?: Data.Data;
39
40
  }
40
41
 
41
42
  export namespace Data {
42
- export interface Attributes {
43
- address?: string;
43
+ export interface Data {
44
+ id?: string;
45
+
46
+ attributes?: Data.Attributes;
44
47
 
45
- categories?: Array<string>;
48
+ type?: string;
49
+ }
46
50
 
47
- coingecko_coin_id?: string;
51
+ export namespace Data {
52
+ export interface Attributes {
53
+ address?: string;
48
54
 
49
- description?: string;
55
+ categories?: Array<string>;
50
56
 
51
- discord_url?: string;
57
+ coingecko_coin_id?: string;
52
58
 
53
- freeze_authority?: string;
59
+ description?: string;
54
60
 
55
- gt_categories_id?: Array<string>;
61
+ discord_url?: string;
56
62
 
57
- gt_score?: number;
63
+ freeze_authority?: string;
58
64
 
59
- gt_score_details?: Attributes.GtScoreDetails;
65
+ gt_categories_id?: Array<string>;
60
66
 
61
- holders?: Attributes.Holders;
67
+ gt_score?: number;
62
68
 
63
- image?: Attributes.Image;
69
+ gt_score_details?: Attributes.GtScoreDetails;
64
70
 
65
- image_url?: string;
71
+ holders?: Attributes.Holders;
66
72
 
67
- is_honeypot?: boolean;
73
+ image?: Attributes.Image;
68
74
 
69
- mint_authority?: string;
75
+ image_url?: string;
70
76
 
71
- name?: string;
77
+ is_honeypot?: boolean | string;
72
78
 
73
- symbol?: string;
79
+ mint_authority?: string;
74
80
 
75
- telegram_handle?: string;
81
+ name?: string;
76
82
 
77
- twitter_handle?: string;
83
+ symbol?: string;
78
84
 
79
- websites?: Array<string>;
80
- }
85
+ telegram_handle?: string;
81
86
 
82
- export namespace Attributes {
83
- export interface GtScoreDetails {
84
- creation?: number;
87
+ twitter_handle?: string;
85
88
 
86
- holders?: number;
89
+ websites?: Array<string>;
90
+ }
87
91
 
88
- info?: number;
92
+ export namespace Attributes {
93
+ export interface GtScoreDetails {
94
+ creation?: number;
89
95
 
90
- pool?: number;
96
+ holders?: number;
91
97
 
92
- transaction?: number;
93
- }
98
+ info?: number;
94
99
 
95
- export interface Holders {
96
- count?: number;
100
+ pool?: number;
97
101
 
98
- distribution_percentage?: Holders.DistributionPercentage;
102
+ transaction?: number;
103
+ }
99
104
 
100
- last_updated?: string;
101
- }
105
+ export interface Holders {
106
+ count?: number;
102
107
 
103
- export namespace Holders {
104
- export interface DistributionPercentage {
105
- '11_30'?: number;
108
+ distribution_percentage?: Holders.DistributionPercentage;
106
109
 
107
- '31_50'?: number;
110
+ last_updated?: string;
111
+ }
108
112
 
109
- rest?: number;
113
+ export namespace Holders {
114
+ export interface DistributionPercentage {
115
+ '11_30'?: number;
110
116
 
111
- top_10?: number;
117
+ '31_50'?: number;
118
+
119
+ rest?: number;
120
+
121
+ top_10?: number;
122
+ }
112
123
  }
113
- }
114
124
 
115
- export interface Image {
116
- large?: string;
125
+ export interface Image {
126
+ large?: string;
117
127
 
118
- small?: string;
128
+ small?: string;
119
129
 
120
- thumb?: string;
130
+ thumb?: string;
131
+ }
121
132
  }
122
133
  }
123
134
  }
135
+
136
+ export interface Included {
137
+ id?: string;
138
+
139
+ attributes?: Included.Attributes;
140
+
141
+ type?: string;
142
+ }
143
+
144
+ export namespace Included {
145
+ export interface Attributes {
146
+ base_token_address?: string;
147
+
148
+ community_sus_report?: number;
149
+
150
+ quote_token_address?: string;
151
+
152
+ sentiment_vote_negative_percentage?: number;
153
+
154
+ sentiment_vote_positive_percentage?: number;
155
+ }
156
+ }
124
157
  }
125
158
 
126
159
  export interface InfoGetParams {
127
160
  /**
128
- * network ID \*refers to [/networks](/reference/networks-list)
161
+ * Path param: network ID \*refers to [/networks](/reference/networks-list)
129
162
  */
130
163
  network: string;
164
+
165
+ /**
166
+ * Query param: attributes to include
167
+ */
168
+ include?: 'pool';
131
169
  }
132
170
 
133
171
  export declare namespace Info {
@@ -53,12 +53,18 @@ export namespace MultiGetAddressesResponse {
53
53
  export interface Attributes {
54
54
  address?: string;
55
55
 
56
+ base_token_balance?: string;
57
+
58
+ base_token_liquidity_usd?: string;
59
+
56
60
  base_token_price_native_currency?: string;
57
61
 
58
62
  base_token_price_quote_token?: string;
59
63
 
60
64
  base_token_price_usd?: string;
61
65
 
66
+ buy_volume_usd?: Attributes.BuyVolumeUsd;
67
+
62
68
  fdv_usd?: string;
63
69
 
64
70
  locked_liquidity_percentage?: string;
@@ -67,6 +73,8 @@ export namespace MultiGetAddressesResponse {
67
73
 
68
74
  name?: string;
69
75
 
76
+ net_buy_volume_usd?: Attributes.NetBuyVolumeUsd;
77
+
70
78
  pool_created_at?: string;
71
79
 
72
80
  pool_fee_percentage?: string;
@@ -75,6 +83,10 @@ export namespace MultiGetAddressesResponse {
75
83
 
76
84
  price_change_percentage?: Attributes.PriceChangePercentage;
77
85
 
86
+ quote_token_balance?: string;
87
+
88
+ quote_token_liquidity_usd?: string;
89
+
78
90
  quote_token_price_base_token?: string;
79
91
 
80
92
  quote_token_price_native_currency?: string;
@@ -83,12 +95,42 @@ export namespace MultiGetAddressesResponse {
83
95
 
84
96
  reserve_in_usd?: string;
85
97
 
98
+ sell_volume_usd?: Attributes.SellVolumeUsd;
99
+
86
100
  transactions?: Attributes.Transactions;
87
101
 
88
102
  volume_usd?: Attributes.VolumeUsd;
89
103
  }
90
104
 
91
105
  export namespace Attributes {
106
+ export interface BuyVolumeUsd {
107
+ h1?: string;
108
+
109
+ h24?: string;
110
+
111
+ h6?: string;
112
+
113
+ m15?: string;
114
+
115
+ m30?: string;
116
+
117
+ m5?: string;
118
+ }
119
+
120
+ export interface NetBuyVolumeUsd {
121
+ h1?: string;
122
+
123
+ h24?: string;
124
+
125
+ h6?: string;
126
+
127
+ m15?: string;
128
+
129
+ m30?: string;
130
+
131
+ m5?: string;
132
+ }
133
+
92
134
  export interface PriceChangePercentage {
93
135
  h1?: string;
94
136
 
@@ -103,6 +145,20 @@ export namespace MultiGetAddressesResponse {
103
145
  m5?: string;
104
146
  }
105
147
 
148
+ export interface SellVolumeUsd {
149
+ h1?: string;
150
+
151
+ h24?: string;
152
+
153
+ h6?: string;
154
+
155
+ m15?: string;
156
+
157
+ m30?: string;
158
+
159
+ m5?: string;
160
+ }
161
+
106
162
  export interface Transactions {
107
163
  h1?: Transactions.H1;
108
164
 
@@ -278,6 +334,11 @@ export interface MultiGetAddressesParams {
278
334
  */
279
335
  include?: string;
280
336
 
337
+ /**
338
+ * Query param: include pool composition, default: false
339
+ */
340
+ include_composition?: boolean;
341
+
281
342
  /**
282
343
  * Query param: include volume breakdown, default: false
283
344
  */
@@ -24,7 +24,7 @@ export class Ohlcv extends APIResource {
24
24
  * ```
25
25
  */
26
26
  getTimeframe(
27
- timeframe: 'day' | 'hour' | 'minute',
27
+ timeframe: 'day' | 'hour' | 'minute' | 'second',
28
28
  params: OhlcvGetTimeframeParams,
29
29
  options?: RequestOptions,
30
30
  ): APIPromise<OhlcvGetTimeframeResponse> {
@@ -106,7 +106,7 @@ export interface OhlcvGetTimeframeParams {
106
106
  /**
107
107
  * Query param: time period to aggregate each OHLCV Available values (day): `1`
108
108
  * Available values (hour): `1` , `4` , `12` Available values (minute): `1` , `5` ,
109
- * `15` Default value: 1
109
+ * `15` Available values (second): `1`, `15`, `30` Default value: 1
110
110
  */
111
111
  aggregate?: string;
112
112
 
@@ -296,12 +296,18 @@ export namespace PoolGetAddressResponse {
296
296
  export interface Attributes {
297
297
  address?: string;
298
298
 
299
+ base_token_balance?: string;
300
+
301
+ base_token_liquidity_usd?: string;
302
+
299
303
  base_token_price_native_currency?: string;
300
304
 
301
305
  base_token_price_quote_token?: string;
302
306
 
303
307
  base_token_price_usd?: string;
304
308
 
309
+ buy_volume_usd?: Attributes.BuyVolumeUsd;
310
+
305
311
  fdv_usd?: string;
306
312
 
307
313
  locked_liquidity_percentage?: string;
@@ -310,6 +316,8 @@ export namespace PoolGetAddressResponse {
310
316
 
311
317
  name?: string;
312
318
 
319
+ net_buy_volume_usd?: Attributes.NetBuyVolumeUsd;
320
+
313
321
  pool_created_at?: string;
314
322
 
315
323
  pool_fee_percentage?: string;
@@ -318,6 +326,10 @@ export namespace PoolGetAddressResponse {
318
326
 
319
327
  price_change_percentage?: Attributes.PriceChangePercentage;
320
328
 
329
+ quote_token_balance?: string;
330
+
331
+ quote_token_liquidity_usd?: string;
332
+
321
333
  quote_token_price_base_token?: string;
322
334
 
323
335
  quote_token_price_native_currency?: string;
@@ -326,12 +338,42 @@ export namespace PoolGetAddressResponse {
326
338
 
327
339
  reserve_in_usd?: string;
328
340
 
341
+ sell_volume_usd?: Attributes.SellVolumeUsd;
342
+
329
343
  transactions?: Attributes.Transactions;
330
344
 
331
345
  volume_usd?: Attributes.VolumeUsd;
332
346
  }
333
347
 
334
348
  export namespace Attributes {
349
+ export interface BuyVolumeUsd {
350
+ h1?: string;
351
+
352
+ h24?: string;
353
+
354
+ h6?: string;
355
+
356
+ m15?: string;
357
+
358
+ m30?: string;
359
+
360
+ m5?: string;
361
+ }
362
+
363
+ export interface NetBuyVolumeUsd {
364
+ h1?: string;
365
+
366
+ h24?: string;
367
+
368
+ h6?: string;
369
+
370
+ m15?: string;
371
+
372
+ m30?: string;
373
+
374
+ m5?: string;
375
+ }
376
+
335
377
  export interface PriceChangePercentage {
336
378
  h1?: string;
337
379
 
@@ -346,6 +388,20 @@ export namespace PoolGetAddressResponse {
346
388
  m5?: string;
347
389
  }
348
390
 
391
+ export interface SellVolumeUsd {
392
+ h1?: string;
393
+
394
+ h24?: string;
395
+
396
+ h6?: string;
397
+
398
+ m15?: string;
399
+
400
+ m30?: string;
401
+
402
+ m5?: string;
403
+ }
404
+
349
405
  export interface Transactions {
350
406
  h1?: Transactions.H1;
351
407
 
@@ -539,6 +595,11 @@ export interface PoolGetAddressParams {
539
595
  */
540
596
  include?: string;
541
597
 
598
+ /**
599
+ * Query param: include pool composition, default: false
600
+ */
601
+ include_composition?: boolean;
602
+
542
603
  /**
543
604
  * Query param: include volume breakdown, default: false
544
605
  */
@@ -64,7 +64,7 @@ export namespace InfoGetResponse {
64
64
 
65
65
  image_url?: string;
66
66
 
67
- is_honeypot?: boolean;
67
+ is_honeypot?: boolean | string;
68
68
 
69
69
  mint_authority?: string;
70
70
 
@@ -34,6 +34,8 @@ export class Multi extends APIResource {
34
34
 
35
35
  export interface MultiGetAddressesResponse {
36
36
  data?: Array<MultiGetAddressesResponse.Data>;
37
+
38
+ included?: Array<MultiGetAddressesResponse.Included>;
37
39
  }
38
40
 
39
41
  export namespace MultiGetAddressesResponse {
@@ -100,6 +102,210 @@ export namespace MultiGetAddressesResponse {
100
102
  }
101
103
  }
102
104
  }
105
+
106
+ export interface Included {
107
+ id?: string;
108
+
109
+ attributes?: Included.Attributes;
110
+
111
+ relationships?: Included.Relationships;
112
+
113
+ type?: string;
114
+ }
115
+
116
+ export namespace Included {
117
+ export interface Attributes {
118
+ address?: string;
119
+
120
+ base_token_balance?: string;
121
+
122
+ base_token_liquidity_usd?: string;
123
+
124
+ base_token_price_native_currency?: string;
125
+
126
+ base_token_price_quote_token?: string;
127
+
128
+ base_token_price_usd?: string;
129
+
130
+ fdv_usd?: string;
131
+
132
+ market_cap_usd?: string;
133
+
134
+ name?: string;
135
+
136
+ pool_created_at?: string;
137
+
138
+ price_change_percentage?: Attributes.PriceChangePercentage;
139
+
140
+ quote_token_balance?: string;
141
+
142
+ quote_token_liquidity_usd?: string;
143
+
144
+ quote_token_price_base_token?: string;
145
+
146
+ quote_token_price_native_currency?: string;
147
+
148
+ quote_token_price_usd?: string;
149
+
150
+ reserve_in_usd?: string;
151
+
152
+ transactions?: Attributes.Transactions;
153
+
154
+ volume_usd?: Attributes.VolumeUsd;
155
+ }
156
+
157
+ export namespace Attributes {
158
+ export interface PriceChangePercentage {
159
+ h1?: string;
160
+
161
+ h24?: string;
162
+
163
+ h6?: string;
164
+
165
+ m15?: string;
166
+
167
+ m30?: string;
168
+
169
+ m5?: string;
170
+ }
171
+
172
+ export interface Transactions {
173
+ h1?: Transactions.H1;
174
+
175
+ h24?: Transactions.H24;
176
+
177
+ h6?: Transactions.H6;
178
+
179
+ m15?: Transactions.M15;
180
+
181
+ m30?: Transactions.M30;
182
+
183
+ m5?: Transactions.M5;
184
+ }
185
+
186
+ export namespace Transactions {
187
+ export interface H1 {
188
+ buyers?: number;
189
+
190
+ buys?: number;
191
+
192
+ sellers?: number;
193
+
194
+ sells?: number;
195
+ }
196
+
197
+ export interface H24 {
198
+ buyers?: number;
199
+
200
+ buys?: number;
201
+
202
+ sellers?: number;
203
+
204
+ sells?: number;
205
+ }
206
+
207
+ export interface H6 {
208
+ buyers?: number;
209
+
210
+ buys?: number;
211
+
212
+ sellers?: number;
213
+
214
+ sells?: number;
215
+ }
216
+
217
+ export interface M15 {
218
+ buyers?: number;
219
+
220
+ buys?: number;
221
+
222
+ sellers?: number;
223
+
224
+ sells?: number;
225
+ }
226
+
227
+ export interface M30 {
228
+ buyers?: number;
229
+
230
+ buys?: number;
231
+
232
+ sellers?: number;
233
+
234
+ sells?: number;
235
+ }
236
+
237
+ export interface M5 {
238
+ buyers?: number;
239
+
240
+ buys?: number;
241
+
242
+ sellers?: number;
243
+
244
+ sells?: number;
245
+ }
246
+ }
247
+
248
+ export interface VolumeUsd {
249
+ h1?: string;
250
+
251
+ h24?: string;
252
+
253
+ h6?: string;
254
+
255
+ m15?: string;
256
+
257
+ m30?: string;
258
+
259
+ m5?: string;
260
+ }
261
+ }
262
+
263
+ export interface Relationships {
264
+ base_token?: Relationships.BaseToken;
265
+
266
+ dex?: Relationships.Dex;
267
+
268
+ quote_token?: Relationships.QuoteToken;
269
+ }
270
+
271
+ export namespace Relationships {
272
+ export interface BaseToken {
273
+ data?: BaseToken.Data;
274
+ }
275
+
276
+ export namespace BaseToken {
277
+ export interface Data {
278
+ id?: string;
279
+
280
+ type?: string;
281
+ }
282
+ }
283
+
284
+ export interface Dex {
285
+ data?: Dex.Data;
286
+ }
287
+
288
+ export namespace Dex {
289
+ export interface Data {
290
+ id?: string;
291
+
292
+ type?: string;
293
+ }
294
+ }
295
+
296
+ export interface QuoteToken {
297
+ data?: QuoteToken.Data;
298
+ }
299
+
300
+ export namespace QuoteToken {
301
+ export interface Data {
302
+ id?: string;
303
+
304
+ type?: string;
305
+ }
306
+ }
307
+ }
308
+ }
103
309
  }
104
310
 
105
311
  export interface MultiGetAddressesParams {
@@ -112,6 +318,11 @@ export interface MultiGetAddressesParams {
112
318
  * Query param: attributes to include
113
319
  */
114
320
  include?: 'top_pools';
321
+
322
+ /**
323
+ * Query param: include pool composition, default: false
324
+ */
325
+ include_composition?: boolean;
115
326
  }
116
327
 
117
328
  export declare namespace Multi {
@@ -24,7 +24,7 @@ export class Ohlcv extends APIResource {
24
24
  * ```
25
25
  */
26
26
  getTimeframe(
27
- timeframe: 'day' | 'hour' | 'minute',
27
+ timeframe: 'day' | 'hour' | 'minute' | 'second',
28
28
  params: OhlcvGetTimeframeParams,
29
29
  options?: RequestOptions,
30
30
  ): APIPromise<OhlcvGetTimeframeResponse> {
@@ -100,7 +100,7 @@ export interface OhlcvGetTimeframeParams {
100
100
  /**
101
101
  * Query param: time period to aggregate each OHLCV Available values (day): `1`
102
102
  * Available values (hour): `1` , `4` , `12` Available values (minute): `1` , `5` ,
103
- * `15` Default value: 1
103
+ * `15` Available values (second): `1`, `15`, `30` Default value: 1
104
104
  */
105
105
  aggregate?: string;
106
106