@avalabs/glacier-sdk 3.1.0-canary.efe2f7b.0 → 3.1.0-canary.f0648cd.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 (121) hide show
  1. package/dist/index.d.ts +952 -430
  2. package/dist/index.js +1 -1
  3. package/esm/generated/Glacier.d.ts +4 -4
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  6. package/esm/generated/models/ApiFeature.d.ts +7 -0
  7. package/esm/generated/models/ApiFeature.js +1 -0
  8. package/esm/generated/models/BadGateway.d.ts +16 -0
  9. package/esm/generated/models/BadRequest.d.ts +16 -0
  10. package/esm/generated/models/BalanceOwner.d.ts +6 -0
  11. package/esm/generated/models/BlockchainId.d.ts +2 -0
  12. package/esm/generated/models/BlockchainId.js +1 -1
  13. package/esm/generated/models/BlockchainIds.d.ts +3 -1
  14. package/esm/generated/models/BlockchainIds.js +1 -1
  15. package/esm/generated/models/ChainInfo.d.ts +1 -1
  16. package/esm/generated/models/CompletedValidatorDetails.d.ts +1 -0
  17. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +4 -4
  18. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +4 -4
  19. package/esm/generated/models/CreateWebhookRequest.d.ts +1 -1
  20. package/esm/generated/models/DataListChainsResponse.d.ts +7 -0
  21. package/esm/generated/models/Forbidden.d.ts +16 -0
  22. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  23. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
  24. package/esm/generated/models/GetTransactionResponse.d.ts +5 -0
  25. package/esm/generated/models/InternalServerError.d.ts +16 -0
  26. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +33 -0
  27. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +23 -0
  28. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  29. package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
  30. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +14 -0
  31. package/esm/generated/models/LogsFormat.d.ts +1 -1
  32. package/esm/generated/models/Metric.d.ts +14 -0
  33. package/esm/generated/models/Network.d.ts +3 -1
  34. package/esm/generated/models/Network.js +1 -1
  35. package/esm/generated/models/NotFound.d.ts +16 -0
  36. package/esm/generated/models/PChainTransaction.d.ts +14 -0
  37. package/esm/generated/models/PChainTransactionType.d.ts +5 -0
  38. package/esm/generated/models/PChainTransactionType.js +1 -1
  39. package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -0
  40. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +2 -2
  41. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  42. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
  43. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  44. package/esm/generated/models/RequestType.d.ts +2 -2
  45. package/esm/generated/models/RequestType.js +1 -1
  46. package/esm/generated/models/RpcMetrics.d.ts +14 -0
  47. package/esm/generated/models/RpcUsageMetricsResponseDTO.d.ts +18 -0
  48. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +47 -0
  49. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
  50. package/esm/generated/models/ServiceUnavailable.d.ts +16 -0
  51. package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
  52. package/esm/generated/models/SignatureAggregatorRequest.d.ts +8 -0
  53. package/esm/generated/models/Subnet.d.ts +9 -0
  54. package/esm/generated/models/TeleporterMessageInfo.d.ts +16 -0
  55. package/esm/generated/models/TooManyRequests.d.ts +16 -0
  56. package/esm/generated/models/TransactionDirectionType.d.ts +6 -0
  57. package/esm/generated/models/TransactionDirectionType.js +1 -0
  58. package/esm/generated/models/Unauthorized.d.ts +16 -0
  59. package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
  60. package/esm/generated/models/UsageMetricsGroupByEnum.d.ts +2 -1
  61. package/esm/generated/models/UsageMetricsGroupByEnum.js +1 -1
  62. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +3 -1
  63. package/esm/generated/models/UsageMetricsValueDTO.d.ts +53 -0
  64. package/esm/generated/models/UsageMetricsValueDTO.js +1 -0
  65. package/esm/generated/models/XChainId.d.ts +1 -0
  66. package/esm/generated/models/XChainId.js +1 -1
  67. package/esm/generated/services/DataApiUsageMetricsService.d.ts +154 -0
  68. package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
  69. package/esm/generated/services/EvmBalancesService.d.ts +10 -10
  70. package/esm/generated/services/EvmBalancesService.js +1 -1
  71. package/esm/generated/services/EvmBlocksService.d.ts +4 -4
  72. package/esm/generated/services/EvmBlocksService.js +1 -1
  73. package/esm/generated/services/EvmChainsService.d.ts +21 -8
  74. package/esm/generated/services/EvmChainsService.js +1 -1
  75. package/esm/generated/services/EvmContractsService.d.ts +4 -4
  76. package/esm/generated/services/EvmContractsService.js +1 -1
  77. package/esm/generated/services/EvmTransactionsService.d.ts +24 -24
  78. package/esm/generated/services/EvmTransactionsService.js +1 -1
  79. package/esm/generated/services/HealthCheckService.d.ts +1 -1
  80. package/esm/generated/services/HealthCheckService.js +1 -1
  81. package/esm/generated/services/NfTsService.d.ts +6 -6
  82. package/esm/generated/services/NfTsService.js +1 -1
  83. package/esm/generated/services/OperationsService.d.ts +2 -2
  84. package/esm/generated/services/OperationsService.js +1 -1
  85. package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +2 -2
  86. package/esm/generated/services/PrimaryNetworkBalancesService.js +1 -1
  87. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +6 -6
  88. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  89. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +4 -4
  90. package/esm/generated/services/PrimaryNetworkRewardsService.js +1 -1
  91. package/esm/generated/services/PrimaryNetworkService.d.ts +52 -18
  92. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  93. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +13 -10
  94. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  95. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +2 -2
  96. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  97. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +6 -6
  98. package/esm/generated/services/PrimaryNetworkVerticesService.js +1 -1
  99. package/esm/generated/services/SignatureAggregatorService.d.ts +20 -0
  100. package/esm/generated/services/SignatureAggregatorService.js +1 -0
  101. package/esm/generated/services/TeleporterService.d.ts +34 -6
  102. package/esm/generated/services/TeleporterService.js +1 -1
  103. package/esm/generated/services/WebhooksService.d.ts +10 -10
  104. package/esm/generated/services/WebhooksService.js +1 -1
  105. package/esm/index.d.ts +27 -9
  106. package/esm/index.js +1 -1
  107. package/package.json +2 -2
  108. package/esm/generated/models/GlacierApiFeature.d.ts +0 -6
  109. package/esm/generated/models/GlacierApiFeature.js +0 -1
  110. package/esm/generated/models/NetworkType.d.ts +0 -6
  111. package/esm/generated/models/NetworkType.js +0 -1
  112. package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
  113. package/esm/generated/models/PrimaryNetwork.js +0 -1
  114. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  115. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  116. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  117. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  118. package/esm/generated/services/GlacierApiUsageMetricsService.d.ts +0 -85
  119. package/esm/generated/services/GlacierApiUsageMetricsService.js +0 -1
  120. package/esm/generated/services/RpcService.d.ts +0 -25
  121. package/esm/generated/services/RpcService.js +0 -1
package/dist/index.d.ts CHANGED
@@ -54,6 +54,411 @@ declare abstract class BaseHttpRequest {
54
54
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
55
55
  }
56
56
 
57
+ type LogsFormatMetadata = {
58
+ /**
59
+ * The IP address of the client that made the request.
60
+ */
61
+ ipAddress: string;
62
+ /**
63
+ * The host for the request made by the client.
64
+ */
65
+ host: string;
66
+ /**
67
+ * The user agent of the client that made the request.
68
+ */
69
+ userAgent: string;
70
+ };
71
+
72
+ /**
73
+ * The type of request made by the client.
74
+ */
75
+ declare enum RequestType {
76
+ DATA = "data",
77
+ RPC = "rpc"
78
+ }
79
+
80
+ type LogsFormat = {
81
+ /**
82
+ * The organization id of the request.
83
+ */
84
+ orgId: string;
85
+ /**
86
+ * The unique log id of the request.
87
+ */
88
+ logId: string;
89
+ /**
90
+ * The timestamp of the request.
91
+ */
92
+ eventTimestamp: number;
93
+ /**
94
+ * The apiKey used to make the request.
95
+ */
96
+ apiKeyId: string;
97
+ /**
98
+ * The alias of the apiKey used to make the request.
99
+ */
100
+ apiKeyAlias: string;
101
+ /**
102
+ * The region of the host for the request made by the client.
103
+ */
104
+ hostRegion: string;
105
+ requestType: RequestType;
106
+ /**
107
+ * The path of the request made by the client.
108
+ */
109
+ requestPath: string;
110
+ /**
111
+ * The number of API credits consumed by the request.
112
+ */
113
+ apiCreditsConsumed: number;
114
+ /**
115
+ * The duration of the request in milliseconds.
116
+ */
117
+ requestDurationMsecs: number;
118
+ /**
119
+ * The response code of the request.
120
+ */
121
+ responseCode: number;
122
+ /**
123
+ * The chain id of the request.
124
+ */
125
+ chainId?: string;
126
+ /**
127
+ * The rpc method of the request.
128
+ */
129
+ rpcMethod?: string;
130
+ /**
131
+ * The metadata of the request.
132
+ */
133
+ metadata: LogsFormatMetadata;
134
+ };
135
+
136
+ type LogsResponseDTO = {
137
+ /**
138
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
139
+ */
140
+ nextPageToken?: string;
141
+ /**
142
+ * The organization id of the request.
143
+ */
144
+ orgId: string;
145
+ /**
146
+ * An array of logs representing the requests made by clients.
147
+ */
148
+ logs: Array<LogsFormat>;
149
+ };
150
+
151
+ type RpcUsageMetricsValueAggregated = {
152
+ /**
153
+ * The total number of requests
154
+ */
155
+ totalRequests: number;
156
+ /**
157
+ * The number of API credits used
158
+ */
159
+ apiCreditsUsed: number;
160
+ /**
161
+ * The number of requests per second
162
+ */
163
+ requestsPerSecond: number;
164
+ /**
165
+ * The success rate percentage
166
+ */
167
+ successRatePercent: number;
168
+ /**
169
+ * The median response time in milliseconds
170
+ */
171
+ medianResponseTimeMsecs: number;
172
+ /**
173
+ * The number of invalid requests
174
+ */
175
+ invalidRequests: number;
176
+ /**
177
+ * Column name used for data aggregation
178
+ */
179
+ groupedBy: RpcUsageMetricsValueAggregated.groupedBy;
180
+ /**
181
+ * The value of the column used for data aggregation
182
+ */
183
+ groupValue?: (string | number);
184
+ };
185
+ declare namespace RpcUsageMetricsValueAggregated {
186
+ /**
187
+ * Column name used for data aggregation
188
+ */
189
+ enum groupedBy {
190
+ RPC_METHOD = "rpcMethod",
191
+ RESPONSE_CODE = "responseCode",
192
+ RL_BYPASS_TOKEN = "rlBypassToken",
193
+ NONE = "None"
194
+ }
195
+ }
196
+
197
+ type RpcMetrics = {
198
+ /**
199
+ * The timestamp of the metrics value
200
+ */
201
+ timestamp: number;
202
+ /**
203
+ * The metrics values for the timestamp
204
+ */
205
+ values: Array<RpcUsageMetricsValueAggregated>;
206
+ };
207
+
208
+ type RpcUsageMetricsResponseDTO = {
209
+ /**
210
+ * Duration in which the metrics value is aggregated
211
+ */
212
+ aggregateDuration: string;
213
+ /**
214
+ * ChainId for which the metrics are aggregated
215
+ */
216
+ chainId: string;
217
+ /**
218
+ * Metrics values
219
+ */
220
+ metrics: Array<RpcMetrics>;
221
+ };
222
+
223
+ declare enum TimeIntervalGranularityExtended {
224
+ MINUTE = "minute",
225
+ HOURLY = "hourly",
226
+ DAILY = "daily",
227
+ WEEKLY = "weekly",
228
+ MONTHLY = "monthly"
229
+ }
230
+
231
+ declare enum UsageMetricsGroupByEnum {
232
+ REQUEST_PATH = "requestPath",
233
+ RESPONSE_CODE = "responseCode",
234
+ CHAIN_ID = "chainId",
235
+ API_KEY_ID = "apiKeyId",
236
+ REQUEST_TYPE = "requestType"
237
+ }
238
+
239
+ type UsageMetricsValueDTO = {
240
+ /**
241
+ * Column name used for data aggregation
242
+ */
243
+ groupedBy: UsageMetricsValueDTO.groupedBy;
244
+ /**
245
+ * The value of the column used for data aggregation
246
+ */
247
+ groupValue?: (string | number);
248
+ /**
249
+ * The total number of requests
250
+ */
251
+ totalRequests: number;
252
+ /**
253
+ * The number of requests per second
254
+ */
255
+ requestsPerSecond: number;
256
+ /**
257
+ * The success rate percentage
258
+ */
259
+ successRatePercent: number;
260
+ /**
261
+ * The median response time in milliseconds
262
+ */
263
+ medianResponseTimeMsecs: number;
264
+ /**
265
+ * The number of invalid requests
266
+ */
267
+ invalidRequests: number;
268
+ /**
269
+ * The number of API credits used
270
+ */
271
+ apiCreditsUsed: number;
272
+ /**
273
+ * The number of API credits wasted on invalid requests
274
+ */
275
+ apiCreditsWasted: number;
276
+ };
277
+ declare namespace UsageMetricsValueDTO {
278
+ /**
279
+ * Column name used for data aggregation
280
+ */
281
+ enum groupedBy {
282
+ REQUEST_PATH = "requestPath",
283
+ RESPONSE_CODE = "responseCode",
284
+ CHAIN_ID = "chainId",
285
+ API_KEY_ID = "apiKeyId",
286
+ REQUEST_TYPE = "requestType",
287
+ NONE = "None"
288
+ }
289
+ }
290
+
291
+ type Metric = {
292
+ /**
293
+ * The timestamp of the metrics value
294
+ */
295
+ timestamp: number;
296
+ /**
297
+ * The metrics values for the timestamp
298
+ */
299
+ values: Array<UsageMetricsValueDTO>;
300
+ };
301
+
302
+ type UsageMetricsResponseDTO = {
303
+ /**
304
+ * Duration in which the metrics value is aggregated
305
+ */
306
+ aggregateDuration: string;
307
+ /**
308
+ * Org ID for which the metrics are aggregated
309
+ */
310
+ orgId: string;
311
+ /**
312
+ * Metrics values
313
+ */
314
+ metrics: Array<Metric>;
315
+ };
316
+
317
+ declare class DataApiUsageMetricsService {
318
+ readonly httpRequest: BaseHttpRequest;
319
+ constructor(httpRequest: BaseHttpRequest);
320
+ /**
321
+ * Get usage metrics for the Data API
322
+ * Gets metrics for Data API usage over a specified time interval aggregated at the specified time-duration granularity.
323
+ * @returns UsageMetricsResponseDTO Successful response
324
+ * @throws ApiError
325
+ */
326
+ getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, requestPath, responseCode, requestType, apiKeyId, }: {
327
+ /**
328
+ * Organization ID to fetch usage metrics for
329
+ */
330
+ orgId?: string;
331
+ /**
332
+ * The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
333
+ */
334
+ startTimestamp?: number;
335
+ /**
336
+ * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
337
+ */
338
+ endTimestamp?: number;
339
+ /**
340
+ * Time interval granularity for data aggregation
341
+ */
342
+ timeInterval?: TimeIntervalGranularityExtended;
343
+ /**
344
+ * Query param for the criterion used for grouping metrics
345
+ */
346
+ groupBy?: UsageMetricsGroupByEnum;
347
+ /**
348
+ * Filter data by chain ID.
349
+ */
350
+ chainId?: string;
351
+ /**
352
+ * Filter data by request path.
353
+ */
354
+ requestPath?: string;
355
+ /**
356
+ * Filter data by response status code.
357
+ */
358
+ responseCode?: string;
359
+ /**
360
+ * Filter data by request type.
361
+ */
362
+ requestType?: 'data' | 'rpc';
363
+ /**
364
+ * Filter data by API key ID.
365
+ */
366
+ apiKeyId?: string;
367
+ }): CancelablePromise<UsageMetricsResponseDTO>;
368
+ /**
369
+ * Get logs for requests made by client
370
+ * Gets logs for requests made by client over a specified time interval for a specific organization.
371
+ * @returns LogsResponseDTO Successful response
372
+ * @throws ApiError
373
+ */
374
+ getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, requestPath, responseCode, requestType, apiKeyId, pageToken, pageSize, }: {
375
+ /**
376
+ * Organization ID to fetch usage metrics for
377
+ */
378
+ orgId?: string;
379
+ /**
380
+ * The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
381
+ */
382
+ startTimestamp?: number;
383
+ /**
384
+ * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
385
+ */
386
+ endTimestamp?: number;
387
+ /**
388
+ * Filter data by chain ID.
389
+ */
390
+ chainId?: string;
391
+ /**
392
+ * Filter data by request path.
393
+ */
394
+ requestPath?: string;
395
+ /**
396
+ * Filter data by response status code.
397
+ */
398
+ responseCode?: string;
399
+ /**
400
+ * Filter data by request type.
401
+ */
402
+ requestType?: 'data' | 'rpc';
403
+ /**
404
+ * Filter data by API key ID.
405
+ */
406
+ apiKeyId?: string;
407
+ /**
408
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
409
+ */
410
+ pageToken?: string;
411
+ /**
412
+ * The maximum number of items to return.
413
+ */
414
+ pageSize?: number;
415
+ }): CancelablePromise<LogsResponseDTO>;
416
+ /**
417
+ * Get usage metrics for the Subnet RPC
418
+ * Gets metrics for Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
419
+ * @returns RpcUsageMetricsResponseDTO Successful response
420
+ * @throws ApiError
421
+ */
422
+ getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, requestPath, responseCode, rpcMethod, rlBypassApiToken, }: {
423
+ /**
424
+ * Query param for setting time interval of data aggregation.
425
+ */
426
+ timeInterval?: string;
427
+ /**
428
+ * The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
429
+ */
430
+ startTimestamp?: number;
431
+ /**
432
+ * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
433
+ */
434
+ endTimestamp?: number;
435
+ /**
436
+ * Query param for the criterion used for grouping metrics
437
+ */
438
+ groupBy?: UsageMetricsGroupByEnum;
439
+ /**
440
+ * Filter data by chain ID.
441
+ */
442
+ chainId?: string;
443
+ /**
444
+ * Filter data by request path.
445
+ */
446
+ requestPath?: string;
447
+ /**
448
+ * Filter data by response status code.
449
+ */
450
+ responseCode?: string;
451
+ /**
452
+ * Filter data by RPC method.
453
+ */
454
+ rpcMethod?: string;
455
+ /**
456
+ * Filter data by Rl Bypass API Token.
457
+ */
458
+ rlBypassApiToken?: string;
459
+ }): CancelablePromise<RpcUsageMetricsResponseDTO>;
460
+ }
461
+
57
462
  declare class DefaultService {
58
463
  readonly httpRequest: BaseHttpRequest;
59
464
  constructor(httpRequest: BaseHttpRequest);
@@ -331,12 +736,12 @@ declare class EvmBalancesService {
331
736
  * Gets native token balance of a wallet address.
332
737
  *
333
738
  * Balance at a given block can be retrieved with the `blockNumber` parameter.
334
- * @returns GetNativeBalanceResponse
739
+ * @returns GetNativeBalanceResponse Successful response
335
740
  * @throws ApiError
336
741
  */
337
742
  getNativeBalance({ chainId, address, blockNumber, currency, }: {
338
743
  /**
339
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
744
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
340
745
  */
341
746
  chainId: string;
342
747
  /**
@@ -359,12 +764,12 @@ declare class EvmBalancesService {
359
764
  * Balance at a given block can be retrieved with the `blockNumber` parameter.
360
765
  *
361
766
  * Balance for specific contracts can be retrieved with the `contractAddresses` parameter.
362
- * @returns ListErc20BalancesResponse
767
+ * @returns ListErc20BalancesResponse Successful response
363
768
  * @throws ApiError
364
769
  */
365
770
  listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, filterSpamTokens, contractAddresses, currency, }: {
366
771
  /**
367
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
772
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
368
773
  */
369
774
  chainId: string;
370
775
  /**
@@ -401,12 +806,12 @@ declare class EvmBalancesService {
401
806
  * Lists ERC-721 token balances of a wallet address.
402
807
  *
403
808
  * Balance for a specific contract can be retrieved with the `contractAddress` parameter.
404
- * @returns ListErc721BalancesResponse
809
+ * @returns ListErc721BalancesResponse Successful response
405
810
  * @throws ApiError
406
811
  */
407
812
  listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
408
813
  /**
409
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
814
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
410
815
  */
411
816
  chainId: string;
412
817
  /**
@@ -433,12 +838,12 @@ declare class EvmBalancesService {
433
838
  * Balance at a given block can be retrieved with the `blockNumber` parameter.
434
839
  *
435
840
  * Balance for a specific contract can be retrieved with the `contractAddress` parameter.
436
- * @returns ListErc1155BalancesResponse
841
+ * @returns ListErc1155BalancesResponse Successful response
437
842
  * @throws ApiError
438
843
  */
439
844
  listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
440
845
  /**
441
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
846
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
442
847
  */
443
848
  chainId: string;
444
849
  /**
@@ -467,12 +872,12 @@ declare class EvmBalancesService {
467
872
  * Lists ERC-721 and ERC-1155 token balances of a wallet address.
468
873
  *
469
874
  * Balance for a specific contract can be retrieved with the `contractAddress` parameter.
470
- * @returns ListCollectibleBalancesResponse
875
+ * @returns ListCollectibleBalancesResponse Successful response
471
876
  * @throws ApiError
472
877
  */
473
878
  listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
474
879
  /**
475
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
880
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
476
881
  */
477
882
  chainId: string;
478
883
  /**
@@ -596,12 +1001,12 @@ declare class EvmBlocksService {
596
1001
  /**
597
1002
  * List latest blocks
598
1003
  * Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
599
- * @returns ListEvmBlocksResponse
1004
+ * @returns ListEvmBlocksResponse Successful response
600
1005
  * @throws ApiError
601
1006
  */
602
1007
  getLatestBlocks({ chainId, pageToken, pageSize, }: {
603
1008
  /**
604
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1009
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
605
1010
  */
606
1011
  chainId: string;
607
1012
  /**
@@ -616,12 +1021,12 @@ declare class EvmBlocksService {
616
1021
  /**
617
1022
  * Get block
618
1023
  * Gets the details of an individual block on the EVM-compatible chain.
619
- * @returns GetEvmBlockResponse
1024
+ * @returns GetEvmBlockResponse Successful response
620
1025
  * @throws ApiError
621
1026
  */
622
1027
  getBlock({ chainId, blockId, }: {
623
1028
  /**
624
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1029
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
625
1030
  */
626
1031
  chainId: string;
627
1032
  /**
@@ -631,6 +1036,12 @@ declare class EvmBlocksService {
631
1036
  }): CancelablePromise<GetEvmBlockResponse>;
632
1037
  }
633
1038
 
1039
+ declare enum ApiFeature {
1040
+ NFT_INDEXING = "nftIndexing",
1041
+ WEBHOOKS = "webhooks",
1042
+ TELEPORTER = "teleporter"
1043
+ }
1044
+
634
1045
  /**
635
1046
  * Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
636
1047
  */
@@ -686,14 +1097,9 @@ type GetChainResponse = {
686
1097
  networkToken: NetworkToken;
687
1098
  chainLogoUri?: string;
688
1099
  private?: boolean;
689
- enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
1100
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
690
1101
  };
691
1102
 
692
- declare enum GlacierApiFeature {
693
- NFT_INDEXING = "nftIndexing",
694
- WEBHOOKS = "webhooks"
695
- }
696
-
697
1103
  type ChainInfo = {
698
1104
  chainId: string;
699
1105
  status: ChainStatus;
@@ -711,16 +1117,23 @@ type ChainInfo = {
711
1117
  networkToken: NetworkToken;
712
1118
  chainLogoUri?: string;
713
1119
  private?: boolean;
714
- enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
1120
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
1121
+ };
1122
+
1123
+ type ListAddressChainsResponse = {
1124
+ indexedChains?: Array<ChainInfo>;
1125
+ unindexedChains?: Array<string>;
715
1126
  };
716
1127
 
717
1128
  type ListChainsResponse = {
718
1129
  chains: Array<ChainInfo>;
719
1130
  };
720
1131
 
721
- declare enum NetworkType {
1132
+ declare enum Network {
722
1133
  MAINNET = "mainnet",
723
- TESTNET = "testnet"
1134
+ FUJI = "fuji",
1135
+ TESTNET = "testnet",
1136
+ DEVNET = "devnet"
724
1137
  }
725
1138
 
726
1139
  declare class EvmChainsService {
@@ -729,31 +1142,43 @@ declare class EvmChainsService {
729
1142
  /**
730
1143
  * List chains
731
1144
  * Lists the supported EVM-compatible chains. Filterable by network.
732
- * @returns ListChainsResponse
1145
+ * @returns ListChainsResponse Successful response
733
1146
  * @throws ApiError
734
1147
  */
735
1148
  supportedChains({ network, feature, }: {
736
1149
  /**
737
- * mainnet or testnet.
1150
+ * Either mainnet or testnet/fuji.
738
1151
  */
739
- network?: NetworkType;
1152
+ network?: Network;
740
1153
  /**
741
1154
  * Filter by feature.
742
1155
  */
743
- feature?: GlacierApiFeature;
1156
+ feature?: ApiFeature;
744
1157
  }): CancelablePromise<ListChainsResponse>;
745
1158
  /**
746
1159
  * Get chain information
747
1160
  * Gets chain information for the EVM-compatible chain if supported by the api.
748
- * @returns GetChainResponse
1161
+ * @returns GetChainResponse Successful response
749
1162
  * @throws ApiError
750
1163
  */
751
1164
  getChainInfo({ chainId, }: {
752
1165
  /**
753
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1166
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
754
1167
  */
755
1168
  chainId: string;
756
1169
  }): CancelablePromise<GetChainResponse>;
1170
+ /**
1171
+ * Get chains for address
1172
+ * Gets the list of chains an address has interacted with.
1173
+ * @returns ListAddressChainsResponse Successful response
1174
+ * @throws ApiError
1175
+ */
1176
+ getAddressChains({ address, }: {
1177
+ /**
1178
+ * A wallet address.
1179
+ */
1180
+ address: string;
1181
+ }): CancelablePromise<ListAddressChainsResponse>;
757
1182
  }
758
1183
 
759
1184
  type ImageAsset = {
@@ -1040,12 +1465,12 @@ declare class EvmContractsService {
1040
1465
  /**
1041
1466
  * Get contract metadata
1042
1467
  * Gets metadata about the contract at the given address.
1043
- * @returns any
1468
+ * @returns any Successful response
1044
1469
  * @throws ApiError
1045
1470
  */
1046
1471
  getContractMetadata({ chainId, address, }: {
1047
1472
  /**
1048
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1473
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1049
1474
  */
1050
1475
  chainId: string;
1051
1476
  /**
@@ -1056,12 +1481,12 @@ declare class EvmContractsService {
1056
1481
  /**
1057
1482
  * Update contract information
1058
1483
  * Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
1059
- * @returns UpdateContractResponse
1484
+ * @returns UpdateContractResponse Successful response
1060
1485
  * @throws ApiError
1061
1486
  */
1062
1487
  updateContractInfo({ chainId, address, requestBody, }: {
1063
1488
  /**
1064
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1489
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1065
1490
  */
1066
1491
  chainId: string;
1067
1492
  /**
@@ -1309,6 +1734,24 @@ type NetworkTokenDetails = {
1309
1734
  historicalPrice?: Money;
1310
1735
  };
1311
1736
 
1737
+ declare enum TransactionDirectionType {
1738
+ SOURCE_TRANSACTION = "SOURCE_TRANSACTION",
1739
+ DESTINATION_TRANSACTION = "DESTINATION_TRANSACTION"
1740
+ }
1741
+
1742
+ type TeleporterMessageInfo = {
1743
+ teleporterMessageId: string;
1744
+ direction: TransactionDirectionType;
1745
+ /**
1746
+ * chain id of the source chain. valid only for destination transactions
1747
+ */
1748
+ sourceChainId?: Record<string, any>;
1749
+ /**
1750
+ * chain id of the destination chain. valid only for source transactions
1751
+ */
1752
+ destinationChainId?: Record<string, any>;
1753
+ };
1754
+
1312
1755
  type GetTransactionResponse = {
1313
1756
  /**
1314
1757
  * The list of ERC-20 transfers.
@@ -1328,6 +1771,10 @@ type GetTransactionResponse = {
1328
1771
  internalTransactions?: Array<InternalTransactionDetails>;
1329
1772
  networkTokenDetails: NetworkTokenDetails;
1330
1773
  nativeTransaction: FullNativeTransactionDetails;
1774
+ /**
1775
+ * Corresponding teleporter message info if available.
1776
+ */
1777
+ teleporterMessageInfo?: TeleporterMessageInfo;
1331
1778
  };
1332
1779
 
1333
1780
  type ListContractsResponse = {
@@ -1584,12 +2031,12 @@ declare class EvmTransactionsService {
1584
2031
  /**
1585
2032
  * Get deployment transaction
1586
2033
  * If the address is a smart contract, returns the transaction in which it was deployed.
1587
- * @returns GetTransactionResponse
2034
+ * @returns GetTransactionResponse Successful response
1588
2035
  * @throws ApiError
1589
2036
  */
1590
2037
  getDeploymentTransaction({ chainId, address, currency, }: {
1591
2038
  /**
1592
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2039
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1593
2040
  */
1594
2041
  chainId: string;
1595
2042
  /**
@@ -1604,12 +2051,12 @@ declare class EvmTransactionsService {
1604
2051
  /**
1605
2052
  * List deployed contracts
1606
2053
  * Lists all contracts deployed by the given address.
1607
- * @returns ListContractsResponse
2054
+ * @returns ListContractsResponse Successful response
1608
2055
  * @throws ApiError
1609
2056
  */
1610
2057
  listContractDeployments({ chainId, address, pageToken, pageSize, }: {
1611
2058
  /**
1612
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2059
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1613
2060
  */
1614
2061
  chainId: string;
1615
2062
  /**
@@ -1628,12 +2075,12 @@ declare class EvmTransactionsService {
1628
2075
  /**
1629
2076
  * List ERC transfers
1630
2077
  * Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address.
1631
- * @returns ListTransfersResponse
2078
+ * @returns ListTransfersResponse Successful response
1632
2079
  * @throws ApiError
1633
2080
  */
1634
2081
  listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1635
2082
  /**
1636
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2083
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1637
2084
  */
1638
2085
  chainId: string;
1639
2086
  /**
@@ -1662,12 +2109,12 @@ declare class EvmTransactionsService {
1662
2109
  * Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers, ERC-721 transfers, ERC-1155, and internal transactions returned are only those where the input address had an interaction. Specifically, those lists only inlcude entries where the input address was the sender (`from` field) or the receiver (`to` field) for the sub-transaction. Therefore the transactions returned from this list may not be complete representations of the on-chain data. For a complete view of a transaction use the `/chains/:chainId/transactions/:txHash` endpoint.
1663
2110
  *
1664
2111
  * Filterable by block ranges.
1665
- * @returns ListTransactionDetailsResponse
2112
+ * @returns ListTransactionDetailsResponse Successful response
1666
2113
  * @throws ApiError
1667
2114
  */
1668
2115
  listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
1669
2116
  /**
1670
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2117
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1671
2118
  */
1672
2119
  chainId: string;
1673
2120
  /**
@@ -1698,12 +2145,12 @@ declare class EvmTransactionsService {
1698
2145
  /**
1699
2146
  * List native transactions
1700
2147
  * Lists native transactions for an address. Filterable by block range.
1701
- * @returns ListNativeTransactionsResponse
2148
+ * @returns ListNativeTransactionsResponse Successful response
1702
2149
  * @throws ApiError
1703
2150
  */
1704
2151
  listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1705
2152
  /**
1706
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2153
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1707
2154
  */
1708
2155
  chainId: string;
1709
2156
  /**
@@ -1730,12 +2177,12 @@ declare class EvmTransactionsService {
1730
2177
  /**
1731
2178
  * List ERC-20 transfers
1732
2179
  * Lists ERC-20 transfers for an address. Filterable by block range.
1733
- * @returns ListErc20TransactionsResponse
2180
+ * @returns ListErc20TransactionsResponse Successful response
1734
2181
  * @throws ApiError
1735
2182
  */
1736
2183
  listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1737
2184
  /**
1738
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2185
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1739
2186
  */
1740
2187
  chainId: string;
1741
2188
  /**
@@ -1762,12 +2209,12 @@ declare class EvmTransactionsService {
1762
2209
  /**
1763
2210
  * List ERC-721 transfers
1764
2211
  * Lists ERC-721 transfers for an address. Filterable by block range.
1765
- * @returns ListErc721TransactionsResponse
2212
+ * @returns ListErc721TransactionsResponse Successful response
1766
2213
  * @throws ApiError
1767
2214
  */
1768
2215
  listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1769
2216
  /**
1770
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2217
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1771
2218
  */
1772
2219
  chainId: string;
1773
2220
  /**
@@ -1794,12 +2241,12 @@ declare class EvmTransactionsService {
1794
2241
  /**
1795
2242
  * List ERC-1155 transfers
1796
2243
  * Lists ERC-1155 transfers for an address. Filterable by block range.
1797
- * @returns ListErc1155TransactionsResponse
2244
+ * @returns ListErc1155TransactionsResponse Successful response
1798
2245
  * @throws ApiError
1799
2246
  */
1800
2247
  listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1801
2248
  /**
1802
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2249
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1803
2250
  */
1804
2251
  chainId: string;
1805
2252
  /**
@@ -1828,292 +2275,91 @@ declare class EvmTransactionsService {
1828
2275
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
1829
2276
  *
1830
2277
  * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
1831
- * @returns ListInternalTransactionsResponse
2278
+ * @returns ListInternalTransactionsResponse Successful response
1832
2279
  * @throws ApiError
1833
2280
  */
1834
2281
  listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1835
2282
  /**
1836
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1837
- */
1838
- chainId: string;
1839
- /**
1840
- * A wallet address.
1841
- */
1842
- address: string;
1843
- /**
1844
- * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1845
- */
1846
- startBlock?: number;
1847
- /**
1848
- * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1849
- */
1850
- endBlock?: number;
1851
- /**
1852
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1853
- */
1854
- pageToken?: string;
1855
- /**
1856
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1857
- */
1858
- pageSize?: number;
1859
- }): CancelablePromise<ListInternalTransactionsResponse>;
1860
- /**
1861
- * Get transaction
1862
- * Gets the details of a single transaction.
1863
- * @returns GetTransactionResponse
1864
- * @throws ApiError
1865
- */
1866
- getTransaction({ chainId, txHash, }: {
1867
- /**
1868
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1869
- */
1870
- chainId: string;
1871
- /**
1872
- * A transaction hash.
1873
- */
1874
- txHash: string;
1875
- }): CancelablePromise<GetTransactionResponse>;
1876
- /**
1877
- * List transactions for a block
1878
- * Lists the transactions that occured in a given block.
1879
- * @returns ListNativeTransactionsResponse
1880
- * @throws ApiError
1881
- */
1882
- getTransactionsForBlock({ chainId, blockId, }: {
1883
- /**
1884
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1885
- */
1886
- chainId: string;
1887
- /**
1888
- * A block identifier which is either a block number or the block hash.
1889
- */
1890
- blockId: string;
1891
- }): CancelablePromise<ListNativeTransactionsResponse>;
1892
- /**
1893
- * List latest transactions
1894
- * Lists the latest transactions. Filterable by status.
1895
- * @returns ListNativeTransactionsResponse
1896
- * @throws ApiError
1897
- */
1898
- listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
1899
- /**
1900
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1901
- */
1902
- chainId: string;
1903
- /**
1904
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1905
- */
1906
- pageToken?: string;
1907
- /**
1908
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1909
- */
1910
- pageSize?: number;
1911
- /**
1912
- * A status filter for listed transactions.
1913
- */
1914
- status?: TransactionStatus;
1915
- }): CancelablePromise<ListNativeTransactionsResponse>;
1916
- }
1917
-
1918
- type LogsFormatMetadata = {
1919
- /**
1920
- * The IP address of the client that made the request.
1921
- */
1922
- ipAddress: string;
1923
- /**
1924
- * The host for the request made by the client.
1925
- */
1926
- host: string;
1927
- /**
1928
- * The user agent of the client that made the request.
1929
- */
1930
- userAgent: string;
1931
- };
1932
-
1933
- /**
1934
- * The type of request made by the client.
1935
- */
1936
- declare enum RequestType {
1937
- GLACIER_API_REQUEST = "Glacier API Request",
1938
- GLACIER_RPC_REQUEST = "Glacier RPC Request"
1939
- }
1940
-
1941
- type LogsFormat = {
1942
- /**
1943
- * The organization id of the request.
1944
- */
1945
- orgId: string;
1946
- /**
1947
- * The unique log id of the request.
1948
- */
1949
- logId: string;
1950
- /**
1951
- * The timestamp of the request.
1952
- */
1953
- eventTimestamp: number;
1954
- /**
1955
- * The apiKey used to make the request.
1956
- */
1957
- apiKeyId: string;
1958
- /**
1959
- * The alias of the apiKey used to make the request.
1960
- */
1961
- apiKeyAlias: string;
1962
- /**
1963
- * The region of the host for the request made by the client.
1964
- */
1965
- hostRegion: string;
1966
- requestType: RequestType;
1967
- /**
1968
- * The path of the request made by the client.
1969
- */
1970
- requestPath: string;
1971
- /**
1972
- * The number of API credits consumed by the request.
1973
- */
1974
- apiCreditsConsumed: number;
1975
- /**
1976
- * The duration of the request in milliseconds.
1977
- */
1978
- requestDurationMsecs: number;
1979
- /**
1980
- * The response code of the request.
1981
- */
1982
- responseCode: number;
1983
- /**
1984
- * The chain id of the request.
1985
- */
1986
- chainId?: number;
1987
- /**
1988
- * The rpc method of the request.
1989
- */
1990
- rpcMethod?: string;
1991
- /**
1992
- * The metadata of the request.
1993
- */
1994
- metadata: LogsFormatMetadata;
1995
- };
1996
-
1997
- type LogsResponseDTO = {
1998
- /**
1999
- * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2000
- */
2001
- nextPageToken?: string;
2002
- /**
2003
- * The organization id of the request.
2004
- */
2005
- orgId: string;
2006
- /**
2007
- * An array of logs representing the requests made by clients.
2008
- */
2009
- logs: Array<LogsFormat>;
2010
- };
2011
-
2012
- declare enum TimeIntervalGranularityExtended {
2013
- MINUTE = "minute",
2014
- HOURLY = "hourly",
2015
- DAILY = "daily",
2016
- WEEKLY = "weekly",
2017
- MONTHLY = "monthly"
2018
- }
2019
-
2020
- declare enum UsageMetricsGroupByEnum {
2021
- REQUEST_PATH = "requestPath",
2022
- RESPONSE_CODE = "responseCode",
2023
- CHAIN_ID = "chainId",
2024
- API_KEY_ID = "apiKeyId"
2025
- }
2026
-
2027
- type UsageMetricsResponseDTO = {
2028
- /**
2029
- * Duration in which the metrics value is aggregated
2030
- */
2031
- aggregateDuration: string;
2032
- /**
2033
- * Org ID for which the metrics are aggregated
2034
- */
2035
- orgId: string;
2036
- /**
2037
- * Metrics values
2038
- */
2039
- metrics: Array<string>;
2040
- };
2041
-
2042
- declare class GlacierApiUsageMetricsService {
2043
- readonly httpRequest: BaseHttpRequest;
2044
- constructor(httpRequest: BaseHttpRequest);
2045
- /**
2046
- * Get usage metrics for the Glacier API
2047
- * Gets metrics for Glacier API usage over a specified time interval aggregated at the specified time-duration granularity.
2048
- * @returns UsageMetricsResponseDTO
2049
- * @throws ApiError
2050
- */
2051
- getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, requestPath, responseStatusCode, chainId, apiKeyId, }: {
2052
- /**
2053
- * Organization ID to fetch usage metrics for
2054
- */
2055
- orgId?: string;
2056
- /**
2057
- * Query param for retrieving items after a specific timestamp.
2283
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2058
2284
  */
2059
- startTimestamp?: number;
2285
+ chainId: string;
2060
2286
  /**
2061
- * Query param for retrieving items before a specific timestamp.
2287
+ * A wallet address.
2062
2288
  */
2063
- endTimestamp?: number;
2289
+ address: string;
2064
2290
  /**
2065
- * Time interval granularity for data aggregation
2291
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
2066
2292
  */
2067
- timeInterval?: TimeIntervalGranularityExtended;
2293
+ startBlock?: number;
2068
2294
  /**
2069
- * Query param for the criterion used for grouping metrics
2295
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
2070
2296
  */
2071
- groupBy?: UsageMetricsGroupByEnum;
2297
+ endBlock?: number;
2072
2298
  /**
2073
- * Filter aggregated usage metrics by request path.
2299
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2074
2300
  */
2075
- requestPath?: string;
2301
+ pageToken?: string;
2076
2302
  /**
2077
- * Filter aggregated usage metrics by response status code.
2303
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2078
2304
  */
2079
- responseStatusCode?: string;
2305
+ pageSize?: number;
2306
+ }): CancelablePromise<ListInternalTransactionsResponse>;
2307
+ /**
2308
+ * Get transaction
2309
+ * Gets the details of a single transaction.
2310
+ * @returns GetTransactionResponse Successful response
2311
+ * @throws ApiError
2312
+ */
2313
+ getTransaction({ chainId, txHash, }: {
2080
2314
  /**
2081
- * Filter aggregated usage metrics by chain ID.
2315
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2082
2316
  */
2083
- chainId?: string;
2317
+ chainId: string;
2084
2318
  /**
2085
- * Filter aggregated usage metrics by API key ID.
2319
+ * A transaction hash.
2086
2320
  */
2087
- apiKeyId?: string;
2088
- }): CancelablePromise<UsageMetricsResponseDTO>;
2321
+ txHash: string;
2322
+ }): CancelablePromise<GetTransactionResponse>;
2089
2323
  /**
2090
- * Get logs for requests made by client
2091
- * Gets logs for requests made by client over a specified time interval for a specific organization.
2092
- * @returns LogsResponseDTO
2324
+ * List transactions for a block
2325
+ * Lists the transactions that occured in a given block.
2326
+ * @returns ListNativeTransactionsResponse Successful response
2093
2327
  * @throws ApiError
2094
2328
  */
2095
- getApiLogss({ orgId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
2329
+ getTransactionsForBlock({ chainId, blockId, }: {
2096
2330
  /**
2097
- * Organization ID to fetch usage metrics for
2331
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2098
2332
  */
2099
- orgId?: string;
2333
+ chainId: string;
2100
2334
  /**
2101
- * Query param for retrieving items after a specific timestamp.
2335
+ * A block identifier which is either a block number or the block hash.
2102
2336
  */
2103
- startTimestamp?: number;
2337
+ blockId: string;
2338
+ }): CancelablePromise<ListNativeTransactionsResponse>;
2339
+ /**
2340
+ * List latest transactions
2341
+ * Lists the latest transactions. Filterable by status.
2342
+ * @returns ListNativeTransactionsResponse Successful response
2343
+ * @throws ApiError
2344
+ */
2345
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
2104
2346
  /**
2105
- * Query param for retrieving items before a specific timestamp.
2347
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2106
2348
  */
2107
- endTimestamp?: number;
2349
+ chainId: string;
2108
2350
  /**
2109
2351
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2110
2352
  */
2111
2353
  pageToken?: string;
2112
2354
  /**
2113
- * The maximum number of items to return.
2355
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2114
2356
  */
2115
2357
  pageSize?: number;
2116
- }): CancelablePromise<LogsResponseDTO>;
2358
+ /**
2359
+ * A status filter for listed transactions.
2360
+ */
2361
+ status?: TransactionStatus;
2362
+ }): CancelablePromise<ListNativeTransactionsResponse>;
2117
2363
  }
2118
2364
 
2119
2365
  declare class HealthCheckService {
@@ -2124,7 +2370,7 @@ declare class HealthCheckService {
2124
2370
  * @returns any The Health Check is successful
2125
2371
  * @throws ApiError
2126
2372
  */
2127
- healthCheck(): CancelablePromise<{
2373
+ dataHealthCheck(): CancelablePromise<{
2128
2374
  status?: string;
2129
2375
  info?: Record<string, Record<string, string>> | null;
2130
2376
  error?: Record<string, Record<string, string>> | null;
@@ -2146,12 +2392,12 @@ declare class NfTsService {
2146
2392
  /**
2147
2393
  * Reindex NFT metadata
2148
2394
  * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2149
- * @returns any
2395
+ * @returns any Successful response
2150
2396
  * @throws ApiError
2151
2397
  */
2152
2398
  reindexNft({ chainId, address, tokenId, }: {
2153
2399
  /**
2154
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2400
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2155
2401
  */
2156
2402
  chainId: string;
2157
2403
  /**
@@ -2166,12 +2412,12 @@ declare class NfTsService {
2166
2412
  /**
2167
2413
  * List tokens
2168
2414
  * Lists tokens for an NFT contract.
2169
- * @returns ListNftTokens
2415
+ * @returns ListNftTokens Successful response
2170
2416
  * @throws ApiError
2171
2417
  */
2172
2418
  listTokens({ chainId, address, pageToken, pageSize, }: {
2173
2419
  /**
2174
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2420
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2175
2421
  */
2176
2422
  chainId: string;
2177
2423
  /**
@@ -2190,12 +2436,12 @@ declare class NfTsService {
2190
2436
  /**
2191
2437
  * Get token details
2192
2438
  * Gets token details for a specific token of an NFT contract.
2193
- * @returns any
2439
+ * @returns any Successful response
2194
2440
  * @throws ApiError
2195
2441
  */
2196
2442
  getTokenDetails({ chainId, address, tokenId, }: {
2197
2443
  /**
2198
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2444
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2199
2445
  */
2200
2446
  chainId: string;
2201
2447
  /**
@@ -2220,16 +2466,16 @@ declare enum EVMOperationType {
2220
2466
 
2221
2467
  type CreateEvmTransactionExportRequest = {
2222
2468
  type: EVMOperationType;
2223
- firstDate: string;
2224
- lastDate: string;
2469
+ firstDate?: string;
2470
+ lastDate?: string;
2225
2471
  /**
2226
2472
  * @deprecated
2227
2473
  */
2228
- startDate: string;
2474
+ startDate?: string;
2229
2475
  /**
2230
2476
  * @deprecated
2231
2477
  */
2232
- endDate: string;
2478
+ endDate?: string;
2233
2479
  options: EvmNetworkOptions;
2234
2480
  };
2235
2481
 
@@ -2242,21 +2488,21 @@ declare enum PrimaryNetworkOperationType {
2242
2488
  type PrimaryNetworkOptions = {
2243
2489
  addresses?: Array<string>;
2244
2490
  cChainEvmAddresses?: Array<string>;
2245
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2491
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
2246
2492
  };
2247
2493
 
2248
2494
  type CreatePrimaryNetworkTransactionExportRequest = {
2249
2495
  type: PrimaryNetworkOperationType;
2250
- firstDate: string;
2251
- lastDate: string;
2496
+ firstDate?: string;
2497
+ lastDate?: string;
2252
2498
  /**
2253
2499
  * @deprecated
2254
2500
  */
2255
- startDate: string;
2501
+ startDate?: string;
2256
2502
  /**
2257
2503
  * @deprecated
2258
2504
  */
2259
- endDate: string;
2505
+ endDate?: string;
2260
2506
  options: PrimaryNetworkOptions;
2261
2507
  };
2262
2508
 
@@ -2308,7 +2554,7 @@ declare class OperationsService {
2308
2554
  /**
2309
2555
  * Get operation
2310
2556
  * Gets operation details for the given operation id.
2311
- * @returns OperationStatusResponse
2557
+ * @returns OperationStatusResponse Successful response
2312
2558
  * @throws ApiError
2313
2559
  */
2314
2560
  getOperationResult({ operationId, }: {
@@ -2322,7 +2568,7 @@ declare class OperationsService {
2322
2568
  * Trigger a transaction export operation with given parameters.
2323
2569
  *
2324
2570
  * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
2325
- * @returns OperationStatusResponse
2571
+ * @returns OperationStatusResponse Successful response
2326
2572
  * @throws ApiError
2327
2573
  */
2328
2574
  postTransactionExportJob({ requestBody, }: {
@@ -2334,8 +2580,10 @@ declare enum BlockchainIds {
2334
2580
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2335
2581
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2336
2582
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
2583
+ _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2337
2584
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
2338
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
2585
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
2586
+ V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
2339
2587
  }
2340
2588
 
2341
2589
  type ChainAddressChainIdMap = {
@@ -2459,10 +2707,61 @@ type ListDelegatorDetailsResponse = {
2459
2707
  delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
2460
2708
  };
2461
2709
 
2710
+ type BalanceOwner = {
2711
+ addresses: Array<string>;
2712
+ threshold: number;
2713
+ };
2714
+
2715
+ type L1ValidatorDetailsFull = {
2716
+ /**
2717
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
2718
+ */
2719
+ validationId: string;
2720
+ nodeId: string;
2721
+ subnetId: string;
2722
+ /**
2723
+ * Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
2724
+ */
2725
+ weight: number;
2726
+ /**
2727
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
2728
+ */
2729
+ remainingBalance: number;
2730
+ /**
2731
+ * The timestamp of the transaction which created this L1 validator
2732
+ */
2733
+ creationTimestamp: number;
2734
+ blsCredentials: Record<string, any>;
2735
+ /**
2736
+ * The L1 validator owner's balance, returned after it's disabled or removed
2737
+ */
2738
+ remainingBalanceOwner: BalanceOwner;
2739
+ /**
2740
+ * Owner ddresses details which can disable or remove the L1 validator
2741
+ */
2742
+ deactivationOwner: BalanceOwner;
2743
+ };
2744
+
2745
+ type ListL1ValidatorsResponse = {
2746
+ /**
2747
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2748
+ */
2749
+ nextPageToken?: string;
2750
+ /**
2751
+ * The list of L1 validations for the given Subnet ID, NodeId or validationId
2752
+ */
2753
+ validators: Array<L1ValidatorDetailsFull>;
2754
+ };
2755
+
2462
2756
  type BlockchainInfo = {
2463
2757
  blockchainId: string;
2464
2758
  };
2465
2759
 
2760
+ type L1ValidatorManagerDetails = {
2761
+ blockchainId: string;
2762
+ contractAddress: string;
2763
+ };
2764
+
2466
2765
  type SubnetOwnershipInfo = {
2467
2766
  /**
2468
2767
  * Locktime in seconds after which Subnet owners can control this Subnet.
@@ -2501,6 +2800,14 @@ type Subnet = {
2501
2800
  * Latest subnet owner details for this Subnet.
2502
2801
  */
2503
2802
  subnetOwnershipInfo: SubnetOwnershipInfo;
2803
+ /**
2804
+ * Whether the subnet is an L1 or not.
2805
+ */
2806
+ isL1: boolean;
2807
+ /**
2808
+ * L1 validator manager details.
2809
+ */
2810
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
2504
2811
  blockchains: Array<BlockchainInfo>;
2505
2812
  };
2506
2813
 
@@ -2584,6 +2891,7 @@ type CompletedValidatorDetails = {
2584
2891
  */
2585
2892
  blsCredentials?: BlsCredentials;
2586
2893
  delegatorCount: number;
2894
+ amountDelegated?: string;
2587
2895
  rewards: Rewards;
2588
2896
  validationStatus: CompletedValidatorDetails.validationStatus;
2589
2897
  };
@@ -2646,11 +2954,6 @@ type ListValidatorDetailsResponse = {
2646
2954
  validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2647
2955
  };
2648
2956
 
2649
- declare enum Network {
2650
- MAINNET = "mainnet",
2651
- FUJI = "fuji"
2652
- }
2653
-
2654
2957
  declare enum SortByOption {
2655
2958
  BLOCK_INDEX = "blockIndex",
2656
2959
  DELEGATION_CAPACITY = "delegationCapacity",
@@ -2710,6 +3013,7 @@ type XChainAssetDetails = {
2710
3013
  declare enum XChainId {
2711
3014
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2712
3015
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3016
+ _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2713
3017
  X_CHAIN = "x-chain"
2714
3018
  }
2715
3019
 
@@ -2719,7 +3023,7 @@ declare class PrimaryNetworkService {
2719
3023
  /**
2720
3024
  * Get asset details
2721
3025
  * Gets asset details corresponding to the given asset id on the X-Chain.
2722
- * @returns XChainAssetDetails
3026
+ * @returns XChainAssetDetails Successful response
2723
3027
  * @throws ApiError
2724
3028
  */
2725
3029
  getAssetDetails({ blockchainId, network, assetId, }: {
@@ -2728,7 +3032,7 @@ declare class PrimaryNetworkService {
2728
3032
  */
2729
3033
  blockchainId: XChainId;
2730
3034
  /**
2731
- * Either mainnet or a testnet.
3035
+ * Either mainnet or testnet/fuji.
2732
3036
  */
2733
3037
  network: Network;
2734
3038
  /**
@@ -2739,7 +3043,7 @@ declare class PrimaryNetworkService {
2739
3043
  /**
2740
3044
  * Get chain interactions for addresses
2741
3045
  * Returns Primary Network chains that each address has touched in the form of an address mapped array. If an address has had any on-chain interaction for a chain, that chain's chain id will be returned.
2742
- * @returns ChainAddressChainIdMapListResponse
3046
+ * @returns ChainAddressChainIdMapListResponse Successful response
2743
3047
  * @throws ApiError
2744
3048
  */
2745
3049
  getChainIdsForAddresses({ addresses, network, }: {
@@ -2748,31 +3052,31 @@ declare class PrimaryNetworkService {
2748
3052
  */
2749
3053
  addresses: string;
2750
3054
  /**
2751
- * Either mainnet or a testnet.
3055
+ * Either mainnet or testnet/fuji.
2752
3056
  */
2753
3057
  network: Network;
2754
3058
  }): CancelablePromise<ChainAddressChainIdMapListResponse>;
2755
3059
  /**
2756
3060
  * Get network details
2757
3061
  * Gets network details such as validator and delegator stats.
2758
- * @returns GetNetworkDetailsResponse
3062
+ * @returns GetNetworkDetailsResponse Successful response
2759
3063
  * @throws ApiError
2760
3064
  */
2761
3065
  getNetworkDetails({ network, }: {
2762
3066
  /**
2763
- * Either mainnet or a testnet.
3067
+ * Either mainnet or testnet/fuji.
2764
3068
  */
2765
3069
  network: Network;
2766
3070
  }): CancelablePromise<GetNetworkDetailsResponse>;
2767
3071
  /**
2768
3072
  * List blockchains
2769
3073
  * Lists all blockchains registered on the network.
2770
- * @returns ListBlockchainsResponse
3074
+ * @returns ListBlockchainsResponse Successful response
2771
3075
  * @throws ApiError
2772
3076
  */
2773
3077
  listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2774
3078
  /**
2775
- * Either mainnet or a testnet.
3079
+ * Either mainnet or testnet/fuji.
2776
3080
  */
2777
3081
  network: Network;
2778
3082
  /**
@@ -2791,12 +3095,12 @@ declare class PrimaryNetworkService {
2791
3095
  /**
2792
3096
  * List subnets
2793
3097
  * Lists all subnets registered on the network.
2794
- * @returns ListSubnetsResponse
3098
+ * @returns ListSubnetsResponse Successful response
2795
3099
  * @throws ApiError
2796
3100
  */
2797
3101
  listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2798
3102
  /**
2799
- * Either mainnet or a testnet.
3103
+ * Either mainnet or testnet/fuji.
2800
3104
  */
2801
3105
  network: Network;
2802
3106
  /**
@@ -2815,12 +3119,12 @@ declare class PrimaryNetworkService {
2815
3119
  /**
2816
3120
  * Get Subnet details by ID
2817
3121
  * Get details of the Subnet registered on the network.
2818
- * @returns Subnet
3122
+ * @returns Subnet Successful response
2819
3123
  * @throws ApiError
2820
3124
  */
2821
3125
  getSubnetById({ network, subnetId, }: {
2822
3126
  /**
2823
- * Either mainnet or a testnet.
3127
+ * Either mainnet or testnet/fuji.
2824
3128
  */
2825
3129
  network: Network;
2826
3130
  /**
@@ -2831,12 +3135,12 @@ declare class PrimaryNetworkService {
2831
3135
  /**
2832
3136
  * List validators
2833
3137
  * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
2834
- * @returns ListValidatorDetailsResponse
3138
+ * @returns ListValidatorDetailsResponse Successful response
2835
3139
  * @throws ApiError
2836
3140
  */
2837
3141
  listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
2838
3142
  /**
2839
- * Either mainnet or a testnet.
3143
+ * Either mainnet or testnet/fuji.
2840
3144
  */
2841
3145
  network: Network;
2842
3146
  /**
@@ -2905,12 +3209,12 @@ declare class PrimaryNetworkService {
2905
3209
  /**
2906
3210
  * Get single validator details
2907
3211
  * List validator details for a single validator. Filterable by validation status.
2908
- * @returns ListValidatorDetailsResponse
3212
+ * @returns ListValidatorDetailsResponse Successful response
2909
3213
  * @throws ApiError
2910
3214
  */
2911
3215
  getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
2912
3216
  /**
2913
- * Either mainnet or a testnet.
3217
+ * Either mainnet or testnet/fuji.
2914
3218
  */
2915
3219
  network: Network;
2916
3220
  /**
@@ -2937,12 +3241,12 @@ declare class PrimaryNetworkService {
2937
3241
  /**
2938
3242
  * List delegators
2939
3243
  * Lists details for delegators.
2940
- * @returns ListDelegatorDetailsResponse
3244
+ * @returns ListDelegatorDetailsResponse Successful response
2941
3245
  * @throws ApiError
2942
3246
  */
2943
3247
  listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2944
3248
  /**
2945
- * Either mainnet or a testnet.
3249
+ * Either mainnet or testnet/fuji.
2946
3250
  */
2947
3251
  network: Network;
2948
3252
  /**
@@ -2970,14 +3274,49 @@ declare class PrimaryNetworkService {
2970
3274
  */
2971
3275
  nodeIds?: string;
2972
3276
  }): CancelablePromise<ListDelegatorDetailsResponse>;
3277
+ /**
3278
+ * List L1 validators
3279
+ * Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.
3280
+ * @returns ListL1ValidatorsResponse Successful response
3281
+ * @throws ApiError
3282
+ */
3283
+ listL1Validators({ network, pageToken, pageSize, l1ValidationId, includeInactiveL1Validators, nodeId, subnetId, }: {
3284
+ /**
3285
+ * Either mainnet or testnet/fuji.
3286
+ */
3287
+ network: Network;
3288
+ /**
3289
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3290
+ */
3291
+ pageToken?: string;
3292
+ /**
3293
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3294
+ */
3295
+ pageSize?: number;
3296
+ /**
3297
+ * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3298
+ */
3299
+ l1ValidationId?: any;
3300
+ includeInactiveL1Validators?: boolean;
3301
+ /**
3302
+ * A valid node ID in format 'NodeID-HASH'.
3303
+ */
3304
+ nodeId?: string;
3305
+ /**
3306
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
3307
+ */
3308
+ subnetId?: any;
3309
+ }): CancelablePromise<ListL1ValidatorsResponse>;
2973
3310
  }
2974
3311
 
2975
3312
  declare enum BlockchainId {
2976
3313
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2977
3314
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2978
3315
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3316
+ _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2979
3317
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
2980
3318
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3319
+ V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
2981
3320
  P_CHAIN = "p-chain",
2982
3321
  X_CHAIN = "x-chain",
2983
3322
  C_CHAIN = "c-chain"
@@ -3014,11 +3353,6 @@ type CChainAtomicBalances = {
3014
3353
  atomicMemoryLocked: Array<CChainSharedAssetBalance>;
3015
3354
  };
3016
3355
 
3017
- declare enum PrimaryNetwork {
3018
- MAINNET = "mainnet",
3019
- FUJI = "fuji"
3020
- }
3021
-
3022
3356
  declare enum PrimaryNetworkChainName {
3023
3357
  P_CHAIN = "p-chain",
3024
3358
  X_CHAIN = "x-chain",
@@ -3027,7 +3361,7 @@ declare enum PrimaryNetworkChainName {
3027
3361
 
3028
3362
  type PrimaryNetworkChainInfo = {
3029
3363
  chainName: PrimaryNetworkChainName;
3030
- network: PrimaryNetwork;
3364
+ network: Network;
3031
3365
  };
3032
3366
 
3033
3367
  type ListCChainAtomicBalancesResponse = {
@@ -3179,7 +3513,7 @@ declare class PrimaryNetworkBalancesService {
3179
3513
  * Gets primary network balances for one of the Primary Network chains for the supplied addresses.
3180
3514
  *
3181
3515
  * C-Chain balances returned are only the shared atomic memory balance. For EVM balance, use the `/v1/chains/:chainId/addresses/:addressId/balances:getNative` endpoint.
3182
- * @returns any
3516
+ * @returns any Successful response
3183
3517
  * @throws ApiError
3184
3518
  */
3185
3519
  getBalancesByAddresses({ blockchainId, network, blockTimestamp, addresses, }: {
@@ -3188,7 +3522,7 @@ declare class PrimaryNetworkBalancesService {
3188
3522
  */
3189
3523
  blockchainId: BlockchainId;
3190
3524
  /**
3191
- * Either mainnet or a testnet.
3525
+ * Either mainnet or testnet/fuji.
3192
3526
  */
3193
3527
  network: Network;
3194
3528
  /**
@@ -3219,6 +3553,8 @@ type GetPrimaryNetworkBlockResponse = {
3219
3553
  txCount: number;
3220
3554
  transactions: Array<string>;
3221
3555
  blockSizeBytes: number;
3556
+ l1ValidatorsAccruedFees?: number;
3557
+ activeL1Validators?: number;
3222
3558
  currentSupply?: string;
3223
3559
  proposerDetails?: ProposerDetails;
3224
3560
  };
@@ -3232,6 +3568,8 @@ type PrimaryNetworkBlock = {
3232
3568
  txCount: number;
3233
3569
  transactions: Array<string>;
3234
3570
  blockSizeBytes: number;
3571
+ l1ValidatorsAccruedFees?: number;
3572
+ activeL1Validators?: number;
3235
3573
  currentSupply?: string;
3236
3574
  proposerDetails?: ProposerDetails;
3237
3575
  };
@@ -3251,7 +3589,7 @@ declare class PrimaryNetworkBlocksService {
3251
3589
  /**
3252
3590
  * Get block
3253
3591
  * Gets a block by block height or block hash on one of the Primary Network chains.
3254
- * @returns GetPrimaryNetworkBlockResponse
3592
+ * @returns GetPrimaryNetworkBlockResponse Successful response
3255
3593
  * @throws ApiError
3256
3594
  */
3257
3595
  getBlockById({ blockchainId, network, blockId, }: {
@@ -3260,7 +3598,7 @@ declare class PrimaryNetworkBlocksService {
3260
3598
  */
3261
3599
  blockchainId: BlockchainId;
3262
3600
  /**
3263
- * Either mainnet or a testnet.
3601
+ * Either mainnet or testnet/fuji.
3264
3602
  */
3265
3603
  network: Network;
3266
3604
  /**
@@ -3271,7 +3609,7 @@ declare class PrimaryNetworkBlocksService {
3271
3609
  /**
3272
3610
  * List blocks proposed by node
3273
3611
  * Lists the latest blocks proposed by a given NodeID on one of the Primary Network chains.
3274
- * @returns ListPrimaryNetworkBlocksResponse
3612
+ * @returns ListPrimaryNetworkBlocksResponse Successful response
3275
3613
  * @throws ApiError
3276
3614
  */
3277
3615
  listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
@@ -3280,7 +3618,7 @@ declare class PrimaryNetworkBlocksService {
3280
3618
  */
3281
3619
  blockchainId: BlockchainId;
3282
3620
  /**
3283
- * Either mainnet or a testnet.
3621
+ * Either mainnet or testnet/fuji.
3284
3622
  */
3285
3623
  network: Network;
3286
3624
  /**
@@ -3299,7 +3637,7 @@ declare class PrimaryNetworkBlocksService {
3299
3637
  /**
3300
3638
  * List latest blocks
3301
3639
  * Lists latest blocks on one of the Primary Network chains.
3302
- * @returns ListPrimaryNetworkBlocksResponse
3640
+ * @returns ListPrimaryNetworkBlocksResponse Successful response
3303
3641
  * @throws ApiError
3304
3642
  */
3305
3643
  listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
@@ -3308,7 +3646,7 @@ declare class PrimaryNetworkBlocksService {
3308
3646
  */
3309
3647
  blockchainId: BlockchainId;
3310
3648
  /**
3311
- * Either mainnet or a testnet.
3649
+ * Either mainnet or testnet/fuji.
3312
3650
  */
3313
3651
  network: Network;
3314
3652
  /**
@@ -3437,12 +3775,12 @@ declare class PrimaryNetworkRewardsService {
3437
3775
  /**
3438
3776
  * List pending rewards
3439
3777
  * Lists pending rewards on the Primary Network for the supplied addresses.
3440
- * @returns ListPendingRewardsResponse
3778
+ * @returns ListPendingRewardsResponse Successful response
3441
3779
  * @throws ApiError
3442
3780
  */
3443
3781
  listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
3444
3782
  /**
3445
- * Either mainnet or a testnet.
3783
+ * Either mainnet or testnet/fuji.
3446
3784
  */
3447
3785
  network: Network;
3448
3786
  /**
@@ -3469,12 +3807,12 @@ declare class PrimaryNetworkRewardsService {
3469
3807
  /**
3470
3808
  * List historical rewards
3471
3809
  * Lists historical rewards on the Primary Network for the supplied addresses.
3472
- * @returns ListHistoricalRewardsResponse
3810
+ * @returns ListHistoricalRewardsResponse Successful response
3473
3811
  * @throws ApiError
3474
3812
  */
3475
3813
  listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3476
3814
  /**
3477
- * Either mainnet or a testnet.
3815
+ * Either mainnet or testnet/fuji.
3478
3816
  */
3479
3817
  network: Network;
3480
3818
  /**
@@ -3720,6 +4058,28 @@ type ListCChainAtomicTransactionsResponse = {
3720
4058
  chainInfo: PrimaryNetworkChainInfo;
3721
4059
  };
3722
4060
 
4061
+ type L1ValidatorDetailsTransaction = {
4062
+ /**
4063
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4064
+ */
4065
+ validationId: string;
4066
+ nodeId: string;
4067
+ subnetId: string;
4068
+ /**
4069
+ * Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
4070
+ */
4071
+ weight: number;
4072
+ /**
4073
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
4074
+ */
4075
+ remainingBalance: number;
4076
+ /**
4077
+ * The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4078
+ */
4079
+ balanceChange?: number;
4080
+ blsCredentials?: Record<string, any>;
4081
+ };
4082
+
3723
4083
  declare enum PChainTransactionType {
3724
4084
  ADD_VALIDATOR_TX = "AddValidatorTx",
3725
4085
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
@@ -3736,6 +4096,11 @@ declare enum PChainTransactionType {
3736
4096
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3737
4097
  BASE_TX = "BaseTx",
3738
4098
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
4099
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
4100
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
4101
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
4102
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
4103
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
3739
4104
  UNKNOWN = "UNKNOWN"
3740
4105
  }
3741
4106
 
@@ -3824,6 +4189,10 @@ type PChainTransaction = {
3824
4189
  * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3825
4190
  */
3826
4191
  amountStaked: Array<AssetAmount>;
4192
+ /**
4193
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
4194
+ */
4195
+ amountL1ValidatorBalanceBurned: Array<AssetAmount>;
3827
4196
  /**
3828
4197
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3829
4198
  */
@@ -3844,6 +4213,14 @@ type PChainTransaction = {
3844
4213
  * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx
3845
4214
  */
3846
4215
  subnetId?: string;
4216
+ /**
4217
+ * Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1
4218
+ */
4219
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
4220
+ /**
4221
+ * Details of L1 validators registered or changed in the current transaction. The details reflect the state at the time of the transaction, not in real-time
4222
+ */
4223
+ l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
3847
4224
  /**
3848
4225
  * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3849
4226
  */
@@ -4045,6 +4422,11 @@ declare enum PrimaryNetworkTxType {
4045
4422
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
4046
4423
  BASE_TX = "BaseTx",
4047
4424
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
4425
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
4426
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
4427
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
4428
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
4429
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
4048
4430
  UNKNOWN = "UNKNOWN",
4049
4431
  CREATE_ASSET_TX = "CreateAssetTx",
4050
4432
  OPERATION_TX = "OperationTx"
@@ -4056,7 +4438,7 @@ declare class PrimaryNetworkTransactionsService {
4056
4438
  /**
4057
4439
  * Get transaction
4058
4440
  * Gets the details of a single transaction on one of the Primary Network chains.
4059
- * @returns any
4441
+ * @returns any Successful response
4060
4442
  * @throws ApiError
4061
4443
  */
4062
4444
  getTxByHash({ blockchainId, network, txHash, }: {
@@ -4065,7 +4447,7 @@ declare class PrimaryNetworkTransactionsService {
4065
4447
  */
4066
4448
  blockchainId: BlockchainId;
4067
4449
  /**
4068
- * Either mainnet or a testnet.
4450
+ * Either mainnet or testnet/fuji.
4069
4451
  */
4070
4452
  network: Network;
4071
4453
  /**
@@ -4079,23 +4461,26 @@ declare class PrimaryNetworkTransactionsService {
4079
4461
  *
4080
4462
  * Transactions are filterable by addresses, txTypes, and timestamps. When querying for latest transactions without an address parameter, filtering by txTypes and timestamps is not supported. An address filter must be provided to utilize txTypes and timestamp filters.
4081
4463
  *
4464
+ * For P-Chain, you can fetch all L1 validators related transactions like ConvertSubnetToL1Tx, IncreaseL1ValidatorBalanceTx etc. using the unique L1 validation ID. These transactions are further filterable by txTypes and timestamps as well.
4465
+ *
4082
4466
  * Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
4083
- * @returns any
4467
+ * @returns any Successful response
4084
4468
  * @throws ApiError
4085
4469
  */
4086
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4470
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4087
4471
  /**
4088
4472
  * A primary network blockchain id or alias.
4089
4473
  */
4090
4474
  blockchainId: BlockchainId;
4091
4475
  /**
4092
- * Either mainnet or a testnet.
4476
+ * Either mainnet or testnet/fuji.
4093
4477
  */
4094
4478
  network: Network;
4095
4479
  /**
4096
- * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
4480
+ * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
4097
4481
  */
4098
4482
  addresses?: string;
4483
+ l1ValidationId?: string;
4099
4484
  /**
4100
4485
  * Query param for filtering items based on transaction types.
4101
4486
  */
@@ -4124,7 +4509,7 @@ declare class PrimaryNetworkTransactionsService {
4124
4509
  /**
4125
4510
  * List staking transactions
4126
4511
  * Lists active staking transactions on the P-Chain for the supplied addresses.
4127
- * @returns ListPChainTransactionsResponse
4512
+ * @returns ListPChainTransactionsResponse Successful response
4128
4513
  * @throws ApiError
4129
4514
  */
4130
4515
  listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
@@ -4133,7 +4518,7 @@ declare class PrimaryNetworkTransactionsService {
4133
4518
  */
4134
4519
  blockchainId: PChainId;
4135
4520
  /**
4136
- * Either mainnet or a testnet.
4521
+ * Either mainnet or testnet/fuji.
4137
4522
  */
4138
4523
  network: Network;
4139
4524
  /**
@@ -4168,7 +4553,7 @@ declare class PrimaryNetworkTransactionsService {
4168
4553
  /**
4169
4554
  * List asset transactions
4170
4555
  * Lists asset transactions corresponding to the given asset id on the X-Chain.
4171
- * @returns ListXChainTransactionsResponse
4556
+ * @returns ListXChainTransactionsResponse Successful response
4172
4557
  * @throws ApiError
4173
4558
  */
4174
4559
  listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
@@ -4177,7 +4562,7 @@ declare class PrimaryNetworkTransactionsService {
4177
4562
  */
4178
4563
  blockchainId: XChainId;
4179
4564
  /**
4180
- * Either mainnet or a testnet.
4565
+ * Either mainnet or testnet/fuji.
4181
4566
  */
4182
4567
  network: Network;
4183
4568
  /**
@@ -4231,7 +4616,7 @@ declare class PrimaryNetworkUtxOsService {
4231
4616
  /**
4232
4617
  * List UTXOs
4233
4618
  * Lists UTXOs on one of the Primary Network chains for the supplied addresses.
4234
- * @returns any
4619
+ * @returns any Successful response
4235
4620
  * @throws ApiError
4236
4621
  */
4237
4622
  getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
@@ -4240,7 +4625,7 @@ declare class PrimaryNetworkUtxOsService {
4240
4625
  */
4241
4626
  blockchainId: BlockchainId;
4242
4627
  /**
4243
- * Either mainnet or a testnet.
4628
+ * Either mainnet or testnet/fuji.
4244
4629
  */
4245
4630
  network: Network;
4246
4631
  /**
@@ -4296,7 +4681,7 @@ declare class PrimaryNetworkVerticesService {
4296
4681
  /**
4297
4682
  * List vertices
4298
4683
  * Lists latest vertices on the X-Chain.
4299
- * @returns ListXChainVerticesResponse
4684
+ * @returns ListXChainVerticesResponse Successful response
4300
4685
  * @throws ApiError
4301
4686
  */
4302
4687
  listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
@@ -4305,7 +4690,7 @@ declare class PrimaryNetworkVerticesService {
4305
4690
  */
4306
4691
  blockchainId: XChainId;
4307
4692
  /**
4308
- * Either mainnet or a testnet.
4693
+ * Either mainnet or testnet/fuji.
4309
4694
  */
4310
4695
  network: Network;
4311
4696
  /**
@@ -4320,7 +4705,7 @@ declare class PrimaryNetworkVerticesService {
4320
4705
  /**
4321
4706
  * Get vertex
4322
4707
  * Gets a single vertex on the X-Chain.
4323
- * @returns XChainVertex
4708
+ * @returns XChainVertex Successful response
4324
4709
  * @throws ApiError
4325
4710
  */
4326
4711
  getVertexByHash({ vertexHash, blockchainId, network, }: {
@@ -4333,14 +4718,14 @@ declare class PrimaryNetworkVerticesService {
4333
4718
  */
4334
4719
  blockchainId: XChainId;
4335
4720
  /**
4336
- * Either mainnet or a testnet.
4721
+ * Either mainnet or testnet/fuji.
4337
4722
  */
4338
4723
  network: Network;
4339
4724
  }): CancelablePromise<XChainVertex>;
4340
4725
  /**
4341
4726
  * List vertices by height
4342
4727
  * Lists vertices at the given vertex height on the X-Chain.
4343
- * @returns ListXChainVerticesResponse
4728
+ * @returns ListXChainVerticesResponse Successful response
4344
4729
  * @throws ApiError
4345
4730
  */
4346
4731
  getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
@@ -4353,7 +4738,7 @@ declare class PrimaryNetworkVerticesService {
4353
4738
  */
4354
4739
  blockchainId: XChainId;
4355
4740
  /**
4356
- * Either mainnet or a testnet.
4741
+ * Either mainnet or testnet/fuji.
4357
4742
  */
4358
4743
  network: Network;
4359
4744
  /**
@@ -4371,47 +4756,29 @@ declare class PrimaryNetworkVerticesService {
4371
4756
  }): CancelablePromise<ListXChainVerticesResponse>;
4372
4757
  }
4373
4758
 
4374
- type RpcErrorDto = {
4375
- code: number;
4376
- message: string;
4377
- data?: Record<string, any>;
4378
- };
4379
-
4380
- type RpcErrorResponseDto = {
4381
- jsonrpc: string;
4382
- id?: (string | number);
4383
- error: RpcErrorDto;
4384
- };
4385
-
4386
- type RpcRequestBodyDto = {
4387
- method: string;
4388
- params?: Record<string, any>;
4389
- id?: (string | number);
4390
- jsonrpc?: string;
4759
+ type SignatureAggregationResponse = {
4760
+ signedMessage: string;
4391
4761
  };
4392
4762
 
4393
- type RpcSuccessResponseDto = {
4394
- jsonrpc: string;
4395
- id?: (string | number);
4396
- result: Record<string, any>;
4763
+ type SignatureAggregatorRequest = {
4764
+ message: string;
4765
+ justification?: string;
4766
+ signingSubnetId?: string;
4767
+ quorumPercentage?: number;
4397
4768
  };
4398
4769
 
4399
- declare class RpcService {
4770
+ declare class SignatureAggregatorService {
4400
4771
  readonly httpRequest: BaseHttpRequest;
4401
4772
  constructor(httpRequest: BaseHttpRequest);
4402
4773
  /**
4403
- * Calls JSON-RPC method
4404
- * Calls JSON-RPC method.
4405
- * @returns any
4774
+ * Aggregate Signatures
4775
+ * Aggregates Signatures for a Warp message from Subnet validators.
4776
+ * @returns SignatureAggregationResponse Successful response
4406
4777
  * @throws ApiError
4407
4778
  */
4408
- rpc({ chainId, requestBody, }: {
4409
- /**
4410
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
4411
- */
4412
- chainId: string;
4413
- requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
4414
- }): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
4779
+ aggregateSignatures({ requestBody, }: {
4780
+ requestBody: SignatureAggregatorRequest;
4781
+ }): CancelablePromise<SignatureAggregationResponse>;
4415
4782
  }
4416
4783
 
4417
4784
  type TeleporterDestinationTransaction = {
@@ -4554,7 +4921,7 @@ declare class TeleporterService {
4554
4921
  /**
4555
4922
  * Get a teleporter message
4556
4923
  * Gets a teleporter message by message ID.
4557
- * @returns any
4924
+ * @returns any Successful response
4558
4925
  * @throws ApiError
4559
4926
  */
4560
4927
  getTeleporterMessage({ messageId, }: {
@@ -4566,10 +4933,10 @@ declare class TeleporterService {
4566
4933
  /**
4567
4934
  * List teleporter messages
4568
4935
  * Lists teleporter messages. Ordered by timestamp in descending order.
4569
- * @returns ListTeleporterMessagesResponse
4936
+ * @returns ListTeleporterMessagesResponse Successful response
4570
4937
  * @throws ApiError
4571
4938
  */
4572
- listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, network, }: {
4939
+ listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
4573
4940
  /**
4574
4941
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4575
4942
  */
@@ -4586,6 +4953,10 @@ declare class TeleporterService {
4586
4953
  * The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
4587
4954
  */
4588
4955
  destinationBlockchainId?: string;
4956
+ /**
4957
+ * The base58 encoded blockchain ID of either source or destination chain that one teleporter message interacts with.
4958
+ */
4959
+ blockchainId?: string;
4589
4960
  /**
4590
4961
  * The address of the recipient of the teleporter message.
4591
4962
  */
@@ -4595,9 +4966,33 @@ declare class TeleporterService {
4595
4966
  */
4596
4967
  from?: string;
4597
4968
  /**
4598
- * mainnet or testnet.
4969
+ * Either mainnet or testnet/fuji.
4970
+ */
4971
+ network?: Network;
4972
+ }): CancelablePromise<ListTeleporterMessagesResponse>;
4973
+ /**
4974
+ * List teleporter messages by address
4975
+ * Lists teleporter messages by address. Ordered by timestamp in descending order.
4976
+ * @returns ListTeleporterMessagesResponse Successful response
4977
+ * @throws ApiError
4978
+ */
4979
+ listTeleporterMessagesByAddress({ address, pageToken, pageSize, network, }: {
4980
+ /**
4981
+ * An EVM address.
4982
+ */
4983
+ address: string;
4984
+ /**
4985
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4986
+ */
4987
+ pageToken?: string;
4988
+ /**
4989
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4990
+ */
4991
+ pageSize?: number;
4992
+ /**
4993
+ * Either mainnet or testnet/fuji.
4599
4994
  */
4600
- network?: NetworkType;
4995
+ network?: Network;
4601
4996
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4602
4997
  }
4603
4998
 
@@ -4605,7 +5000,7 @@ type AddressesChangeRequest = {
4605
5000
  /**
4606
5001
  * Ethereum address(es) for the address_activity event type
4607
5002
  */
4608
- addresses: Array<any[]>;
5003
+ addresses: Array<string>;
4609
5004
  };
4610
5005
 
4611
5006
  type AddressActivityMetadata = {
@@ -4631,7 +5026,7 @@ type CreateWebhookRequest = {
4631
5026
  name?: string;
4632
5027
  description?: string;
4633
5028
  /**
4634
- * Whether to include traces in the webhook payload.
5029
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
4635
5030
  */
4636
5031
  includeInternalTxs?: boolean;
4637
5032
  /**
@@ -4691,6 +5086,9 @@ type UpdateWebhookRequest = {
4691
5086
  description?: string;
4692
5087
  url?: string;
4693
5088
  status?: WebhookStatusType;
5089
+ /**
5090
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5091
+ */
4694
5092
  includeInternalTxs?: boolean;
4695
5093
  includeLogs?: boolean;
4696
5094
  };
@@ -4706,7 +5104,7 @@ declare class WebhooksService {
4706
5104
  /**
4707
5105
  * Create a webhook
4708
5106
  * Create a new webhook.
4709
- * @returns WebhookResponse
5107
+ * @returns WebhookResponse Successful response
4710
5108
  * @throws ApiError
4711
5109
  */
4712
5110
  createWebhook({ requestBody, }: {
@@ -4715,7 +5113,7 @@ declare class WebhooksService {
4715
5113
  /**
4716
5114
  * List webhooks
4717
5115
  * Lists webhooks for the user.
4718
- * @returns ListWebhooksResponse
5116
+ * @returns ListWebhooksResponse Successful response
4719
5117
  * @throws ApiError
4720
5118
  */
4721
5119
  listWebhooks({ pageToken, pageSize, status, }: {
@@ -4735,7 +5133,7 @@ declare class WebhooksService {
4735
5133
  /**
4736
5134
  * Get a webhook by ID
4737
5135
  * Retrieves a webhook by ID.
4738
- * @returns WebhookResponse
5136
+ * @returns WebhookResponse Successful response
4739
5137
  * @throws ApiError
4740
5138
  */
4741
5139
  getWebhook({ id, }: {
@@ -4747,7 +5145,7 @@ declare class WebhooksService {
4747
5145
  /**
4748
5146
  * Deactivate a webhook
4749
5147
  * Deactivates a webhook by ID.
4750
- * @returns WebhookResponse
5148
+ * @returns WebhookResponse Successful response
4751
5149
  * @throws ApiError
4752
5150
  */
4753
5151
  deactivateWebhook({ id, }: {
@@ -4759,7 +5157,7 @@ declare class WebhooksService {
4759
5157
  /**
4760
5158
  * Update a webhook
4761
5159
  * Updates an existing webhook.
4762
- * @returns WebhookResponse
5160
+ * @returns WebhookResponse Successful response
4763
5161
  * @throws ApiError
4764
5162
  */
4765
5163
  updateWebhook({ id, requestBody, }: {
@@ -4772,21 +5170,21 @@ declare class WebhooksService {
4772
5170
  /**
4773
5171
  * Generate a shared secret
4774
5172
  * Generates a new shared secret.
4775
- * @returns SharedSecretsResponse
5173
+ * @returns SharedSecretsResponse Successful response
4776
5174
  * @throws ApiError
4777
5175
  */
4778
5176
  generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4779
5177
  /**
4780
5178
  * Get a shared secret
4781
5179
  * Get a previously generated shared secret.
4782
- * @returns SharedSecretsResponse
5180
+ * @returns SharedSecretsResponse Successful response
4783
5181
  * @throws ApiError
4784
5182
  */
4785
5183
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4786
5184
  /**
4787
5185
  * Add addresses to webhook
4788
5186
  * Add addresses to webhook.
4789
- * @returns WebhookResponse
5187
+ * @returns WebhookResponse Successful response
4790
5188
  * @throws ApiError
4791
5189
  */
4792
5190
  addAddressesToWebhook({ id, requestBody, }: {
@@ -4799,7 +5197,7 @@ declare class WebhooksService {
4799
5197
  /**
4800
5198
  * Remove addresses from webhook
4801
5199
  * Remove addresses from webhook.
4802
- * @returns WebhookResponse
5200
+ * @returns WebhookResponse Successful response
4803
5201
  * @throws ApiError
4804
5202
  */
4805
5203
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -4812,7 +5210,7 @@ declare class WebhooksService {
4812
5210
  /**
4813
5211
  * List adresses by webhook
4814
5212
  * List adresses by webhook.
4815
- * @returns ListWebhookAddressesResponse
5213
+ * @returns ListWebhookAddressesResponse Successful response
4816
5214
  * @throws ApiError
4817
5215
  */
4818
5216
  getAddressesFromWebhook({ id, pageToken, pageSize, }: {
@@ -4833,13 +5231,13 @@ declare class WebhooksService {
4833
5231
 
4834
5232
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
4835
5233
  declare class Glacier {
5234
+ readonly dataApiUsageMetrics: DataApiUsageMetricsService;
4836
5235
  readonly default: DefaultService;
4837
5236
  readonly evmBalances: EvmBalancesService;
4838
5237
  readonly evmBlocks: EvmBlocksService;
4839
5238
  readonly evmChains: EvmChainsService;
4840
5239
  readonly evmContracts: EvmContractsService;
4841
5240
  readonly evmTransactions: EvmTransactionsService;
4842
- readonly glacierApiUsageMetrics: GlacierApiUsageMetricsService;
4843
5241
  readonly healthCheck: HealthCheckService;
4844
5242
  readonly nfTs: NfTsService;
4845
5243
  readonly operations: OperationsService;
@@ -4850,7 +5248,7 @@ declare class Glacier {
4850
5248
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
4851
5249
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
4852
5250
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4853
- readonly rpc: RpcService;
5251
+ readonly signatureAggregator: SignatureAggregatorService;
4854
5252
  readonly teleporter: TeleporterService;
4855
5253
  readonly webhooks: WebhooksService;
4856
5254
  readonly request: BaseHttpRequest;
@@ -4874,6 +5272,70 @@ declare class ApiError extends Error {
4874
5272
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4875
5273
  }
4876
5274
 
5275
+ type BadGateway = {
5276
+ /**
5277
+ * The error message describing the reason for the exception
5278
+ */
5279
+ message: (string | Array<string>);
5280
+ /**
5281
+ * The HTTP status code of the response
5282
+ */
5283
+ statusCode: number;
5284
+ /**
5285
+ * The type of error
5286
+ */
5287
+ error: string;
5288
+ };
5289
+
5290
+ type BadRequest = {
5291
+ /**
5292
+ * The error message describing the reason for the exception
5293
+ */
5294
+ message: (string | Array<string>);
5295
+ /**
5296
+ * The HTTP status code of the response
5297
+ */
5298
+ statusCode: number;
5299
+ /**
5300
+ * The type of error
5301
+ */
5302
+ error: string;
5303
+ };
5304
+
5305
+ type DataListChainsResponse = {
5306
+ chains: Array<ChainInfo>;
5307
+ };
5308
+
5309
+ type Forbidden = {
5310
+ /**
5311
+ * The error message describing the reason for the exception
5312
+ */
5313
+ message: (string | Array<string>);
5314
+ /**
5315
+ * The HTTP status code of the response
5316
+ */
5317
+ statusCode: number;
5318
+ /**
5319
+ * The type of error
5320
+ */
5321
+ error: string;
5322
+ };
5323
+
5324
+ type InternalServerError = {
5325
+ /**
5326
+ * The error message describing the reason for the exception
5327
+ */
5328
+ message: (string | Array<string>);
5329
+ /**
5330
+ * The HTTP status code of the response
5331
+ */
5332
+ statusCode: number;
5333
+ /**
5334
+ * The type of error
5335
+ */
5336
+ error: string;
5337
+ };
5338
+
4877
5339
  type NextPageToken = {
4878
5340
  /**
4879
5341
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -4881,4 +5343,64 @@ type NextPageToken = {
4881
5343
  nextPageToken?: string;
4882
5344
  };
4883
5345
 
4884
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, GlacierApiFeature, GlacierApiUsageMetricsService, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, SharedSecretsResponse, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
5346
+ type NotFound = {
5347
+ /**
5348
+ * The error message describing the reason for the exception
5349
+ */
5350
+ message: (string | Array<string>);
5351
+ /**
5352
+ * The HTTP status code of the response
5353
+ */
5354
+ statusCode: number;
5355
+ /**
5356
+ * The type of error
5357
+ */
5358
+ error: string;
5359
+ };
5360
+
5361
+ type ServiceUnavailable = {
5362
+ /**
5363
+ * The error message describing the reason for the exception
5364
+ */
5365
+ message: (string | Array<string>);
5366
+ /**
5367
+ * The HTTP status code of the response
5368
+ */
5369
+ statusCode: number;
5370
+ /**
5371
+ * The type of error
5372
+ */
5373
+ error: string;
5374
+ };
5375
+
5376
+ type TooManyRequests = {
5377
+ /**
5378
+ * The error message describing the reason for the exception
5379
+ */
5380
+ message: (string | Array<string>);
5381
+ /**
5382
+ * The HTTP status code of the response
5383
+ */
5384
+ statusCode: number;
5385
+ /**
5386
+ * The type of error
5387
+ */
5388
+ error: string;
5389
+ };
5390
+
5391
+ type Unauthorized = {
5392
+ /**
5393
+ * The error message describing the reason for the exception
5394
+ */
5395
+ message: (string | Array<string>);
5396
+ /**
5397
+ * The HTTP status code of the response
5398
+ */
5399
+ statusCode: number;
5400
+ /**
5401
+ * The type of error
5402
+ */
5403
+ error: string;
5404
+ };
5405
+
5406
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsResponseDTO, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };