@avalabs/glacier-sdk 3.1.0-canary.caf0199.0 → 3.1.0-canary.d1a9d4a.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 (104) hide show
  1. package/dist/index.d.ts +1177 -148
  2. package/dist/index.js +1 -1
  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/CommonBalanceType.d.ts +17 -0
  9. package/esm/generated/models/CommonBalanceType.js +1 -0
  10. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  11. package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
  12. package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
  13. package/esm/generated/models/DeliveredIcmMessage.js +1 -0
  14. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
  15. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
  16. package/esm/generated/models/ERCToken.d.ts +24 -0
  17. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  18. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +11 -5
  19. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  20. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +8 -8
  21. package/esm/generated/models/Erc20TokenBalance.d.ts +3 -3
  22. package/esm/generated/models/EventType.d.ts +3 -1
  23. package/esm/generated/models/EventType.js +1 -1
  24. package/esm/generated/models/Geolocation.d.ts +24 -0
  25. package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
  26. package/esm/generated/models/HealthCheckResultDto.js +1 -0
  27. package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
  28. package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
  29. package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
  30. package/esm/generated/models/IcmReceipt.d.ts +6 -0
  31. package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
  32. package/esm/generated/models/IcmRewardDetails.js +1 -0
  33. package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
  34. package/esm/generated/models/InternalTransaction.d.ts +15 -16
  35. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +4 -0
  36. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +5 -1
  37. package/esm/generated/models/ListIcmMessagesResponse.d.ts +12 -0
  38. package/esm/generated/models/ListWebhooksResponse.d.ts +3 -2
  39. package/esm/generated/models/Log.d.ts +40 -0
  40. package/esm/generated/models/Network.d.ts +1 -2
  41. package/esm/generated/models/Network.js +1 -1
  42. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  43. package/esm/generated/models/NotificationsResponse.d.ts +5 -0
  44. package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
  45. package/esm/generated/models/PChainTransaction.d.ts +20 -8
  46. package/esm/generated/models/PChainUtxo.d.ts +27 -0
  47. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  48. package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
  49. package/esm/generated/models/PendingIcmMessage.js +1 -0
  50. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  51. package/esm/generated/models/PlatformActivityKeyType.d.ts +10 -0
  52. package/esm/generated/models/PlatformActivityKeyType.js +1 -0
  53. package/esm/generated/models/PlatformActivityMetadata.d.ts +37 -0
  54. package/esm/generated/models/PlatformActivityRequest.d.ts +31 -0
  55. package/esm/generated/models/PlatformActivityRequest.js +1 -0
  56. package/esm/generated/models/PlatformActivityResponse.d.ts +17 -0
  57. package/esm/generated/models/PlatformActivitySubEvents.d.ts +11 -0
  58. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +10 -0
  59. package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -0
  60. package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +11 -0
  61. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +1 -0
  62. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -1
  63. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
  64. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
  65. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
  66. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
  67. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  68. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  69. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  70. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
  71. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
  72. package/esm/generated/models/StakingDistribution.d.ts +9 -0
  73. package/esm/generated/models/Subnet.d.ts +2 -2
  74. package/esm/generated/models/SubscribeRequest.d.ts +16 -0
  75. package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
  76. package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
  77. package/esm/generated/models/Transaction.d.ts +121 -0
  78. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  79. package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
  80. package/esm/generated/models/UtxoType.d.ts +3 -0
  81. package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
  82. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  83. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  84. package/esm/generated/services/DataApiUsageMetricsService.d.ts +55 -6
  85. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  86. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  87. package/esm/generated/services/EvmChainsService.d.ts +2 -2
  88. package/esm/generated/services/HealthCheckService.d.ts +4 -7
  89. package/esm/generated/services/HealthCheckService.js +1 -1
  90. package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
  91. package/esm/generated/services/InterchainMessagingService.js +1 -0
  92. package/esm/generated/services/NotificationsService.d.ts +51 -0
  93. package/esm/generated/services/NotificationsService.js +1 -0
  94. package/esm/generated/services/PrimaryNetworkService.d.ts +18 -1
  95. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  96. package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
  97. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  98. package/esm/generated/services/TeleporterService.d.ts +12 -6
  99. package/esm/generated/services/WebhooksService.d.ts +26 -24
  100. package/esm/generated/services/WebhooksService.js +1 -1
  101. package/esm/index.d.ts +40 -3
  102. package/esm/index.js +1 -1
  103. package/package.json +2 -2
  104. package/esm/generated/models/BlockchainInfo.d.ts +0 -5
package/dist/index.d.ts CHANGED
@@ -151,11 +151,11 @@ type LogsResponseDTO = {
151
151
  declare enum Network {
152
152
  MAINNET = "mainnet",
153
153
  FUJI = "fuji",
154
- TESTNET = "testnet",
155
- DEVNET = "devnet"
154
+ TESTNET = "testnet"
156
155
  }
157
156
 
158
157
  declare enum PrimaryNetworkRpcMetricsGroupByEnum {
158
+ RPC_METHOD = "rpcMethod",
159
159
  REQUEST_PATH = "requestPath",
160
160
  RESPONSE_CODE = "responseCode",
161
161
  COUNTRY = "country",
@@ -163,13 +163,7 @@ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
163
163
  USER_AGENT = "userAgent"
164
164
  }
165
165
 
166
- declare enum RpcUsageMetricsGroupByEnum {
167
- RPC_METHOD = "rpcMethod",
168
- RESPONSE_CODE = "responseCode",
169
- RL_BYPASS_TOKEN = "rlBypassToken"
170
- }
171
-
172
- declare enum SubnetRpcTimeIntervalGranularity {
166
+ declare enum PrimaryNetworkRpcTimeIntervalGranularity {
173
167
  HOURLY = "hourly",
174
168
  DAILY = "daily",
175
169
  WEEKLY = "weekly",
@@ -222,6 +216,10 @@ declare namespace RpcUsageMetricsValueAggregated {
222
216
  RPC_METHOD = "rpcMethod",
223
217
  RESPONSE_CODE = "responseCode",
224
218
  RL_BYPASS_TOKEN = "rlBypassToken",
219
+ REQUEST_PATH = "requestPath",
220
+ COUNTRY = "country",
221
+ CONTINENT = "continent",
222
+ USER_AGENT = "userAgent",
225
223
  NONE = "None"
226
224
  }
227
225
  }
@@ -237,6 +235,43 @@ type RpcMetrics = {
237
235
  values: Array<RpcUsageMetricsValueAggregated>;
238
236
  };
239
237
 
238
+ type PrimaryNetworkRpcUsageMetricsResponseDTO = {
239
+ /**
240
+ * Duration in which the metrics value is aggregated
241
+ */
242
+ aggregateDuration: string;
243
+ /**
244
+ * Metrics values
245
+ */
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
+
240
275
  type SubnetRpcUsageMetricsResponseDTO = {
241
276
  /**
242
277
  * Duration in which the metrics value is aggregated
@@ -451,6 +486,49 @@ declare class DataApiUsageMetricsService {
451
486
  * @returns SubnetRpcUsageMetricsResponseDTO Successful response
452
487
  * @throws ApiError
453
488
  */
489
+ getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
490
+ /**
491
+ * Time interval granularity for data aggregation for subnet
492
+ * rpc metrics
493
+ */
494
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
495
+ /**
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.
497
+ */
498
+ startTimestamp?: number;
499
+ /**
500
+ * 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.
501
+ */
502
+ endTimestamp?: number;
503
+ /**
504
+ * Query param for the criterion used for grouping metrics
505
+ */
506
+ groupBy?: RpcUsageMetricsGroupByEnum;
507
+ /**
508
+ * Filter data by chain ID.
509
+ */
510
+ chainId?: string;
511
+ /**
512
+ * Filter data by response status code.
513
+ */
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
+ */
454
532
  getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
455
533
  /**
456
534
  * Time interval granularity for data aggregation for subnet
@@ -489,10 +567,10 @@ declare class DataApiUsageMetricsService {
489
567
  /**
490
568
  * Get usage metrics for the Primary Network RPC
491
569
  * Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
492
- * @returns SubnetRpcUsageMetricsResponseDTO Successful response
570
+ * @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
493
571
  * @throws ApiError
494
572
  */
495
- getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, }: {
573
+ getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
496
574
  /**
497
575
  * Either mainnet or testnet/fuji.
498
576
  */
@@ -501,7 +579,7 @@ declare class DataApiUsageMetricsService {
501
579
  * Time interval granularity for data aggregation for subnet
502
580
  * rpc metrics
503
581
  */
504
- timeInterval?: SubnetRpcTimeIntervalGranularity;
582
+ timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
505
583
  /**
506
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.
507
585
  */
@@ -523,18 +601,22 @@ declare class DataApiUsageMetricsService {
523
601
  */
524
602
  requestPath?: string;
525
603
  /**
526
- * Filter data by Country.
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.
527
605
  */
528
606
  country?: string;
529
607
  /**
530
- * Filter data by Continent.
608
+ * Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
531
609
  */
532
610
  continent?: string;
533
611
  /**
534
612
  * Filter data by User Agent.
535
613
  */
536
614
  userAgent?: string;
537
- }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
615
+ /**
616
+ * Filter data by RPC method.
617
+ */
618
+ rpcMethod?: string;
619
+ }): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
538
620
  }
539
621
 
540
622
  declare class DefaultService {
@@ -782,16 +864,16 @@ type Erc20TokenBalance = {
782
864
  */
783
865
  balanceValue?: Money;
784
866
  /**
785
- * 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.
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.
786
868
  */
787
- tokenReputation: Erc20TokenBalance.tokenReputation | null;
869
+ tokenReputation: Erc20TokenBalance.tokenReputation;
788
870
  };
789
871
  declare namespace Erc20TokenBalance {
790
872
  enum ercType {
791
873
  ERC_20 = "ERC-20"
792
874
  }
793
875
  /**
794
- * 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.
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.
795
877
  */
796
878
  enum tokenReputation {
797
879
  MALICIOUS = "Malicious",
@@ -886,7 +968,7 @@ declare class EvmBalancesService {
886
968
  */
887
969
  pageToken?: string;
888
970
  /**
889
- * 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.
890
972
  */
891
973
  pageSize?: number;
892
974
  /**
@@ -924,7 +1006,7 @@ declare class EvmBalancesService {
924
1006
  */
925
1007
  pageToken?: string;
926
1008
  /**
927
- * 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.
928
1010
  */
929
1011
  pageSize?: number;
930
1012
  /**
@@ -960,7 +1042,7 @@ declare class EvmBalancesService {
960
1042
  */
961
1043
  pageToken?: string;
962
1044
  /**
963
- * 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.
964
1046
  */
965
1047
  pageSize?: number;
966
1048
  /**
@@ -990,7 +1072,7 @@ declare class EvmBalancesService {
990
1072
  */
991
1073
  pageToken?: string;
992
1074
  /**
993
- * 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.
994
1076
  */
995
1077
  pageSize?: number;
996
1078
  /**
@@ -1387,7 +1469,7 @@ declare class EvmChainsService {
1387
1469
  }): CancelablePromise<ListAddressChainsResponse>;
1388
1470
  /**
1389
1471
  * List chains
1390
- * Lists the supported EVM-compatible chains. Filterable by network.
1472
+ * Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
1391
1473
  * @returns ListChainsResponse Successful response
1392
1474
  * @throws ApiError
1393
1475
  */
@@ -1403,7 +1485,7 @@ declare class EvmChainsService {
1403
1485
  }): CancelablePromise<ListChainsResponse>;
1404
1486
  /**
1405
1487
  * Get chain information
1406
- * Gets chain information for the EVM-compatible chain if supported by the api.
1488
+ * Gets chain information for the EVM-compatible chain if supported by AvaCloud.
1407
1489
  * @returns GetChainResponse Successful response
1408
1490
  * @throws ApiError
1409
1491
  */
@@ -2138,31 +2220,33 @@ type ListErc721TransactionsResponse = {
2138
2220
 
2139
2221
  type InternalTransaction = {
2140
2222
  /**
2141
- * The block number on the chain.
2223
+ * Sender address
2142
2224
  */
2143
- blockNumber: string;
2225
+ from: string;
2144
2226
  /**
2145
- * The block finality timestamp.
2227
+ * Recipient address
2146
2228
  */
2147
- blockTimestamp: number;
2229
+ to: string;
2148
2230
  /**
2149
- * The block hash identifier.
2231
+ * Internal transaction type
2150
2232
  */
2151
- blockHash: string;
2233
+ internalTxType: string;
2152
2234
  /**
2153
- * The transaction hash identifier.
2235
+ * Value transferred
2154
2236
  */
2155
- txHash: string;
2156
- from: RichAddress;
2157
- to: RichAddress;
2158
- internalTxType: InternalTransactionOpCall;
2159
2237
  value: string;
2160
2238
  /**
2161
- * True if the internal transaction was reverted.
2239
+ * Gas used
2162
2240
  */
2163
- isReverted: boolean;
2164
2241
  gasUsed: string;
2242
+ /**
2243
+ * Gas limit
2244
+ */
2165
2245
  gasLimit: string;
2246
+ /**
2247
+ * Transaction hash
2248
+ */
2249
+ transactionHash: string;
2166
2250
  };
2167
2251
 
2168
2252
  type ListInternalTransactionsResponse = {
@@ -2586,68 +2670,204 @@ declare class EvmTransactionsService {
2586
2670
  }): CancelablePromise<ListNativeTransactionsResponse>;
2587
2671
  }
2588
2672
 
2673
+ type HealthIndicatorResultDto = {
2674
+ /**
2675
+ * Status of the health indicator.
2676
+ */
2677
+ status?: HealthIndicatorResultDto.status;
2678
+ };
2679
+ declare namespace HealthIndicatorResultDto {
2680
+ /**
2681
+ * Status of the health indicator.
2682
+ */
2683
+ enum status {
2684
+ UP = "up",
2685
+ DOWN = "down"
2686
+ }
2687
+ }
2688
+
2689
+ type HealthCheckResultDto = {
2690
+ status?: HealthCheckResultDto.status;
2691
+ info?: any | null;
2692
+ error?: any | null;
2693
+ details?: Record<string, HealthIndicatorResultDto>;
2694
+ };
2695
+ declare namespace HealthCheckResultDto {
2696
+ enum status {
2697
+ ERROR = "error",
2698
+ OK = "ok",
2699
+ SHUTTING_DOWN = "shutting_down"
2700
+ }
2701
+ }
2702
+
2589
2703
  declare class HealthCheckService {
2590
2704
  readonly httpRequest: BaseHttpRequest;
2591
2705
  constructor(httpRequest: BaseHttpRequest);
2592
2706
  /**
2593
2707
  * Get the health of the service
2594
- * @returns any The Health Check is successful
2708
+ * Check the health of the service.
2709
+ * @returns HealthCheckResultDto The health of the service
2595
2710
  * @throws ApiError
2596
2711
  */
2597
- dataHealthCheck(): CancelablePromise<{
2598
- status?: string;
2599
- info?: Record<string, Record<string, string>> | null;
2600
- error?: Record<string, Record<string, string>> | null;
2601
- details?: Record<string, Record<string, string>>;
2602
- }>;
2712
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2603
2713
  }
2604
2714
 
2605
- type ListNftTokens = {
2715
+ type IcmDestinationTransaction = {
2716
+ txHash: string;
2717
+ timestamp: number;
2718
+ gasSpent: string;
2719
+ rewardRedeemer: string;
2720
+ delivererAddress: string;
2721
+ };
2722
+
2723
+ type IcmReceipt = {
2724
+ receivedMessageNonce: string;
2725
+ relayerRewardAddress: string;
2726
+ };
2727
+
2728
+ type IcmRewardDetails = {
2729
+ /**
2730
+ * A wallet or contract address in mixed-case checksum encoding.
2731
+ */
2732
+ address: string;
2733
+ /**
2734
+ * The contract name.
2735
+ */
2736
+ name: string;
2737
+ /**
2738
+ * The contract symbol.
2739
+ */
2740
+ symbol: string;
2741
+ /**
2742
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
2743
+ */
2744
+ decimals: number;
2745
+ /**
2746
+ * The logo uri for the address.
2747
+ */
2748
+ logoUri?: string;
2749
+ ercType: IcmRewardDetails.ercType;
2750
+ /**
2751
+ * The token price, if available.
2752
+ */
2753
+ price?: Money;
2754
+ value: string;
2755
+ };
2756
+ declare namespace IcmRewardDetails {
2757
+ enum ercType {
2758
+ ERC_20 = "ERC-20"
2759
+ }
2760
+ }
2761
+
2762
+ type IcmSourceTransaction = {
2763
+ txHash: string;
2764
+ timestamp: number;
2765
+ gasSpent: string;
2766
+ };
2767
+
2768
+ type DeliveredIcmMessage = {
2769
+ messageId: string;
2770
+ icmContractAddress: string;
2771
+ sourceBlockchainId: string;
2772
+ destinationBlockchainId: string;
2773
+ sourceEvmChainId: string;
2774
+ destinationEvmChainId: string;
2775
+ messageNonce: string;
2776
+ from: string;
2777
+ to: string;
2778
+ data?: string;
2779
+ messageExecuted: boolean;
2780
+ receipts: Array<IcmReceipt>;
2781
+ receiptDelivered: boolean;
2782
+ rewardDetails: IcmRewardDetails;
2783
+ sourceTransaction: IcmSourceTransaction;
2784
+ destinationTransaction: IcmDestinationTransaction;
2785
+ status: DeliveredIcmMessage.status;
2786
+ };
2787
+ declare namespace DeliveredIcmMessage {
2788
+ enum status {
2789
+ DELIVERED = "delivered"
2790
+ }
2791
+ }
2792
+
2793
+ type DeliveredSourceNotIndexedIcmMessage = {
2794
+ messageId: string;
2795
+ icmContractAddress: string;
2796
+ sourceBlockchainId: string;
2797
+ destinationBlockchainId: string;
2798
+ sourceEvmChainId: string;
2799
+ destinationEvmChainId: string;
2800
+ messageNonce: string;
2801
+ from: string;
2802
+ to: string;
2803
+ data?: string;
2804
+ messageExecuted: boolean;
2805
+ receipts: Array<IcmReceipt>;
2806
+ receiptDelivered: boolean;
2807
+ rewardDetails: IcmRewardDetails;
2808
+ destinationTransaction: IcmDestinationTransaction;
2809
+ status: DeliveredSourceNotIndexedIcmMessage.status;
2810
+ };
2811
+ declare namespace DeliveredSourceNotIndexedIcmMessage {
2812
+ enum status {
2813
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
2814
+ }
2815
+ }
2816
+
2817
+ type PendingIcmMessage = {
2818
+ messageId: string;
2819
+ icmContractAddress: string;
2820
+ sourceBlockchainId: string;
2821
+ destinationBlockchainId: string;
2822
+ sourceEvmChainId: string;
2823
+ destinationEvmChainId: string;
2824
+ messageNonce: string;
2825
+ from: string;
2826
+ to: string;
2827
+ data?: string;
2828
+ messageExecuted: boolean;
2829
+ receipts: Array<IcmReceipt>;
2830
+ receiptDelivered: boolean;
2831
+ rewardDetails: IcmRewardDetails;
2832
+ sourceTransaction: IcmSourceTransaction;
2833
+ status: PendingIcmMessage.status;
2834
+ };
2835
+ declare namespace PendingIcmMessage {
2836
+ enum status {
2837
+ PENDING = "pending"
2838
+ }
2839
+ }
2840
+
2841
+ type ListIcmMessagesResponse = {
2606
2842
  /**
2607
2843
  * 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.
2608
2844
  */
2609
2845
  nextPageToken?: string;
2610
- tokens: Array<(Erc721Token | Erc1155Token)>;
2846
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
2611
2847
  };
2612
2848
 
2613
- declare class NfTsService {
2849
+ declare class InterchainMessagingService {
2614
2850
  readonly httpRequest: BaseHttpRequest;
2615
2851
  constructor(httpRequest: BaseHttpRequest);
2616
2852
  /**
2617
- * Reindex NFT metadata
2618
- * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2853
+ * Get an ICM message
2854
+ * Gets an ICM message by teleporter message ID.
2619
2855
  * @returns any Successful response
2620
2856
  * @throws ApiError
2621
2857
  */
2622
- reindexNft({ chainId, address, tokenId, }: {
2623
- /**
2624
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2625
- */
2626
- chainId: string;
2627
- /**
2628
- * Contract address on the relevant chain.
2629
- */
2630
- address: string;
2858
+ getIcmMessage({ messageId, }: {
2631
2859
  /**
2632
- * TokenId on the contract
2860
+ * The teleporter message ID of the ICM message.
2633
2861
  */
2634
- tokenId: string;
2635
- }): CancelablePromise<any>;
2862
+ messageId: string;
2863
+ }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2636
2864
  /**
2637
- * List tokens
2638
- * Lists tokens for an NFT contract.
2639
- * @returns ListNftTokens Successful response
2865
+ * List ICM messages
2866
+ * Lists ICM messages. Ordered by timestamp in descending order.
2867
+ * @returns ListIcmMessagesResponse Successful response
2640
2868
  * @throws ApiError
2641
2869
  */
2642
- listTokens({ chainId, address, pageToken, pageSize, }: {
2643
- /**
2644
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2645
- */
2646
- chainId: string;
2647
- /**
2648
- * Contract address on the relevant chain.
2649
- */
2650
- address: string;
2870
+ listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
2651
2871
  /**
2652
2872
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2653
2873
  */
@@ -2656,11 +2876,116 @@ declare class NfTsService {
2656
2876
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2657
2877
  */
2658
2878
  pageSize?: number;
2659
- }): CancelablePromise<ListNftTokens>;
2660
- /**
2661
- * Get token details
2662
- * Gets token details for a specific token of an NFT contract.
2663
- * @returns any Successful response
2879
+ /**
2880
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
2881
+ */
2882
+ sourceBlockchainId?: string;
2883
+ /**
2884
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
2885
+ */
2886
+ destinationBlockchainId?: string;
2887
+ /**
2888
+ * The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
2889
+ */
2890
+ blockchainId?: string;
2891
+ /**
2892
+ * The address of the recipient of the ICM message.
2893
+ */
2894
+ to?: string;
2895
+ /**
2896
+ * The address of the sender of the ICM message.
2897
+ */
2898
+ from?: string;
2899
+ /**
2900
+ * Either mainnet or testnet/fuji.
2901
+ */
2902
+ network?: Network;
2903
+ }): CancelablePromise<ListIcmMessagesResponse>;
2904
+ /**
2905
+ * List ICM messages by address
2906
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
2907
+ * @returns ListIcmMessagesResponse Successful response
2908
+ * @throws ApiError
2909
+ */
2910
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
2911
+ /**
2912
+ * An EVM address.
2913
+ */
2914
+ address: string;
2915
+ /**
2916
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2917
+ */
2918
+ pageToken?: string;
2919
+ /**
2920
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2921
+ */
2922
+ pageSize?: number;
2923
+ /**
2924
+ * Either mainnet or testnet/fuji.
2925
+ */
2926
+ network?: Network;
2927
+ }): CancelablePromise<ListIcmMessagesResponse>;
2928
+ }
2929
+
2930
+ type ListNftTokens = {
2931
+ /**
2932
+ * 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.
2933
+ */
2934
+ nextPageToken?: string;
2935
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2936
+ };
2937
+
2938
+ declare class NfTsService {
2939
+ readonly httpRequest: BaseHttpRequest;
2940
+ constructor(httpRequest: BaseHttpRequest);
2941
+ /**
2942
+ * Reindex NFT metadata
2943
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2944
+ * @returns any Successful response
2945
+ * @throws ApiError
2946
+ */
2947
+ reindexNft({ chainId, address, tokenId, }: {
2948
+ /**
2949
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2950
+ */
2951
+ chainId: string;
2952
+ /**
2953
+ * Contract address on the relevant chain.
2954
+ */
2955
+ address: string;
2956
+ /**
2957
+ * TokenId on the contract
2958
+ */
2959
+ tokenId: string;
2960
+ }): CancelablePromise<any>;
2961
+ /**
2962
+ * List tokens
2963
+ * Lists tokens for an NFT contract.
2964
+ * @returns ListNftTokens Successful response
2965
+ * @throws ApiError
2966
+ */
2967
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2968
+ /**
2969
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2970
+ */
2971
+ chainId: string;
2972
+ /**
2973
+ * Contract address on the relevant chain.
2974
+ */
2975
+ address: string;
2976
+ /**
2977
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2978
+ */
2979
+ pageToken?: string;
2980
+ /**
2981
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2982
+ */
2983
+ pageSize?: number;
2984
+ }): CancelablePromise<ListNftTokens>;
2985
+ /**
2986
+ * Get token details
2987
+ * Gets token details for a specific token of an NFT contract.
2988
+ * @returns any Successful response
2664
2989
  * @throws ApiError
2665
2990
  */
2666
2991
  getTokenDetails({ chainId, address, tokenId, }: {
@@ -2679,6 +3004,108 @@ declare class NfTsService {
2679
3004
  }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2680
3005
  }
2681
3006
 
3007
+ type AccessRequest = {
3008
+ /**
3009
+ * The email address to send the access token to
3010
+ */
3011
+ email: string;
3012
+ /**
3013
+ * The captcha to verify the user
3014
+ */
3015
+ captcha: string;
3016
+ };
3017
+
3018
+ type NotificationsResponse = {
3019
+ message: string;
3020
+ };
3021
+
3022
+ type SubscribeRequest = {
3023
+ /**
3024
+ * The access token to use for authentication
3025
+ */
3026
+ accessToken: string;
3027
+ /**
3028
+ * The node ID to subscribe to
3029
+ */
3030
+ nodeId: string;
3031
+ /**
3032
+ * The notification types to subscribe to. If not provided, all notification types will be subscribed to
3033
+ */
3034
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3035
+ };
3036
+
3037
+ type SubscriptionsRequest = {
3038
+ /**
3039
+ * The access token to use for authentication
3040
+ */
3041
+ accessToken: string;
3042
+ };
3043
+
3044
+ type SubscriptionsResponse = {
3045
+ /**
3046
+ * The email address of the user
3047
+ */
3048
+ email: string;
3049
+ /**
3050
+ * The subscriptions of the user
3051
+ */
3052
+ subscriptions: Record<string, {
3053
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3054
+ }>;
3055
+ };
3056
+
3057
+ type UnsubscribeRequest = {
3058
+ /**
3059
+ * The access token to use for authentication
3060
+ */
3061
+ accessToken: string;
3062
+ /**
3063
+ * The node ID to subscribe to
3064
+ */
3065
+ nodeId: string;
3066
+ };
3067
+
3068
+ declare class NotificationsService {
3069
+ readonly httpRequest: BaseHttpRequest;
3070
+ constructor(httpRequest: BaseHttpRequest);
3071
+ /**
3072
+ * Access Notifications
3073
+ * Access notifications.
3074
+ * @returns NotificationsResponse Successful response
3075
+ * @throws ApiError
3076
+ */
3077
+ access({ requestBody, }: {
3078
+ requestBody: AccessRequest;
3079
+ }): CancelablePromise<NotificationsResponse>;
3080
+ /**
3081
+ * Subscribe to Notifications
3082
+ * Subscribe to receive notifications.
3083
+ * @returns NotificationsResponse Successful response
3084
+ * @throws ApiError
3085
+ */
3086
+ subscribe({ requestBody, }: {
3087
+ requestBody: SubscribeRequest;
3088
+ }): CancelablePromise<NotificationsResponse>;
3089
+ /**
3090
+ * Unsubscribe from Notifications
3091
+ * Unsubscribe from receiving notifications.
3092
+ * @returns NotificationsResponse Successful response
3093
+ * @throws ApiError
3094
+ */
3095
+ unsubscribe({ requestBody, }: {
3096
+ requestBody: UnsubscribeRequest;
3097
+ }): CancelablePromise<NotificationsResponse>;
3098
+ /**
3099
+ * Get Subscriptions
3100
+ * Get subscriptions.
3101
+ * @returns SubscriptionsResponse Successful response
3102
+ * @throws ApiError
3103
+ */
3104
+ subscriptions({ requestBody, }: {
3105
+ requestBody: SubscriptionsRequest;
3106
+ }): CancelablePromise<SubscriptionsResponse>;
3107
+ }
3108
+
2682
3109
  type EvmNetworkOptions = {
2683
3110
  addresses: Array<string>;
2684
3111
  includeChains: Array<string>;
@@ -2767,7 +3194,7 @@ type OperationStatusResponse = {
2767
3194
  operationType: OperationType;
2768
3195
  operationStatus: OperationStatus;
2769
3196
  message?: string;
2770
- metadata: TransactionExportMetadata;
3197
+ metadata?: TransactionExportMetadata;
2771
3198
  createdAtTimestamp: number;
2772
3199
  updatedAtTimestamp: number;
2773
3200
  };
@@ -2800,6 +3227,15 @@ declare class OperationsService {
2800
3227
  }): CancelablePromise<OperationStatusResponse>;
2801
3228
  }
2802
3229
 
3230
+ type Blockchain = {
3231
+ createBlockTimestamp: number;
3232
+ createBlockNumber: string;
3233
+ blockchainId: string;
3234
+ vmId: string;
3235
+ subnetId: string;
3236
+ blockchainName: string;
3237
+ };
3238
+
2803
3239
  declare enum BlockchainIds {
2804
3240
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2805
3241
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
@@ -2831,16 +3267,31 @@ type DelegatorsDetails = {
2831
3267
  };
2832
3268
 
2833
3269
  type StakingDistribution = {
3270
+ /**
3271
+ * AvalancheGo version for the validator node.
3272
+ */
2834
3273
  version: string;
3274
+ /**
3275
+ * The total amount staked by validators using this version.
3276
+ */
2835
3277
  amountStaked: string;
3278
+ /**
3279
+ * The number of validators using this version.
3280
+ */
2836
3281
  validatorCount: number;
2837
3282
  };
2838
3283
 
2839
3284
  type ValidatorsDetails = {
2840
3285
  validatorCount: number;
2841
3286
  totalAmountStaked: string;
3287
+ /**
3288
+ * Total potential rewards from currently active validations and delegations.
3289
+ */
2842
3290
  estimatedAnnualStakingReward: string;
2843
3291
  stakingDistributionByVersion: Array<StakingDistribution>;
3292
+ /**
3293
+ * Ratio of total active stake amount to the current supply.
3294
+ */
2844
3295
  stakingRatio: string;
2845
3296
  };
2846
3297
 
@@ -2849,15 +3300,6 @@ type GetNetworkDetailsResponse = {
2849
3300
  delegatorDetails: DelegatorsDetails;
2850
3301
  };
2851
3302
 
2852
- type Blockchain = {
2853
- createBlockTimestamp: number;
2854
- createBlockNumber: string;
2855
- blockchainId: string;
2856
- vmId: string;
2857
- subnetId: string;
2858
- blockchainName: string;
2859
- };
2860
-
2861
3303
  type ListBlockchainsResponse = {
2862
3304
  /**
2863
3305
  * 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.
@@ -2892,7 +3334,13 @@ type CompletedDelegatorDetails = {
2892
3334
  delegationFee: string;
2893
3335
  startTimestamp: number;
2894
3336
  endTimestamp: number;
3337
+ /**
3338
+ * Total rewards distributed for the successful delegation.
3339
+ */
2895
3340
  grossReward: string;
3341
+ /**
3342
+ * Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3343
+ */
2896
3344
  netReward: string;
2897
3345
  delegationStatus: CompletedDelegatorDetails.delegationStatus;
2898
3346
  };
@@ -2910,7 +3358,13 @@ type PendingDelegatorDetails = {
2910
3358
  delegationFee: string;
2911
3359
  startTimestamp: number;
2912
3360
  endTimestamp: number;
3361
+ /**
3362
+ * Estimated total rewards that will be distributed for the successful delegation.
3363
+ */
2913
3364
  estimatedGrossReward: string;
3365
+ /**
3366
+ * Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3367
+ */
2914
3368
  estimatedNetReward: string;
2915
3369
  delegationStatus: PendingDelegatorDetails.delegationStatus;
2916
3370
  };
@@ -2941,6 +3395,10 @@ type L1ValidatorDetailsFull = {
2941
3395
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
2942
3396
  */
2943
3397
  validationId: string;
3398
+ /**
3399
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3400
+ */
3401
+ validationIdHex: string;
2944
3402
  nodeId: string;
2945
3403
  subnetId: string;
2946
3404
  /**
@@ -2977,10 +3435,6 @@ type ListL1ValidatorsResponse = {
2977
3435
  validators: Array<L1ValidatorDetailsFull>;
2978
3436
  };
2979
3437
 
2980
- type BlockchainInfo = {
2981
- blockchainId: string;
2982
- };
2983
-
2984
3438
  type L1ValidatorManagerDetails = {
2985
3439
  blockchainId: string;
2986
3440
  contractAddress: string;
@@ -3036,7 +3490,7 @@ type Subnet = {
3036
3490
  * L1 validator manager details.
3037
3491
  */
3038
3492
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3039
- blockchains: Array<BlockchainInfo>;
3493
+ blockchains: Array<Blockchain>;
3040
3494
  };
3041
3495
 
3042
3496
  type ListSubnetsResponse = {
@@ -3052,6 +3506,29 @@ type BlsCredentials = {
3052
3506
  proofOfPossession: string;
3053
3507
  };
3054
3508
 
3509
+ type Geolocation = {
3510
+ /**
3511
+ * The name of the validator node.
3512
+ */
3513
+ city: string;
3514
+ /**
3515
+ * The city of the validator node.
3516
+ */
3517
+ country: string;
3518
+ /**
3519
+ * The country code of the validator node.
3520
+ */
3521
+ countryCode: string;
3522
+ /**
3523
+ * The latitude of the validator node.
3524
+ */
3525
+ latitude: number;
3526
+ /**
3527
+ * The longitude of the validator node.
3528
+ */
3529
+ longitude: number;
3530
+ };
3531
+
3055
3532
  type Rewards = {
3056
3533
  validationRewardAmount: string;
3057
3534
  delegationRewardAmount: string;
@@ -3083,6 +3560,9 @@ type ActiveValidatorDetails = {
3083
3560
  nodeId: string;
3084
3561
  subnetId: string;
3085
3562
  amountStaked: string;
3563
+ /**
3564
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3565
+ */
3086
3566
  delegationFee?: string;
3087
3567
  startTimestamp: number;
3088
3568
  endTimestamp: number;
@@ -3090,15 +3570,37 @@ type ActiveValidatorDetails = {
3090
3570
  * Present for AddPermissionlessValidatorTx
3091
3571
  */
3092
3572
  blsCredentials?: BlsCredentials;
3573
+ /**
3574
+ * The percentage of this validator's stake amount to the total active stake.
3575
+ */
3093
3576
  stakePercentage: number;
3577
+ /**
3578
+ * The number of delegators linked to the validator.
3579
+ */
3094
3580
  delegatorCount: number;
3581
+ /**
3582
+ * The total amount in nAVAX delegated to the validator.
3583
+ */
3095
3584
  amountDelegated?: string;
3585
+ /**
3586
+ * The validator's uptime percentage, as observed by our internal node and measured over time.
3587
+ */
3096
3588
  uptimePerformance: number;
3097
3589
  avalancheGoVersion?: string;
3590
+ /**
3591
+ * The amount of stake in nAVAX that can be delegated to this validator.
3592
+ */
3098
3593
  delegationCapacity?: string;
3594
+ /**
3595
+ * Estimated rewards for the validator if the validation is successful.
3596
+ */
3099
3597
  potentialRewards: Rewards;
3100
3598
  validationStatus: ActiveValidatorDetails.validationStatus;
3101
3599
  validatorHealth: ValidatorHealthDetails;
3600
+ /**
3601
+ * The geographical location of the validator node, if available.
3602
+ */
3603
+ geolocation: Geolocation | null;
3102
3604
  };
3103
3605
  declare namespace ActiveValidatorDetails {
3104
3606
  enum validationStatus {
@@ -3111,6 +3613,9 @@ type CompletedValidatorDetails = {
3111
3613
  nodeId: string;
3112
3614
  subnetId: string;
3113
3615
  amountStaked: string;
3616
+ /**
3617
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3618
+ */
3114
3619
  delegationFee?: string;
3115
3620
  startTimestamp: number;
3116
3621
  endTimestamp: number;
@@ -3134,6 +3639,9 @@ type PendingValidatorDetails = {
3134
3639
  nodeId: string;
3135
3640
  subnetId: string;
3136
3641
  amountStaked: string;
3642
+ /**
3643
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3644
+ */
3137
3645
  delegationFee?: string;
3138
3646
  startTimestamp: number;
3139
3647
  endTimestamp: number;
@@ -3154,6 +3662,9 @@ type RemovedValidatorDetails = {
3154
3662
  nodeId: string;
3155
3663
  subnetId: string;
3156
3664
  amountStaked: string;
3665
+ /**
3666
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3667
+ */
3157
3668
  delegationFee?: string;
3158
3669
  startTimestamp: number;
3159
3670
  endTimestamp: number;
@@ -3161,7 +3672,13 @@ type RemovedValidatorDetails = {
3161
3672
  * Present for AddPermissionlessValidatorTx
3162
3673
  */
3163
3674
  blsCredentials?: BlsCredentials;
3675
+ /**
3676
+ * The transaction hash that removed the permissioned subnet validator.
3677
+ */
3164
3678
  removeTxHash: string;
3679
+ /**
3680
+ * The timestamp of the transaction that removed the permissioned subnet validator.
3681
+ */
3165
3682
  removeTimestamp: number;
3166
3683
  validationStatus: RemovedValidatorDetails.validationStatus;
3167
3684
  };
@@ -3320,6 +3837,22 @@ declare class PrimaryNetworkService {
3320
3837
  */
3321
3838
  sortOrder?: SortOrder;
3322
3839
  }): CancelablePromise<ListBlockchainsResponse>;
3840
+ /**
3841
+ * Get blockchain details by ID
3842
+ * Get details of the blockchain registered on the network.
3843
+ * @returns Blockchain Successful response
3844
+ * @throws ApiError
3845
+ */
3846
+ getBlockchainById({ blockchainId, network, }: {
3847
+ /**
3848
+ * The blockchain ID of the blockchain to retrieve.
3849
+ */
3850
+ blockchainId: string;
3851
+ /**
3852
+ * Either mainnet or testnet/fuji.
3853
+ */
3854
+ network: Network;
3855
+ }): CancelablePromise<Blockchain>;
3323
3856
  /**
3324
3857
  * List subnets
3325
3858
  * Lists all subnets registered on the network.
@@ -3524,7 +4057,7 @@ declare class PrimaryNetworkService {
3524
4057
  /**
3525
4058
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3526
4059
  */
3527
- l1ValidationId?: any;
4060
+ l1ValidationId?: string;
3528
4061
  includeInactiveL1Validators?: boolean;
3529
4062
  /**
3530
4063
  * A valid node ID in format 'NodeID-HASH'.
@@ -4307,6 +4840,10 @@ type L1ValidatorDetailsTransaction = {
4307
4840
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4308
4841
  */
4309
4842
  validationId: string;
4843
+ /**
4844
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
4845
+ */
4846
+ validationIdHex: string;
4310
4847
  nodeId: string;
4311
4848
  subnetId: string;
4312
4849
  /**
@@ -4318,7 +4855,7 @@ type L1ValidatorDetailsTransaction = {
4318
4855
  */
4319
4856
  remainingBalance: number;
4320
4857
  /**
4321
- * The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4858
+ * 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
4322
4859
  */
4323
4860
  balanceChange?: number;
4324
4861
  blsCredentials?: Record<string, any>;
@@ -4348,6 +4885,9 @@ declare enum PChainTransactionType {
4348
4885
  UNKNOWN = "UNKNOWN"
4349
4886
  }
4350
4887
 
4888
+ /**
4889
+ * Indicates whether the UTXO is staked or transferable
4890
+ */
4351
4891
  declare enum UtxoType {
4352
4892
  STAKE = "STAKE",
4353
4893
  TRANSFER = "TRANSFER"
@@ -4385,16 +4925,43 @@ type PChainUtxo = {
4385
4925
  assetId: string;
4386
4926
  blockNumber: string;
4387
4927
  blockTimestamp: number;
4928
+ /**
4929
+ * Block height in which the transaction consuming this UTXO was included
4930
+ */
4388
4931
  consumingBlockNumber?: string;
4932
+ /**
4933
+ * Timestamp in seconds at which this UTXO is used in a consuming transaction
4934
+ */
4389
4935
  consumingBlockTimestamp?: number;
4936
+ /**
4937
+ * Timestamp in seconds after which this UTXO can be consumed
4938
+ */
4390
4939
  platformLocktime?: number;
4940
+ /**
4941
+ * The index of the UTXO in the transaction
4942
+ */
4391
4943
  outputIndex: number;
4392
4944
  rewardType?: RewardType;
4945
+ /**
4946
+ * Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
4947
+ */
4393
4948
  stakeableLocktime?: number;
4394
4949
  staked?: boolean;
4395
- threshold?: number;
4950
+ /**
4951
+ * The minimum number of signatures required to spend this UTXO
4952
+ */
4953
+ threshold?: number;
4954
+ /**
4955
+ * The hash of the transaction that created this UTXO
4956
+ */
4396
4957
  txHash: string;
4958
+ /**
4959
+ * Timestamp in seconds after which the staked UTXO will be unlocked.
4960
+ */
4397
4961
  utxoEndTimestamp?: number;
4962
+ /**
4963
+ * Timestamp in seconds at which the staked UTXO was locked.
4964
+ */
4398
4965
  utxoStartTimestamp?: number;
4399
4966
  utxoType: UtxoType;
4400
4967
  };
@@ -4409,9 +4976,18 @@ type PChainTransaction = {
4409
4976
  * The block finality timestamp.
4410
4977
  */
4411
4978
  blockTimestamp: number;
4979
+ /**
4980
+ * The height of the block in which the transaction was included
4981
+ */
4412
4982
  blockNumber: string;
4413
4983
  blockHash: string;
4984
+ /**
4985
+ * The consumed UTXOs of the transaction
4986
+ */
4414
4987
  consumedUtxos: Array<PChainUtxo>;
4988
+ /**
4989
+ * The newly created UTXOs of the transaction
4990
+ */
4415
4991
  emittedUtxos: Array<PChainUtxo>;
4416
4992
  /**
4417
4993
  * Source chain for an atomic transaction.
@@ -4422,11 +4998,11 @@ type PChainTransaction = {
4422
4998
  */
4423
4999
  destinationChain?: string;
4424
5000
  /**
4425
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5001
+ * 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
4426
5002
  */
4427
5003
  value: Array<AssetAmount>;
4428
5004
  /**
4429
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5005
+ * 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
4430
5006
  */
4431
5007
  amountBurned: Array<AssetAmount>;
4432
5008
  /**
@@ -4434,7 +5010,7 @@ type PChainTransaction = {
4434
5010
  */
4435
5011
  amountStaked: Array<AssetAmount>;
4436
5012
  /**
4437
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5013
+ * 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.
4438
5014
  */
4439
5015
  amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4440
5016
  /**
@@ -4446,11 +5022,11 @@ type PChainTransaction = {
4446
5022
  */
4447
5023
  endTimestamp?: number;
4448
5024
  /**
4449
- * Present for AddValidatorTx, AddPermissionlessValidatorTx
5025
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
4450
5026
  */
4451
5027
  delegationFeePercent?: string;
4452
5028
  /**
4453
- * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5029
+ * The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4454
5030
  */
4455
5031
  nodeId?: string;
4456
5032
  /**
@@ -4466,14 +5042,17 @@ type PChainTransaction = {
4466
5042
  */
4467
5043
  l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
4468
5044
  /**
4469
- * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5045
+ * Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4470
5046
  */
4471
5047
  estimatedReward?: string;
5048
+ /**
5049
+ * Reward transaction hash for the completed validations or delegations
5050
+ */
4472
5051
  rewardTxHash?: string;
4473
5052
  rewardAddresses?: Array<string>;
4474
5053
  memo?: string;
4475
5054
  /**
4476
- * Present for RewardValidatorTx
5055
+ * Staking transaction corresponding to the RewardValidatorTx
4477
5056
  */
4478
5057
  stakingTxHash?: string;
4479
5058
  /**
@@ -4481,7 +5060,7 @@ type PChainTransaction = {
4481
5060
  */
4482
5061
  subnetOwnershipInfo?: SubnetOwnershipInfo;
4483
5062
  /**
4484
- * Present for AddPermissionlessValidatorTx
5063
+ * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4485
5064
  */
4486
5065
  blsCredentials?: BlsCredentials;
4487
5066
  };
@@ -5027,6 +5606,22 @@ declare class SignatureAggregatorService {
5027
5606
  network: Network;
5028
5607
  requestBody: SignatureAggregatorRequest;
5029
5608
  }): CancelablePromise<SignatureAggregationResponse>;
5609
+ /**
5610
+ * Get Aggregated Signatures
5611
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
5612
+ * @returns SignatureAggregationResponse Successful response
5613
+ * @throws ApiError
5614
+ */
5615
+ getAggregatedSignatures({ network, txHash, }: {
5616
+ /**
5617
+ * Either mainnet or testnet/fuji.
5618
+ */
5619
+ network: Network;
5620
+ /**
5621
+ * A primary network (P or X chain) transaction hash.
5622
+ */
5623
+ txHash: string;
5624
+ }): CancelablePromise<SignatureAggregationResponse>;
5030
5625
  }
5031
5626
 
5032
5627
  type TeleporterDestinationTransaction = {
@@ -5167,8 +5762,10 @@ declare class TeleporterService {
5167
5762
  readonly httpRequest: BaseHttpRequest;
5168
5763
  constructor(httpRequest: BaseHttpRequest);
5169
5764
  /**
5170
- * Get a teleporter message
5171
- * Gets a teleporter message by message ID.
5765
+ * @deprecated
5766
+ * **[Deprecated]** Gets a teleporter message by message ID.
5767
+ *
5768
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
5172
5769
  * @returns any Successful response
5173
5770
  * @throws ApiError
5174
5771
  */
@@ -5179,8 +5776,10 @@ declare class TeleporterService {
5179
5776
  messageId: string;
5180
5777
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
5181
5778
  /**
5182
- * List teleporter messages
5183
- * Lists teleporter messages. Ordered by timestamp in descending order.
5779
+ * @deprecated
5780
+ * **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
5781
+ *
5782
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
5184
5783
  * @returns ListTeleporterMessagesResponse Successful response
5185
5784
  * @throws ApiError
5186
5785
  */
@@ -5219,8 +5818,10 @@ declare class TeleporterService {
5219
5818
  network?: Network;
5220
5819
  }): CancelablePromise<ListTeleporterMessagesResponse>;
5221
5820
  /**
5222
- * List teleporter messages by address
5223
- * Lists teleporter messages by address. Ordered by timestamp in descending order.
5821
+ * @deprecated
5822
+ * **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
5823
+ *
5824
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
5224
5825
  * @returns ListTeleporterMessagesResponse Successful response
5225
5826
  * @throws ApiError
5226
5827
  */
@@ -5262,15 +5863,16 @@ type AddressActivityMetadata = {
5262
5863
  eventSignatures?: Array<string>;
5263
5864
  };
5264
5865
 
5265
- declare enum EventType {
5266
- ADDRESS_ACTIVITY = "address_activity"
5866
+ declare enum PrimaryNetworkType {
5867
+ MAINNET = "mainnet",
5868
+ FUJI = "fuji"
5267
5869
  }
5268
5870
 
5269
- type CreateWebhookRequest = {
5871
+ type EVMAddressActivityRequest = {
5872
+ eventType: EVMAddressActivityRequest.eventType;
5270
5873
  url: string;
5271
5874
  chainId: string;
5272
- eventType: EventType;
5273
- metadata: AddressActivityMetadata;
5875
+ network?: PrimaryNetworkType;
5274
5876
  name?: string;
5275
5877
  description?: string;
5276
5878
  /**
@@ -5281,25 +5883,34 @@ type CreateWebhookRequest = {
5281
5883
  * Whether to include logs in the webhook payload.
5282
5884
  */
5283
5885
  includeLogs?: boolean;
5886
+ metadata: AddressActivityMetadata;
5284
5887
  };
5888
+ declare namespace EVMAddressActivityRequest {
5889
+ enum eventType {
5890
+ ADDRESS_ACTIVITY = "address_activity"
5891
+ }
5892
+ }
5285
5893
 
5286
- type ListWebhookAddressesResponse = {
5287
- /**
5288
- * 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.
5289
- */
5290
- nextPageToken?: string;
5291
- addresses: Array<string>;
5292
- totalAddresses: number;
5293
- };
5894
+ declare enum EventType {
5895
+ ADDRESS_ACTIVITY = "address_activity",
5896
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
5897
+ VALIDATOR_ACTIVITY = "validator_activity"
5898
+ }
5294
5899
 
5295
5900
  declare enum WebhookStatusType {
5296
5901
  ACTIVE = "active",
5297
5902
  INACTIVE = "inactive"
5298
5903
  }
5299
5904
 
5300
- type WebhookResponse = {
5905
+ type EVMAddressActivityResponse = {
5301
5906
  id: string;
5302
5907
  eventType: EventType;
5908
+ url: string;
5909
+ chainId: string;
5910
+ status: WebhookStatusType;
5911
+ createdAt: number;
5912
+ name: string;
5913
+ description: string;
5303
5914
  metadata: AddressActivityMetadata;
5304
5915
  /**
5305
5916
  * Whether to include traces in the webhook payload.
@@ -5309,12 +5920,109 @@ type WebhookResponse = {
5309
5920
  * Whether to include logs in the webhook payload.
5310
5921
  */
5311
5922
  includeLogs?: boolean;
5923
+ };
5924
+
5925
+ type ListWebhookAddressesResponse = {
5926
+ /**
5927
+ * 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.
5928
+ */
5929
+ nextPageToken?: string;
5930
+ addresses: Array<string>;
5931
+ totalAddresses: number;
5932
+ };
5933
+
5934
+ /**
5935
+ * The type of key for platform activity depending on the event type
5936
+ */
5937
+ declare enum PlatformActivityKeyType {
5938
+ ADDRESSES = "addresses",
5939
+ NODE_ID = "nodeId",
5940
+ SUBNET_ID = "subnetId"
5941
+ }
5942
+
5943
+ /**
5944
+ * Array of address activity sub-event types
5945
+ */
5946
+ declare enum PlatformAddressActivitySubEventType {
5947
+ BALANCE_CHANGE_PLATFORM = "balance_change_platform",
5948
+ BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
5949
+ REWARD_DISTRIBUTION = "reward_distribution"
5950
+ }
5951
+
5952
+ type PlatformActivitySubEvents = {
5953
+ /**
5954
+ * Array of validator activity sub-event types
5955
+ */
5956
+ validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
5957
+ addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
5958
+ };
5959
+
5960
+ /**
5961
+ * Type of balance to monitor
5962
+ */
5963
+ declare enum CommonBalanceType {
5964
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
5965
+ UNLOCKED_STAKED = "unlockedStaked",
5966
+ LOCKED_PLATFORM = "lockedPlatform",
5967
+ LOCKED_STAKEABLE = "lockedStakeable",
5968
+ LOCKED_STAKED = "lockedStaked",
5969
+ PENDING_STAKED = "pendingStaked",
5970
+ UNLOCKED = "unlocked",
5971
+ LOCKED = "locked",
5972
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
5973
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5974
+ }
5975
+
5976
+ type PlatformBalanceThresholdFilter = {
5977
+ balanceType: CommonBalanceType;
5978
+ /**
5979
+ * Threshold for balance corresponding to balanceType in nAVAX
5980
+ */
5981
+ balanceThreshold: string;
5982
+ };
5983
+
5984
+ type PlatformActivityMetadata = {
5985
+ keyType: PlatformActivityKeyType;
5986
+ /**
5987
+ * 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
5988
+ */
5989
+ keys: Array<string>;
5990
+ /**
5991
+ * Sub-events to monitor
5992
+ */
5993
+ subEvents?: PlatformActivitySubEvents;
5994
+ /**
5995
+ * Array of hexadecimal strings of the event signatures.
5996
+ */
5997
+ eventSignatures?: Array<string>;
5998
+ /**
5999
+ * Array of node IDs to filter the events
6000
+ */
6001
+ nodeIds?: Array<string>;
6002
+ /**
6003
+ * Array of subnet IDs to filter the events
6004
+ */
6005
+ subnetIds?: Array<string>;
6006
+ /**
6007
+ * Balance threshold filter
6008
+ */
6009
+ balanceThresholdFilter?: PlatformBalanceThresholdFilter;
6010
+ /**
6011
+ * L1 validator fee balance threshold in nAVAX
6012
+ */
6013
+ l1ValidatorFeeBalanceThreshold?: string;
6014
+ };
6015
+
6016
+ type PlatformActivityResponse = {
6017
+ id: string;
6018
+ eventType: EventType;
5312
6019
  url: string;
5313
6020
  chainId: string;
5314
6021
  status: WebhookStatusType;
5315
6022
  createdAt: number;
5316
6023
  name: string;
5317
6024
  description: string;
6025
+ metadata: PlatformActivityMetadata;
5318
6026
  };
5319
6027
 
5320
6028
  type ListWebhooksResponse = {
@@ -5322,9 +6030,36 @@ type ListWebhooksResponse = {
5322
6030
  * 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.
5323
6031
  */
5324
6032
  nextPageToken?: string;
5325
- webhooks: Array<WebhookResponse>;
6033
+ webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5326
6034
  };
5327
6035
 
6036
+ type PlatformActivityRequest = {
6037
+ eventType: PlatformActivityRequest.eventType;
6038
+ url: string;
6039
+ chainId: string;
6040
+ network?: PrimaryNetworkType;
6041
+ name?: string;
6042
+ description?: string;
6043
+ /**
6044
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6045
+ */
6046
+ includeInternalTxs?: boolean;
6047
+ /**
6048
+ * Whether to include logs in the webhook payload.
6049
+ */
6050
+ includeLogs?: boolean;
6051
+ /**
6052
+ * Metadata for platform activity
6053
+ */
6054
+ metadata: PlatformActivityMetadata;
6055
+ };
6056
+ declare namespace PlatformActivityRequest {
6057
+ enum eventType {
6058
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
6059
+ VALIDATOR_ACTIVITY = "validator_activity"
6060
+ }
6061
+ }
6062
+
5328
6063
  type SharedSecretsResponse = {
5329
6064
  secret: string;
5330
6065
  };
@@ -5352,12 +6087,12 @@ declare class WebhooksService {
5352
6087
  /**
5353
6088
  * Create a webhook
5354
6089
  * Create a new webhook.
5355
- * @returns WebhookResponse Successful response
6090
+ * @returns any Successful response
5356
6091
  * @throws ApiError
5357
6092
  */
5358
6093
  createWebhook({ requestBody, }: {
5359
- requestBody: CreateWebhookRequest;
5360
- }): CancelablePromise<WebhookResponse>;
6094
+ requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
6095
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5361
6096
  /**
5362
6097
  * List webhooks
5363
6098
  * Lists webhooks for the user.
@@ -5381,7 +6116,7 @@ declare class WebhooksService {
5381
6116
  /**
5382
6117
  * Get a webhook by ID
5383
6118
  * Retrieves a webhook by ID.
5384
- * @returns WebhookResponse Successful response
6119
+ * @returns any Successful response
5385
6120
  * @throws ApiError
5386
6121
  */
5387
6122
  getWebhook({ id, }: {
@@ -5389,11 +6124,11 @@ declare class WebhooksService {
5389
6124
  * The webhook identifier.
5390
6125
  */
5391
6126
  id: string;
5392
- }): CancelablePromise<WebhookResponse>;
6127
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5393
6128
  /**
5394
6129
  * Deactivate a webhook
5395
6130
  * Deactivates a webhook by ID.
5396
- * @returns WebhookResponse Successful response
6131
+ * @returns any Successful response
5397
6132
  * @throws ApiError
5398
6133
  */
5399
6134
  deactivateWebhook({ id, }: {
@@ -5401,11 +6136,11 @@ declare class WebhooksService {
5401
6136
  * The webhook identifier.
5402
6137
  */
5403
6138
  id: string;
5404
- }): CancelablePromise<WebhookResponse>;
6139
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5405
6140
  /**
5406
6141
  * Update a webhook
5407
6142
  * Updates an existing webhook.
5408
- * @returns WebhookResponse Successful response
6143
+ * @returns any Successful response
5409
6144
  * @throws ApiError
5410
6145
  */
5411
6146
  updateWebhook({ id, requestBody, }: {
@@ -5414,14 +6149,14 @@ declare class WebhooksService {
5414
6149
  */
5415
6150
  id: string;
5416
6151
  requestBody: UpdateWebhookRequest;
5417
- }): CancelablePromise<WebhookResponse>;
6152
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5418
6153
  /**
5419
- * Generate a shared secret
5420
- * Generates a new shared secret.
6154
+ * Generate or rotate a shared secret
6155
+ * Generates a new shared secret or rotate an existing one.
5421
6156
  * @returns SharedSecretsResponse Successful response
5422
6157
  * @throws ApiError
5423
6158
  */
5424
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
6159
+ generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5425
6160
  /**
5426
6161
  * Get a shared secret
5427
6162
  * Get a previously generated shared secret.
@@ -5430,9 +6165,9 @@ declare class WebhooksService {
5430
6165
  */
5431
6166
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5432
6167
  /**
5433
- * Add addresses to webhook
5434
- * Add addresses to webhook.
5435
- * @returns WebhookResponse Successful response
6168
+ * Add addresses to EVM activity webhook
6169
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6170
+ * @returns EVMAddressActivityResponse Successful response
5436
6171
  * @throws ApiError
5437
6172
  */
5438
6173
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5441,11 +6176,11 @@ declare class WebhooksService {
5441
6176
  */
5442
6177
  id: string;
5443
6178
  requestBody: AddressesChangeRequest;
5444
- }): CancelablePromise<WebhookResponse>;
6179
+ }): CancelablePromise<EVMAddressActivityResponse>;
5445
6180
  /**
5446
- * Remove addresses from webhook
5447
- * Remove addresses from webhook.
5448
- * @returns WebhookResponse Successful response
6181
+ * Remove addresses from EVM activity webhook
6182
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6183
+ * @returns EVMAddressActivityResponse Successful response
5449
6184
  * @throws ApiError
5450
6185
  */
5451
6186
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5454,10 +6189,10 @@ declare class WebhooksService {
5454
6189
  */
5455
6190
  id: string;
5456
6191
  requestBody: AddressesChangeRequest;
5457
- }): CancelablePromise<WebhookResponse>;
6192
+ }): CancelablePromise<EVMAddressActivityResponse>;
5458
6193
  /**
5459
- * List adresses by webhook
5460
- * List adresses by webhook.
6194
+ * List adresses by EVM activity webhooks
6195
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5461
6196
  * @returns ListWebhookAddressesResponse Successful response
5462
6197
  * @throws ApiError
5463
6198
  */
@@ -5487,7 +6222,9 @@ declare class Glacier {
5487
6222
  readonly evmContracts: EvmContractsService;
5488
6223
  readonly evmTransactions: EvmTransactionsService;
5489
6224
  readonly healthCheck: HealthCheckService;
6225
+ readonly interchainMessaging: InterchainMessagingService;
5490
6226
  readonly nfTs: NfTsService;
6227
+ readonly notifications: NotificationsService;
5491
6228
  readonly operations: OperationsService;
5492
6229
  readonly primaryNetwork: PrimaryNetworkService;
5493
6230
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -5520,6 +6257,17 @@ declare class ApiError extends Error {
5520
6257
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
5521
6258
  }
5522
6259
 
6260
+ type AccessListData = {
6261
+ /**
6262
+ * Access Address
6263
+ */
6264
+ accessAddresses: string;
6265
+ /**
6266
+ * Storage keys
6267
+ */
6268
+ storageKeys: Array<string>;
6269
+ };
6270
+
5523
6271
  type BadGateway = {
5524
6272
  /**
5525
6273
  * The error message describing the reason for the exception
@@ -5554,6 +6302,76 @@ type DataListChainsResponse = {
5554
6302
  chains: Array<ChainInfo>;
5555
6303
  };
5556
6304
 
6305
+ type ERCToken = {
6306
+ /**
6307
+ * Token contract address
6308
+ */
6309
+ address: string;
6310
+ /**
6311
+ * Token name
6312
+ */
6313
+ name: string;
6314
+ /**
6315
+ * Token symbol
6316
+ */
6317
+ symbol: string;
6318
+ /**
6319
+ * Token decimals
6320
+ */
6321
+ decimals: number;
6322
+ /**
6323
+ * Value including decimals
6324
+ */
6325
+ valueWithDecimals: string;
6326
+ };
6327
+
6328
+ type ERCTransfer = {
6329
+ /**
6330
+ * Transaction hash
6331
+ */
6332
+ transactionHash: string;
6333
+ /**
6334
+ * Transfer type
6335
+ */
6336
+ type: string;
6337
+ /**
6338
+ * Sender address
6339
+ */
6340
+ from: string;
6341
+ /**
6342
+ * Recipient address
6343
+ */
6344
+ to: string;
6345
+ /**
6346
+ * Amount transferred
6347
+ */
6348
+ value: string;
6349
+ /**
6350
+ * Token Id
6351
+ */
6352
+ tokenId?: string;
6353
+ /**
6354
+ * Block timestamp
6355
+ */
6356
+ blockTimestamp: number;
6357
+ /**
6358
+ * Log index
6359
+ */
6360
+ logIndex: number;
6361
+ /**
6362
+ * erc20 Token details
6363
+ */
6364
+ erc20Token?: ERCToken;
6365
+ /**
6366
+ * erc721 Token details
6367
+ */
6368
+ erc721Token?: ERCToken;
6369
+ /**
6370
+ * erc1155 Token details
6371
+ */
6372
+ erc1155Token?: ERCToken;
6373
+ };
6374
+
5557
6375
  type Forbidden = {
5558
6376
  /**
5559
6377
  * The error message describing the reason for the exception
@@ -5584,6 +6402,64 @@ type InternalServerError = {
5584
6402
  error: string;
5585
6403
  };
5586
6404
 
6405
+ type Log = {
6406
+ /**
6407
+ * Contract address
6408
+ */
6409
+ address: string;
6410
+ /**
6411
+ * First topic
6412
+ */
6413
+ topic0: string;
6414
+ /**
6415
+ * Second topic (optional)
6416
+ */
6417
+ topic1?: string;
6418
+ /**
6419
+ * Third topic (optional)
6420
+ */
6421
+ topic2?: string;
6422
+ /**
6423
+ * Fourth topic (optional)
6424
+ */
6425
+ topic3?: string;
6426
+ /**
6427
+ * Event data
6428
+ */
6429
+ data: string;
6430
+ /**
6431
+ * Transaction index
6432
+ */
6433
+ transactionIndex: number;
6434
+ /**
6435
+ * Log index
6436
+ */
6437
+ logIndex: number;
6438
+ /**
6439
+ * Indicates if the log was removed
6440
+ */
6441
+ removed: boolean;
6442
+ };
6443
+
6444
+ type NetworkTokenInfo = {
6445
+ /**
6446
+ * Token name
6447
+ */
6448
+ tokenName?: string;
6449
+ /**
6450
+ * Token symbol
6451
+ */
6452
+ tokenSymbol?: string;
6453
+ /**
6454
+ * Token decimals
6455
+ */
6456
+ tokenDecimals?: number;
6457
+ /**
6458
+ * Value including decimals
6459
+ */
6460
+ valueWithDecimals?: string;
6461
+ };
6462
+
5587
6463
  type NextPageToken = {
5588
6464
  /**
5589
6465
  * 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.
@@ -5636,6 +6512,132 @@ type TooManyRequests = {
5636
6512
  error: string;
5637
6513
  };
5638
6514
 
6515
+ type Transaction = {
6516
+ /**
6517
+ * Block hash of the transaction
6518
+ */
6519
+ blockHash: string;
6520
+ /**
6521
+ * Block number of the transaction
6522
+ */
6523
+ blockNumber: string;
6524
+ /**
6525
+ * Sender address
6526
+ */
6527
+ from: string;
6528
+ /**
6529
+ * Gas limit for the transaction
6530
+ */
6531
+ gas: string;
6532
+ /**
6533
+ * Gas price used
6534
+ */
6535
+ gasPrice: string;
6536
+ /**
6537
+ * Maximum fee per gas
6538
+ */
6539
+ maxFeePerGas: string;
6540
+ /**
6541
+ * Maximum priority fee per gas
6542
+ */
6543
+ maxPriorityFeePerGas: string;
6544
+ /**
6545
+ * Transaction hash
6546
+ */
6547
+ txHash: string;
6548
+ /**
6549
+ * Transaction status
6550
+ */
6551
+ txStatus: string;
6552
+ /**
6553
+ * Input data
6554
+ */
6555
+ input: string;
6556
+ /**
6557
+ * Nonce value
6558
+ */
6559
+ nonce: string;
6560
+ /**
6561
+ * Recipient address
6562
+ */
6563
+ to: string;
6564
+ /**
6565
+ * Transaction index
6566
+ */
6567
+ transactionIndex: number;
6568
+ /**
6569
+ * Value transferred in the transaction
6570
+ */
6571
+ value: string;
6572
+ /**
6573
+ * Transaction type
6574
+ */
6575
+ type: number;
6576
+ /**
6577
+ * Chain ID of the network
6578
+ */
6579
+ chainId: string;
6580
+ /**
6581
+ * Cumulative gas used
6582
+ */
6583
+ receiptCumulativeGasUsed: string;
6584
+ /**
6585
+ * Gas used
6586
+ */
6587
+ receiptGasUsed: string;
6588
+ /**
6589
+ * Effective gas price
6590
+ */
6591
+ receiptEffectiveGasPrice: string;
6592
+ /**
6593
+ * Receipt root
6594
+ */
6595
+ receiptRoot: string;
6596
+ /**
6597
+ * Block timestamp
6598
+ */
6599
+ blockTimestamp: number;
6600
+ /**
6601
+ * Contract address (optional)
6602
+ */
6603
+ contractAddress?: string;
6604
+ /**
6605
+ * ERC20 transfers
6606
+ */
6607
+ erc20Transfers: Array<ERCTransfer>;
6608
+ /**
6609
+ * ERC721 transfers
6610
+ */
6611
+ erc721Transfers: Array<ERCTransfer>;
6612
+ /**
6613
+ * ERC1155 transfers
6614
+ */
6615
+ erc1155Transfers: Array<ERCTransfer>;
6616
+ /**
6617
+ * Internal transactions (optional)
6618
+ */
6619
+ internalTransactions?: Array<InternalTransaction>;
6620
+ /**
6621
+ * Access list (optional)
6622
+ */
6623
+ accessList?: Array<AccessListData>;
6624
+ /**
6625
+ * Network token info (optional)
6626
+ */
6627
+ networkToken?: NetworkTokenInfo;
6628
+ };
6629
+
6630
+ type TransactionEvent = {
6631
+ /**
6632
+ * Transaction details
6633
+ */
6634
+ transaction: Transaction;
6635
+ /**
6636
+ * Array of log events
6637
+ */
6638
+ logs?: Array<Log>;
6639
+ };
6640
+
5639
6641
  type Unauthorized = {
5640
6642
  /**
5641
6643
  * The error message describing the reason for the exception
@@ -5651,4 +6653,31 @@ type Unauthorized = {
5651
6653
  error: string;
5652
6654
  };
5653
6655
 
5654
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, 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, 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 };
6656
+ type WebhookAddressActivityResponse = {
6657
+ /**
6658
+ * Webhook ID
6659
+ */
6660
+ webhookId: string;
6661
+ /**
6662
+ * Event type
6663
+ */
6664
+ eventType: WebhookAddressActivityResponse.eventType;
6665
+ /**
6666
+ * Message ID
6667
+ */
6668
+ messageId: string;
6669
+ /**
6670
+ * Event details
6671
+ */
6672
+ event: TransactionEvent;
6673
+ };
6674
+ declare namespace WebhookAddressActivityResponse {
6675
+ /**
6676
+ * Event type
6677
+ */
6678
+ enum eventType {
6679
+ ADDRESS_ACTIVITY = "address_activity"
6680
+ }
6681
+ }
6682
+
6683
+ 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 };