@avalabs/glacier-sdk 3.1.0-canary.5860758.0 → 3.1.0-canary.59b4d71.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 (251) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +1316 -146
  3. package/esm/generated/Glacier.d.ts +4 -0
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
  6. package/esm/generated/core/ApiResult.d.ts +1 -1
  7. package/esm/generated/core/CancelablePromise.d.ts +2 -1
  8. package/esm/generated/core/OpenAPI.d.ts +2 -1
  9. package/esm/generated/models/AccessListData.d.ts +12 -0
  10. package/esm/generated/models/AccessRequest.d.ts +12 -0
  11. package/esm/generated/models/ActiveValidatorDetails.d.ts +26 -0
  12. package/esm/generated/models/AddressActivityMetadata.d.ts +1 -1
  13. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  14. package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
  15. package/esm/generated/models/AssetAmount.d.ts +1 -1
  16. package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
  17. package/esm/generated/models/BadGateway.d.ts +1 -1
  18. package/esm/generated/models/BadRequest.d.ts +1 -1
  19. package/esm/generated/models/BalanceOwner.d.ts +1 -1
  20. package/esm/generated/models/Blockchain.d.ts +1 -1
  21. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  22. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  23. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  24. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  25. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  26. package/esm/generated/models/ChainInfo.d.ts +1 -1
  27. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  28. package/esm/generated/models/CommonBalanceType.js +1 -0
  29. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  30. package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
  31. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  32. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  33. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  34. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  35. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  36. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  37. package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
  38. package/esm/generated/models/DeliveredIcmMessage.js +1 -0
  39. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
  40. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
  41. package/esm/generated/models/ERCToken.d.ts +24 -0
  42. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  43. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +11 -5
  44. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  45. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +8 -8
  46. package/esm/generated/models/EVMInput.d.ts +1 -1
  47. package/esm/generated/models/EVMOutput.d.ts +1 -1
  48. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  49. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  50. package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
  51. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  52. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  53. package/esm/generated/models/Erc20TokenBalance.d.ts +3 -3
  54. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  55. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  56. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  57. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  58. package/esm/generated/models/Erc721Transfer.d.ts +1 -1
  59. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  60. package/esm/generated/models/EventType.d.ts +3 -1
  61. package/esm/generated/models/EventType.js +1 -1
  62. package/esm/generated/models/EvmBlock.d.ts +1 -1
  63. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  64. package/esm/generated/models/Forbidden.d.ts +1 -1
  65. package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
  66. package/esm/generated/models/Geolocation.d.ts +24 -0
  67. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  68. package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
  69. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  70. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  71. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  72. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  73. package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
  74. package/esm/generated/models/HealthCheckResultDto.js +1 -0
  75. package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
  76. package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
  77. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  78. package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
  79. package/esm/generated/models/IcmReceipt.d.ts +6 -0
  80. package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
  81. package/esm/generated/models/IcmRewardDetails.js +1 -0
  82. package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
  83. package/esm/generated/models/ImageAsset.d.ts +1 -1
  84. package/esm/generated/models/InternalServerError.d.ts +1 -1
  85. package/esm/generated/models/InternalTransaction.d.ts +16 -17
  86. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  87. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  88. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  89. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
  90. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +6 -2
  91. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  92. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  93. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  94. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  95. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  96. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  97. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  98. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  99. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  100. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +6 -1
  101. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  102. package/esm/generated/models/ListErc20BalancesResponse.d.ts +6 -1
  103. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  104. package/esm/generated/models/ListErc721BalancesResponse.d.ts +6 -1
  105. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  106. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  107. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  108. package/esm/generated/models/ListIcmMessagesResponse.d.ts +12 -0
  109. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  110. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +1 -1
  111. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  112. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  113. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  114. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  115. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  116. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  117. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  118. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  119. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +1 -1
  120. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  121. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  122. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  123. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  124. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  125. package/esm/generated/models/ListWebhooksResponse.d.ts +4 -3
  126. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  127. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  128. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  129. package/esm/generated/models/Log.d.ts +40 -0
  130. package/esm/generated/models/LogsFormat.d.ts +1 -1
  131. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  132. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  133. package/esm/generated/models/Method.d.ts +1 -1
  134. package/esm/generated/models/Metric.d.ts +1 -1
  135. package/esm/generated/models/Money.d.ts +1 -1
  136. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  137. package/esm/generated/models/NativeTransaction.d.ts +1 -1
  138. package/esm/generated/models/Network.d.ts +1 -2
  139. package/esm/generated/models/Network.js +1 -1
  140. package/esm/generated/models/NetworkToken.d.ts +1 -1
  141. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  142. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  143. package/esm/generated/models/NextPageToken.d.ts +1 -1
  144. package/esm/generated/models/NotFound.d.ts +1 -1
  145. package/esm/generated/models/NotificationsResponse.d.ts +5 -0
  146. package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
  147. package/esm/generated/models/PChainBalance.d.ts +1 -1
  148. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  149. package/esm/generated/models/PChainTransaction.d.ts +21 -9
  150. package/esm/generated/models/PChainUtxo.d.ts +28 -1
  151. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  152. package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
  153. package/esm/generated/models/PendingIcmMessage.js +1 -0
  154. package/esm/generated/models/PendingReward.d.ts +1 -1
  155. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  156. package/esm/generated/models/PlatformActivityKeyType.d.ts +10 -0
  157. package/esm/generated/models/PlatformActivityKeyType.js +1 -0
  158. package/esm/generated/models/PlatformActivityMetadata.d.ts +37 -0
  159. package/esm/generated/models/PlatformActivityRequest.d.ts +31 -0
  160. package/esm/generated/models/PlatformActivityRequest.js +1 -0
  161. package/esm/generated/models/PlatformActivityResponse.d.ts +17 -0
  162. package/esm/generated/models/PlatformActivitySubEvents.d.ts +11 -0
  163. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +10 -0
  164. package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -0
  165. package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +11 -0
  166. package/esm/generated/models/PricingProviders.d.ts +1 -1
  167. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  168. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  169. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  170. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +10 -0
  171. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  172. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
  173. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
  174. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
  175. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
  176. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  177. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  178. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  179. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  180. package/esm/generated/models/ResourceLink.d.ts +1 -1
  181. package/esm/generated/models/Rewards.d.ts +1 -1
  182. package/esm/generated/models/RichAddress.d.ts +1 -1
  183. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  184. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
  185. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
  186. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  187. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  188. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  189. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
  190. package/esm/generated/models/StakingDistribution.d.ts +10 -1
  191. package/esm/generated/models/Subnet.d.ts +7 -3
  192. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  193. package/esm/generated/models/{RpcUsageMetricsResponseDTO.d.ts → SubnetRpcUsageMetricsResponseDTO.d.ts} +6 -6
  194. package/esm/generated/models/SubscribeRequest.d.ts +16 -0
  195. package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
  196. package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
  197. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  198. package/esm/generated/models/TeleporterMessageInfo.d.ts +1 -1
  199. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  200. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  201. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  202. package/esm/generated/models/Transaction.d.ts +121 -0
  203. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  204. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  205. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  206. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  207. package/esm/generated/models/Unauthorized.d.ts +1 -1
  208. package/esm/generated/models/UnknownContract.d.ts +1 -1
  209. package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
  210. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  211. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  212. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  213. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  214. package/esm/generated/models/Utxo.d.ts +1 -1
  215. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  216. package/esm/generated/models/UtxoType.d.ts +3 -0
  217. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  218. package/esm/generated/models/ValidatorsDetails.d.ts +7 -1
  219. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  220. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  221. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  222. package/esm/generated/models/XChainBalances.d.ts +1 -1
  223. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  224. package/esm/generated/models/XChainVertex.d.ts +1 -1
  225. package/esm/generated/services/DataApiUsageMetricsService.d.ts +103 -3
  226. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  227. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  228. package/esm/generated/services/EvmBlocksService.d.ts +21 -0
  229. package/esm/generated/services/EvmBlocksService.js +1 -1
  230. package/esm/generated/services/EvmChainsService.d.ts +26 -8
  231. package/esm/generated/services/EvmChainsService.js +1 -1
  232. package/esm/generated/services/EvmTransactionsService.d.ts +26 -1
  233. package/esm/generated/services/EvmTransactionsService.js +1 -1
  234. package/esm/generated/services/HealthCheckService.d.ts +4 -7
  235. package/esm/generated/services/HealthCheckService.js +1 -1
  236. package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
  237. package/esm/generated/services/InterchainMessagingService.js +1 -0
  238. package/esm/generated/services/NotificationsService.d.ts +51 -0
  239. package/esm/generated/services/NotificationsService.js +1 -0
  240. package/esm/generated/services/PrimaryNetworkService.d.ts +18 -1
  241. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  242. package/esm/generated/services/SignatureAggregatorService.d.ts +22 -1
  243. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  244. package/esm/generated/services/TeleporterService.d.ts +12 -6
  245. package/esm/generated/services/WebhooksService.d.ts +26 -24
  246. package/esm/generated/services/WebhooksService.js +1 -1
  247. package/esm/index.d.ts +42 -4
  248. package/esm/index.js +1 -1
  249. package/package.json +13 -4
  250. package/dist/index.js +0 -1
  251. package/esm/generated/models/BlockchainInfo.d.ts +0 -5
package/dist/index.d.ts CHANGED
@@ -148,10 +148,26 @@ type LogsResponseDTO = {
148
148
  logs: Array<LogsFormat>;
149
149
  };
150
150
 
151
- declare enum RpcUsageMetricsGroupByEnum {
151
+ declare enum Network {
152
+ MAINNET = "mainnet",
153
+ FUJI = "fuji",
154
+ TESTNET = "testnet"
155
+ }
156
+
157
+ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
152
158
  RPC_METHOD = "rpcMethod",
159
+ REQUEST_PATH = "requestPath",
153
160
  RESPONSE_CODE = "responseCode",
154
- RL_BYPASS_TOKEN = "rlBypassToken"
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"
155
171
  }
156
172
 
157
173
  type RpcUsageMetricsValueAggregated = {
@@ -200,6 +216,10 @@ declare namespace RpcUsageMetricsValueAggregated {
200
216
  RPC_METHOD = "rpcMethod",
201
217
  RESPONSE_CODE = "responseCode",
202
218
  RL_BYPASS_TOKEN = "rlBypassToken",
219
+ REQUEST_PATH = "requestPath",
220
+ COUNTRY = "country",
221
+ CONTINENT = "continent",
222
+ USER_AGENT = "userAgent",
203
223
  NONE = "None"
204
224
  }
205
225
  }
@@ -215,20 +235,35 @@ type RpcMetrics = {
215
235
  values: Array<RpcUsageMetricsValueAggregated>;
216
236
  };
217
237
 
218
- type RpcUsageMetricsResponseDTO = {
238
+ type PrimaryNetworkRpcUsageMetricsResponseDTO = {
219
239
  /**
220
240
  * Duration in which the metrics value is aggregated
221
241
  */
222
242
  aggregateDuration: string;
223
- /**
224
- * ChainId for which the metrics are aggregated
225
- */
226
- chainId: string;
227
243
  /**
228
244
  * Metrics values
229
245
  */
230
246
  metrics: Array<RpcMetrics>;
247
+ /**
248
+ * Network type for which the metrics are aggregated
249
+ */
250
+ network: PrimaryNetworkRpcUsageMetricsResponseDTO.network;
231
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
+ }
232
267
 
233
268
  declare enum SubnetRpcTimeIntervalGranularity {
234
269
  HOURLY = "hourly",
@@ -237,6 +272,21 @@ declare enum SubnetRpcTimeIntervalGranularity {
237
272
  MONTHLY = "monthly"
238
273
  }
239
274
 
275
+ type SubnetRpcUsageMetricsResponseDTO = {
276
+ /**
277
+ * Duration in which the metrics value is aggregated
278
+ */
279
+ aggregateDuration: string;
280
+ /**
281
+ * Metrics values
282
+ */
283
+ metrics: Array<RpcMetrics>;
284
+ /**
285
+ * ChainId for which the metrics are aggregated
286
+ */
287
+ chainId: string;
288
+ };
289
+
240
290
  declare enum TimeIntervalGranularityExtended {
241
291
  MINUTE = "minute",
242
292
  HOURLY = "hourly",
@@ -433,7 +483,50 @@ declare class DataApiUsageMetricsService {
433
483
  /**
434
484
  * Get usage metrics for the Subnet RPC
435
485
  * Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
436
- * @returns RpcUsageMetricsResponseDTO Successful response
486
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
487
+ * @throws ApiError
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
437
530
  * @throws ApiError
438
531
  */
439
532
  getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
@@ -470,7 +563,60 @@ declare class DataApiUsageMetricsService {
470
563
  * Filter data by Rl Bypass API Token.
471
564
  */
472
565
  rlBypassApiToken?: string;
473
- }): 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>;
474
620
  }
475
621
 
476
622
  declare class DefaultService {
@@ -669,6 +815,10 @@ type ListErc1155BalancesResponse = {
669
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.
670
816
  */
671
817
  nextPageToken?: string;
818
+ /**
819
+ * The native token balance for the address.
820
+ */
821
+ nativeTokenBalance: NativeTokenBalance;
672
822
  /**
673
823
  * The list of ERC-1155 token balances for the address.
674
824
  */
@@ -714,16 +864,16 @@ type Erc20TokenBalance = {
714
864
  */
715
865
  balanceValue?: Money;
716
866
  /**
717
- * 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.
718
868
  */
719
- tokenReputation: Erc20TokenBalance.tokenReputation | null;
869
+ tokenReputation: Erc20TokenBalance.tokenReputation;
720
870
  };
721
871
  declare namespace Erc20TokenBalance {
722
872
  enum ercType {
723
873
  ERC_20 = "ERC-20"
724
874
  }
725
875
  /**
726
- * 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.
727
877
  */
728
878
  enum tokenReputation {
729
879
  MALICIOUS = "Malicious",
@@ -736,6 +886,10 @@ type ListErc20BalancesResponse = {
736
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.
737
887
  */
738
888
  nextPageToken?: string;
889
+ /**
890
+ * The native token balance for the address.
891
+ */
892
+ nativeTokenBalance: NativeTokenBalance;
739
893
  /**
740
894
  * The list of ERC-20 token balances for the address.
741
895
  */
@@ -747,6 +901,10 @@ type ListErc721BalancesResponse = {
747
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.
748
902
  */
749
903
  nextPageToken?: string;
904
+ /**
905
+ * The native token balance for the address.
906
+ */
907
+ nativeTokenBalance: NativeTokenBalance;
750
908
  /**
751
909
  * The list of ERC-721 token balances for the address.
752
910
  */
@@ -810,7 +968,7 @@ declare class EvmBalancesService {
810
968
  */
811
969
  pageToken?: string;
812
970
  /**
813
- * 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.
814
972
  */
815
973
  pageSize?: number;
816
974
  /**
@@ -848,7 +1006,7 @@ declare class EvmBalancesService {
848
1006
  */
849
1007
  pageToken?: string;
850
1008
  /**
851
- * 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.
852
1010
  */
853
1011
  pageSize?: number;
854
1012
  /**
@@ -884,7 +1042,7 @@ declare class EvmBalancesService {
884
1042
  */
885
1043
  pageToken?: string;
886
1044
  /**
887
- * 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.
888
1046
  */
889
1047
  pageSize?: number;
890
1048
  /**
@@ -914,7 +1072,7 @@ declare class EvmBalancesService {
914
1072
  */
915
1073
  pageToken?: string;
916
1074
  /**
917
- * 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.
918
1076
  */
919
1077
  pageSize?: number;
920
1078
  /**
@@ -1031,6 +1189,26 @@ type ListEvmBlocksResponse = {
1031
1189
  declare class EvmBlocksService {
1032
1190
  readonly httpRequest: BaseHttpRequest;
1033
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>;
1034
1212
  /**
1035
1213
  * List latest blocks
1036
1214
  * Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
@@ -1269,13 +1447,6 @@ type ListNativeTransactionsResponse = {
1269
1447
  transactions: Array<NativeTransaction>;
1270
1448
  };
1271
1449
 
1272
- declare enum Network {
1273
- MAINNET = "mainnet",
1274
- FUJI = "fuji",
1275
- TESTNET = "testnet",
1276
- DEVNET = "devnet"
1277
- }
1278
-
1279
1450
  declare enum TransactionStatus {
1280
1451
  FAILED = "failed",
1281
1452
  SUCCESS = "success"
@@ -1284,9 +1455,21 @@ declare enum TransactionStatus {
1284
1455
  declare class EvmChainsService {
1285
1456
  readonly httpRequest: BaseHttpRequest;
1286
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>;
1287
1470
  /**
1288
1471
  * List chains
1289
- * Lists the supported EVM-compatible chains. Filterable by network.
1472
+ * Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
1290
1473
  * @returns ListChainsResponse Successful response
1291
1474
  * @throws ApiError
1292
1475
  */
@@ -1302,7 +1485,7 @@ declare class EvmChainsService {
1302
1485
  }): CancelablePromise<ListChainsResponse>;
1303
1486
  /**
1304
1487
  * Get chain information
1305
- * 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.
1306
1489
  * @returns GetChainResponse Successful response
1307
1490
  * @throws ApiError
1308
1491
  */
@@ -1313,8 +1496,10 @@ declare class EvmChainsService {
1313
1496
  chainId: string;
1314
1497
  }): CancelablePromise<GetChainResponse>;
1315
1498
  /**
1316
- * Get chains for address
1317
- * 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.
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** .
1318
1503
  * @returns ListAddressChainsResponse Successful response
1319
1504
  * @throws ApiError
1320
1505
  */
@@ -1325,8 +1510,10 @@ declare class EvmChainsService {
1325
1510
  address: string;
1326
1511
  }): CancelablePromise<ListAddressChainsResponse>;
1327
1512
  /**
1328
- * List latest transactions for all supported EVM chains
1329
- * Lists the latest transactions for all supported EVM chains. Filterable by status.
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** .
1330
1517
  * @returns ListNativeTransactionsResponse Successful response
1331
1518
  * @throws ApiError
1332
1519
  */
@@ -1349,8 +1536,10 @@ declare class EvmChainsService {
1349
1536
  status?: TransactionStatus;
1350
1537
  }): CancelablePromise<ListNativeTransactionsResponse>;
1351
1538
  /**
1352
- * List latest blocks for all supported EVM chains
1353
- * Lists the latest blocks for all supported EVM chains. Filterable by network.
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** .
1354
1543
  * @returns ListEvmBlocksResponse Successful response
1355
1544
  * @throws ApiError
1356
1545
  */
@@ -1539,7 +1728,7 @@ type Erc1155Contract = {
1539
1728
  * A wallet or contract address in mixed-case checksum encoding.
1540
1729
  */
1541
1730
  address: string;
1542
- deploymentDetails: ContractDeploymentDetails;
1731
+ deploymentDetails?: ContractDeploymentDetails;
1543
1732
  ercType: Erc1155Contract.ercType;
1544
1733
  /**
1545
1734
  * The contract symbol.
@@ -1570,7 +1759,7 @@ type Erc20Contract = {
1570
1759
  * A wallet or contract address in mixed-case checksum encoding.
1571
1760
  */
1572
1761
  address: string;
1573
- deploymentDetails: ContractDeploymentDetails;
1762
+ deploymentDetails?: ContractDeploymentDetails;
1574
1763
  ercType: Erc20Contract.ercType;
1575
1764
  /**
1576
1765
  * The contract symbol.
@@ -1605,7 +1794,7 @@ type Erc721Contract = {
1605
1794
  * A wallet or contract address in mixed-case checksum encoding.
1606
1795
  */
1607
1796
  address: string;
1608
- deploymentDetails: ContractDeploymentDetails;
1797
+ deploymentDetails?: ContractDeploymentDetails;
1609
1798
  ercType: Erc721Contract.ercType;
1610
1799
  /**
1611
1800
  * The contract symbol.
@@ -1635,7 +1824,7 @@ type UnknownContract = {
1635
1824
  * A wallet or contract address in mixed-case checksum encoding.
1636
1825
  */
1637
1826
  address: string;
1638
- deploymentDetails: ContractDeploymentDetails;
1827
+ deploymentDetails?: ContractDeploymentDetails;
1639
1828
  ercType: UnknownContract.ercType;
1640
1829
  };
1641
1830
  declare namespace UnknownContract {
@@ -1853,6 +2042,7 @@ declare enum InternalTransactionOpCall {
1853
2042
  CALL = "CALL",
1854
2043
  CREATE = "CREATE",
1855
2044
  CREATE2 = "CREATE2",
2045
+ CREATE3 = "CREATE3",
1856
2046
  CALLCODE = "CALLCODE",
1857
2047
  DELEGATECALL = "DELEGATECALL",
1858
2048
  STATICCALL = "STATICCALL"
@@ -1915,7 +2105,7 @@ type GetTransactionResponse = {
1915
2105
  */
1916
2106
  erc1155Transfers?: Array<Erc1155TransferDetails>;
1917
2107
  /**
1918
- * 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.
1919
2109
  */
1920
2110
  internalTransactions?: Array<InternalTransactionDetails>;
1921
2111
  networkTokenDetails: NetworkTokenDetails;
@@ -2031,31 +2221,33 @@ type ListErc721TransactionsResponse = {
2031
2221
 
2032
2222
  type InternalTransaction = {
2033
2223
  /**
2034
- * The block number on the chain.
2224
+ * Sender address
2035
2225
  */
2036
- blockNumber: string;
2226
+ from: string;
2037
2227
  /**
2038
- * The block finality timestamp.
2228
+ * Recipient address
2039
2229
  */
2040
- blockTimestamp: number;
2230
+ to: string;
2041
2231
  /**
2042
- * The block hash identifier.
2232
+ * Internal transaction type
2043
2233
  */
2044
- blockHash: string;
2234
+ internalTxType: string;
2045
2235
  /**
2046
- * The transaction hash identifier.
2236
+ * Value transferred
2047
2237
  */
2048
- txHash: string;
2049
- from: RichAddress;
2050
- to: RichAddress;
2051
- internalTxType: InternalTransactionOpCall;
2052
2238
  value: string;
2053
2239
  /**
2054
- * True if the internal transaction was reverted.
2240
+ * Gas used
2055
2241
  */
2056
- isReverted: boolean;
2057
2242
  gasUsed: string;
2243
+ /**
2244
+ * Gas limit
2245
+ */
2058
2246
  gasLimit: string;
2247
+ /**
2248
+ * Transaction hash
2249
+ */
2250
+ transactionHash: string;
2059
2251
  };
2060
2252
 
2061
2253
  type ListInternalTransactionsResponse = {
@@ -2084,7 +2276,7 @@ type TransactionDetails = {
2084
2276
  */
2085
2277
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2086
2278
  /**
2087
- * 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.
2088
2280
  */
2089
2281
  internalTransactions?: Array<InternalTransactionDetails>;
2090
2282
  };
@@ -2113,6 +2305,30 @@ declare enum SortOrder {
2113
2305
  declare class EvmTransactionsService {
2114
2306
  readonly httpRequest: BaseHttpRequest;
2115
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>;
2116
2332
  /**
2117
2333
  * Get deployment transaction
2118
2334
  * If the address is a smart contract, returns the transaction in which it was deployed.
@@ -2359,7 +2575,7 @@ declare class EvmTransactionsService {
2359
2575
  * List internal transactions
2360
2576
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2361
2577
  *
2362
- * 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.
2363
2579
  * @returns ListInternalTransactionsResponse Successful response
2364
2580
  * @throws ApiError
2365
2581
  */
@@ -2455,41 +2671,282 @@ declare class EvmTransactionsService {
2455
2671
  }): CancelablePromise<ListNativeTransactionsResponse>;
2456
2672
  }
2457
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
+
2458
2704
  declare class HealthCheckService {
2459
2705
  readonly httpRequest: BaseHttpRequest;
2460
2706
  constructor(httpRequest: BaseHttpRequest);
2461
2707
  /**
2462
2708
  * Get the health of the service
2463
- * @returns any The Health Check is successful
2709
+ * Check the health of the service.
2710
+ * @returns HealthCheckResultDto The health of the service
2464
2711
  * @throws ApiError
2465
2712
  */
2466
- dataHealthCheck(): CancelablePromise<{
2467
- status?: string;
2468
- info?: Record<string, Record<string, string>> | null;
2469
- error?: Record<string, Record<string, string>> | null;
2470
- details?: Record<string, Record<string, string>>;
2471
- }>;
2713
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2472
2714
  }
2473
2715
 
2474
- type ListNftTokens = {
2475
- /**
2476
- * 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.
2477
- */
2478
- nextPageToken?: string;
2479
- tokens: Array<(Erc721Token | Erc1155Token)>;
2716
+ type IcmDestinationTransaction = {
2717
+ txHash: string;
2718
+ timestamp: number;
2719
+ gasSpent: string;
2720
+ rewardRedeemer: string;
2721
+ delivererAddress: string;
2480
2722
  };
2481
2723
 
2482
- declare class NfTsService {
2483
- readonly httpRequest: BaseHttpRequest;
2484
- constructor(httpRequest: BaseHttpRequest);
2724
+ type IcmReceipt = {
2725
+ receivedMessageNonce: string;
2726
+ relayerRewardAddress: string;
2727
+ };
2728
+
2729
+ type IcmRewardDetails = {
2485
2730
  /**
2486
- * Reindex NFT metadata
2487
- * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2488
- * @returns any Successful response
2489
- * @throws ApiError
2731
+ * A wallet or contract address in mixed-case checksum encoding.
2490
2732
  */
2491
- reindexNft({ chainId, address, tokenId, }: {
2492
- /**
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 = {
2843
+ /**
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.
2845
+ */
2846
+ nextPageToken?: string;
2847
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
2848
+ };
2849
+
2850
+ declare class InterchainMessagingService {
2851
+ readonly httpRequest: BaseHttpRequest;
2852
+ constructor(httpRequest: BaseHttpRequest);
2853
+ /**
2854
+ * Get an ICM message
2855
+ * Gets an ICM message by teleporter message ID.
2856
+ * @returns any Successful response
2857
+ * @throws ApiError
2858
+ */
2859
+ getIcmMessage({ messageId, }: {
2860
+ /**
2861
+ * The teleporter message ID of the ICM message.
2862
+ */
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, }: {
2872
+ /**
2873
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2874
+ */
2875
+ pageToken?: string;
2876
+ /**
2877
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2878
+ */
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>;
2905
+ /**
2906
+ * List ICM messages by address
2907
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
2908
+ * @returns ListIcmMessagesResponse Successful response
2909
+ * @throws ApiError
2910
+ */
2911
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
2912
+ /**
2913
+ * An EVM address.
2914
+ */
2915
+ address: string;
2916
+ /**
2917
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2918
+ */
2919
+ pageToken?: string;
2920
+ /**
2921
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2922
+ */
2923
+ pageSize?: number;
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
+ /**
2493
2950
  * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2494
2951
  */
2495
2952
  chainId: string;
@@ -2548,6 +3005,108 @@ declare class NfTsService {
2548
3005
  }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2549
3006
  }
2550
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
+
2551
3110
  type EvmNetworkOptions = {
2552
3111
  addresses: Array<string>;
2553
3112
  includeChains: Array<string>;
@@ -2636,7 +3195,7 @@ type OperationStatusResponse = {
2636
3195
  operationType: OperationType;
2637
3196
  operationStatus: OperationStatus;
2638
3197
  message?: string;
2639
- metadata: TransactionExportMetadata;
3198
+ metadata?: TransactionExportMetadata;
2640
3199
  createdAtTimestamp: number;
2641
3200
  updatedAtTimestamp: number;
2642
3201
  };
@@ -2669,6 +3228,15 @@ declare class OperationsService {
2669
3228
  }): CancelablePromise<OperationStatusResponse>;
2670
3229
  }
2671
3230
 
3231
+ type Blockchain = {
3232
+ createBlockTimestamp: number;
3233
+ createBlockNumber: string;
3234
+ blockchainId: string;
3235
+ vmId: string;
3236
+ subnetId: string;
3237
+ blockchainName: string;
3238
+ };
3239
+
2672
3240
  declare enum BlockchainIds {
2673
3241
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2674
3242
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
@@ -2700,16 +3268,31 @@ type DelegatorsDetails = {
2700
3268
  };
2701
3269
 
2702
3270
  type StakingDistribution = {
3271
+ /**
3272
+ * AvalancheGo version for the validator node.
3273
+ */
2703
3274
  version: string;
3275
+ /**
3276
+ * The total amount staked by validators using this version.
3277
+ */
2704
3278
  amountStaked: string;
3279
+ /**
3280
+ * The number of validators using this version.
3281
+ */
2705
3282
  validatorCount: number;
2706
3283
  };
2707
3284
 
2708
3285
  type ValidatorsDetails = {
2709
3286
  validatorCount: number;
2710
3287
  totalAmountStaked: string;
3288
+ /**
3289
+ * Total potential rewards from currently active validations and delegations.
3290
+ */
2711
3291
  estimatedAnnualStakingReward: string;
2712
3292
  stakingDistributionByVersion: Array<StakingDistribution>;
3293
+ /**
3294
+ * Ratio of total active stake amount to the current supply.
3295
+ */
2713
3296
  stakingRatio: string;
2714
3297
  };
2715
3298
 
@@ -2718,15 +3301,6 @@ type GetNetworkDetailsResponse = {
2718
3301
  delegatorDetails: DelegatorsDetails;
2719
3302
  };
2720
3303
 
2721
- type Blockchain = {
2722
- createBlockTimestamp: number;
2723
- createBlockNumber: string;
2724
- blockchainId: string;
2725
- vmId: string;
2726
- subnetId: string;
2727
- blockchainName: string;
2728
- };
2729
-
2730
3304
  type ListBlockchainsResponse = {
2731
3305
  /**
2732
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.
@@ -2761,7 +3335,13 @@ type CompletedDelegatorDetails = {
2761
3335
  delegationFee: string;
2762
3336
  startTimestamp: number;
2763
3337
  endTimestamp: number;
3338
+ /**
3339
+ * Total rewards distributed for the successful delegation.
3340
+ */
2764
3341
  grossReward: string;
3342
+ /**
3343
+ * Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3344
+ */
2765
3345
  netReward: string;
2766
3346
  delegationStatus: CompletedDelegatorDetails.delegationStatus;
2767
3347
  };
@@ -2779,7 +3359,13 @@ type PendingDelegatorDetails = {
2779
3359
  delegationFee: string;
2780
3360
  startTimestamp: number;
2781
3361
  endTimestamp: number;
3362
+ /**
3363
+ * Estimated total rewards that will be distributed for the successful delegation.
3364
+ */
2782
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
+ */
2783
3369
  estimatedNetReward: string;
2784
3370
  delegationStatus: PendingDelegatorDetails.delegationStatus;
2785
3371
  };
@@ -2810,6 +3396,10 @@ type L1ValidatorDetailsFull = {
2810
3396
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
2811
3397
  */
2812
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;
2813
3403
  nodeId: string;
2814
3404
  subnetId: string;
2815
3405
  /**
@@ -2846,10 +3436,6 @@ type ListL1ValidatorsResponse = {
2846
3436
  validators: Array<L1ValidatorDetailsFull>;
2847
3437
  };
2848
3438
 
2849
- type BlockchainInfo = {
2850
- blockchainId: string;
2851
- };
2852
-
2853
3439
  type L1ValidatorManagerDetails = {
2854
3440
  blockchainId: string;
2855
3441
  contractAddress: string;
@@ -2897,11 +3483,15 @@ type Subnet = {
2897
3483
  * Whether the subnet is an L1 or not.
2898
3484
  */
2899
3485
  isL1: boolean;
3486
+ /**
3487
+ * Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
3488
+ */
3489
+ l1ConversionTransactionHash?: string;
2900
3490
  /**
2901
3491
  * L1 validator manager details.
2902
3492
  */
2903
3493
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
2904
- blockchains: Array<BlockchainInfo>;
3494
+ blockchains: Array<Blockchain>;
2905
3495
  };
2906
3496
 
2907
3497
  type ListSubnetsResponse = {
@@ -2917,6 +3507,29 @@ type BlsCredentials = {
2917
3507
  proofOfPossession: string;
2918
3508
  };
2919
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
+
2920
3533
  type Rewards = {
2921
3534
  validationRewardAmount: string;
2922
3535
  delegationRewardAmount: string;
@@ -2948,6 +3561,9 @@ type ActiveValidatorDetails = {
2948
3561
  nodeId: string;
2949
3562
  subnetId: string;
2950
3563
  amountStaked: string;
3564
+ /**
3565
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3566
+ */
2951
3567
  delegationFee?: string;
2952
3568
  startTimestamp: number;
2953
3569
  endTimestamp: number;
@@ -2955,15 +3571,37 @@ type ActiveValidatorDetails = {
2955
3571
  * Present for AddPermissionlessValidatorTx
2956
3572
  */
2957
3573
  blsCredentials?: BlsCredentials;
3574
+ /**
3575
+ * The percentage of this validator's stake amount to the total active stake.
3576
+ */
2958
3577
  stakePercentage: number;
3578
+ /**
3579
+ * The number of delegators linked to the validator.
3580
+ */
2959
3581
  delegatorCount: number;
3582
+ /**
3583
+ * The total amount in nAVAX delegated to the validator.
3584
+ */
2960
3585
  amountDelegated?: string;
3586
+ /**
3587
+ * The validator's uptime percentage, as observed by our internal node and measured over time.
3588
+ */
2961
3589
  uptimePerformance: number;
2962
3590
  avalancheGoVersion?: string;
3591
+ /**
3592
+ * The amount of stake in nAVAX that can be delegated to this validator.
3593
+ */
2963
3594
  delegationCapacity?: string;
3595
+ /**
3596
+ * Estimated rewards for the validator if the validation is successful.
3597
+ */
2964
3598
  potentialRewards: Rewards;
2965
3599
  validationStatus: ActiveValidatorDetails.validationStatus;
2966
3600
  validatorHealth: ValidatorHealthDetails;
3601
+ /**
3602
+ * The geographical location of the validator node, if available.
3603
+ */
3604
+ geolocation: Geolocation | null;
2967
3605
  };
2968
3606
  declare namespace ActiveValidatorDetails {
2969
3607
  enum validationStatus {
@@ -2976,6 +3614,9 @@ type CompletedValidatorDetails = {
2976
3614
  nodeId: string;
2977
3615
  subnetId: string;
2978
3616
  amountStaked: string;
3617
+ /**
3618
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3619
+ */
2979
3620
  delegationFee?: string;
2980
3621
  startTimestamp: number;
2981
3622
  endTimestamp: number;
@@ -2999,6 +3640,9 @@ type PendingValidatorDetails = {
2999
3640
  nodeId: string;
3000
3641
  subnetId: string;
3001
3642
  amountStaked: string;
3643
+ /**
3644
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3645
+ */
3002
3646
  delegationFee?: string;
3003
3647
  startTimestamp: number;
3004
3648
  endTimestamp: number;
@@ -3019,6 +3663,9 @@ type RemovedValidatorDetails = {
3019
3663
  nodeId: string;
3020
3664
  subnetId: string;
3021
3665
  amountStaked: string;
3666
+ /**
3667
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3668
+ */
3022
3669
  delegationFee?: string;
3023
3670
  startTimestamp: number;
3024
3671
  endTimestamp: number;
@@ -3026,7 +3673,13 @@ type RemovedValidatorDetails = {
3026
3673
  * Present for AddPermissionlessValidatorTx
3027
3674
  */
3028
3675
  blsCredentials?: BlsCredentials;
3676
+ /**
3677
+ * The transaction hash that removed the permissioned subnet validator.
3678
+ */
3029
3679
  removeTxHash: string;
3680
+ /**
3681
+ * The timestamp of the transaction that removed the permissioned subnet validator.
3682
+ */
3030
3683
  removeTimestamp: number;
3031
3684
  validationStatus: RemovedValidatorDetails.validationStatus;
3032
3685
  };
@@ -3185,6 +3838,22 @@ declare class PrimaryNetworkService {
3185
3838
  */
3186
3839
  sortOrder?: SortOrder;
3187
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>;
3188
3857
  /**
3189
3858
  * List subnets
3190
3859
  * Lists all subnets registered on the network.
@@ -3389,7 +4058,7 @@ declare class PrimaryNetworkService {
3389
4058
  /**
3390
4059
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3391
4060
  */
3392
- l1ValidationId?: any;
4061
+ l1ValidationId?: string;
3393
4062
  includeInactiveL1Validators?: boolean;
3394
4063
  /**
3395
4064
  * A valid node ID in format 'NodeID-HASH'.
@@ -4172,6 +4841,10 @@ type L1ValidatorDetailsTransaction = {
4172
4841
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4173
4842
  */
4174
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;
4175
4848
  nodeId: string;
4176
4849
  subnetId: string;
4177
4850
  /**
@@ -4183,7 +4856,7 @@ type L1ValidatorDetailsTransaction = {
4183
4856
  */
4184
4857
  remainingBalance: number;
4185
4858
  /**
4186
- * 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
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
4187
4860
  */
4188
4861
  balanceChange?: number;
4189
4862
  blsCredentials?: Record<string, any>;
@@ -4213,6 +4886,9 @@ declare enum PChainTransactionType {
4213
4886
  UNKNOWN = "UNKNOWN"
4214
4887
  }
4215
4888
 
4889
+ /**
4890
+ * Indicates whether the UTXO is staked or transferable
4891
+ */
4216
4892
  declare enum UtxoType {
4217
4893
  STAKE = "STAKE",
4218
4894
  TRANSFER = "TRANSFER"
@@ -4250,16 +4926,43 @@ type PChainUtxo = {
4250
4926
  assetId: string;
4251
4927
  blockNumber: string;
4252
4928
  blockTimestamp: number;
4929
+ /**
4930
+ * Block height in which the transaction consuming this UTXO was included
4931
+ */
4253
4932
  consumingBlockNumber?: string;
4933
+ /**
4934
+ * Timestamp in seconds at which this UTXO is used in a consuming transaction
4935
+ */
4254
4936
  consumingBlockTimestamp?: number;
4937
+ /**
4938
+ * Timestamp in seconds after which this UTXO can be consumed
4939
+ */
4255
4940
  platformLocktime?: number;
4941
+ /**
4942
+ * The index of the UTXO in the transaction
4943
+ */
4256
4944
  outputIndex: number;
4257
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
+ */
4258
4949
  stakeableLocktime?: number;
4259
4950
  staked?: boolean;
4951
+ /**
4952
+ * The minimum number of signatures required to spend this UTXO
4953
+ */
4260
4954
  threshold?: number;
4955
+ /**
4956
+ * The hash of the transaction that created this UTXO
4957
+ */
4261
4958
  txHash: string;
4959
+ /**
4960
+ * Timestamp in seconds after which the staked UTXO will be unlocked.
4961
+ */
4262
4962
  utxoEndTimestamp?: number;
4963
+ /**
4964
+ * Timestamp in seconds at which the staked UTXO was locked.
4965
+ */
4263
4966
  utxoStartTimestamp?: number;
4264
4967
  utxoType: UtxoType;
4265
4968
  };
@@ -4274,9 +4977,18 @@ type PChainTransaction = {
4274
4977
  * The block finality timestamp.
4275
4978
  */
4276
4979
  blockTimestamp: number;
4980
+ /**
4981
+ * The height of the block in which the transaction was included
4982
+ */
4277
4983
  blockNumber: string;
4278
4984
  blockHash: string;
4985
+ /**
4986
+ * The consumed UTXOs of the transaction
4987
+ */
4279
4988
  consumedUtxos: Array<PChainUtxo>;
4989
+ /**
4990
+ * The newly created UTXOs of the transaction
4991
+ */
4280
4992
  emittedUtxos: Array<PChainUtxo>;
4281
4993
  /**
4282
4994
  * Source chain for an atomic transaction.
@@ -4287,11 +4999,11 @@ type PChainTransaction = {
4287
4999
  */
4288
5000
  destinationChain?: string;
4289
5001
  /**
4290
- * 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
4291
5003
  */
4292
5004
  value: Array<AssetAmount>;
4293
5005
  /**
4294
- * 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
4295
5007
  */
4296
5008
  amountBurned: Array<AssetAmount>;
4297
5009
  /**
@@ -4299,7 +5011,7 @@ type PChainTransaction = {
4299
5011
  */
4300
5012
  amountStaked: Array<AssetAmount>;
4301
5013
  /**
4302
- * 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.
4303
5015
  */
4304
5016
  amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4305
5017
  /**
@@ -4311,11 +5023,11 @@ type PChainTransaction = {
4311
5023
  */
4312
5024
  endTimestamp?: number;
4313
5025
  /**
4314
- * Present for AddValidatorTx, AddPermissionlessValidatorTx
5026
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
4315
5027
  */
4316
5028
  delegationFeePercent?: string;
4317
5029
  /**
4318
- * 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
4319
5031
  */
4320
5032
  nodeId?: string;
4321
5033
  /**
@@ -4331,14 +5043,17 @@ type PChainTransaction = {
4331
5043
  */
4332
5044
  l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
4333
5045
  /**
4334
- * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5046
+ * Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4335
5047
  */
4336
5048
  estimatedReward?: string;
5049
+ /**
5050
+ * Reward transaction hash for the completed validations or delegations
5051
+ */
4337
5052
  rewardTxHash?: string;
4338
5053
  rewardAddresses?: Array<string>;
4339
5054
  memo?: string;
4340
5055
  /**
4341
- * Present for RewardValidatorTx
5056
+ * Staking transaction corresponding to the RewardValidatorTx
4342
5057
  */
4343
5058
  stakingTxHash?: string;
4344
5059
  /**
@@ -4346,7 +5061,7 @@ type PChainTransaction = {
4346
5061
  */
4347
5062
  subnetOwnershipInfo?: SubnetOwnershipInfo;
4348
5063
  /**
4349
- * Present for AddPermissionlessValidatorTx
5064
+ * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4350
5065
  */
4351
5066
  blsCredentials?: BlsCredentials;
4352
5067
  };
@@ -4885,9 +5600,29 @@ declare class SignatureAggregatorService {
4885
5600
  * @returns SignatureAggregationResponse Successful response
4886
5601
  * @throws ApiError
4887
5602
  */
4888
- aggregateSignatures({ requestBody, }: {
5603
+ aggregateSignatures({ network, requestBody, }: {
5604
+ /**
5605
+ * Either mainnet or testnet/fuji.
5606
+ */
5607
+ network: Network;
4889
5608
  requestBody: SignatureAggregatorRequest;
4890
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>;
4891
5626
  }
4892
5627
 
4893
5628
  type TeleporterDestinationTransaction = {
@@ -5028,8 +5763,10 @@ declare class TeleporterService {
5028
5763
  readonly httpRequest: BaseHttpRequest;
5029
5764
  constructor(httpRequest: BaseHttpRequest);
5030
5765
  /**
5031
- * Get a teleporter message
5032
- * 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** .
5033
5770
  * @returns any Successful response
5034
5771
  * @throws ApiError
5035
5772
  */
@@ -5040,8 +5777,10 @@ declare class TeleporterService {
5040
5777
  messageId: string;
5041
5778
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
5042
5779
  /**
5043
- * List teleporter messages
5044
- * 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** .
5045
5784
  * @returns ListTeleporterMessagesResponse Successful response
5046
5785
  * @throws ApiError
5047
5786
  */
@@ -5080,8 +5819,10 @@ declare class TeleporterService {
5080
5819
  network?: Network;
5081
5820
  }): CancelablePromise<ListTeleporterMessagesResponse>;
5082
5821
  /**
5083
- * List teleporter messages by address
5084
- * 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** .
5085
5826
  * @returns ListTeleporterMessagesResponse Successful response
5086
5827
  * @throws ApiError
5087
5828
  */
@@ -5123,19 +5864,57 @@ type AddressActivityMetadata = {
5123
5864
  eventSignatures?: Array<string>;
5124
5865
  };
5125
5866
 
5867
+ declare enum PrimaryNetworkType {
5868
+ MAINNET = "mainnet",
5869
+ FUJI = "fuji"
5870
+ }
5871
+
5872
+ type EVMAddressActivityRequest = {
5873
+ eventType: EVMAddressActivityRequest.eventType;
5874
+ url: string;
5875
+ chainId: string;
5876
+ network?: PrimaryNetworkType;
5877
+ name?: string;
5878
+ description?: string;
5879
+ /**
5880
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5881
+ */
5882
+ includeInternalTxs?: boolean;
5883
+ /**
5884
+ * Whether to include logs in the webhook payload.
5885
+ */
5886
+ includeLogs?: boolean;
5887
+ metadata: AddressActivityMetadata;
5888
+ };
5889
+ declare namespace EVMAddressActivityRequest {
5890
+ enum eventType {
5891
+ ADDRESS_ACTIVITY = "address_activity"
5892
+ }
5893
+ }
5894
+
5126
5895
  declare enum EventType {
5127
- ADDRESS_ACTIVITY = "address_activity"
5896
+ ADDRESS_ACTIVITY = "address_activity",
5897
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
5898
+ VALIDATOR_ACTIVITY = "validator_activity"
5128
5899
  }
5129
5900
 
5130
- type CreateWebhookRequest = {
5901
+ declare enum WebhookStatusType {
5902
+ ACTIVE = "active",
5903
+ INACTIVE = "inactive"
5904
+ }
5905
+
5906
+ type EVMAddressActivityResponse = {
5907
+ id: string;
5908
+ eventType: EventType;
5131
5909
  url: string;
5132
5910
  chainId: string;
5133
- eventType: EventType;
5911
+ status: WebhookStatusType;
5912
+ createdAt: number;
5913
+ name: string;
5914
+ description: string;
5134
5915
  metadata: AddressActivityMetadata;
5135
- name?: string;
5136
- description?: string;
5137
5916
  /**
5138
- * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5917
+ * Whether to include traces in the webhook payload.
5139
5918
  */
5140
5919
  includeInternalTxs?: boolean;
5141
5920
  /**
@@ -5153,29 +5932,98 @@ type ListWebhookAddressesResponse = {
5153
5932
  totalAddresses: number;
5154
5933
  };
5155
5934
 
5156
- declare enum WebhookStatusType {
5157
- ACTIVE = "active",
5158
- INACTIVE = "inactive"
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"
5159
5942
  }
5160
5943
 
5161
- type WebhookResponse = {
5162
- id: string;
5163
- eventType: EventType;
5164
- metadata: AddressActivityMetadata;
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 = {
5165
5954
  /**
5166
- * Whether to include traces in the webhook payload.
5955
+ * Array of validator activity sub-event types
5167
5956
  */
5168
- includeInternalTxs?: boolean;
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;
5169
5979
  /**
5170
- * Whether to include logs in the webhook payload.
5980
+ * Threshold for balance corresponding to balanceType in nAVAX
5171
5981
  */
5172
- includeLogs?: boolean;
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;
5173
6020
  url: string;
5174
6021
  chainId: string;
5175
6022
  status: WebhookStatusType;
5176
6023
  createdAt: number;
5177
6024
  name: string;
5178
6025
  description: string;
6026
+ metadata: PlatformActivityMetadata;
5179
6027
  };
5180
6028
 
5181
6029
  type ListWebhooksResponse = {
@@ -5183,8 +6031,35 @@ type ListWebhooksResponse = {
5183
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.
5184
6032
  */
5185
6033
  nextPageToken?: string;
5186
- webhooks: Array<WebhookResponse>;
6034
+ webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6035
+ };
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;
5187
6056
  };
6057
+ declare namespace PlatformActivityRequest {
6058
+ enum eventType {
6059
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
6060
+ VALIDATOR_ACTIVITY = "validator_activity"
6061
+ }
6062
+ }
5188
6063
 
5189
6064
  type SharedSecretsResponse = {
5190
6065
  secret: string;
@@ -5213,12 +6088,12 @@ declare class WebhooksService {
5213
6088
  /**
5214
6089
  * Create a webhook
5215
6090
  * Create a new webhook.
5216
- * @returns WebhookResponse Successful response
6091
+ * @returns any Successful response
5217
6092
  * @throws ApiError
5218
6093
  */
5219
6094
  createWebhook({ requestBody, }: {
5220
- requestBody: CreateWebhookRequest;
5221
- }): CancelablePromise<WebhookResponse>;
6095
+ requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
6096
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5222
6097
  /**
5223
6098
  * List webhooks
5224
6099
  * Lists webhooks for the user.
@@ -5242,7 +6117,7 @@ declare class WebhooksService {
5242
6117
  /**
5243
6118
  * Get a webhook by ID
5244
6119
  * Retrieves a webhook by ID.
5245
- * @returns WebhookResponse Successful response
6120
+ * @returns any Successful response
5246
6121
  * @throws ApiError
5247
6122
  */
5248
6123
  getWebhook({ id, }: {
@@ -5250,11 +6125,11 @@ declare class WebhooksService {
5250
6125
  * The webhook identifier.
5251
6126
  */
5252
6127
  id: string;
5253
- }): CancelablePromise<WebhookResponse>;
6128
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5254
6129
  /**
5255
6130
  * Deactivate a webhook
5256
6131
  * Deactivates a webhook by ID.
5257
- * @returns WebhookResponse Successful response
6132
+ * @returns any Successful response
5258
6133
  * @throws ApiError
5259
6134
  */
5260
6135
  deactivateWebhook({ id, }: {
@@ -5262,11 +6137,11 @@ declare class WebhooksService {
5262
6137
  * The webhook identifier.
5263
6138
  */
5264
6139
  id: string;
5265
- }): CancelablePromise<WebhookResponse>;
6140
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5266
6141
  /**
5267
6142
  * Update a webhook
5268
6143
  * Updates an existing webhook.
5269
- * @returns WebhookResponse Successful response
6144
+ * @returns any Successful response
5270
6145
  * @throws ApiError
5271
6146
  */
5272
6147
  updateWebhook({ id, requestBody, }: {
@@ -5275,14 +6150,14 @@ declare class WebhooksService {
5275
6150
  */
5276
6151
  id: string;
5277
6152
  requestBody: UpdateWebhookRequest;
5278
- }): CancelablePromise<WebhookResponse>;
6153
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5279
6154
  /**
5280
- * Generate a shared secret
5281
- * Generates a new shared secret.
6155
+ * Generate or rotate a shared secret
6156
+ * Generates a new shared secret or rotate an existing one.
5282
6157
  * @returns SharedSecretsResponse Successful response
5283
6158
  * @throws ApiError
5284
6159
  */
5285
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
6160
+ generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5286
6161
  /**
5287
6162
  * Get a shared secret
5288
6163
  * Get a previously generated shared secret.
@@ -5291,9 +6166,9 @@ declare class WebhooksService {
5291
6166
  */
5292
6167
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5293
6168
  /**
5294
- * Add addresses to webhook
5295
- * Add addresses to webhook.
5296
- * @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
5297
6172
  * @throws ApiError
5298
6173
  */
5299
6174
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5302,11 +6177,11 @@ declare class WebhooksService {
5302
6177
  */
5303
6178
  id: string;
5304
6179
  requestBody: AddressesChangeRequest;
5305
- }): CancelablePromise<WebhookResponse>;
6180
+ }): CancelablePromise<EVMAddressActivityResponse>;
5306
6181
  /**
5307
- * Remove addresses from webhook
5308
- * Remove addresses from webhook.
5309
- * @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
5310
6185
  * @throws ApiError
5311
6186
  */
5312
6187
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5315,10 +6190,10 @@ declare class WebhooksService {
5315
6190
  */
5316
6191
  id: string;
5317
6192
  requestBody: AddressesChangeRequest;
5318
- }): CancelablePromise<WebhookResponse>;
6193
+ }): CancelablePromise<EVMAddressActivityResponse>;
5319
6194
  /**
5320
- * List adresses by webhook
5321
- * List adresses by webhook.
6195
+ * List adresses by EVM activity webhooks
6196
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5322
6197
  * @returns ListWebhookAddressesResponse Successful response
5323
6198
  * @throws ApiError
5324
6199
  */
@@ -5348,7 +6223,9 @@ declare class Glacier {
5348
6223
  readonly evmContracts: EvmContractsService;
5349
6224
  readonly evmTransactions: EvmTransactionsService;
5350
6225
  readonly healthCheck: HealthCheckService;
6226
+ readonly interchainMessaging: InterchainMessagingService;
5351
6227
  readonly nfTs: NfTsService;
6228
+ readonly notifications: NotificationsService;
5352
6229
  readonly operations: OperationsService;
5353
6230
  readonly primaryNetwork: PrimaryNetworkService;
5354
6231
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -5381,6 +6258,17 @@ declare class ApiError extends Error {
5381
6258
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
5382
6259
  }
5383
6260
 
6261
+ type AccessListData = {
6262
+ /**
6263
+ * Access Address
6264
+ */
6265
+ accessAddresses: string;
6266
+ /**
6267
+ * Storage keys
6268
+ */
6269
+ storageKeys: Array<string>;
6270
+ };
6271
+
5384
6272
  type BadGateway = {
5385
6273
  /**
5386
6274
  * The error message describing the reason for the exception
@@ -5415,6 +6303,76 @@ type DataListChainsResponse = {
5415
6303
  chains: Array<ChainInfo>;
5416
6304
  };
5417
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
+
5418
6376
  type Forbidden = {
5419
6377
  /**
5420
6378
  * The error message describing the reason for the exception
@@ -5445,6 +6403,64 @@ type InternalServerError = {
5445
6403
  error: string;
5446
6404
  };
5447
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
+
5448
6464
  type NextPageToken = {
5449
6465
  /**
5450
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.
@@ -5497,6 +6513,132 @@ type TooManyRequests = {
5497
6513
  error: string;
5498
6514
  };
5499
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
+
5500
6642
  type Unauthorized = {
5501
6643
  /**
5502
6644
  * The error message describing the reason for the exception
@@ -5512,4 +6654,32 @@ type Unauthorized = {
5512
6654
  error: string;
5513
6655
  };
5514
6656
 
5515
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsResponseDTO, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, 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 { ActiveDelegatorDetails, ActiveValidatorDetails, ApiError, ApiFeature, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CurrencyCode, DataApiUsageMetricsService, DefaultService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc721Contract, Erc721Token, Erc721TokenBalance, EventType, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformActivityKeyType, PlatformActivityRequest, PlatformAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, ValidationStatusType, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
6685
+ export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, Blockchain, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, 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, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PlatformActivityMetadata, PlatformActivityResponse, PlatformActivitySubEvents, PlatformBalanceThresholdFilter, PricingProviders, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorHealthDetails, ValidatorsDetails, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };