@avalabs/glacier-sdk 3.1.0-canary.ad98ed7.0 → 3.1.0-canary.b074965.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 (149) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +1737 -341
  3. package/esm/generated/Glacier.d.ts +4 -0
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/models/AccessListData.d.ts +12 -0
  6. package/esm/generated/models/AccessRequest.d.ts +12 -0
  7. package/esm/generated/models/ActiveValidatorDetails.d.ts +26 -0
  8. package/esm/generated/models/BalanceOwner.d.ts +6 -0
  9. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  10. package/esm/generated/models/CommonBalanceType.js +1 -0
  11. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  12. package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
  13. package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
  14. package/esm/generated/models/DeliveredIcmMessage.js +1 -0
  15. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
  16. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
  17. package/esm/generated/models/ERCToken.d.ts +24 -0
  18. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  19. package/esm/generated/models/EVMAddressActivityRequest.d.ts +27 -0
  20. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  21. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +8 -8
  22. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  23. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  24. package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
  25. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  26. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  27. package/esm/generated/models/EventType.d.ts +3 -1
  28. package/esm/generated/models/EventType.js +1 -1
  29. package/esm/generated/models/EvmBlock.d.ts +4 -0
  30. package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
  31. package/esm/generated/models/Geolocation.d.ts +24 -0
  32. package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
  33. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
  34. package/esm/generated/models/GetTransactionResponse.d.ts +1 -1
  35. package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
  36. package/esm/generated/models/HealthCheckResultDto.js +1 -0
  37. package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
  38. package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
  39. package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
  40. package/esm/generated/models/IcmReceipt.d.ts +6 -0
  41. package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
  42. package/esm/generated/models/IcmRewardDetails.js +1 -0
  43. package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
  44. package/esm/generated/models/InternalTransaction.d.ts +15 -16
  45. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  46. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  47. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +37 -0
  48. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +27 -0
  49. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  50. package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
  51. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +5 -0
  52. package/esm/generated/models/ListErc20BalancesResponse.d.ts +5 -0
  53. package/esm/generated/models/ListErc721BalancesResponse.d.ts +5 -0
  54. package/esm/generated/models/ListIcmMessagesResponse.d.ts +12 -0
  55. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +14 -0
  56. package/esm/generated/models/ListWebhooksResponse.d.ts +3 -2
  57. package/esm/generated/models/Log.d.ts +40 -0
  58. package/esm/generated/models/NativeTransaction.d.ts +4 -0
  59. package/esm/generated/models/Network.d.ts +1 -2
  60. package/esm/generated/models/Network.js +1 -1
  61. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  62. package/esm/generated/models/NotificationsResponse.d.ts +5 -0
  63. package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
  64. package/esm/generated/models/PChainTransaction.d.ts +27 -14
  65. package/esm/generated/models/PChainTransactionType.d.ts +5 -5
  66. package/esm/generated/models/PChainTransactionType.js +1 -1
  67. package/esm/generated/models/PChainUtxo.d.ts +27 -0
  68. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  69. package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
  70. package/esm/generated/models/PendingIcmMessage.js +1 -0
  71. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  72. package/esm/generated/models/PlatformActivityKeyType.d.ts +10 -0
  73. package/esm/generated/models/PlatformActivityKeyType.js +1 -0
  74. package/esm/generated/models/PlatformActivityMetadata.d.ts +37 -0
  75. package/esm/generated/models/PlatformActivityRequest.d.ts +31 -0
  76. package/esm/generated/models/PlatformActivityRequest.js +1 -0
  77. package/esm/generated/models/PlatformActivityResponse.d.ts +17 -0
  78. package/esm/generated/models/PlatformActivitySubEvents.d.ts +11 -0
  79. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +10 -0
  80. package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -0
  81. package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +11 -0
  82. package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -0
  83. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +10 -0
  84. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  85. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
  86. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
  87. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
  88. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
  89. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -5
  90. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  91. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  92. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  93. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  94. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  95. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  96. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +8 -0
  97. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
  98. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -7
  99. package/esm/generated/models/StakingDistribution.d.ts +9 -0
  100. package/esm/generated/models/Subnet.d.ts +15 -2
  101. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  102. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  103. package/esm/generated/models/{RpcUsageMetricsResponseDTO.d.ts → SubnetRpcUsageMetricsResponseDTO.d.ts} +6 -6
  104. package/esm/generated/models/SubscribeRequest.d.ts +16 -0
  105. package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
  106. package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
  107. package/esm/generated/models/Transaction.d.ts +121 -0
  108. package/esm/generated/models/TransactionDetails.d.ts +1 -1
  109. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  110. package/esm/generated/models/UnknownContract.d.ts +1 -1
  111. package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
  112. package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
  113. package/esm/generated/models/UtxoType.d.ts +3 -0
  114. package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
  115. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  116. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  117. package/esm/generated/services/DataApiUsageMetricsService.d.ts +119 -20
  118. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  119. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  120. package/esm/generated/services/EvmBlocksService.d.ts +21 -0
  121. package/esm/generated/services/EvmBlocksService.js +1 -1
  122. package/esm/generated/services/EvmChainsService.d.ts +72 -6
  123. package/esm/generated/services/EvmChainsService.js +1 -1
  124. package/esm/generated/services/EvmTransactionsService.d.ts +35 -2
  125. package/esm/generated/services/EvmTransactionsService.js +1 -1
  126. package/esm/generated/services/HealthCheckService.d.ts +4 -7
  127. package/esm/generated/services/HealthCheckService.js +1 -1
  128. package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
  129. package/esm/generated/services/InterchainMessagingService.js +1 -0
  130. package/esm/generated/services/NotificationsService.d.ts +51 -0
  131. package/esm/generated/services/NotificationsService.js +1 -0
  132. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +18 -2
  133. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  134. package/esm/generated/services/PrimaryNetworkService.d.ts +51 -0
  135. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  136. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +4 -1
  137. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  138. package/esm/generated/services/SignatureAggregatorService.d.ts +22 -1
  139. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  140. package/esm/generated/services/TeleporterService.d.ts +12 -6
  141. package/esm/generated/services/WebhooksService.d.ts +26 -24
  142. package/esm/generated/services/WebhooksService.js +1 -1
  143. package/esm/index.d.ts +50 -5
  144. package/esm/index.js +1 -1
  145. package/package.json +13 -4
  146. package/dist/index.js +0 -1
  147. package/esm/generated/models/BlockchainInfo.d.ts +0 -5
  148. package/esm/generated/models/CreateWebhookRequest.d.ts +0 -21
  149. package/esm/generated/models/SubnetValidatorManagerDetails.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -148,6 +148,28 @@ type LogsResponseDTO = {
148
148
  logs: Array<LogsFormat>;
149
149
  };
150
150
 
151
+ declare enum Network {
152
+ MAINNET = "mainnet",
153
+ FUJI = "fuji",
154
+ TESTNET = "testnet"
155
+ }
156
+
157
+ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
158
+ RPC_METHOD = "rpcMethod",
159
+ REQUEST_PATH = "requestPath",
160
+ RESPONSE_CODE = "responseCode",
161
+ COUNTRY = "country",
162
+ CONTINENT = "continent",
163
+ USER_AGENT = "userAgent"
164
+ }
165
+
166
+ declare enum PrimaryNetworkRpcTimeIntervalGranularity {
167
+ HOURLY = "hourly",
168
+ DAILY = "daily",
169
+ WEEKLY = "weekly",
170
+ MONTHLY = "monthly"
171
+ }
172
+
151
173
  type RpcUsageMetricsValueAggregated = {
152
174
  /**
153
175
  * The total number of requests
@@ -173,6 +195,10 @@ type RpcUsageMetricsValueAggregated = {
173
195
  * The number of invalid requests
174
196
  */
175
197
  invalidRequests: number;
198
+ /**
199
+ * The number of API credits wasted on invalid requests
200
+ */
201
+ apiCreditsWasted: number;
176
202
  /**
177
203
  * Column name used for data aggregation
178
204
  */
@@ -190,6 +216,10 @@ declare namespace RpcUsageMetricsValueAggregated {
190
216
  RPC_METHOD = "rpcMethod",
191
217
  RESPONSE_CODE = "responseCode",
192
218
  RL_BYPASS_TOKEN = "rlBypassToken",
219
+ REQUEST_PATH = "requestPath",
220
+ COUNTRY = "country",
221
+ CONTINENT = "continent",
222
+ USER_AGENT = "userAgent",
193
223
  NONE = "None"
194
224
  }
195
225
  }
@@ -205,19 +235,56 @@ type RpcMetrics = {
205
235
  values: Array<RpcUsageMetricsValueAggregated>;
206
236
  };
207
237
 
208
- type RpcUsageMetricsResponseDTO = {
238
+ type PrimaryNetworkRpcUsageMetricsResponseDTO = {
209
239
  /**
210
240
  * Duration in which the metrics value is aggregated
211
241
  */
212
242
  aggregateDuration: string;
213
243
  /**
214
- * ChainId for which the metrics are aggregated
244
+ * Metrics values
215
245
  */
216
- chainId: string;
246
+ metrics: Array<RpcMetrics>;
247
+ /**
248
+ * Network type for which the metrics are aggregated
249
+ */
250
+ network: PrimaryNetworkRpcUsageMetricsResponseDTO.network;
251
+ };
252
+ declare namespace PrimaryNetworkRpcUsageMetricsResponseDTO {
253
+ /**
254
+ * Network type for which the metrics are aggregated
255
+ */
256
+ enum network {
257
+ MAINNET = "mainnet",
258
+ TESTNET = "testnet"
259
+ }
260
+ }
261
+
262
+ declare enum RpcUsageMetricsGroupByEnum {
263
+ RPC_METHOD = "rpcMethod",
264
+ RESPONSE_CODE = "responseCode",
265
+ RL_BYPASS_TOKEN = "rlBypassToken"
266
+ }
267
+
268
+ declare enum SubnetRpcTimeIntervalGranularity {
269
+ HOURLY = "hourly",
270
+ DAILY = "daily",
271
+ WEEKLY = "weekly",
272
+ MONTHLY = "monthly"
273
+ }
274
+
275
+ type SubnetRpcUsageMetricsResponseDTO = {
276
+ /**
277
+ * Duration in which the metrics value is aggregated
278
+ */
279
+ aggregateDuration: string;
217
280
  /**
218
281
  * Metrics values
219
282
  */
220
283
  metrics: Array<RpcMetrics>;
284
+ /**
285
+ * ChainId for which the metrics are aggregated
286
+ */
287
+ chainId: string;
221
288
  };
222
289
 
223
290
  declare enum TimeIntervalGranularityExtended {
@@ -323,7 +390,7 @@ declare class DataApiUsageMetricsService {
323
390
  * @returns UsageMetricsResponseDTO Successful response
324
391
  * @throws ApiError
325
392
  */
326
- getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, requestPath, responseCode, requestType, apiKeyId, }: {
393
+ getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, responseCode, requestType, apiKeyId, requestPath, }: {
327
394
  /**
328
395
  * Organization ID to fetch usage metrics for
329
396
  */
@@ -348,10 +415,6 @@ declare class DataApiUsageMetricsService {
348
415
  * Filter data by chain ID.
349
416
  */
350
417
  chainId?: string;
351
- /**
352
- * Filter data by request path.
353
- */
354
- requestPath?: string;
355
418
  /**
356
419
  * Filter data by response status code.
357
420
  */
@@ -364,6 +427,10 @@ declare class DataApiUsageMetricsService {
364
427
  * Filter data by API key ID.
365
428
  */
366
429
  apiKeyId?: string;
430
+ /**
431
+ * Filter data by request path.
432
+ */
433
+ requestPath?: string;
367
434
  }): CancelablePromise<UsageMetricsResponseDTO>;
368
435
  /**
369
436
  * Get logs for requests made by client
@@ -371,7 +438,7 @@ declare class DataApiUsageMetricsService {
371
438
  * @returns LogsResponseDTO Successful response
372
439
  * @throws ApiError
373
440
  */
374
- getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, requestPath, responseCode, requestType, apiKeyId, pageToken, pageSize, }: {
441
+ getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, responseCode, requestType, apiKeyId, requestPath, pageToken, pageSize, }: {
375
442
  /**
376
443
  * Organization ID to fetch usage metrics for
377
444
  */
@@ -388,10 +455,6 @@ declare class DataApiUsageMetricsService {
388
455
  * Filter data by chain ID.
389
456
  */
390
457
  chainId?: string;
391
- /**
392
- * Filter data by request path.
393
- */
394
- requestPath?: string;
395
458
  /**
396
459
  * Filter data by response status code.
397
460
  */
@@ -404,6 +467,10 @@ declare class DataApiUsageMetricsService {
404
467
  * Filter data by API key ID.
405
468
  */
406
469
  apiKeyId?: string;
470
+ /**
471
+ * Filter data by request path.
472
+ */
473
+ requestPath?: string;
407
474
  /**
408
475
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
409
476
  */
@@ -415,15 +482,16 @@ declare class DataApiUsageMetricsService {
415
482
  }): CancelablePromise<LogsResponseDTO>;
416
483
  /**
417
484
  * 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
485
+ * Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
486
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
420
487
  * @throws ApiError
421
488
  */
422
- getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, requestPath, responseCode, rpcMethod, rlBypassApiToken, }: {
489
+ getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
423
490
  /**
424
- * Query param for setting time interval of data aggregation.
491
+ * Time interval granularity for data aggregation for subnet
492
+ * rpc metrics
425
493
  */
426
- timeInterval?: string;
494
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
427
495
  /**
428
496
  * 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
497
  */
@@ -435,15 +503,54 @@ declare class DataApiUsageMetricsService {
435
503
  /**
436
504
  * Query param for the criterion used for grouping metrics
437
505
  */
438
- groupBy?: UsageMetricsGroupByEnum;
506
+ groupBy?: RpcUsageMetricsGroupByEnum;
439
507
  /**
440
508
  * Filter data by chain ID.
441
509
  */
442
510
  chainId?: string;
443
511
  /**
444
- * Filter data by request path.
512
+ * Filter data by response status code.
445
513
  */
446
- requestPath?: string;
514
+ responseCode?: string;
515
+ /**
516
+ * Filter data by RPC method.
517
+ */
518
+ rpcMethod?: string;
519
+ /**
520
+ * Filter data by Rl Bypass API Token.
521
+ */
522
+ rlBypassApiToken?: string;
523
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
524
+ /**
525
+ * @deprecated
526
+ * **[Deprecated]** Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
527
+ *
528
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/subnetRpcUsageMetrics endpoint instead**.
529
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
530
+ * @throws ApiError
531
+ */
532
+ getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
533
+ /**
534
+ * Time interval granularity for data aggregation for subnet
535
+ * rpc metrics
536
+ */
537
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
538
+ /**
539
+ * 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.
540
+ */
541
+ startTimestamp?: number;
542
+ /**
543
+ * 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.
544
+ */
545
+ endTimestamp?: number;
546
+ /**
547
+ * Query param for the criterion used for grouping metrics
548
+ */
549
+ groupBy?: RpcUsageMetricsGroupByEnum;
550
+ /**
551
+ * Filter data by chain ID.
552
+ */
553
+ chainId?: string;
447
554
  /**
448
555
  * Filter data by response status code.
449
556
  */
@@ -456,7 +563,60 @@ declare class DataApiUsageMetricsService {
456
563
  * Filter data by Rl Bypass API Token.
457
564
  */
458
565
  rlBypassApiToken?: string;
459
- }): CancelablePromise<RpcUsageMetricsResponseDTO>;
566
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
567
+ /**
568
+ * Get usage metrics for the Primary Network RPC
569
+ * Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
570
+ * @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
571
+ * @throws ApiError
572
+ */
573
+ getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
574
+ /**
575
+ * Either mainnet or testnet/fuji.
576
+ */
577
+ network: Network;
578
+ /**
579
+ * Time interval granularity for data aggregation for subnet
580
+ * rpc metrics
581
+ */
582
+ timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
583
+ /**
584
+ * 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.
585
+ */
586
+ startTimestamp?: number;
587
+ /**
588
+ * 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.
589
+ */
590
+ endTimestamp?: number;
591
+ /**
592
+ * Query param for the criterion used for grouping metrics
593
+ */
594
+ groupBy?: PrimaryNetworkRpcMetricsGroupByEnum;
595
+ /**
596
+ * Filter data by response status code.
597
+ */
598
+ responseCode?: string;
599
+ /**
600
+ * Filter data by request path.
601
+ */
602
+ requestPath?: string;
603
+ /**
604
+ * Filter data by Country. Input must be a valid ISO 3166-1 alpha-2 country code. "XX" - Represents clients without country code data. "T1" - Represents clients using the Tor network.
605
+ */
606
+ country?: string;
607
+ /**
608
+ * Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
609
+ */
610
+ continent?: string;
611
+ /**
612
+ * Filter data by User Agent.
613
+ */
614
+ userAgent?: string;
615
+ /**
616
+ * Filter data by RPC method.
617
+ */
618
+ rpcMethod?: string;
619
+ }): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
460
620
  }
461
621
 
462
622
  declare class DefaultService {
@@ -655,6 +815,10 @@ type ListErc1155BalancesResponse = {
655
815
  * 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.
656
816
  */
657
817
  nextPageToken?: string;
818
+ /**
819
+ * The native token balance for the address.
820
+ */
821
+ nativeTokenBalance: NativeTokenBalance;
658
822
  /**
659
823
  * The list of ERC-1155 token balances for the address.
660
824
  */
@@ -699,11 +863,22 @@ type Erc20TokenBalance = {
699
863
  * The monetary value of the balance, if a price is available for the token.
700
864
  */
701
865
  balanceValue?: Money;
866
+ /**
867
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
868
+ */
869
+ tokenReputation: Erc20TokenBalance.tokenReputation;
702
870
  };
703
871
  declare namespace Erc20TokenBalance {
704
872
  enum ercType {
705
873
  ERC_20 = "ERC-20"
706
874
  }
875
+ /**
876
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
877
+ */
878
+ enum tokenReputation {
879
+ MALICIOUS = "Malicious",
880
+ BENIGN = "Benign"
881
+ }
707
882
  }
708
883
 
709
884
  type ListErc20BalancesResponse = {
@@ -711,6 +886,10 @@ type ListErc20BalancesResponse = {
711
886
  * 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.
712
887
  */
713
888
  nextPageToken?: string;
889
+ /**
890
+ * The native token balance for the address.
891
+ */
892
+ nativeTokenBalance: NativeTokenBalance;
714
893
  /**
715
894
  * The list of ERC-20 token balances for the address.
716
895
  */
@@ -722,6 +901,10 @@ type ListErc721BalancesResponse = {
722
901
  * 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.
723
902
  */
724
903
  nextPageToken?: string;
904
+ /**
905
+ * The native token balance for the address.
906
+ */
907
+ nativeTokenBalance: NativeTokenBalance;
725
908
  /**
726
909
  * The list of ERC-721 token balances for the address.
727
910
  */
@@ -785,7 +968,7 @@ declare class EvmBalancesService {
785
968
  */
786
969
  pageToken?: string;
787
970
  /**
788
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
971
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
789
972
  */
790
973
  pageSize?: number;
791
974
  /**
@@ -823,7 +1006,7 @@ declare class EvmBalancesService {
823
1006
  */
824
1007
  pageToken?: string;
825
1008
  /**
826
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1009
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
827
1010
  */
828
1011
  pageSize?: number;
829
1012
  /**
@@ -859,7 +1042,7 @@ declare class EvmBalancesService {
859
1042
  */
860
1043
  pageToken?: string;
861
1044
  /**
862
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1045
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
863
1046
  */
864
1047
  pageSize?: number;
865
1048
  /**
@@ -889,7 +1072,7 @@ declare class EvmBalancesService {
889
1072
  */
890
1073
  pageToken?: string;
891
1074
  /**
892
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1075
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
893
1076
  */
894
1077
  pageSize?: number;
895
1078
  /**
@@ -900,6 +1083,10 @@ declare class EvmBalancesService {
900
1083
  }
901
1084
 
902
1085
  type GetEvmBlockResponse = {
1086
+ /**
1087
+ * The EVM chain ID on which the block was created.
1088
+ */
1089
+ chainId: string;
903
1090
  /**
904
1091
  * The block number on the chain.
905
1092
  */
@@ -944,6 +1131,10 @@ type GetEvmBlockResponse = {
944
1131
  };
945
1132
 
946
1133
  type EvmBlock = {
1134
+ /**
1135
+ * The EVM chain ID on which the block was created.
1136
+ */
1137
+ chainId: string;
947
1138
  /**
948
1139
  * The block number on the chain.
949
1140
  */
@@ -998,6 +1189,26 @@ type ListEvmBlocksResponse = {
998
1189
  declare class EvmBlocksService {
999
1190
  readonly httpRequest: BaseHttpRequest;
1000
1191
  constructor(httpRequest: BaseHttpRequest);
1192
+ /**
1193
+ * List latest blocks across all supported EVM chains
1194
+ * Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
1195
+ * @returns ListEvmBlocksResponse Successful response
1196
+ * @throws ApiError
1197
+ */
1198
+ listLatestBlocksAllChains({ pageToken, pageSize, network, }: {
1199
+ /**
1200
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1201
+ */
1202
+ pageToken?: string;
1203
+ /**
1204
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1205
+ */
1206
+ pageSize?: number;
1207
+ /**
1208
+ * Either mainnet or testnet/fuji.
1209
+ */
1210
+ network?: Network;
1211
+ }): CancelablePromise<ListEvmBlocksResponse>;
1001
1212
  /**
1002
1213
  * List latest blocks
1003
1214
  * Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
@@ -1120,79 +1331,251 @@ type ChainInfo = {
1120
1331
  enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
1121
1332
  };
1122
1333
 
1334
+ type ListAddressChainsResponse = {
1335
+ indexedChains?: Array<ChainInfo>;
1336
+ unindexedChains?: Array<string>;
1337
+ };
1338
+
1123
1339
  type ListChainsResponse = {
1124
1340
  chains: Array<ChainInfo>;
1125
1341
  };
1126
1342
 
1127
- declare enum Network {
1128
- MAINNET = "mainnet",
1129
- FUJI = "fuji",
1130
- TESTNET = "testnet",
1131
- DEVNET = "devnet"
1343
+ /**
1344
+ * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
1345
+ */
1346
+ declare enum TransactionMethodType {
1347
+ NATIVE_TRANSFER = "NATIVE_TRANSFER",
1348
+ CONTRACT_CALL = "CONTRACT_CALL",
1349
+ CONTRACT_CREATION = "CONTRACT_CREATION"
1132
1350
  }
1133
1351
 
1134
- declare class EvmChainsService {
1135
- readonly httpRequest: BaseHttpRequest;
1136
- constructor(httpRequest: BaseHttpRequest);
1352
+ type Method = {
1353
+ callType: TransactionMethodType;
1137
1354
  /**
1138
- * List chains
1139
- * Lists the supported EVM-compatible chains. Filterable by network.
1140
- * @returns ListChainsResponse Successful response
1141
- * @throws ApiError
1355
+ * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1142
1356
  */
1143
- supportedChains({ network, feature, }: {
1144
- /**
1145
- * Either mainnet or testnet/fuji.
1146
- */
1147
- network?: Network;
1148
- /**
1149
- * Filter by feature.
1150
- */
1151
- feature?: ApiFeature;
1152
- }): CancelablePromise<ListChainsResponse>;
1357
+ methodHash: string;
1153
1358
  /**
1154
- * Get chain information
1155
- * Gets chain information for the EVM-compatible chain if supported by the api.
1156
- * @returns GetChainResponse Successful response
1157
- * @throws ApiError
1359
+ * The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
1158
1360
  */
1159
- getChainInfo({ chainId, }: {
1160
- /**
1161
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1162
- */
1163
- chainId: string;
1164
- }): CancelablePromise<GetChainResponse>;
1361
+ methodName?: string;
1362
+ };
1363
+
1364
+ type RichAddress = {
1165
1365
  /**
1166
- * Get chains for address
1167
- * Gets the list of chains an address has interacted with.
1168
- * @returns ListChainsResponse Successful response
1169
- * @throws ApiError
1366
+ * The contract name.
1170
1367
  */
1171
- getAddressChains({ address, }: {
1172
- /**
1173
- * A wallet address.
1174
- */
1175
- address: string;
1176
- }): CancelablePromise<ListChainsResponse>;
1177
- }
1178
-
1179
- type ImageAsset = {
1180
- assetId?: string;
1368
+ name?: string;
1181
1369
  /**
1182
- * OUTPUT ONLY
1370
+ * The contract symbol.
1183
1371
  */
1184
- imageUri?: string;
1185
- };
1186
-
1187
- type PricingProviders = {
1188
- coingeckoCoinId?: string;
1189
- };
1190
-
1191
- declare enum ResourceLinkType {
1192
- BLOG = "Blog",
1193
- COIN_GECKO = "CoinGecko",
1194
- COIN_MARKET_CAP = "CoinMarketCap",
1195
- DISCORD = "Discord",
1372
+ symbol?: string;
1373
+ /**
1374
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1375
+ */
1376
+ decimals?: number;
1377
+ /**
1378
+ * The logo uri for the address.
1379
+ */
1380
+ logoUri?: string;
1381
+ /**
1382
+ * A wallet or contract address in mixed-case checksum encoding.
1383
+ */
1384
+ address: string;
1385
+ };
1386
+
1387
+ type NativeTransaction = {
1388
+ /**
1389
+ * The block number on the chain.
1390
+ */
1391
+ blockNumber: string;
1392
+ /**
1393
+ * The block finality timestamp.
1394
+ */
1395
+ blockTimestamp: number;
1396
+ /**
1397
+ * The block hash identifier.
1398
+ */
1399
+ blockHash: string;
1400
+ /**
1401
+ * The EVM chain ID on which the transaction occured.
1402
+ */
1403
+ chainId: string;
1404
+ /**
1405
+ * The index at which the transaction occured in the block (0-indexed).
1406
+ */
1407
+ blockIndex: number;
1408
+ /**
1409
+ * The transaction hash identifier.
1410
+ */
1411
+ txHash: string;
1412
+ /**
1413
+ * The transaction status, which is either 0 (failed) or 1 (successful).
1414
+ */
1415
+ txStatus: string;
1416
+ /**
1417
+ * The transaction type.
1418
+ */
1419
+ txType: number;
1420
+ /**
1421
+ * The gas limit set for the transaction.
1422
+ */
1423
+ gasLimit: string;
1424
+ /**
1425
+ * The amount of gas used.
1426
+ */
1427
+ gasUsed: string;
1428
+ /**
1429
+ * The gas price denominated by the number of decimals of the native token.
1430
+ */
1431
+ gasPrice: string;
1432
+ /**
1433
+ * The nonce used by the sender of the transaction.
1434
+ */
1435
+ nonce: string;
1436
+ from: RichAddress;
1437
+ to: RichAddress;
1438
+ method?: Method;
1439
+ value: string;
1440
+ };
1441
+
1442
+ type ListNativeTransactionsResponse = {
1443
+ /**
1444
+ * 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.
1445
+ */
1446
+ nextPageToken?: string;
1447
+ transactions: Array<NativeTransaction>;
1448
+ };
1449
+
1450
+ declare enum TransactionStatus {
1451
+ FAILED = "failed",
1452
+ SUCCESS = "success"
1453
+ }
1454
+
1455
+ declare class EvmChainsService {
1456
+ readonly httpRequest: BaseHttpRequest;
1457
+ constructor(httpRequest: BaseHttpRequest);
1458
+ /**
1459
+ * List all chains associated with a given address
1460
+ * Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.
1461
+ * @returns ListAddressChainsResponse Successful response
1462
+ * @throws ApiError
1463
+ */
1464
+ listAddressChains({ address, }: {
1465
+ /**
1466
+ * A wallet address.
1467
+ */
1468
+ address: string;
1469
+ }): CancelablePromise<ListAddressChainsResponse>;
1470
+ /**
1471
+ * List chains
1472
+ * Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
1473
+ * @returns ListChainsResponse Successful response
1474
+ * @throws ApiError
1475
+ */
1476
+ supportedChains({ network, feature, }: {
1477
+ /**
1478
+ * Either mainnet or testnet/fuji.
1479
+ */
1480
+ network?: Network;
1481
+ /**
1482
+ * Filter by feature.
1483
+ */
1484
+ feature?: ApiFeature;
1485
+ }): CancelablePromise<ListChainsResponse>;
1486
+ /**
1487
+ * Get chain information
1488
+ * Gets chain information for the EVM-compatible chain if supported by AvaCloud.
1489
+ * @returns GetChainResponse Successful response
1490
+ * @throws ApiError
1491
+ */
1492
+ getChainInfo({ chainId, }: {
1493
+ /**
1494
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1495
+ */
1496
+ chainId: string;
1497
+ }): CancelablePromise<GetChainResponse>;
1498
+ /**
1499
+ * @deprecated
1500
+ * **[Deprecated]** Gets a list of all chains where the address was either a sender or receiver in a transaction or ERC transfer. The list is currently updated every 15 minutes.
1501
+ *
1502
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/address/:address/chains endpoint instead** .
1503
+ * @returns ListAddressChainsResponse Successful response
1504
+ * @throws ApiError
1505
+ */
1506
+ getAddressChains({ address, }: {
1507
+ /**
1508
+ * A wallet address.
1509
+ */
1510
+ address: string;
1511
+ }): CancelablePromise<ListAddressChainsResponse>;
1512
+ /**
1513
+ * @deprecated
1514
+ * **[Deprecated]** Lists the latest transactions for all supported EVM chains. Filterable by status.
1515
+ *
1516
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/transactions endpoint instead** .
1517
+ * @returns ListNativeTransactionsResponse Successful response
1518
+ * @throws ApiError
1519
+ */
1520
+ listAllLatestTransactions({ pageToken, pageSize, network, status, }: {
1521
+ /**
1522
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1523
+ */
1524
+ pageToken?: string;
1525
+ /**
1526
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1527
+ */
1528
+ pageSize?: number;
1529
+ /**
1530
+ * Either mainnet or testnet/fuji.
1531
+ */
1532
+ network?: Network;
1533
+ /**
1534
+ * A status filter for listed transactions.
1535
+ */
1536
+ status?: TransactionStatus;
1537
+ }): CancelablePromise<ListNativeTransactionsResponse>;
1538
+ /**
1539
+ * @deprecated
1540
+ * **[Deprecated]** Lists the latest blocks for all supported EVM chains. Filterable by network.
1541
+ *
1542
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/blocks endpoint instead** .
1543
+ * @returns ListEvmBlocksResponse Successful response
1544
+ * @throws ApiError
1545
+ */
1546
+ listAllLatestBlocks({ pageToken, pageSize, network, }: {
1547
+ /**
1548
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1549
+ */
1550
+ pageToken?: string;
1551
+ /**
1552
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1553
+ */
1554
+ pageSize?: number;
1555
+ /**
1556
+ * Either mainnet or testnet/fuji.
1557
+ */
1558
+ network?: Network;
1559
+ }): CancelablePromise<ListEvmBlocksResponse>;
1560
+ }
1561
+
1562
+ type ImageAsset = {
1563
+ assetId?: string;
1564
+ /**
1565
+ * OUTPUT ONLY
1566
+ */
1567
+ imageUri?: string;
1568
+ };
1569
+
1570
+ type PricingProviders = {
1571
+ coingeckoCoinId?: string;
1572
+ };
1573
+
1574
+ declare enum ResourceLinkType {
1575
+ BLOG = "Blog",
1576
+ COIN_GECKO = "CoinGecko",
1577
+ COIN_MARKET_CAP = "CoinMarketCap",
1578
+ DISCORD = "Discord",
1196
1579
  DOCUMENTATION = "Documentation",
1197
1580
  FACEBOOK = "Facebook",
1198
1581
  GITHUB = "Github",
@@ -1345,7 +1728,7 @@ type Erc1155Contract = {
1345
1728
  * A wallet or contract address in mixed-case checksum encoding.
1346
1729
  */
1347
1730
  address: string;
1348
- deploymentDetails: ContractDeploymentDetails;
1731
+ deploymentDetails?: ContractDeploymentDetails;
1349
1732
  ercType: Erc1155Contract.ercType;
1350
1733
  /**
1351
1734
  * The contract symbol.
@@ -1376,7 +1759,7 @@ type Erc20Contract = {
1376
1759
  * A wallet or contract address in mixed-case checksum encoding.
1377
1760
  */
1378
1761
  address: string;
1379
- deploymentDetails: ContractDeploymentDetails;
1762
+ deploymentDetails?: ContractDeploymentDetails;
1380
1763
  ercType: Erc20Contract.ercType;
1381
1764
  /**
1382
1765
  * The contract symbol.
@@ -1411,7 +1794,7 @@ type Erc721Contract = {
1411
1794
  * A wallet or contract address in mixed-case checksum encoding.
1412
1795
  */
1413
1796
  address: string;
1414
- deploymentDetails: ContractDeploymentDetails;
1797
+ deploymentDetails?: ContractDeploymentDetails;
1415
1798
  ercType: Erc721Contract.ercType;
1416
1799
  /**
1417
1800
  * The contract symbol.
@@ -1441,7 +1824,7 @@ type UnknownContract = {
1441
1824
  * A wallet or contract address in mixed-case checksum encoding.
1442
1825
  */
1443
1826
  address: string;
1444
- deploymentDetails: ContractDeploymentDetails;
1827
+ deploymentDetails?: ContractDeploymentDetails;
1445
1828
  ercType: UnknownContract.ercType;
1446
1829
  };
1447
1830
  declare namespace UnknownContract {
@@ -1508,29 +1891,6 @@ declare namespace Erc1155Token {
1508
1891
  }
1509
1892
  }
1510
1893
 
1511
- type RichAddress = {
1512
- /**
1513
- * The contract name.
1514
- */
1515
- name?: string;
1516
- /**
1517
- * The contract symbol.
1518
- */
1519
- symbol?: string;
1520
- /**
1521
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1522
- */
1523
- decimals?: number;
1524
- /**
1525
- * The logo uri for the address.
1526
- */
1527
- logoUri?: string;
1528
- /**
1529
- * A wallet or contract address in mixed-case checksum encoding.
1530
- */
1531
- address: string;
1532
- };
1533
-
1534
1894
  type Erc1155TransferDetails = {
1535
1895
  from: RichAddress;
1536
1896
  to: RichAddress;
@@ -1615,27 +1975,6 @@ type Erc721TransferDetails = {
1615
1975
  erc721Token: Erc721Token;
1616
1976
  };
1617
1977
 
1618
- /**
1619
- * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
1620
- */
1621
- declare enum TransactionMethodType {
1622
- NATIVE_TRANSFER = "NATIVE_TRANSFER",
1623
- CONTRACT_CALL = "CONTRACT_CALL",
1624
- CONTRACT_CREATION = "CONTRACT_CREATION"
1625
- }
1626
-
1627
- type Method = {
1628
- callType: TransactionMethodType;
1629
- /**
1630
- * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1631
- */
1632
- methodHash: string;
1633
- /**
1634
- * The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
1635
- */
1636
- methodName?: string;
1637
- };
1638
-
1639
1978
  type FullNativeTransactionDetails = {
1640
1979
  /**
1641
1980
  * The block number on the chain.
@@ -1649,6 +1988,10 @@ type FullNativeTransactionDetails = {
1649
1988
  * The block hash identifier.
1650
1989
  */
1651
1990
  blockHash: string;
1991
+ /**
1992
+ * The EVM chain ID on which the transaction occured.
1993
+ */
1994
+ chainId: string;
1652
1995
  /**
1653
1996
  * The index at which the transaction occured in the block (0-indexed).
1654
1997
  */
@@ -1699,6 +2042,7 @@ declare enum InternalTransactionOpCall {
1699
2042
  CALL = "CALL",
1700
2043
  CREATE = "CREATE",
1701
2044
  CREATE2 = "CREATE2",
2045
+ CREATE3 = "CREATE3",
1702
2046
  CALLCODE = "CALLCODE",
1703
2047
  DELEGATECALL = "DELEGATECALL",
1704
2048
  STATICCALL = "STATICCALL"
@@ -1761,7 +2105,7 @@ type GetTransactionResponse = {
1761
2105
  */
1762
2106
  erc1155Transfers?: Array<Erc1155TransferDetails>;
1763
2107
  /**
1764
- * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
2108
+ * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
1765
2109
  */
1766
2110
  internalTransactions?: Array<InternalTransactionDetails>;
1767
2111
  networkTokenDetails: NetworkTokenDetails;
@@ -1877,31 +2221,33 @@ type ListErc721TransactionsResponse = {
1877
2221
 
1878
2222
  type InternalTransaction = {
1879
2223
  /**
1880
- * The block number on the chain.
2224
+ * Sender address
1881
2225
  */
1882
- blockNumber: string;
2226
+ from: string;
1883
2227
  /**
1884
- * The block finality timestamp.
2228
+ * Recipient address
1885
2229
  */
1886
- blockTimestamp: number;
2230
+ to: string;
1887
2231
  /**
1888
- * The block hash identifier.
2232
+ * Internal transaction type
1889
2233
  */
1890
- blockHash: string;
2234
+ internalTxType: string;
1891
2235
  /**
1892
- * The transaction hash identifier.
2236
+ * Value transferred
1893
2237
  */
1894
- txHash: string;
1895
- from: RichAddress;
1896
- to: RichAddress;
1897
- internalTxType: InternalTransactionOpCall;
1898
2238
  value: string;
1899
2239
  /**
1900
- * True if the internal transaction was reverted.
2240
+ * Gas used
1901
2241
  */
1902
- isReverted: boolean;
1903
2242
  gasUsed: string;
2243
+ /**
2244
+ * Gas limit
2245
+ */
1904
2246
  gasLimit: string;
2247
+ /**
2248
+ * Transaction hash
2249
+ */
2250
+ transactionHash: string;
1905
2251
  };
1906
2252
 
1907
2253
  type ListInternalTransactionsResponse = {
@@ -1912,65 +2258,6 @@ type ListInternalTransactionsResponse = {
1912
2258
  transactions: Array<InternalTransaction>;
1913
2259
  };
1914
2260
 
1915
- type NativeTransaction = {
1916
- /**
1917
- * The block number on the chain.
1918
- */
1919
- blockNumber: string;
1920
- /**
1921
- * The block finality timestamp.
1922
- */
1923
- blockTimestamp: number;
1924
- /**
1925
- * The block hash identifier.
1926
- */
1927
- blockHash: string;
1928
- /**
1929
- * The index at which the transaction occured in the block (0-indexed).
1930
- */
1931
- blockIndex: number;
1932
- /**
1933
- * The transaction hash identifier.
1934
- */
1935
- txHash: string;
1936
- /**
1937
- * The transaction status, which is either 0 (failed) or 1 (successful).
1938
- */
1939
- txStatus: string;
1940
- /**
1941
- * The transaction type.
1942
- */
1943
- txType: number;
1944
- /**
1945
- * The gas limit set for the transaction.
1946
- */
1947
- gasLimit: string;
1948
- /**
1949
- * The amount of gas used.
1950
- */
1951
- gasUsed: string;
1952
- /**
1953
- * The gas price denominated by the number of decimals of the native token.
1954
- */
1955
- gasPrice: string;
1956
- /**
1957
- * The nonce used by the sender of the transaction.
1958
- */
1959
- nonce: string;
1960
- from: RichAddress;
1961
- to: RichAddress;
1962
- method?: Method;
1963
- value: string;
1964
- };
1965
-
1966
- type ListNativeTransactionsResponse = {
1967
- /**
1968
- * 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.
1969
- */
1970
- nextPageToken?: string;
1971
- transactions: Array<NativeTransaction>;
1972
- };
1973
-
1974
2261
  type TransactionDetails = {
1975
2262
  /**
1976
2263
  * The native (top-level) transaction details.
@@ -1989,7 +2276,7 @@ type TransactionDetails = {
1989
2276
  */
1990
2277
  erc1155Transfers?: Array<Erc1155TransferDetails>;
1991
2278
  /**
1992
- * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
2279
+ * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
1993
2280
  */
1994
2281
  internalTransactions?: Array<InternalTransactionDetails>;
1995
2282
  };
@@ -2015,14 +2302,33 @@ declare enum SortOrder {
2015
2302
  DESC = "desc"
2016
2303
  }
2017
2304
 
2018
- declare enum TransactionStatus {
2019
- FAILED = "failed",
2020
- SUCCESS = "success"
2021
- }
2022
-
2023
2305
  declare class EvmTransactionsService {
2024
2306
  readonly httpRequest: BaseHttpRequest;
2025
2307
  constructor(httpRequest: BaseHttpRequest);
2308
+ /**
2309
+ * List the latest transactions across all supported EVM chains
2310
+ * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
2311
+ * @returns ListNativeTransactionsResponse Successful response
2312
+ * @throws ApiError
2313
+ */
2314
+ listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
2315
+ /**
2316
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2317
+ */
2318
+ pageToken?: string;
2319
+ /**
2320
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2321
+ */
2322
+ pageSize?: number;
2323
+ /**
2324
+ * Either mainnet or testnet/fuji.
2325
+ */
2326
+ network?: Network;
2327
+ /**
2328
+ * A status filter for listed transactions.
2329
+ */
2330
+ status?: TransactionStatus;
2331
+ }): CancelablePromise<ListNativeTransactionsResponse>;
2026
2332
  /**
2027
2333
  * Get deployment transaction
2028
2334
  * If the address is a smart contract, returns the transaction in which it was deployed.
@@ -2269,7 +2575,7 @@ declare class EvmTransactionsService {
2269
2575
  * List internal transactions
2270
2576
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2271
2577
  *
2272
- * 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.
2578
+ * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2`/`CREATE3` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
2273
2579
  * @returns ListInternalTransactionsResponse Successful response
2274
2580
  * @throws ApiError
2275
2581
  */
@@ -2321,7 +2627,7 @@ declare class EvmTransactionsService {
2321
2627
  * @returns ListNativeTransactionsResponse Successful response
2322
2628
  * @throws ApiError
2323
2629
  */
2324
- getTransactionsForBlock({ chainId, blockId, }: {
2630
+ getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
2325
2631
  /**
2326
2632
  * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2327
2633
  */
@@ -2330,6 +2636,14 @@ declare class EvmTransactionsService {
2330
2636
  * A block identifier which is either a block number or the block hash.
2331
2637
  */
2332
2638
  blockId: string;
2639
+ /**
2640
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2641
+ */
2642
+ pageToken?: string;
2643
+ /**
2644
+ * The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
2645
+ */
2646
+ pageSize?: number;
2333
2647
  }): CancelablePromise<ListNativeTransactionsResponse>;
2334
2648
  /**
2335
2649
  * List latest transactions
@@ -2357,66 +2671,246 @@ declare class EvmTransactionsService {
2357
2671
  }): CancelablePromise<ListNativeTransactionsResponse>;
2358
2672
  }
2359
2673
 
2674
+ type HealthIndicatorResultDto = {
2675
+ /**
2676
+ * Status of the health indicator.
2677
+ */
2678
+ status?: HealthIndicatorResultDto.status;
2679
+ };
2680
+ declare namespace HealthIndicatorResultDto {
2681
+ /**
2682
+ * Status of the health indicator.
2683
+ */
2684
+ enum status {
2685
+ UP = "up",
2686
+ DOWN = "down"
2687
+ }
2688
+ }
2689
+
2690
+ type HealthCheckResultDto = {
2691
+ status?: HealthCheckResultDto.status;
2692
+ info?: any | null;
2693
+ error?: any | null;
2694
+ details?: Record<string, HealthIndicatorResultDto>;
2695
+ };
2696
+ declare namespace HealthCheckResultDto {
2697
+ enum status {
2698
+ ERROR = "error",
2699
+ OK = "ok",
2700
+ SHUTTING_DOWN = "shutting_down"
2701
+ }
2702
+ }
2703
+
2360
2704
  declare class HealthCheckService {
2361
2705
  readonly httpRequest: BaseHttpRequest;
2362
2706
  constructor(httpRequest: BaseHttpRequest);
2363
2707
  /**
2364
2708
  * Get the health of the service
2365
- * @returns any The Health Check is successful
2709
+ * Check the health of the service.
2710
+ * @returns HealthCheckResultDto The health of the service
2366
2711
  * @throws ApiError
2367
2712
  */
2368
- dataHealthCheck(): CancelablePromise<{
2369
- status?: string;
2370
- info?: Record<string, Record<string, string>> | null;
2371
- error?: Record<string, Record<string, string>> | null;
2372
- details?: Record<string, Record<string, string>>;
2373
- }>;
2713
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2374
2714
  }
2375
2715
 
2376
- type ListNftTokens = {
2716
+ type IcmDestinationTransaction = {
2717
+ txHash: string;
2718
+ timestamp: number;
2719
+ gasSpent: string;
2720
+ rewardRedeemer: string;
2721
+ delivererAddress: string;
2722
+ };
2723
+
2724
+ type IcmReceipt = {
2725
+ receivedMessageNonce: string;
2726
+ relayerRewardAddress: string;
2727
+ };
2728
+
2729
+ type IcmRewardDetails = {
2730
+ /**
2731
+ * A wallet or contract address in mixed-case checksum encoding.
2732
+ */
2733
+ address: string;
2734
+ /**
2735
+ * The contract name.
2736
+ */
2737
+ name: string;
2738
+ /**
2739
+ * The contract symbol.
2740
+ */
2741
+ symbol: string;
2742
+ /**
2743
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
2744
+ */
2745
+ decimals: number;
2746
+ /**
2747
+ * The logo uri for the address.
2748
+ */
2749
+ logoUri?: string;
2750
+ ercType: IcmRewardDetails.ercType;
2751
+ /**
2752
+ * The token price, if available.
2753
+ */
2754
+ price?: Money;
2755
+ value: string;
2756
+ };
2757
+ declare namespace IcmRewardDetails {
2758
+ enum ercType {
2759
+ ERC_20 = "ERC-20"
2760
+ }
2761
+ }
2762
+
2763
+ type IcmSourceTransaction = {
2764
+ txHash: string;
2765
+ timestamp: number;
2766
+ gasSpent: string;
2767
+ };
2768
+
2769
+ type DeliveredIcmMessage = {
2770
+ messageId: string;
2771
+ icmContractAddress: string;
2772
+ sourceBlockchainId: string;
2773
+ destinationBlockchainId: string;
2774
+ sourceEvmChainId: string;
2775
+ destinationEvmChainId: string;
2776
+ messageNonce: string;
2777
+ from: string;
2778
+ to: string;
2779
+ data?: string;
2780
+ messageExecuted: boolean;
2781
+ receipts: Array<IcmReceipt>;
2782
+ receiptDelivered: boolean;
2783
+ rewardDetails: IcmRewardDetails;
2784
+ sourceTransaction: IcmSourceTransaction;
2785
+ destinationTransaction: IcmDestinationTransaction;
2786
+ status: DeliveredIcmMessage.status;
2787
+ };
2788
+ declare namespace DeliveredIcmMessage {
2789
+ enum status {
2790
+ DELIVERED = "delivered"
2791
+ }
2792
+ }
2793
+
2794
+ type DeliveredSourceNotIndexedIcmMessage = {
2795
+ messageId: string;
2796
+ icmContractAddress: string;
2797
+ sourceBlockchainId: string;
2798
+ destinationBlockchainId: string;
2799
+ sourceEvmChainId: string;
2800
+ destinationEvmChainId: string;
2801
+ messageNonce: string;
2802
+ from: string;
2803
+ to: string;
2804
+ data?: string;
2805
+ messageExecuted: boolean;
2806
+ receipts: Array<IcmReceipt>;
2807
+ receiptDelivered: boolean;
2808
+ rewardDetails: IcmRewardDetails;
2809
+ destinationTransaction: IcmDestinationTransaction;
2810
+ status: DeliveredSourceNotIndexedIcmMessage.status;
2811
+ };
2812
+ declare namespace DeliveredSourceNotIndexedIcmMessage {
2813
+ enum status {
2814
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
2815
+ }
2816
+ }
2817
+
2818
+ type PendingIcmMessage = {
2819
+ messageId: string;
2820
+ icmContractAddress: string;
2821
+ sourceBlockchainId: string;
2822
+ destinationBlockchainId: string;
2823
+ sourceEvmChainId: string;
2824
+ destinationEvmChainId: string;
2825
+ messageNonce: string;
2826
+ from: string;
2827
+ to: string;
2828
+ data?: string;
2829
+ messageExecuted: boolean;
2830
+ receipts: Array<IcmReceipt>;
2831
+ receiptDelivered: boolean;
2832
+ rewardDetails: IcmRewardDetails;
2833
+ sourceTransaction: IcmSourceTransaction;
2834
+ status: PendingIcmMessage.status;
2835
+ };
2836
+ declare namespace PendingIcmMessage {
2837
+ enum status {
2838
+ PENDING = "pending"
2839
+ }
2840
+ }
2841
+
2842
+ type ListIcmMessagesResponse = {
2377
2843
  /**
2378
2844
  * 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.
2379
2845
  */
2380
2846
  nextPageToken?: string;
2381
- tokens: Array<(Erc721Token | Erc1155Token)>;
2847
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
2382
2848
  };
2383
2849
 
2384
- declare class NfTsService {
2850
+ declare class InterchainMessagingService {
2385
2851
  readonly httpRequest: BaseHttpRequest;
2386
2852
  constructor(httpRequest: BaseHttpRequest);
2387
2853
  /**
2388
- * Reindex NFT metadata
2389
- * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2854
+ * Get an ICM message
2855
+ * Gets an ICM message by teleporter message ID.
2390
2856
  * @returns any Successful response
2391
2857
  * @throws ApiError
2392
2858
  */
2393
- reindexNft({ chainId, address, tokenId, }: {
2859
+ getIcmMessage({ messageId, }: {
2394
2860
  /**
2395
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2861
+ * The teleporter message ID of the ICM message.
2396
2862
  */
2397
- chainId: string;
2863
+ messageId: string;
2864
+ }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2865
+ /**
2866
+ * List ICM messages
2867
+ * Lists ICM messages. Ordered by timestamp in descending order.
2868
+ * @returns ListIcmMessagesResponse Successful response
2869
+ * @throws ApiError
2870
+ */
2871
+ listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
2398
2872
  /**
2399
- * Contract address on the relevant chain.
2873
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2400
2874
  */
2401
- address: string;
2875
+ pageToken?: string;
2402
2876
  /**
2403
- * TokenId on the contract
2877
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2404
2878
  */
2405
- tokenId: string;
2406
- }): CancelablePromise<any>;
2879
+ pageSize?: number;
2880
+ /**
2881
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
2882
+ */
2883
+ sourceBlockchainId?: string;
2884
+ /**
2885
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
2886
+ */
2887
+ destinationBlockchainId?: string;
2888
+ /**
2889
+ * The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
2890
+ */
2891
+ blockchainId?: string;
2892
+ /**
2893
+ * The address of the recipient of the ICM message.
2894
+ */
2895
+ to?: string;
2896
+ /**
2897
+ * The address of the sender of the ICM message.
2898
+ */
2899
+ from?: string;
2900
+ /**
2901
+ * Either mainnet or testnet/fuji.
2902
+ */
2903
+ network?: Network;
2904
+ }): CancelablePromise<ListIcmMessagesResponse>;
2407
2905
  /**
2408
- * List tokens
2409
- * Lists tokens for an NFT contract.
2410
- * @returns ListNftTokens Successful response
2906
+ * List ICM messages by address
2907
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
2908
+ * @returns ListIcmMessagesResponse Successful response
2411
2909
  * @throws ApiError
2412
2910
  */
2413
- listTokens({ chainId, address, pageToken, pageSize, }: {
2911
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
2414
2912
  /**
2415
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2416
- */
2417
- chainId: string;
2418
- /**
2419
- * Contract address on the relevant chain.
2913
+ * An EVM address.
2420
2914
  */
2421
2915
  address: string;
2422
2916
  /**
@@ -2427,8 +2921,69 @@ declare class NfTsService {
2427
2921
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2428
2922
  */
2429
2923
  pageSize?: number;
2430
- }): CancelablePromise<ListNftTokens>;
2431
- /**
2924
+ /**
2925
+ * Either mainnet or testnet/fuji.
2926
+ */
2927
+ network?: Network;
2928
+ }): CancelablePromise<ListIcmMessagesResponse>;
2929
+ }
2930
+
2931
+ type ListNftTokens = {
2932
+ /**
2933
+ * 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.
2934
+ */
2935
+ nextPageToken?: string;
2936
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2937
+ };
2938
+
2939
+ declare class NfTsService {
2940
+ readonly httpRequest: BaseHttpRequest;
2941
+ constructor(httpRequest: BaseHttpRequest);
2942
+ /**
2943
+ * Reindex NFT metadata
2944
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2945
+ * @returns any Successful response
2946
+ * @throws ApiError
2947
+ */
2948
+ reindexNft({ chainId, address, tokenId, }: {
2949
+ /**
2950
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2951
+ */
2952
+ chainId: string;
2953
+ /**
2954
+ * Contract address on the relevant chain.
2955
+ */
2956
+ address: string;
2957
+ /**
2958
+ * TokenId on the contract
2959
+ */
2960
+ tokenId: string;
2961
+ }): CancelablePromise<any>;
2962
+ /**
2963
+ * List tokens
2964
+ * Lists tokens for an NFT contract.
2965
+ * @returns ListNftTokens Successful response
2966
+ * @throws ApiError
2967
+ */
2968
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2969
+ /**
2970
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2971
+ */
2972
+ chainId: string;
2973
+ /**
2974
+ * Contract address on the relevant chain.
2975
+ */
2976
+ address: string;
2977
+ /**
2978
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2979
+ */
2980
+ pageToken?: string;
2981
+ /**
2982
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2983
+ */
2984
+ pageSize?: number;
2985
+ }): CancelablePromise<ListNftTokens>;
2986
+ /**
2432
2987
  * Get token details
2433
2988
  * Gets token details for a specific token of an NFT contract.
2434
2989
  * @returns any Successful response
@@ -2450,6 +3005,108 @@ declare class NfTsService {
2450
3005
  }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2451
3006
  }
2452
3007
 
3008
+ type AccessRequest = {
3009
+ /**
3010
+ * The email address to send the access token to
3011
+ */
3012
+ email: string;
3013
+ /**
3014
+ * The captcha to verify the user
3015
+ */
3016
+ captcha: string;
3017
+ };
3018
+
3019
+ type NotificationsResponse = {
3020
+ message: string;
3021
+ };
3022
+
3023
+ type SubscribeRequest = {
3024
+ /**
3025
+ * The access token to use for authentication
3026
+ */
3027
+ accessToken: string;
3028
+ /**
3029
+ * The node ID to subscribe to
3030
+ */
3031
+ nodeId: string;
3032
+ /**
3033
+ * The notification types to subscribe to. If not provided, all notification types will be subscribed to
3034
+ */
3035
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3036
+ };
3037
+
3038
+ type SubscriptionsRequest = {
3039
+ /**
3040
+ * The access token to use for authentication
3041
+ */
3042
+ accessToken: string;
3043
+ };
3044
+
3045
+ type SubscriptionsResponse = {
3046
+ /**
3047
+ * The email address of the user
3048
+ */
3049
+ email: string;
3050
+ /**
3051
+ * The subscriptions of the user
3052
+ */
3053
+ subscriptions: Record<string, {
3054
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3055
+ }>;
3056
+ };
3057
+
3058
+ type UnsubscribeRequest = {
3059
+ /**
3060
+ * The access token to use for authentication
3061
+ */
3062
+ accessToken: string;
3063
+ /**
3064
+ * The node ID to subscribe to
3065
+ */
3066
+ nodeId: string;
3067
+ };
3068
+
3069
+ declare class NotificationsService {
3070
+ readonly httpRequest: BaseHttpRequest;
3071
+ constructor(httpRequest: BaseHttpRequest);
3072
+ /**
3073
+ * Access Notifications
3074
+ * Access notifications.
3075
+ * @returns NotificationsResponse Successful response
3076
+ * @throws ApiError
3077
+ */
3078
+ access({ requestBody, }: {
3079
+ requestBody: AccessRequest;
3080
+ }): CancelablePromise<NotificationsResponse>;
3081
+ /**
3082
+ * Subscribe to Notifications
3083
+ * Subscribe to receive notifications.
3084
+ * @returns NotificationsResponse Successful response
3085
+ * @throws ApiError
3086
+ */
3087
+ subscribe({ requestBody, }: {
3088
+ requestBody: SubscribeRequest;
3089
+ }): CancelablePromise<NotificationsResponse>;
3090
+ /**
3091
+ * Unsubscribe from Notifications
3092
+ * Unsubscribe from receiving notifications.
3093
+ * @returns NotificationsResponse Successful response
3094
+ * @throws ApiError
3095
+ */
3096
+ unsubscribe({ requestBody, }: {
3097
+ requestBody: UnsubscribeRequest;
3098
+ }): CancelablePromise<NotificationsResponse>;
3099
+ /**
3100
+ * Get Subscriptions
3101
+ * Get subscriptions.
3102
+ * @returns SubscriptionsResponse Successful response
3103
+ * @throws ApiError
3104
+ */
3105
+ subscriptions({ requestBody, }: {
3106
+ requestBody: SubscriptionsRequest;
3107
+ }): CancelablePromise<SubscriptionsResponse>;
3108
+ }
3109
+
2453
3110
  type EvmNetworkOptions = {
2454
3111
  addresses: Array<string>;
2455
3112
  includeChains: Array<string>;
@@ -2538,7 +3195,7 @@ type OperationStatusResponse = {
2538
3195
  operationType: OperationType;
2539
3196
  operationStatus: OperationStatus;
2540
3197
  message?: string;
2541
- metadata: TransactionExportMetadata;
3198
+ metadata?: TransactionExportMetadata;
2542
3199
  createdAtTimestamp: number;
2543
3200
  updatedAtTimestamp: number;
2544
3201
  };
@@ -2571,6 +3228,15 @@ declare class OperationsService {
2571
3228
  }): CancelablePromise<OperationStatusResponse>;
2572
3229
  }
2573
3230
 
3231
+ type Blockchain = {
3232
+ createBlockTimestamp: number;
3233
+ createBlockNumber: string;
3234
+ blockchainId: string;
3235
+ vmId: string;
3236
+ subnetId: string;
3237
+ blockchainName: string;
3238
+ };
3239
+
2574
3240
  declare enum BlockchainIds {
2575
3241
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2576
3242
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
@@ -2602,16 +3268,31 @@ type DelegatorsDetails = {
2602
3268
  };
2603
3269
 
2604
3270
  type StakingDistribution = {
3271
+ /**
3272
+ * AvalancheGo version for the validator node.
3273
+ */
2605
3274
  version: string;
3275
+ /**
3276
+ * The total amount staked by validators using this version.
3277
+ */
2606
3278
  amountStaked: string;
3279
+ /**
3280
+ * The number of validators using this version.
3281
+ */
2607
3282
  validatorCount: number;
2608
3283
  };
2609
3284
 
2610
3285
  type ValidatorsDetails = {
2611
3286
  validatorCount: number;
2612
3287
  totalAmountStaked: string;
3288
+ /**
3289
+ * Total potential rewards from currently active validations and delegations.
3290
+ */
2613
3291
  estimatedAnnualStakingReward: string;
2614
3292
  stakingDistributionByVersion: Array<StakingDistribution>;
3293
+ /**
3294
+ * Ratio of total active stake amount to the current supply.
3295
+ */
2615
3296
  stakingRatio: string;
2616
3297
  };
2617
3298
 
@@ -2620,15 +3301,6 @@ type GetNetworkDetailsResponse = {
2620
3301
  delegatorDetails: DelegatorsDetails;
2621
3302
  };
2622
3303
 
2623
- type Blockchain = {
2624
- createBlockTimestamp: number;
2625
- createBlockNumber: string;
2626
- blockchainId: string;
2627
- vmId: string;
2628
- subnetId: string;
2629
- blockchainName: string;
2630
- };
2631
-
2632
3304
  type ListBlockchainsResponse = {
2633
3305
  /**
2634
3306
  * 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.
@@ -2663,7 +3335,13 @@ type CompletedDelegatorDetails = {
2663
3335
  delegationFee: string;
2664
3336
  startTimestamp: number;
2665
3337
  endTimestamp: number;
3338
+ /**
3339
+ * Total rewards distributed for the successful delegation.
3340
+ */
2666
3341
  grossReward: string;
3342
+ /**
3343
+ * Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3344
+ */
2667
3345
  netReward: string;
2668
3346
  delegationStatus: CompletedDelegatorDetails.delegationStatus;
2669
3347
  };
@@ -2681,7 +3359,13 @@ type PendingDelegatorDetails = {
2681
3359
  delegationFee: string;
2682
3360
  startTimestamp: number;
2683
3361
  endTimestamp: number;
3362
+ /**
3363
+ * Estimated total rewards that will be distributed for the successful delegation.
3364
+ */
2684
3365
  estimatedGrossReward: string;
3366
+ /**
3367
+ * Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3368
+ */
2685
3369
  estimatedNetReward: string;
2686
3370
  delegationStatus: PendingDelegatorDetails.delegationStatus;
2687
3371
  };
@@ -2702,8 +3386,59 @@ type ListDelegatorDetailsResponse = {
2702
3386
  delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
2703
3387
  };
2704
3388
 
2705
- type BlockchainInfo = {
3389
+ type BalanceOwner = {
3390
+ addresses: Array<string>;
3391
+ threshold: number;
3392
+ };
3393
+
3394
+ type L1ValidatorDetailsFull = {
3395
+ /**
3396
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3397
+ */
3398
+ validationId: string;
3399
+ /**
3400
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3401
+ */
3402
+ validationIdHex: string;
3403
+ nodeId: string;
3404
+ subnetId: string;
3405
+ /**
3406
+ * 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
3407
+ */
3408
+ weight: number;
3409
+ /**
3410
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
3411
+ */
3412
+ remainingBalance: number;
3413
+ /**
3414
+ * The timestamp of the transaction which created this L1 validator
3415
+ */
3416
+ creationTimestamp: number;
3417
+ blsCredentials: Record<string, any>;
3418
+ /**
3419
+ * The L1 validator owner's balance, returned after it's disabled or removed
3420
+ */
3421
+ remainingBalanceOwner: BalanceOwner;
3422
+ /**
3423
+ * Owner ddresses details which can disable or remove the L1 validator
3424
+ */
3425
+ deactivationOwner: BalanceOwner;
3426
+ };
3427
+
3428
+ type ListL1ValidatorsResponse = {
3429
+ /**
3430
+ * 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.
3431
+ */
3432
+ nextPageToken?: string;
3433
+ /**
3434
+ * The list of L1 validations for the given Subnet ID, NodeId or validationId
3435
+ */
3436
+ validators: Array<L1ValidatorDetailsFull>;
3437
+ };
3438
+
3439
+ type L1ValidatorManagerDetails = {
2706
3440
  blockchainId: string;
3441
+ contractAddress: string;
2707
3442
  };
2708
3443
 
2709
3444
  type SubnetOwnershipInfo = {
@@ -2744,7 +3479,19 @@ type Subnet = {
2744
3479
  * Latest subnet owner details for this Subnet.
2745
3480
  */
2746
3481
  subnetOwnershipInfo: SubnetOwnershipInfo;
2747
- blockchains: Array<BlockchainInfo>;
3482
+ /**
3483
+ * Whether the subnet is an L1 or not.
3484
+ */
3485
+ isL1: boolean;
3486
+ /**
3487
+ * Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
3488
+ */
3489
+ l1ConversionTransactionHash?: string;
3490
+ /**
3491
+ * L1 validator manager details.
3492
+ */
3493
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3494
+ blockchains: Array<Blockchain>;
2748
3495
  };
2749
3496
 
2750
3497
  type ListSubnetsResponse = {
@@ -2760,6 +3507,29 @@ type BlsCredentials = {
2760
3507
  proofOfPossession: string;
2761
3508
  };
2762
3509
 
3510
+ type Geolocation = {
3511
+ /**
3512
+ * The name of the validator node.
3513
+ */
3514
+ city: string;
3515
+ /**
3516
+ * The city of the validator node.
3517
+ */
3518
+ country: string;
3519
+ /**
3520
+ * The country code of the validator node.
3521
+ */
3522
+ countryCode: string;
3523
+ /**
3524
+ * The latitude of the validator node.
3525
+ */
3526
+ latitude: number;
3527
+ /**
3528
+ * The longitude of the validator node.
3529
+ */
3530
+ longitude: number;
3531
+ };
3532
+
2763
3533
  type Rewards = {
2764
3534
  validationRewardAmount: string;
2765
3535
  delegationRewardAmount: string;
@@ -2791,6 +3561,9 @@ type ActiveValidatorDetails = {
2791
3561
  nodeId: string;
2792
3562
  subnetId: string;
2793
3563
  amountStaked: string;
3564
+ /**
3565
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3566
+ */
2794
3567
  delegationFee?: string;
2795
3568
  startTimestamp: number;
2796
3569
  endTimestamp: number;
@@ -2798,15 +3571,37 @@ type ActiveValidatorDetails = {
2798
3571
  * Present for AddPermissionlessValidatorTx
2799
3572
  */
2800
3573
  blsCredentials?: BlsCredentials;
3574
+ /**
3575
+ * The percentage of this validator's stake amount to the total active stake.
3576
+ */
2801
3577
  stakePercentage: number;
3578
+ /**
3579
+ * The number of delegators linked to the validator.
3580
+ */
2802
3581
  delegatorCount: number;
3582
+ /**
3583
+ * The total amount in nAVAX delegated to the validator.
3584
+ */
2803
3585
  amountDelegated?: string;
3586
+ /**
3587
+ * The validator's uptime percentage, as observed by our internal node and measured over time.
3588
+ */
2804
3589
  uptimePerformance: number;
2805
3590
  avalancheGoVersion?: string;
3591
+ /**
3592
+ * The amount of stake in nAVAX that can be delegated to this validator.
3593
+ */
2806
3594
  delegationCapacity?: string;
3595
+ /**
3596
+ * Estimated rewards for the validator if the validation is successful.
3597
+ */
2807
3598
  potentialRewards: Rewards;
2808
3599
  validationStatus: ActiveValidatorDetails.validationStatus;
2809
3600
  validatorHealth: ValidatorHealthDetails;
3601
+ /**
3602
+ * The geographical location of the validator node, if available.
3603
+ */
3604
+ geolocation: Geolocation | null;
2810
3605
  };
2811
3606
  declare namespace ActiveValidatorDetails {
2812
3607
  enum validationStatus {
@@ -2819,6 +3614,9 @@ type CompletedValidatorDetails = {
2819
3614
  nodeId: string;
2820
3615
  subnetId: string;
2821
3616
  amountStaked: string;
3617
+ /**
3618
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3619
+ */
2822
3620
  delegationFee?: string;
2823
3621
  startTimestamp: number;
2824
3622
  endTimestamp: number;
@@ -2842,6 +3640,9 @@ type PendingValidatorDetails = {
2842
3640
  nodeId: string;
2843
3641
  subnetId: string;
2844
3642
  amountStaked: string;
3643
+ /**
3644
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3645
+ */
2845
3646
  delegationFee?: string;
2846
3647
  startTimestamp: number;
2847
3648
  endTimestamp: number;
@@ -2862,6 +3663,9 @@ type RemovedValidatorDetails = {
2862
3663
  nodeId: string;
2863
3664
  subnetId: string;
2864
3665
  amountStaked: string;
3666
+ /**
3667
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3668
+ */
2865
3669
  delegationFee?: string;
2866
3670
  startTimestamp: number;
2867
3671
  endTimestamp: number;
@@ -2869,7 +3673,13 @@ type RemovedValidatorDetails = {
2869
3673
  * Present for AddPermissionlessValidatorTx
2870
3674
  */
2871
3675
  blsCredentials?: BlsCredentials;
3676
+ /**
3677
+ * The transaction hash that removed the permissioned subnet validator.
3678
+ */
2872
3679
  removeTxHash: string;
3680
+ /**
3681
+ * The timestamp of the transaction that removed the permissioned subnet validator.
3682
+ */
2873
3683
  removeTimestamp: number;
2874
3684
  validationStatus: RemovedValidatorDetails.validationStatus;
2875
3685
  };
@@ -3028,6 +3838,22 @@ declare class PrimaryNetworkService {
3028
3838
  */
3029
3839
  sortOrder?: SortOrder;
3030
3840
  }): CancelablePromise<ListBlockchainsResponse>;
3841
+ /**
3842
+ * Get blockchain details by ID
3843
+ * Get details of the blockchain registered on the network.
3844
+ * @returns Blockchain Successful response
3845
+ * @throws ApiError
3846
+ */
3847
+ getBlockchainById({ blockchainId, network, }: {
3848
+ /**
3849
+ * The blockchain ID of the blockchain to retrieve.
3850
+ */
3851
+ blockchainId: string;
3852
+ /**
3853
+ * Either mainnet or testnet/fuji.
3854
+ */
3855
+ network: Network;
3856
+ }): CancelablePromise<Blockchain>;
3031
3857
  /**
3032
3858
  * List subnets
3033
3859
  * Lists all subnets registered on the network.
@@ -3210,6 +4036,39 @@ declare class PrimaryNetworkService {
3210
4036
  */
3211
4037
  nodeIds?: string;
3212
4038
  }): CancelablePromise<ListDelegatorDetailsResponse>;
4039
+ /**
4040
+ * List L1 validators
4041
+ * Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.
4042
+ * @returns ListL1ValidatorsResponse Successful response
4043
+ * @throws ApiError
4044
+ */
4045
+ listL1Validators({ network, pageToken, pageSize, l1ValidationId, includeInactiveL1Validators, nodeId, subnetId, }: {
4046
+ /**
4047
+ * Either mainnet or testnet/fuji.
4048
+ */
4049
+ network: Network;
4050
+ /**
4051
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4052
+ */
4053
+ pageToken?: string;
4054
+ /**
4055
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4056
+ */
4057
+ pageSize?: number;
4058
+ /**
4059
+ * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
4060
+ */
4061
+ l1ValidationId?: string;
4062
+ includeInactiveL1Validators?: boolean;
4063
+ /**
4064
+ * A valid node ID in format 'NodeID-HASH'.
4065
+ */
4066
+ nodeId?: string;
4067
+ /**
4068
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
4069
+ */
4070
+ subnetId?: any;
4071
+ }): CancelablePromise<ListL1ValidatorsResponse>;
3213
4072
  }
3214
4073
 
3215
4074
  declare enum BlockchainId {
@@ -3456,6 +4315,8 @@ type GetPrimaryNetworkBlockResponse = {
3456
4315
  txCount: number;
3457
4316
  transactions: Array<string>;
3458
4317
  blockSizeBytes: number;
4318
+ l1ValidatorsAccruedFees?: number;
4319
+ activeL1Validators?: number;
3459
4320
  currentSupply?: string;
3460
4321
  proposerDetails?: ProposerDetails;
3461
4322
  };
@@ -3469,6 +4330,8 @@ type PrimaryNetworkBlock = {
3469
4330
  txCount: number;
3470
4331
  transactions: Array<string>;
3471
4332
  blockSizeBytes: number;
4333
+ l1ValidatorsAccruedFees?: number;
4334
+ activeL1Validators?: number;
3472
4335
  currentSupply?: string;
3473
4336
  proposerDetails?: ProposerDetails;
3474
4337
  };
@@ -3511,7 +4374,7 @@ declare class PrimaryNetworkBlocksService {
3511
4374
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3512
4375
  * @throws ApiError
3513
4376
  */
3514
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
4377
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3515
4378
  /**
3516
4379
  * A primary network blockchain id or alias.
3517
4380
  */
@@ -3524,6 +4387,14 @@ declare class PrimaryNetworkBlocksService {
3524
4387
  * A primary network (P or X chain) nodeId.
3525
4388
  */
3526
4389
  nodeId: string;
4390
+ /**
4391
+ * Query param for retrieving items after a specific timestamp.
4392
+ */
4393
+ startTimestamp?: number;
4394
+ /**
4395
+ * Query param for retrieving items before a specific timestamp.
4396
+ */
4397
+ endTimestamp?: number;
3527
4398
  /**
3528
4399
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3529
4400
  */
@@ -3539,7 +4410,7 @@ declare class PrimaryNetworkBlocksService {
3539
4410
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3540
4411
  * @throws ApiError
3541
4412
  */
3542
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
4413
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3543
4414
  /**
3544
4415
  * A primary network blockchain id or alias.
3545
4416
  */
@@ -3548,6 +4419,14 @@ declare class PrimaryNetworkBlocksService {
3548
4419
  * Either mainnet or testnet/fuji.
3549
4420
  */
3550
4421
  network: Network;
4422
+ /**
4423
+ * Query param for retrieving items after a specific timestamp.
4424
+ */
4425
+ startTimestamp?: number;
4426
+ /**
4427
+ * Query param for retrieving items before a specific timestamp.
4428
+ */
4429
+ endTimestamp?: number;
3551
4430
  /**
3552
4431
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3553
4432
  */
@@ -3957,6 +4836,32 @@ type ListCChainAtomicTransactionsResponse = {
3957
4836
  chainInfo: PrimaryNetworkChainInfo;
3958
4837
  };
3959
4838
 
4839
+ type L1ValidatorDetailsTransaction = {
4840
+ /**
4841
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4842
+ */
4843
+ validationId: string;
4844
+ /**
4845
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
4846
+ */
4847
+ validationIdHex: string;
4848
+ nodeId: string;
4849
+ subnetId: string;
4850
+ /**
4851
+ * 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
4852
+ */
4853
+ weight: number;
4854
+ /**
4855
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
4856
+ */
4857
+ remainingBalance: number;
4858
+ /**
4859
+ * The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4860
+ */
4861
+ balanceChange?: number;
4862
+ blsCredentials?: Record<string, any>;
4863
+ };
4864
+
3960
4865
  declare enum PChainTransactionType {
3961
4866
  ADD_VALIDATOR_TX = "AddValidatorTx",
3962
4867
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
@@ -3973,14 +4878,17 @@ declare enum PChainTransactionType {
3973
4878
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3974
4879
  BASE_TX = "BaseTx",
3975
4880
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3976
- CONVERT_SUBNET_TX = "ConvertSubnetTx",
3977
- REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
3978
- SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
3979
- DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
3980
- INCREASE_BALANCE_TX = "IncreaseBalanceTx",
4881
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
4882
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
4883
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
4884
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
4885
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
3981
4886
  UNKNOWN = "UNKNOWN"
3982
4887
  }
3983
4888
 
4889
+ /**
4890
+ * Indicates whether the UTXO is staked or transferable
4891
+ */
3984
4892
  declare enum UtxoType {
3985
4893
  STAKE = "STAKE",
3986
4894
  TRANSFER = "TRANSFER"
@@ -4018,25 +4926,47 @@ type PChainUtxo = {
4018
4926
  assetId: string;
4019
4927
  blockNumber: string;
4020
4928
  blockTimestamp: number;
4929
+ /**
4930
+ * Block height in which the transaction consuming this UTXO was included
4931
+ */
4021
4932
  consumingBlockNumber?: string;
4933
+ /**
4934
+ * Timestamp in seconds at which this UTXO is used in a consuming transaction
4935
+ */
4022
4936
  consumingBlockTimestamp?: number;
4937
+ /**
4938
+ * Timestamp in seconds after which this UTXO can be consumed
4939
+ */
4023
4940
  platformLocktime?: number;
4941
+ /**
4942
+ * The index of the UTXO in the transaction
4943
+ */
4024
4944
  outputIndex: number;
4025
4945
  rewardType?: RewardType;
4946
+ /**
4947
+ * Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
4948
+ */
4026
4949
  stakeableLocktime?: number;
4027
4950
  staked?: boolean;
4951
+ /**
4952
+ * The minimum number of signatures required to spend this UTXO
4953
+ */
4028
4954
  threshold?: number;
4955
+ /**
4956
+ * The hash of the transaction that created this UTXO
4957
+ */
4029
4958
  txHash: string;
4959
+ /**
4960
+ * Timestamp in seconds after which the staked UTXO will be unlocked.
4961
+ */
4030
4962
  utxoEndTimestamp?: number;
4963
+ /**
4964
+ * Timestamp in seconds at which the staked UTXO was locked.
4965
+ */
4031
4966
  utxoStartTimestamp?: number;
4032
4967
  utxoType: UtxoType;
4033
4968
  };
4034
4969
 
4035
- type SubnetValidatorManagerDetails = {
4036
- blockchainId: string;
4037
- evmContractAddress: string;
4038
- };
4039
-
4040
4970
  type PChainTransaction = {
4041
4971
  /**
4042
4972
  * A P-Chain transaction hash.
@@ -4047,9 +4977,18 @@ type PChainTransaction = {
4047
4977
  * The block finality timestamp.
4048
4978
  */
4049
4979
  blockTimestamp: number;
4980
+ /**
4981
+ * The height of the block in which the transaction was included
4982
+ */
4050
4983
  blockNumber: string;
4051
4984
  blockHash: string;
4985
+ /**
4986
+ * The consumed UTXOs of the transaction
4987
+ */
4052
4988
  consumedUtxos: Array<PChainUtxo>;
4989
+ /**
4990
+ * The newly created UTXOs of the transaction
4991
+ */
4053
4992
  emittedUtxos: Array<PChainUtxo>;
4054
4993
  /**
4055
4994
  * Source chain for an atomic transaction.
@@ -4060,11 +4999,11 @@ type PChainTransaction = {
4060
4999
  */
4061
5000
  destinationChain?: string;
4062
5001
  /**
4063
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5002
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction
4064
5003
  */
4065
5004
  value: Array<AssetAmount>;
4066
5005
  /**
4067
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5006
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee
4068
5007
  */
4069
5008
  amountBurned: Array<AssetAmount>;
4070
5009
  /**
@@ -4072,9 +5011,9 @@ type PChainTransaction = {
4072
5011
  */
4073
5012
  amountStaked: Array<AssetAmount>;
4074
5013
  /**
4075
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5014
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.
4076
5015
  */
4077
- amountSovBalanceBurned: Array<AssetAmount>;
5016
+ amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4078
5017
  /**
4079
5018
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4080
5019
  */
@@ -4084,11 +5023,11 @@ type PChainTransaction = {
4084
5023
  */
4085
5024
  endTimestamp?: number;
4086
5025
  /**
4087
- * Present for AddValidatorTx, AddPermissionlessValidatorTx
5026
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
4088
5027
  */
4089
5028
  delegationFeePercent?: string;
4090
5029
  /**
4091
- * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5030
+ * The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4092
5031
  */
4093
5032
  nodeId?: string;
4094
5033
  /**
@@ -4096,22 +5035,25 @@ type PChainTransaction = {
4096
5035
  */
4097
5036
  subnetId?: string;
4098
5037
  /**
4099
- * Present for ConvertSubnetTx
5038
+ * Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1
4100
5039
  */
4101
- subnetValidatorManagerDetails?: SubnetValidatorManagerDetails;
5040
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
4102
5041
  /**
4103
- * Present for ConvertSubnetTx, RegisterSubnetValidatorTx
5042
+ * 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
4104
5043
  */
4105
- subnetOnlyValidatorDetails?: Array<string>;
5044
+ l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
4106
5045
  /**
4107
- * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5046
+ * Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4108
5047
  */
4109
5048
  estimatedReward?: string;
5049
+ /**
5050
+ * Reward transaction hash for the completed validations or delegations
5051
+ */
4110
5052
  rewardTxHash?: string;
4111
5053
  rewardAddresses?: Array<string>;
4112
5054
  memo?: string;
4113
5055
  /**
4114
- * Present for RewardValidatorTx
5056
+ * Staking transaction corresponding to the RewardValidatorTx
4115
5057
  */
4116
5058
  stakingTxHash?: string;
4117
5059
  /**
@@ -4119,7 +5061,7 @@ type PChainTransaction = {
4119
5061
  */
4120
5062
  subnetOwnershipInfo?: SubnetOwnershipInfo;
4121
5063
  /**
4122
- * Present for AddPermissionlessValidatorTx
5064
+ * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4123
5065
  */
4124
5066
  blsCredentials?: BlsCredentials;
4125
5067
  };
@@ -4304,11 +5246,11 @@ declare enum PrimaryNetworkTxType {
4304
5246
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
4305
5247
  BASE_TX = "BaseTx",
4306
5248
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
4307
- CONVERT_SUBNET_TX = "ConvertSubnetTx",
4308
- REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
4309
- SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
4310
- DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
4311
- INCREASE_BALANCE_TX = "IncreaseBalanceTx",
5249
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
5250
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
5251
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
5252
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
5253
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
4312
5254
  UNKNOWN = "UNKNOWN",
4313
5255
  CREATE_ASSET_TX = "CreateAssetTx",
4314
5256
  OPERATION_TX = "OperationTx"
@@ -4343,11 +5285,13 @@ declare class PrimaryNetworkTransactionsService {
4343
5285
  *
4344
5286
  * 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.
4345
5287
  *
5288
+ * 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.
5289
+ *
4346
5290
  * 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.
4347
5291
  * @returns any Successful response
4348
5292
  * @throws ApiError
4349
5293
  */
4350
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
5294
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4351
5295
  /**
4352
5296
  * A primary network blockchain id or alias.
4353
5297
  */
@@ -4360,6 +5304,7 @@ declare class PrimaryNetworkTransactionsService {
4360
5304
  * 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.
4361
5305
  */
4362
5306
  addresses?: string;
5307
+ l1ValidationId?: string;
4363
5308
  /**
4364
5309
  * Query param for filtering items based on transaction types.
4365
5310
  */
@@ -4640,13 +5585,7 @@ type SignatureAggregationResponse = {
4640
5585
  };
4641
5586
 
4642
5587
  type SignatureAggregatorRequest = {
4643
- /**
4644
- * Must be defined if justification is not defined
4645
- */
4646
- message?: string;
4647
- /**
4648
- * Must be defined if message is not defined
4649
- */
5588
+ message: string;
4650
5589
  justification?: string;
4651
5590
  signingSubnetId?: string;
4652
5591
  quorumPercentage?: number;
@@ -4661,9 +5600,29 @@ declare class SignatureAggregatorService {
4661
5600
  * @returns SignatureAggregationResponse Successful response
4662
5601
  * @throws ApiError
4663
5602
  */
4664
- aggregateSignatures({ requestBody, }: {
5603
+ aggregateSignatures({ network, requestBody, }: {
5604
+ /**
5605
+ * Either mainnet or testnet/fuji.
5606
+ */
5607
+ network: Network;
4665
5608
  requestBody: SignatureAggregatorRequest;
4666
5609
  }): CancelablePromise<SignatureAggregationResponse>;
5610
+ /**
5611
+ * Get Aggregated Signatures
5612
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
5613
+ * @returns SignatureAggregationResponse Successful response
5614
+ * @throws ApiError
5615
+ */
5616
+ getAggregatedSignatures({ network, txHash, }: {
5617
+ /**
5618
+ * Either mainnet or testnet/fuji.
5619
+ */
5620
+ network: Network;
5621
+ /**
5622
+ * A primary network (P or X chain) transaction hash.
5623
+ */
5624
+ txHash: string;
5625
+ }): CancelablePromise<SignatureAggregationResponse>;
4667
5626
  }
4668
5627
 
4669
5628
  type TeleporterDestinationTransaction = {
@@ -4804,8 +5763,10 @@ declare class TeleporterService {
4804
5763
  readonly httpRequest: BaseHttpRequest;
4805
5764
  constructor(httpRequest: BaseHttpRequest);
4806
5765
  /**
4807
- * Get a teleporter message
4808
- * Gets a teleporter message by message ID.
5766
+ * @deprecated
5767
+ * **[Deprecated]** Gets a teleporter message by message ID.
5768
+ *
5769
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
4809
5770
  * @returns any Successful response
4810
5771
  * @throws ApiError
4811
5772
  */
@@ -4816,8 +5777,10 @@ declare class TeleporterService {
4816
5777
  messageId: string;
4817
5778
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4818
5779
  /**
4819
- * List teleporter messages
4820
- * Lists teleporter messages. Ordered by timestamp in descending order.
5780
+ * @deprecated
5781
+ * **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
5782
+ *
5783
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
4821
5784
  * @returns ListTeleporterMessagesResponse Successful response
4822
5785
  * @throws ApiError
4823
5786
  */
@@ -4856,8 +5819,10 @@ declare class TeleporterService {
4856
5819
  network?: Network;
4857
5820
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4858
5821
  /**
4859
- * List teleporter messages by address
4860
- * Lists teleporter messages by address. Ordered by timestamp in descending order.
5822
+ * @deprecated
5823
+ * **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
5824
+ *
5825
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
4861
5826
  * @returns ListTeleporterMessagesResponse Successful response
4862
5827
  * @throws ApiError
4863
5828
  */
@@ -4899,44 +5864,54 @@ type AddressActivityMetadata = {
4899
5864
  eventSignatures?: Array<string>;
4900
5865
  };
4901
5866
 
4902
- declare enum EventType {
4903
- ADDRESS_ACTIVITY = "address_activity"
5867
+ declare enum PrimaryNetworkType {
5868
+ MAINNET = "mainnet",
5869
+ FUJI = "fuji"
4904
5870
  }
4905
5871
 
4906
- type CreateWebhookRequest = {
5872
+ type EVMAddressActivityRequest = {
5873
+ eventType: EVMAddressActivityRequest.eventType;
4907
5874
  url: string;
4908
5875
  chainId: string;
4909
- eventType: EventType;
4910
- metadata: AddressActivityMetadata;
5876
+ network?: PrimaryNetworkType;
4911
5877
  name?: string;
4912
5878
  description?: string;
4913
5879
  /**
4914
- * Whether to include traces in the webhook payload.
5880
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
4915
5881
  */
4916
5882
  includeInternalTxs?: boolean;
4917
5883
  /**
4918
5884
  * Whether to include logs in the webhook payload.
4919
5885
  */
4920
5886
  includeLogs?: boolean;
5887
+ metadata: AddressActivityMetadata;
4921
5888
  };
5889
+ declare namespace EVMAddressActivityRequest {
5890
+ enum eventType {
5891
+ ADDRESS_ACTIVITY = "address_activity"
5892
+ }
5893
+ }
4922
5894
 
4923
- type ListWebhookAddressesResponse = {
4924
- /**
4925
- * 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.
4926
- */
4927
- nextPageToken?: string;
4928
- addresses: Array<string>;
4929
- totalAddresses: number;
4930
- };
5895
+ declare enum EventType {
5896
+ ADDRESS_ACTIVITY = "address_activity",
5897
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
5898
+ VALIDATOR_ACTIVITY = "validator_activity"
5899
+ }
4931
5900
 
4932
5901
  declare enum WebhookStatusType {
4933
5902
  ACTIVE = "active",
4934
5903
  INACTIVE = "inactive"
4935
5904
  }
4936
5905
 
4937
- type WebhookResponse = {
5906
+ type EVMAddressActivityResponse = {
4938
5907
  id: string;
4939
5908
  eventType: EventType;
5909
+ url: string;
5910
+ chainId: string;
5911
+ status: WebhookStatusType;
5912
+ createdAt: number;
5913
+ name: string;
5914
+ description: string;
4940
5915
  metadata: AddressActivityMetadata;
4941
5916
  /**
4942
5917
  * Whether to include traces in the webhook payload.
@@ -4946,12 +5921,109 @@ type WebhookResponse = {
4946
5921
  * Whether to include logs in the webhook payload.
4947
5922
  */
4948
5923
  includeLogs?: boolean;
5924
+ };
5925
+
5926
+ type ListWebhookAddressesResponse = {
5927
+ /**
5928
+ * 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.
5929
+ */
5930
+ nextPageToken?: string;
5931
+ addresses: Array<string>;
5932
+ totalAddresses: number;
5933
+ };
5934
+
5935
+ /**
5936
+ * The type of key for platform activity depending on the event type
5937
+ */
5938
+ declare enum PlatformActivityKeyType {
5939
+ ADDRESSES = "addresses",
5940
+ NODE_ID = "nodeId",
5941
+ SUBNET_ID = "subnetId"
5942
+ }
5943
+
5944
+ /**
5945
+ * Array of address activity sub-event types
5946
+ */
5947
+ declare enum PlatformAddressActivitySubEventType {
5948
+ BALANCE_CHANGE_PLATFORM = "balance_change_platform",
5949
+ BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
5950
+ REWARD_DISTRIBUTION = "reward_distribution"
5951
+ }
5952
+
5953
+ type PlatformActivitySubEvents = {
5954
+ /**
5955
+ * Array of validator activity sub-event types
5956
+ */
5957
+ validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
5958
+ addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
5959
+ };
5960
+
5961
+ /**
5962
+ * Type of balance to monitor
5963
+ */
5964
+ declare enum CommonBalanceType {
5965
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
5966
+ UNLOCKED_STAKED = "unlockedStaked",
5967
+ LOCKED_PLATFORM = "lockedPlatform",
5968
+ LOCKED_STAKEABLE = "lockedStakeable",
5969
+ LOCKED_STAKED = "lockedStaked",
5970
+ PENDING_STAKED = "pendingStaked",
5971
+ UNLOCKED = "unlocked",
5972
+ LOCKED = "locked",
5973
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
5974
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5975
+ }
5976
+
5977
+ type PlatformBalanceThresholdFilter = {
5978
+ balanceType: CommonBalanceType;
5979
+ /**
5980
+ * Threshold for balance corresponding to balanceType in nAVAX
5981
+ */
5982
+ balanceThreshold: string;
5983
+ };
5984
+
5985
+ type PlatformActivityMetadata = {
5986
+ keyType: PlatformActivityKeyType;
5987
+ /**
5988
+ * Array of keys like addresses, NodeID or SubnetID corresponding to the keyType being monitored. For PlatformAddressActivity event, an array of multiple addresses can be provided. ValidatorActivity event will only accept a single key
5989
+ */
5990
+ keys: Array<string>;
5991
+ /**
5992
+ * Sub-events to monitor
5993
+ */
5994
+ subEvents?: PlatformActivitySubEvents;
5995
+ /**
5996
+ * Array of hexadecimal strings of the event signatures.
5997
+ */
5998
+ eventSignatures?: Array<string>;
5999
+ /**
6000
+ * Array of node IDs to filter the events
6001
+ */
6002
+ nodeIds?: Array<string>;
6003
+ /**
6004
+ * Array of subnet IDs to filter the events
6005
+ */
6006
+ subnetIds?: Array<string>;
6007
+ /**
6008
+ * Balance threshold filter
6009
+ */
6010
+ balanceThresholdFilter?: PlatformBalanceThresholdFilter;
6011
+ /**
6012
+ * L1 validator fee balance threshold in nAVAX
6013
+ */
6014
+ l1ValidatorFeeBalanceThreshold?: string;
6015
+ };
6016
+
6017
+ type PlatformActivityResponse = {
6018
+ id: string;
6019
+ eventType: EventType;
4949
6020
  url: string;
4950
6021
  chainId: string;
4951
6022
  status: WebhookStatusType;
4952
6023
  createdAt: number;
4953
6024
  name: string;
4954
6025
  description: string;
6026
+ metadata: PlatformActivityMetadata;
4955
6027
  };
4956
6028
 
4957
6029
  type ListWebhooksResponse = {
@@ -4959,9 +6031,36 @@ type ListWebhooksResponse = {
4959
6031
  * 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.
4960
6032
  */
4961
6033
  nextPageToken?: string;
4962
- webhooks: Array<WebhookResponse>;
6034
+ webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
4963
6035
  };
4964
6036
 
6037
+ type PlatformActivityRequest = {
6038
+ eventType: PlatformActivityRequest.eventType;
6039
+ url: string;
6040
+ chainId: string;
6041
+ network?: PrimaryNetworkType;
6042
+ name?: string;
6043
+ description?: string;
6044
+ /**
6045
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6046
+ */
6047
+ includeInternalTxs?: boolean;
6048
+ /**
6049
+ * Whether to include logs in the webhook payload.
6050
+ */
6051
+ includeLogs?: boolean;
6052
+ /**
6053
+ * Metadata for platform activity
6054
+ */
6055
+ metadata: PlatformActivityMetadata;
6056
+ };
6057
+ declare namespace PlatformActivityRequest {
6058
+ enum eventType {
6059
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
6060
+ VALIDATOR_ACTIVITY = "validator_activity"
6061
+ }
6062
+ }
6063
+
4965
6064
  type SharedSecretsResponse = {
4966
6065
  secret: string;
4967
6066
  };
@@ -4971,6 +6070,9 @@ type UpdateWebhookRequest = {
4971
6070
  description?: string;
4972
6071
  url?: string;
4973
6072
  status?: WebhookStatusType;
6073
+ /**
6074
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6075
+ */
4974
6076
  includeInternalTxs?: boolean;
4975
6077
  includeLogs?: boolean;
4976
6078
  };
@@ -4986,12 +6088,12 @@ declare class WebhooksService {
4986
6088
  /**
4987
6089
  * Create a webhook
4988
6090
  * Create a new webhook.
4989
- * @returns WebhookResponse Successful response
6091
+ * @returns any Successful response
4990
6092
  * @throws ApiError
4991
6093
  */
4992
6094
  createWebhook({ requestBody, }: {
4993
- requestBody: CreateWebhookRequest;
4994
- }): CancelablePromise<WebhookResponse>;
6095
+ requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
6096
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
4995
6097
  /**
4996
6098
  * List webhooks
4997
6099
  * Lists webhooks for the user.
@@ -5015,7 +6117,7 @@ declare class WebhooksService {
5015
6117
  /**
5016
6118
  * Get a webhook by ID
5017
6119
  * Retrieves a webhook by ID.
5018
- * @returns WebhookResponse Successful response
6120
+ * @returns any Successful response
5019
6121
  * @throws ApiError
5020
6122
  */
5021
6123
  getWebhook({ id, }: {
@@ -5023,11 +6125,11 @@ declare class WebhooksService {
5023
6125
  * The webhook identifier.
5024
6126
  */
5025
6127
  id: string;
5026
- }): CancelablePromise<WebhookResponse>;
6128
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5027
6129
  /**
5028
6130
  * Deactivate a webhook
5029
6131
  * Deactivates a webhook by ID.
5030
- * @returns WebhookResponse Successful response
6132
+ * @returns any Successful response
5031
6133
  * @throws ApiError
5032
6134
  */
5033
6135
  deactivateWebhook({ id, }: {
@@ -5035,11 +6137,11 @@ declare class WebhooksService {
5035
6137
  * The webhook identifier.
5036
6138
  */
5037
6139
  id: string;
5038
- }): CancelablePromise<WebhookResponse>;
6140
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5039
6141
  /**
5040
6142
  * Update a webhook
5041
6143
  * Updates an existing webhook.
5042
- * @returns WebhookResponse Successful response
6144
+ * @returns any Successful response
5043
6145
  * @throws ApiError
5044
6146
  */
5045
6147
  updateWebhook({ id, requestBody, }: {
@@ -5048,14 +6150,14 @@ declare class WebhooksService {
5048
6150
  */
5049
6151
  id: string;
5050
6152
  requestBody: UpdateWebhookRequest;
5051
- }): CancelablePromise<WebhookResponse>;
6153
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5052
6154
  /**
5053
- * Generate a shared secret
5054
- * Generates a new shared secret.
6155
+ * Generate or rotate a shared secret
6156
+ * Generates a new shared secret or rotate an existing one.
5055
6157
  * @returns SharedSecretsResponse Successful response
5056
6158
  * @throws ApiError
5057
6159
  */
5058
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
6160
+ generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5059
6161
  /**
5060
6162
  * Get a shared secret
5061
6163
  * Get a previously generated shared secret.
@@ -5064,9 +6166,9 @@ declare class WebhooksService {
5064
6166
  */
5065
6167
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5066
6168
  /**
5067
- * Add addresses to webhook
5068
- * Add addresses to webhook.
5069
- * @returns WebhookResponse Successful response
6169
+ * Add addresses to EVM activity webhook
6170
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6171
+ * @returns EVMAddressActivityResponse Successful response
5070
6172
  * @throws ApiError
5071
6173
  */
5072
6174
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5075,11 +6177,11 @@ declare class WebhooksService {
5075
6177
  */
5076
6178
  id: string;
5077
6179
  requestBody: AddressesChangeRequest;
5078
- }): CancelablePromise<WebhookResponse>;
6180
+ }): CancelablePromise<EVMAddressActivityResponse>;
5079
6181
  /**
5080
- * Remove addresses from webhook
5081
- * Remove addresses from webhook.
5082
- * @returns WebhookResponse Successful response
6182
+ * Remove addresses from EVM activity webhook
6183
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6184
+ * @returns EVMAddressActivityResponse Successful response
5083
6185
  * @throws ApiError
5084
6186
  */
5085
6187
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5088,10 +6190,10 @@ declare class WebhooksService {
5088
6190
  */
5089
6191
  id: string;
5090
6192
  requestBody: AddressesChangeRequest;
5091
- }): CancelablePromise<WebhookResponse>;
6193
+ }): CancelablePromise<EVMAddressActivityResponse>;
5092
6194
  /**
5093
- * List adresses by webhook
5094
- * List adresses by webhook.
6195
+ * List adresses by EVM activity webhooks
6196
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5095
6197
  * @returns ListWebhookAddressesResponse Successful response
5096
6198
  * @throws ApiError
5097
6199
  */
@@ -5121,7 +6223,9 @@ declare class Glacier {
5121
6223
  readonly evmContracts: EvmContractsService;
5122
6224
  readonly evmTransactions: EvmTransactionsService;
5123
6225
  readonly healthCheck: HealthCheckService;
6226
+ readonly interchainMessaging: InterchainMessagingService;
5124
6227
  readonly nfTs: NfTsService;
6228
+ readonly notifications: NotificationsService;
5125
6229
  readonly operations: OperationsService;
5126
6230
  readonly primaryNetwork: PrimaryNetworkService;
5127
6231
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -5154,6 +6258,17 @@ declare class ApiError extends Error {
5154
6258
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
5155
6259
  }
5156
6260
 
6261
+ type AccessListData = {
6262
+ /**
6263
+ * Access Address
6264
+ */
6265
+ accessAddresses: string;
6266
+ /**
6267
+ * Storage keys
6268
+ */
6269
+ storageKeys: Array<string>;
6270
+ };
6271
+
5157
6272
  type BadGateway = {
5158
6273
  /**
5159
6274
  * The error message describing the reason for the exception
@@ -5188,6 +6303,76 @@ type DataListChainsResponse = {
5188
6303
  chains: Array<ChainInfo>;
5189
6304
  };
5190
6305
 
6306
+ type ERCToken = {
6307
+ /**
6308
+ * Token contract address
6309
+ */
6310
+ address: string;
6311
+ /**
6312
+ * Token name
6313
+ */
6314
+ name: string;
6315
+ /**
6316
+ * Token symbol
6317
+ */
6318
+ symbol: string;
6319
+ /**
6320
+ * Token decimals
6321
+ */
6322
+ decimals: number;
6323
+ /**
6324
+ * Value including decimals
6325
+ */
6326
+ valueWithDecimals: string;
6327
+ };
6328
+
6329
+ type ERCTransfer = {
6330
+ /**
6331
+ * Transaction hash
6332
+ */
6333
+ transactionHash: string;
6334
+ /**
6335
+ * Transfer type
6336
+ */
6337
+ type: string;
6338
+ /**
6339
+ * Sender address
6340
+ */
6341
+ from: string;
6342
+ /**
6343
+ * Recipient address
6344
+ */
6345
+ to: string;
6346
+ /**
6347
+ * Amount transferred
6348
+ */
6349
+ value: string;
6350
+ /**
6351
+ * Token Id
6352
+ */
6353
+ tokenId?: string;
6354
+ /**
6355
+ * Block timestamp
6356
+ */
6357
+ blockTimestamp: number;
6358
+ /**
6359
+ * Log index
6360
+ */
6361
+ logIndex: number;
6362
+ /**
6363
+ * erc20 Token details
6364
+ */
6365
+ erc20Token?: ERCToken;
6366
+ /**
6367
+ * erc721 Token details
6368
+ */
6369
+ erc721Token?: ERCToken;
6370
+ /**
6371
+ * erc1155 Token details
6372
+ */
6373
+ erc1155Token?: ERCToken;
6374
+ };
6375
+
5191
6376
  type Forbidden = {
5192
6377
  /**
5193
6378
  * The error message describing the reason for the exception
@@ -5218,6 +6403,64 @@ type InternalServerError = {
5218
6403
  error: string;
5219
6404
  };
5220
6405
 
6406
+ type Log = {
6407
+ /**
6408
+ * Contract address
6409
+ */
6410
+ address: string;
6411
+ /**
6412
+ * First topic
6413
+ */
6414
+ topic0: string;
6415
+ /**
6416
+ * Second topic (optional)
6417
+ */
6418
+ topic1?: string;
6419
+ /**
6420
+ * Third topic (optional)
6421
+ */
6422
+ topic2?: string;
6423
+ /**
6424
+ * Fourth topic (optional)
6425
+ */
6426
+ topic3?: string;
6427
+ /**
6428
+ * Event data
6429
+ */
6430
+ data: string;
6431
+ /**
6432
+ * Transaction index
6433
+ */
6434
+ transactionIndex: number;
6435
+ /**
6436
+ * Log index
6437
+ */
6438
+ logIndex: number;
6439
+ /**
6440
+ * Indicates if the log was removed
6441
+ */
6442
+ removed: boolean;
6443
+ };
6444
+
6445
+ type NetworkTokenInfo = {
6446
+ /**
6447
+ * Token name
6448
+ */
6449
+ tokenName?: string;
6450
+ /**
6451
+ * Token symbol
6452
+ */
6453
+ tokenSymbol?: string;
6454
+ /**
6455
+ * Token decimals
6456
+ */
6457
+ tokenDecimals?: number;
6458
+ /**
6459
+ * Value including decimals
6460
+ */
6461
+ valueWithDecimals?: string;
6462
+ };
6463
+
5221
6464
  type NextPageToken = {
5222
6465
  /**
5223
6466
  * 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.
@@ -5270,6 +6513,132 @@ type TooManyRequests = {
5270
6513
  error: string;
5271
6514
  };
5272
6515
 
6516
+ type Transaction = {
6517
+ /**
6518
+ * Block hash of the transaction
6519
+ */
6520
+ blockHash: string;
6521
+ /**
6522
+ * Block number of the transaction
6523
+ */
6524
+ blockNumber: string;
6525
+ /**
6526
+ * Sender address
6527
+ */
6528
+ from: string;
6529
+ /**
6530
+ * Gas limit for the transaction
6531
+ */
6532
+ gas: string;
6533
+ /**
6534
+ * Gas price used
6535
+ */
6536
+ gasPrice: string;
6537
+ /**
6538
+ * Maximum fee per gas
6539
+ */
6540
+ maxFeePerGas: string;
6541
+ /**
6542
+ * Maximum priority fee per gas
6543
+ */
6544
+ maxPriorityFeePerGas: string;
6545
+ /**
6546
+ * Transaction hash
6547
+ */
6548
+ txHash: string;
6549
+ /**
6550
+ * Transaction status
6551
+ */
6552
+ txStatus: string;
6553
+ /**
6554
+ * Input data
6555
+ */
6556
+ input: string;
6557
+ /**
6558
+ * Nonce value
6559
+ */
6560
+ nonce: string;
6561
+ /**
6562
+ * Recipient address
6563
+ */
6564
+ to: string;
6565
+ /**
6566
+ * Transaction index
6567
+ */
6568
+ transactionIndex: number;
6569
+ /**
6570
+ * Value transferred in the transaction
6571
+ */
6572
+ value: string;
6573
+ /**
6574
+ * Transaction type
6575
+ */
6576
+ type: number;
6577
+ /**
6578
+ * Chain ID of the network
6579
+ */
6580
+ chainId: string;
6581
+ /**
6582
+ * Cumulative gas used
6583
+ */
6584
+ receiptCumulativeGasUsed: string;
6585
+ /**
6586
+ * Gas used
6587
+ */
6588
+ receiptGasUsed: string;
6589
+ /**
6590
+ * Effective gas price
6591
+ */
6592
+ receiptEffectiveGasPrice: string;
6593
+ /**
6594
+ * Receipt root
6595
+ */
6596
+ receiptRoot: string;
6597
+ /**
6598
+ * Block timestamp
6599
+ */
6600
+ blockTimestamp: number;
6601
+ /**
6602
+ * Contract address (optional)
6603
+ */
6604
+ contractAddress?: string;
6605
+ /**
6606
+ * ERC20 transfers
6607
+ */
6608
+ erc20Transfers: Array<ERCTransfer>;
6609
+ /**
6610
+ * ERC721 transfers
6611
+ */
6612
+ erc721Transfers: Array<ERCTransfer>;
6613
+ /**
6614
+ * ERC1155 transfers
6615
+ */
6616
+ erc1155Transfers: Array<ERCTransfer>;
6617
+ /**
6618
+ * Internal transactions (optional)
6619
+ */
6620
+ internalTransactions?: Array<InternalTransaction>;
6621
+ /**
6622
+ * Access list (optional)
6623
+ */
6624
+ accessList?: Array<AccessListData>;
6625
+ /**
6626
+ * Network token info (optional)
6627
+ */
6628
+ networkToken?: NetworkTokenInfo;
6629
+ };
6630
+
6631
+ type TransactionEvent = {
6632
+ /**
6633
+ * Transaction details
6634
+ */
6635
+ transaction: Transaction;
6636
+ /**
6637
+ * Array of log events
6638
+ */
6639
+ logs?: Array<Log>;
6640
+ };
6641
+
5273
6642
  type Unauthorized = {
5274
6643
  /**
5275
6644
  * The error message describing the reason for the exception
@@ -5285,4 +6654,31 @@ type Unauthorized = {
5285
6654
  error: string;
5286
6655
  };
5287
6656
 
5288
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, 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, 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, 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, SubnetValidatorManagerDetails, 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 };
6657
+ type WebhookAddressActivityResponse = {
6658
+ /**
6659
+ * Webhook ID
6660
+ */
6661
+ webhookId: string;
6662
+ /**
6663
+ * Event type
6664
+ */
6665
+ eventType: WebhookAddressActivityResponse.eventType;
6666
+ /**
6667
+ * Message ID
6668
+ */
6669
+ messageId: string;
6670
+ /**
6671
+ * Event details
6672
+ */
6673
+ event: TransactionEvent;
6674
+ };
6675
+ declare namespace WebhookAddressActivityResponse {
6676
+ /**
6677
+ * Event type
6678
+ */
6679
+ enum eventType {
6680
+ ADDRESS_ACTIVITY = "address_activity"
6681
+ }
6682
+ }
6683
+
6684
+ export { AccessListData, AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, ERCToken, ERCTransfer, EVMAddressActivityRequest, EVMAddressActivityResponse, 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, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmRewardDetails, IcmSourceTransaction, ImageAsset, InterchainMessagingService, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PlatformActivityKeyType, PlatformActivityMetadata, PlatformActivityRequest, PlatformActivityResponse, PlatformActivitySubEvents, PlatformAddressActivitySubEventType, PlatformBalanceThresholdFilter, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, Transaction, TransactionDetails, TransactionDirectionType, TransactionEvent, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };