@avalabs/glacier-sdk 3.1.0-canary.1cb8bf7.0 → 3.1.0-canary.1ceff7e.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 (268) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +1294 -153
  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/FetchHttpRequest.d.ts +17 -0
  9. package/esm/generated/core/OpenAPI.d.ts +2 -1
  10. package/esm/generated/core/OpenAPI.js +1 -1
  11. package/esm/generated/models/AccessListData.d.ts +12 -0
  12. package/esm/generated/models/AccessRequest.d.ts +12 -0
  13. package/esm/generated/models/ActiveValidatorDetails.d.ts +26 -0
  14. package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
  15. package/esm/generated/models/{EventType.js → AddressActivityEventType.js} +1 -1
  16. package/esm/generated/models/AddressActivityMetadata.d.ts +5 -5
  17. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  18. package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
  19. package/esm/generated/models/AssetAmount.d.ts +1 -1
  20. package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
  21. package/esm/generated/models/BadGateway.d.ts +1 -1
  22. package/esm/generated/models/BadRequest.d.ts +1 -1
  23. package/esm/generated/models/BalanceOwner.d.ts +1 -1
  24. package/esm/generated/models/Blockchain.d.ts +9 -1
  25. package/esm/generated/models/BlockchainId.d.ts +0 -2
  26. package/esm/generated/models/BlockchainId.js +1 -1
  27. package/esm/generated/models/BlockchainIds.d.ts +1 -3
  28. package/esm/generated/models/BlockchainIds.js +1 -1
  29. package/esm/generated/models/BlockchainInfo.d.ts +7 -2
  30. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  31. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  32. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  33. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  34. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  35. package/esm/generated/models/ChainInfo.d.ts +1 -1
  36. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  37. package/esm/generated/models/CommonBalanceType.js +1 -0
  38. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  39. package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
  40. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  41. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  42. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  43. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  44. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  45. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  46. package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
  47. package/esm/generated/models/DeliveredIcmMessage.js +1 -0
  48. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
  49. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
  50. package/esm/generated/models/ERCToken.d.ts +24 -0
  51. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  52. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +10 -6
  53. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  54. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +10 -10
  55. package/esm/generated/models/EVMInput.d.ts +1 -1
  56. package/esm/generated/models/EVMOutput.d.ts +1 -1
  57. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  58. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  59. package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
  60. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  61. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  62. package/esm/generated/models/Erc20TokenBalance.d.ts +3 -3
  63. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  64. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  65. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  66. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  67. package/esm/generated/models/Erc721Transfer.d.ts +1 -1
  68. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  69. package/esm/generated/models/EvmBlock.d.ts +1 -1
  70. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  71. package/esm/generated/models/Forbidden.d.ts +1 -1
  72. package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
  73. package/esm/generated/models/Geolocation.d.ts +24 -0
  74. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  75. package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
  76. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  77. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  78. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  79. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  80. package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
  81. package/esm/generated/models/HealthCheckResultDto.js +1 -0
  82. package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
  83. package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
  84. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  85. package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
  86. package/esm/generated/models/IcmReceipt.d.ts +6 -0
  87. package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
  88. package/esm/generated/models/IcmRewardDetails.js +1 -0
  89. package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
  90. package/esm/generated/models/ImageAsset.d.ts +1 -1
  91. package/esm/generated/models/InternalServerError.d.ts +1 -1
  92. package/esm/generated/models/InternalTransaction.d.ts +1 -1
  93. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  94. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  95. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  96. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
  97. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +6 -2
  98. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  99. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  100. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  101. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  102. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  103. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  104. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  105. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  106. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  107. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  108. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  109. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  110. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  111. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  112. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  113. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  114. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  115. package/esm/generated/models/ListIcmMessagesResponse.d.ts +13 -0
  116. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  117. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
  118. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  119. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  120. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  121. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  122. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  123. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  124. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  125. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  126. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  127. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  128. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  129. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  130. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  131. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  132. package/esm/generated/models/ListWebhooksResponse.d.ts +5 -3
  133. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  134. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  135. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  136. package/esm/generated/models/Log.d.ts +40 -0
  137. package/esm/generated/models/LogsFormat.d.ts +1 -1
  138. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  139. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  140. package/esm/generated/models/Method.d.ts +1 -1
  141. package/esm/generated/models/Metric.d.ts +1 -1
  142. package/esm/generated/models/Money.d.ts +1 -1
  143. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  144. package/esm/generated/models/NativeTransaction.d.ts +1 -1
  145. package/esm/generated/models/Network.d.ts +1 -2
  146. package/esm/generated/models/Network.js +1 -1
  147. package/esm/generated/models/NetworkToken.d.ts +1 -1
  148. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  149. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  150. package/esm/generated/models/NextPageToken.d.ts +1 -1
  151. package/esm/generated/models/NotFound.d.ts +1 -1
  152. package/esm/generated/models/NotificationsResponse.d.ts +5 -0
  153. package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
  154. package/esm/generated/models/PChainBalance.d.ts +1 -1
  155. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  156. package/esm/generated/models/PChainTransaction.d.ts +26 -9
  157. package/esm/generated/models/PChainUtxo.d.ts +28 -1
  158. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  159. package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
  160. package/esm/generated/models/PendingIcmMessage.js +1 -0
  161. package/esm/generated/models/PendingReward.d.ts +1 -1
  162. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  163. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  164. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  165. package/esm/generated/models/PricingProviders.d.ts +1 -1
  166. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  167. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  168. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  169. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  170. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  171. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  172. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  173. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  174. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  175. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
  176. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  177. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  178. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  179. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +1 -0
  180. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -1
  181. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
  182. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
  183. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
  184. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
  185. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  186. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  187. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  188. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  189. package/esm/generated/models/ResourceLink.d.ts +1 -1
  190. package/esm/generated/models/Rewards.d.ts +1 -1
  191. package/esm/generated/models/RichAddress.d.ts +1 -1
  192. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  193. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
  194. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
  195. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  196. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  197. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  198. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
  199. package/esm/generated/models/StakingDistribution.d.ts +10 -1
  200. package/esm/generated/models/Subnet.d.ts +3 -3
  201. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  202. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  203. package/esm/generated/models/SubscribeRequest.d.ts +16 -0
  204. package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
  205. package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
  206. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  207. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  208. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  209. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  210. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  211. package/esm/generated/models/Transaction.d.ts +121 -0
  212. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  213. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  214. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  215. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  216. package/esm/generated/models/Unauthorized.d.ts +1 -1
  217. package/esm/generated/models/UnknownContract.d.ts +1 -1
  218. package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
  219. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  220. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  221. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  222. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  223. package/esm/generated/models/Utxo.d.ts +1 -1
  224. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  225. package/esm/generated/models/UtxoType.d.ts +3 -0
  226. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  227. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  228. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  229. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  230. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  231. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  232. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  233. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  234. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  235. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  236. package/esm/generated/models/ValidatorsDetails.d.ts +7 -1
  237. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  238. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  239. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  240. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  241. package/esm/generated/models/XChainBalances.d.ts +1 -1
  242. package/esm/generated/models/XChainId.d.ts +0 -1
  243. package/esm/generated/models/XChainId.js +1 -1
  244. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  245. package/esm/generated/models/XChainVertex.d.ts +1 -1
  246. package/esm/generated/services/DataApiUsageMetricsService.d.ts +55 -6
  247. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  248. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  249. package/esm/generated/services/EvmChainsService.d.ts +2 -2
  250. package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
  251. package/esm/generated/services/HealthCheckService.d.ts +4 -7
  252. package/esm/generated/services/HealthCheckService.js +1 -1
  253. package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
  254. package/esm/generated/services/InterchainMessagingService.js +1 -0
  255. package/esm/generated/services/NotificationsService.d.ts +51 -0
  256. package/esm/generated/services/NotificationsService.js +1 -0
  257. package/esm/generated/services/PrimaryNetworkService.d.ts +22 -5
  258. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  259. package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
  260. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  261. package/esm/generated/services/TeleporterService.d.ts +12 -6
  262. package/esm/generated/services/WebhooksService.d.ts +28 -24
  263. package/esm/generated/services/WebhooksService.js +1 -1
  264. package/esm/index.d.ts +51 -3
  265. package/esm/index.js +1 -1
  266. package/package.json +13 -4
  267. package/dist/index.js +0 -1
  268. package/esm/generated/models/EventType.d.ts +0 -5
package/dist/index.d.ts CHANGED
@@ -151,11 +151,11 @@ type LogsResponseDTO = {
151
151
  declare enum Network {
152
152
  MAINNET = "mainnet",
153
153
  FUJI = "fuji",
154
- TESTNET = "testnet",
155
- DEVNET = "devnet"
154
+ TESTNET = "testnet"
156
155
  }
157
156
 
158
157
  declare enum PrimaryNetworkRpcMetricsGroupByEnum {
158
+ RPC_METHOD = "rpcMethod",
159
159
  REQUEST_PATH = "requestPath",
160
160
  RESPONSE_CODE = "responseCode",
161
161
  COUNTRY = "country",
@@ -163,13 +163,7 @@ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
163
163
  USER_AGENT = "userAgent"
164
164
  }
165
165
 
166
- declare enum RpcUsageMetricsGroupByEnum {
167
- RPC_METHOD = "rpcMethod",
168
- RESPONSE_CODE = "responseCode",
169
- RL_BYPASS_TOKEN = "rlBypassToken"
170
- }
171
-
172
- declare enum SubnetRpcTimeIntervalGranularity {
166
+ declare enum PrimaryNetworkRpcTimeIntervalGranularity {
173
167
  HOURLY = "hourly",
174
168
  DAILY = "daily",
175
169
  WEEKLY = "weekly",
@@ -222,6 +216,10 @@ declare namespace RpcUsageMetricsValueAggregated {
222
216
  RPC_METHOD = "rpcMethod",
223
217
  RESPONSE_CODE = "responseCode",
224
218
  RL_BYPASS_TOKEN = "rlBypassToken",
219
+ REQUEST_PATH = "requestPath",
220
+ COUNTRY = "country",
221
+ CONTINENT = "continent",
222
+ USER_AGENT = "userAgent",
225
223
  NONE = "None"
226
224
  }
227
225
  }
@@ -237,6 +235,43 @@ type RpcMetrics = {
237
235
  values: Array<RpcUsageMetricsValueAggregated>;
238
236
  };
239
237
 
238
+ type PrimaryNetworkRpcUsageMetricsResponseDTO = {
239
+ /**
240
+ * Duration in which the metrics value is aggregated
241
+ */
242
+ aggregateDuration: string;
243
+ /**
244
+ * Metrics values
245
+ */
246
+ metrics: Array<RpcMetrics>;
247
+ /**
248
+ * Network type for which the metrics are aggregated
249
+ */
250
+ network: PrimaryNetworkRpcUsageMetricsResponseDTO.network;
251
+ };
252
+ declare namespace PrimaryNetworkRpcUsageMetricsResponseDTO {
253
+ /**
254
+ * Network type for which the metrics are aggregated
255
+ */
256
+ enum network {
257
+ MAINNET = "mainnet",
258
+ TESTNET = "testnet"
259
+ }
260
+ }
261
+
262
+ declare enum RpcUsageMetricsGroupByEnum {
263
+ RPC_METHOD = "rpcMethod",
264
+ RESPONSE_CODE = "responseCode",
265
+ RL_BYPASS_TOKEN = "rlBypassToken"
266
+ }
267
+
268
+ declare enum SubnetRpcTimeIntervalGranularity {
269
+ HOURLY = "hourly",
270
+ DAILY = "daily",
271
+ WEEKLY = "weekly",
272
+ MONTHLY = "monthly"
273
+ }
274
+
240
275
  type SubnetRpcUsageMetricsResponseDTO = {
241
276
  /**
242
277
  * Duration in which the metrics value is aggregated
@@ -451,6 +486,49 @@ declare class DataApiUsageMetricsService {
451
486
  * @returns SubnetRpcUsageMetricsResponseDTO Successful response
452
487
  * @throws ApiError
453
488
  */
489
+ getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
490
+ /**
491
+ * Time interval granularity for data aggregation for subnet
492
+ * rpc metrics
493
+ */
494
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
495
+ /**
496
+ * The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
497
+ */
498
+ startTimestamp?: number;
499
+ /**
500
+ * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
501
+ */
502
+ endTimestamp?: number;
503
+ /**
504
+ * Query param for the criterion used for grouping metrics
505
+ */
506
+ groupBy?: RpcUsageMetricsGroupByEnum;
507
+ /**
508
+ * Filter data by chain ID.
509
+ */
510
+ chainId?: string;
511
+ /**
512
+ * Filter data by response status code.
513
+ */
514
+ responseCode?: string;
515
+ /**
516
+ * Filter data by RPC method.
517
+ */
518
+ rpcMethod?: string;
519
+ /**
520
+ * Filter data by Rl Bypass API Token.
521
+ */
522
+ rlBypassApiToken?: string;
523
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
524
+ /**
525
+ * @deprecated
526
+ * **[Deprecated]** Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
527
+ *
528
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/subnetRpcUsageMetrics endpoint instead**.
529
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
530
+ * @throws ApiError
531
+ */
454
532
  getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
455
533
  /**
456
534
  * Time interval granularity for data aggregation for subnet
@@ -489,10 +567,10 @@ declare class DataApiUsageMetricsService {
489
567
  /**
490
568
  * Get usage metrics for the Primary Network RPC
491
569
  * Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
492
- * @returns SubnetRpcUsageMetricsResponseDTO Successful response
570
+ * @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
493
571
  * @throws ApiError
494
572
  */
495
- getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, }: {
573
+ getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
496
574
  /**
497
575
  * Either mainnet or testnet/fuji.
498
576
  */
@@ -501,7 +579,7 @@ declare class DataApiUsageMetricsService {
501
579
  * Time interval granularity for data aggregation for subnet
502
580
  * rpc metrics
503
581
  */
504
- timeInterval?: SubnetRpcTimeIntervalGranularity;
582
+ timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
505
583
  /**
506
584
  * The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
507
585
  */
@@ -523,18 +601,22 @@ declare class DataApiUsageMetricsService {
523
601
  */
524
602
  requestPath?: string;
525
603
  /**
526
- * Filter data by Country.
604
+ * Filter data by Country. Input must be a valid ISO 3166-1 alpha-2 country code. "XX" - Represents clients without country code data. "T1" - Represents clients using the Tor network.
527
605
  */
528
606
  country?: string;
529
607
  /**
530
- * Filter data by Continent.
608
+ * Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
531
609
  */
532
610
  continent?: string;
533
611
  /**
534
612
  * Filter data by User Agent.
535
613
  */
536
614
  userAgent?: string;
537
- }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
615
+ /**
616
+ * Filter data by RPC method.
617
+ */
618
+ rpcMethod?: string;
619
+ }): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
538
620
  }
539
621
 
540
622
  declare class DefaultService {
@@ -782,16 +864,16 @@ type Erc20TokenBalance = {
782
864
  */
783
865
  balanceValue?: Money;
784
866
  /**
785
- * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
867
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
786
868
  */
787
- tokenReputation: Erc20TokenBalance.tokenReputation | null;
869
+ tokenReputation: Erc20TokenBalance.tokenReputation;
788
870
  };
789
871
  declare namespace Erc20TokenBalance {
790
872
  enum ercType {
791
873
  ERC_20 = "ERC-20"
792
874
  }
793
875
  /**
794
- * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
876
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
795
877
  */
796
878
  enum tokenReputation {
797
879
  MALICIOUS = "Malicious",
@@ -886,7 +968,7 @@ declare class EvmBalancesService {
886
968
  */
887
969
  pageToken?: string;
888
970
  /**
889
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
971
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
890
972
  */
891
973
  pageSize?: number;
892
974
  /**
@@ -924,7 +1006,7 @@ declare class EvmBalancesService {
924
1006
  */
925
1007
  pageToken?: string;
926
1008
  /**
927
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1009
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
928
1010
  */
929
1011
  pageSize?: number;
930
1012
  /**
@@ -960,7 +1042,7 @@ declare class EvmBalancesService {
960
1042
  */
961
1043
  pageToken?: string;
962
1044
  /**
963
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1045
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
964
1046
  */
965
1047
  pageSize?: number;
966
1048
  /**
@@ -990,7 +1072,7 @@ declare class EvmBalancesService {
990
1072
  */
991
1073
  pageToken?: string;
992
1074
  /**
993
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1075
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
994
1076
  */
995
1077
  pageSize?: number;
996
1078
  /**
@@ -1387,7 +1469,7 @@ declare class EvmChainsService {
1387
1469
  }): CancelablePromise<ListAddressChainsResponse>;
1388
1470
  /**
1389
1471
  * List chains
1390
- * Lists the supported EVM-compatible chains. Filterable by network.
1472
+ * Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
1391
1473
  * @returns ListChainsResponse Successful response
1392
1474
  * @throws ApiError
1393
1475
  */
@@ -1403,7 +1485,7 @@ declare class EvmChainsService {
1403
1485
  }): CancelablePromise<ListChainsResponse>;
1404
1486
  /**
1405
1487
  * Get chain information
1406
- * Gets chain information for the EVM-compatible chain if supported by the api.
1488
+ * Gets chain information for the EVM-compatible chain if supported by AvaCloud.
1407
1489
  * @returns GetChainResponse Successful response
1408
1490
  * @throws ApiError
1409
1491
  */
@@ -1646,7 +1728,7 @@ type Erc1155Contract = {
1646
1728
  * A wallet or contract address in mixed-case checksum encoding.
1647
1729
  */
1648
1730
  address: string;
1649
- deploymentDetails: ContractDeploymentDetails;
1731
+ deploymentDetails?: ContractDeploymentDetails;
1650
1732
  ercType: Erc1155Contract.ercType;
1651
1733
  /**
1652
1734
  * The contract symbol.
@@ -1677,7 +1759,7 @@ type Erc20Contract = {
1677
1759
  * A wallet or contract address in mixed-case checksum encoding.
1678
1760
  */
1679
1761
  address: string;
1680
- deploymentDetails: ContractDeploymentDetails;
1762
+ deploymentDetails?: ContractDeploymentDetails;
1681
1763
  ercType: Erc20Contract.ercType;
1682
1764
  /**
1683
1765
  * The contract symbol.
@@ -1712,7 +1794,7 @@ type Erc721Contract = {
1712
1794
  * A wallet or contract address in mixed-case checksum encoding.
1713
1795
  */
1714
1796
  address: string;
1715
- deploymentDetails: ContractDeploymentDetails;
1797
+ deploymentDetails?: ContractDeploymentDetails;
1716
1798
  ercType: Erc721Contract.ercType;
1717
1799
  /**
1718
1800
  * The contract symbol.
@@ -1742,7 +1824,7 @@ type UnknownContract = {
1742
1824
  * A wallet or contract address in mixed-case checksum encoding.
1743
1825
  */
1744
1826
  address: string;
1745
- deploymentDetails: ContractDeploymentDetails;
1827
+ deploymentDetails?: ContractDeploymentDetails;
1746
1828
  ercType: UnknownContract.ercType;
1747
1829
  };
1748
1830
  declare namespace UnknownContract {
@@ -1960,6 +2042,7 @@ declare enum InternalTransactionOpCall {
1960
2042
  CALL = "CALL",
1961
2043
  CREATE = "CREATE",
1962
2044
  CREATE2 = "CREATE2",
2045
+ CREATE3 = "CREATE3",
1963
2046
  CALLCODE = "CALLCODE",
1964
2047
  DELEGATECALL = "DELEGATECALL",
1965
2048
  STATICCALL = "STATICCALL"
@@ -2001,11 +2084,11 @@ type TeleporterMessageInfo = {
2001
2084
  /**
2002
2085
  * chain id of the source chain. valid only for destination transactions
2003
2086
  */
2004
- sourceChainId?: Record<string, any>;
2087
+ sourceChainId?: string;
2005
2088
  /**
2006
2089
  * chain id of the destination chain. valid only for source transactions
2007
2090
  */
2008
- destinationChainId?: Record<string, any>;
2091
+ destinationChainId?: string;
2009
2092
  };
2010
2093
 
2011
2094
  type GetTransactionResponse = {
@@ -2022,7 +2105,7 @@ type GetTransactionResponse = {
2022
2105
  */
2023
2106
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2024
2107
  /**
2025
- * 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.
2026
2109
  */
2027
2110
  internalTransactions?: Array<InternalTransactionDetails>;
2028
2111
  networkTokenDetails: NetworkTokenDetails;
@@ -2191,7 +2274,7 @@ type TransactionDetails = {
2191
2274
  */
2192
2275
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2193
2276
  /**
2194
- * 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.
2277
+ * 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.
2195
2278
  */
2196
2279
  internalTransactions?: Array<InternalTransactionDetails>;
2197
2280
  };
@@ -2490,7 +2573,7 @@ declare class EvmTransactionsService {
2490
2573
  * List internal transactions
2491
2574
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2492
2575
  *
2493
- * 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.
2576
+ * 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.
2494
2577
  * @returns ListInternalTransactionsResponse Successful response
2495
2578
  * @throws ApiError
2496
2579
  */
@@ -2586,66 +2669,246 @@ declare class EvmTransactionsService {
2586
2669
  }): CancelablePromise<ListNativeTransactionsResponse>;
2587
2670
  }
2588
2671
 
2672
+ type HealthIndicatorResultDto = {
2673
+ /**
2674
+ * Status of the health indicator.
2675
+ */
2676
+ status?: HealthIndicatorResultDto.status;
2677
+ };
2678
+ declare namespace HealthIndicatorResultDto {
2679
+ /**
2680
+ * Status of the health indicator.
2681
+ */
2682
+ enum status {
2683
+ UP = "up",
2684
+ DOWN = "down"
2685
+ }
2686
+ }
2687
+
2688
+ type HealthCheckResultDto = {
2689
+ status?: HealthCheckResultDto.status;
2690
+ info?: any | null;
2691
+ error?: any | null;
2692
+ details?: Record<string, HealthIndicatorResultDto>;
2693
+ };
2694
+ declare namespace HealthCheckResultDto {
2695
+ enum status {
2696
+ ERROR = "error",
2697
+ OK = "ok",
2698
+ SHUTTING_DOWN = "shutting_down"
2699
+ }
2700
+ }
2701
+
2589
2702
  declare class HealthCheckService {
2590
2703
  readonly httpRequest: BaseHttpRequest;
2591
2704
  constructor(httpRequest: BaseHttpRequest);
2592
2705
  /**
2593
2706
  * Get the health of the service
2594
- * @returns any The Health Check is successful
2707
+ * Check the health of the service.
2708
+ * @returns HealthCheckResultDto The health of the service
2595
2709
  * @throws ApiError
2596
2710
  */
2597
- dataHealthCheck(): CancelablePromise<{
2598
- status?: string;
2599
- info?: Record<string, Record<string, string>> | null;
2600
- error?: Record<string, Record<string, string>> | null;
2601
- details?: Record<string, Record<string, string>>;
2602
- }>;
2711
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2603
2712
  }
2604
2713
 
2605
- type ListNftTokens = {
2714
+ type IcmDestinationTransaction = {
2715
+ txHash: string;
2716
+ timestamp: number;
2717
+ gasSpent: string;
2718
+ rewardRedeemer: string;
2719
+ delivererAddress: string;
2720
+ };
2721
+
2722
+ type IcmReceipt = {
2723
+ receivedMessageNonce: string;
2724
+ relayerRewardAddress: string;
2725
+ };
2726
+
2727
+ type IcmRewardDetails = {
2728
+ /**
2729
+ * A wallet or contract address in mixed-case checksum encoding.
2730
+ */
2731
+ address: string;
2732
+ /**
2733
+ * The contract name.
2734
+ */
2735
+ name: string;
2736
+ /**
2737
+ * The contract symbol.
2738
+ */
2739
+ symbol: string;
2740
+ /**
2741
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
2742
+ */
2743
+ decimals: number;
2744
+ /**
2745
+ * The logo uri for the address.
2746
+ */
2747
+ logoUri?: string;
2748
+ ercType: IcmRewardDetails.ercType;
2749
+ /**
2750
+ * The token price, if available.
2751
+ */
2752
+ price?: Money;
2753
+ value: string;
2754
+ };
2755
+ declare namespace IcmRewardDetails {
2756
+ enum ercType {
2757
+ ERC_20 = "ERC-20"
2758
+ }
2759
+ }
2760
+
2761
+ type IcmSourceTransaction = {
2762
+ txHash: string;
2763
+ timestamp: number;
2764
+ gasSpent: string;
2765
+ };
2766
+
2767
+ type DeliveredIcmMessage = {
2768
+ messageId: string;
2769
+ icmContractAddress: string;
2770
+ sourceBlockchainId: string;
2771
+ destinationBlockchainId: string;
2772
+ sourceEvmChainId: string;
2773
+ destinationEvmChainId: string;
2774
+ messageNonce: string;
2775
+ from: string;
2776
+ to: string;
2777
+ data?: string;
2778
+ messageExecuted: boolean;
2779
+ receipts: Array<IcmReceipt>;
2780
+ receiptDelivered: boolean;
2781
+ rewardDetails: IcmRewardDetails;
2782
+ sourceTransaction: IcmSourceTransaction;
2783
+ destinationTransaction: IcmDestinationTransaction;
2784
+ status: DeliveredIcmMessage.status;
2785
+ };
2786
+ declare namespace DeliveredIcmMessage {
2787
+ enum status {
2788
+ DELIVERED = "delivered"
2789
+ }
2790
+ }
2791
+
2792
+ type DeliveredSourceNotIndexedIcmMessage = {
2793
+ messageId: string;
2794
+ icmContractAddress: string;
2795
+ sourceBlockchainId: string;
2796
+ destinationBlockchainId: string;
2797
+ sourceEvmChainId: string;
2798
+ destinationEvmChainId: string;
2799
+ messageNonce: string;
2800
+ from: string;
2801
+ to: string;
2802
+ data?: string;
2803
+ messageExecuted: boolean;
2804
+ receipts: Array<IcmReceipt>;
2805
+ receiptDelivered: boolean;
2806
+ rewardDetails: IcmRewardDetails;
2807
+ destinationTransaction: IcmDestinationTransaction;
2808
+ status: DeliveredSourceNotIndexedIcmMessage.status;
2809
+ };
2810
+ declare namespace DeliveredSourceNotIndexedIcmMessage {
2811
+ enum status {
2812
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
2813
+ }
2814
+ }
2815
+
2816
+ type PendingIcmMessage = {
2817
+ messageId: string;
2818
+ icmContractAddress: string;
2819
+ sourceBlockchainId: string;
2820
+ destinationBlockchainId: string;
2821
+ sourceEvmChainId: string;
2822
+ destinationEvmChainId: string;
2823
+ messageNonce: string;
2824
+ from: string;
2825
+ to: string;
2826
+ data?: string;
2827
+ messageExecuted: boolean;
2828
+ receipts: Array<IcmReceipt>;
2829
+ receiptDelivered: boolean;
2830
+ rewardDetails: IcmRewardDetails;
2831
+ sourceTransaction: IcmSourceTransaction;
2832
+ status: PendingIcmMessage.status;
2833
+ };
2834
+ declare namespace PendingIcmMessage {
2835
+ enum status {
2836
+ PENDING = "pending"
2837
+ }
2838
+ }
2839
+
2840
+ type ListIcmMessagesResponse = {
2606
2841
  /**
2607
2842
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2608
2843
  */
2609
2844
  nextPageToken?: string;
2610
- tokens: Array<(Erc721Token | Erc1155Token)>;
2845
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2611
2846
  };
2612
2847
 
2613
- declare class NfTsService {
2848
+ declare class InterchainMessagingService {
2614
2849
  readonly httpRequest: BaseHttpRequest;
2615
2850
  constructor(httpRequest: BaseHttpRequest);
2616
2851
  /**
2617
- * Reindex NFT metadata
2618
- * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2852
+ * Get an ICM message
2853
+ * Gets an ICM message by teleporter message ID.
2619
2854
  * @returns any Successful response
2620
2855
  * @throws ApiError
2621
2856
  */
2622
- reindexNft({ chainId, address, tokenId, }: {
2857
+ getIcmMessage({ messageId, }: {
2623
2858
  /**
2624
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2859
+ * The teleporter message ID of the ICM message.
2625
2860
  */
2626
- chainId: string;
2861
+ messageId: string;
2862
+ }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2863
+ /**
2864
+ * List ICM messages
2865
+ * Lists ICM messages. Ordered by timestamp in descending order.
2866
+ * @returns ListIcmMessagesResponse Successful response
2867
+ * @throws ApiError
2868
+ */
2869
+ listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
2627
2870
  /**
2628
- * Contract address on the relevant chain.
2871
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2629
2872
  */
2630
- address: string;
2873
+ pageToken?: string;
2631
2874
  /**
2632
- * TokenId on the contract
2875
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2633
2876
  */
2634
- tokenId: string;
2635
- }): CancelablePromise<any>;
2877
+ pageSize?: number;
2878
+ /**
2879
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
2880
+ */
2881
+ sourceBlockchainId?: string;
2882
+ /**
2883
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
2884
+ */
2885
+ destinationBlockchainId?: string;
2886
+ /**
2887
+ * The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
2888
+ */
2889
+ blockchainId?: string;
2890
+ /**
2891
+ * The address of the recipient of the ICM message.
2892
+ */
2893
+ to?: string;
2894
+ /**
2895
+ * The address of the sender of the ICM message.
2896
+ */
2897
+ from?: string;
2898
+ /**
2899
+ * Either mainnet or testnet/fuji.
2900
+ */
2901
+ network?: Network;
2902
+ }): CancelablePromise<ListIcmMessagesResponse>;
2636
2903
  /**
2637
- * List tokens
2638
- * Lists tokens for an NFT contract.
2639
- * @returns ListNftTokens Successful response
2904
+ * List ICM messages by address
2905
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
2906
+ * @returns ListIcmMessagesResponse Successful response
2640
2907
  * @throws ApiError
2641
2908
  */
2642
- listTokens({ chainId, address, pageToken, pageSize, }: {
2643
- /**
2644
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2645
- */
2646
- chainId: string;
2909
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
2647
2910
  /**
2648
- * Contract address on the relevant chain.
2911
+ * An EVM address.
2649
2912
  */
2650
2913
  address: string;
2651
2914
  /**
@@ -2656,10 +2919,71 @@ declare class NfTsService {
2656
2919
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2657
2920
  */
2658
2921
  pageSize?: number;
2659
- }): CancelablePromise<ListNftTokens>;
2660
- /**
2661
- * Get token details
2662
- * Gets token details for a specific token of an NFT contract.
2922
+ /**
2923
+ * Either mainnet or testnet/fuji.
2924
+ */
2925
+ network?: Network;
2926
+ }): CancelablePromise<ListIcmMessagesResponse>;
2927
+ }
2928
+
2929
+ type ListNftTokens = {
2930
+ /**
2931
+ * 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.
2932
+ */
2933
+ nextPageToken?: string;
2934
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2935
+ };
2936
+
2937
+ declare class NfTsService {
2938
+ readonly httpRequest: BaseHttpRequest;
2939
+ constructor(httpRequest: BaseHttpRequest);
2940
+ /**
2941
+ * Reindex NFT metadata
2942
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2943
+ * @returns any Successful response
2944
+ * @throws ApiError
2945
+ */
2946
+ reindexNft({ chainId, address, tokenId, }: {
2947
+ /**
2948
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2949
+ */
2950
+ chainId: string;
2951
+ /**
2952
+ * Contract address on the relevant chain.
2953
+ */
2954
+ address: string;
2955
+ /**
2956
+ * TokenId on the contract
2957
+ */
2958
+ tokenId: string;
2959
+ }): CancelablePromise<any>;
2960
+ /**
2961
+ * List tokens
2962
+ * Lists tokens for an NFT contract.
2963
+ * @returns ListNftTokens Successful response
2964
+ * @throws ApiError
2965
+ */
2966
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2967
+ /**
2968
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2969
+ */
2970
+ chainId: string;
2971
+ /**
2972
+ * Contract address on the relevant chain.
2973
+ */
2974
+ address: string;
2975
+ /**
2976
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2977
+ */
2978
+ pageToken?: string;
2979
+ /**
2980
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2981
+ */
2982
+ pageSize?: number;
2983
+ }): CancelablePromise<ListNftTokens>;
2984
+ /**
2985
+ * Get token details
2986
+ * Gets token details for a specific token of an NFT contract.
2663
2987
  * @returns any Successful response
2664
2988
  * @throws ApiError
2665
2989
  */
@@ -2679,6 +3003,108 @@ declare class NfTsService {
2679
3003
  }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2680
3004
  }
2681
3005
 
3006
+ type AccessRequest = {
3007
+ /**
3008
+ * The email address to send the access token to
3009
+ */
3010
+ email: string;
3011
+ /**
3012
+ * The captcha to verify the user
3013
+ */
3014
+ captcha: string;
3015
+ };
3016
+
3017
+ type NotificationsResponse = {
3018
+ message: string;
3019
+ };
3020
+
3021
+ type SubscribeRequest = {
3022
+ /**
3023
+ * The access token to use for authentication
3024
+ */
3025
+ accessToken: string;
3026
+ /**
3027
+ * The node ID to subscribe to
3028
+ */
3029
+ nodeId: string;
3030
+ /**
3031
+ * The notification types to subscribe to. If not provided, all notification types will be subscribed to
3032
+ */
3033
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3034
+ };
3035
+
3036
+ type SubscriptionsRequest = {
3037
+ /**
3038
+ * The access token to use for authentication
3039
+ */
3040
+ accessToken: string;
3041
+ };
3042
+
3043
+ type SubscriptionsResponse = {
3044
+ /**
3045
+ * The email address of the user
3046
+ */
3047
+ email: string;
3048
+ /**
3049
+ * The subscriptions of the user
3050
+ */
3051
+ subscriptions: Record<string, {
3052
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3053
+ }>;
3054
+ };
3055
+
3056
+ type UnsubscribeRequest = {
3057
+ /**
3058
+ * The access token to use for authentication
3059
+ */
3060
+ accessToken: string;
3061
+ /**
3062
+ * The node ID to subscribe to
3063
+ */
3064
+ nodeId: string;
3065
+ };
3066
+
3067
+ declare class NotificationsService {
3068
+ readonly httpRequest: BaseHttpRequest;
3069
+ constructor(httpRequest: BaseHttpRequest);
3070
+ /**
3071
+ * Access Notifications
3072
+ * Access notifications.
3073
+ * @returns NotificationsResponse Successful response
3074
+ * @throws ApiError
3075
+ */
3076
+ access({ requestBody, }: {
3077
+ requestBody: AccessRequest;
3078
+ }): CancelablePromise<NotificationsResponse>;
3079
+ /**
3080
+ * Subscribe to Notifications
3081
+ * Subscribe to receive notifications.
3082
+ * @returns NotificationsResponse Successful response
3083
+ * @throws ApiError
3084
+ */
3085
+ subscribe({ requestBody, }: {
3086
+ requestBody: SubscribeRequest;
3087
+ }): CancelablePromise<NotificationsResponse>;
3088
+ /**
3089
+ * Unsubscribe from Notifications
3090
+ * Unsubscribe from receiving notifications.
3091
+ * @returns NotificationsResponse Successful response
3092
+ * @throws ApiError
3093
+ */
3094
+ unsubscribe({ requestBody, }: {
3095
+ requestBody: UnsubscribeRequest;
3096
+ }): CancelablePromise<NotificationsResponse>;
3097
+ /**
3098
+ * Get Subscriptions
3099
+ * Get subscriptions.
3100
+ * @returns SubscriptionsResponse Successful response
3101
+ * @throws ApiError
3102
+ */
3103
+ subscriptions({ requestBody, }: {
3104
+ requestBody: SubscriptionsRequest;
3105
+ }): CancelablePromise<SubscriptionsResponse>;
3106
+ }
3107
+
2682
3108
  type EvmNetworkOptions = {
2683
3109
  addresses: Array<string>;
2684
3110
  includeChains: Array<string>;
@@ -2712,7 +3138,7 @@ declare enum PrimaryNetworkOperationType {
2712
3138
  type PrimaryNetworkOptions = {
2713
3139
  addresses?: Array<string>;
2714
3140
  cChainEvmAddresses?: Array<string>;
2715
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
3141
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2716
3142
  };
2717
3143
 
2718
3144
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -2767,7 +3193,7 @@ type OperationStatusResponse = {
2767
3193
  operationType: OperationType;
2768
3194
  operationStatus: OperationStatus;
2769
3195
  message?: string;
2770
- metadata: TransactionExportMetadata;
3196
+ metadata?: TransactionExportMetadata;
2771
3197
  createdAtTimestamp: number;
2772
3198
  updatedAtTimestamp: number;
2773
3199
  };
@@ -2800,14 +3226,29 @@ declare class OperationsService {
2800
3226
  }): CancelablePromise<OperationStatusResponse>;
2801
3227
  }
2802
3228
 
3229
+ type Blockchain = {
3230
+ createBlockTimestamp: number;
3231
+ createBlockNumber: string;
3232
+ blockchainId: string;
3233
+ vmId: string;
3234
+ subnetId: string;
3235
+ blockchainName: string;
3236
+ /**
3237
+ * EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well.
3238
+ */
3239
+ evmChainId: number;
3240
+ /**
3241
+ * The genesis data of the blockchain.
3242
+ */
3243
+ genesisData?: Record<string, any>;
3244
+ };
3245
+
2803
3246
  declare enum BlockchainIds {
2804
3247
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2805
3248
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2806
3249
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
2807
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2808
3250
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
2809
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
2810
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3251
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
2811
3252
  }
2812
3253
 
2813
3254
  type ChainAddressChainIdMap = {
@@ -2831,16 +3272,31 @@ type DelegatorsDetails = {
2831
3272
  };
2832
3273
 
2833
3274
  type StakingDistribution = {
3275
+ /**
3276
+ * AvalancheGo version for the validator node.
3277
+ */
2834
3278
  version: string;
3279
+ /**
3280
+ * The total amount staked by validators using this version.
3281
+ */
2835
3282
  amountStaked: string;
3283
+ /**
3284
+ * The number of validators using this version.
3285
+ */
2836
3286
  validatorCount: number;
2837
3287
  };
2838
3288
 
2839
3289
  type ValidatorsDetails = {
2840
3290
  validatorCount: number;
2841
3291
  totalAmountStaked: string;
3292
+ /**
3293
+ * Total potential rewards from currently active validations and delegations.
3294
+ */
2842
3295
  estimatedAnnualStakingReward: string;
2843
3296
  stakingDistributionByVersion: Array<StakingDistribution>;
3297
+ /**
3298
+ * Ratio of total active stake amount to the current supply.
3299
+ */
2844
3300
  stakingRatio: string;
2845
3301
  };
2846
3302
 
@@ -2849,15 +3305,6 @@ type GetNetworkDetailsResponse = {
2849
3305
  delegatorDetails: DelegatorsDetails;
2850
3306
  };
2851
3307
 
2852
- type Blockchain = {
2853
- createBlockTimestamp: number;
2854
- createBlockNumber: string;
2855
- blockchainId: string;
2856
- vmId: string;
2857
- subnetId: string;
2858
- blockchainName: string;
2859
- };
2860
-
2861
3308
  type ListBlockchainsResponse = {
2862
3309
  /**
2863
3310
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -2892,7 +3339,13 @@ type CompletedDelegatorDetails = {
2892
3339
  delegationFee: string;
2893
3340
  startTimestamp: number;
2894
3341
  endTimestamp: number;
3342
+ /**
3343
+ * Total rewards distributed for the successful delegation.
3344
+ */
2895
3345
  grossReward: string;
3346
+ /**
3347
+ * Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3348
+ */
2896
3349
  netReward: string;
2897
3350
  delegationStatus: CompletedDelegatorDetails.delegationStatus;
2898
3351
  };
@@ -2910,7 +3363,13 @@ type PendingDelegatorDetails = {
2910
3363
  delegationFee: string;
2911
3364
  startTimestamp: number;
2912
3365
  endTimestamp: number;
3366
+ /**
3367
+ * Estimated total rewards that will be distributed for the successful delegation.
3368
+ */
2913
3369
  estimatedGrossReward: string;
3370
+ /**
3371
+ * Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3372
+ */
2914
3373
  estimatedNetReward: string;
2915
3374
  delegationStatus: PendingDelegatorDetails.delegationStatus;
2916
3375
  };
@@ -2941,6 +3400,10 @@ type L1ValidatorDetailsFull = {
2941
3400
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
2942
3401
  */
2943
3402
  validationId: string;
3403
+ /**
3404
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3405
+ */
3406
+ validationIdHex: string;
2944
3407
  nodeId: string;
2945
3408
  subnetId: string;
2946
3409
  /**
@@ -2975,10 +3438,10 @@ type ListL1ValidatorsResponse = {
2975
3438
  * The list of L1 validations for the given Subnet ID, NodeId or validationId
2976
3439
  */
2977
3440
  validators: Array<L1ValidatorDetailsFull>;
2978
- };
2979
-
2980
- type BlockchainInfo = {
2981
- blockchainId: string;
3441
+ /**
3442
+ * Block height at which the L1 validator's remaining balance is calculated
3443
+ */
3444
+ blockHeight: string;
2982
3445
  };
2983
3446
 
2984
3447
  type L1ValidatorManagerDetails = {
@@ -3036,7 +3499,7 @@ type Subnet = {
3036
3499
  * L1 validator manager details.
3037
3500
  */
3038
3501
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3039
- blockchains: Array<BlockchainInfo>;
3502
+ blockchains: Array<Blockchain>;
3040
3503
  };
3041
3504
 
3042
3505
  type ListSubnetsResponse = {
@@ -3052,6 +3515,29 @@ type BlsCredentials = {
3052
3515
  proofOfPossession: string;
3053
3516
  };
3054
3517
 
3518
+ type Geolocation = {
3519
+ /**
3520
+ * The name of the validator node.
3521
+ */
3522
+ city: string;
3523
+ /**
3524
+ * The city of the validator node.
3525
+ */
3526
+ country: string;
3527
+ /**
3528
+ * The country code of the validator node.
3529
+ */
3530
+ countryCode: string;
3531
+ /**
3532
+ * The latitude of the validator node.
3533
+ */
3534
+ latitude: number;
3535
+ /**
3536
+ * The longitude of the validator node.
3537
+ */
3538
+ longitude: number;
3539
+ };
3540
+
3055
3541
  type Rewards = {
3056
3542
  validationRewardAmount: string;
3057
3543
  delegationRewardAmount: string;
@@ -3083,6 +3569,9 @@ type ActiveValidatorDetails = {
3083
3569
  nodeId: string;
3084
3570
  subnetId: string;
3085
3571
  amountStaked: string;
3572
+ /**
3573
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3574
+ */
3086
3575
  delegationFee?: string;
3087
3576
  startTimestamp: number;
3088
3577
  endTimestamp: number;
@@ -3090,15 +3579,37 @@ type ActiveValidatorDetails = {
3090
3579
  * Present for AddPermissionlessValidatorTx
3091
3580
  */
3092
3581
  blsCredentials?: BlsCredentials;
3582
+ /**
3583
+ * The percentage of this validator's stake amount to the total active stake.
3584
+ */
3093
3585
  stakePercentage: number;
3586
+ /**
3587
+ * The number of delegators linked to the validator.
3588
+ */
3094
3589
  delegatorCount: number;
3590
+ /**
3591
+ * The total amount in nAVAX delegated to the validator.
3592
+ */
3095
3593
  amountDelegated?: string;
3594
+ /**
3595
+ * The validator's uptime percentage, as observed by our internal node and measured over time.
3596
+ */
3096
3597
  uptimePerformance: number;
3097
3598
  avalancheGoVersion?: string;
3599
+ /**
3600
+ * The amount of stake in nAVAX that can be delegated to this validator.
3601
+ */
3098
3602
  delegationCapacity?: string;
3603
+ /**
3604
+ * Estimated rewards for the validator if the validation is successful.
3605
+ */
3099
3606
  potentialRewards: Rewards;
3100
3607
  validationStatus: ActiveValidatorDetails.validationStatus;
3101
3608
  validatorHealth: ValidatorHealthDetails;
3609
+ /**
3610
+ * The geographical location of the validator node, if available.
3611
+ */
3612
+ geolocation: Geolocation | null;
3102
3613
  };
3103
3614
  declare namespace ActiveValidatorDetails {
3104
3615
  enum validationStatus {
@@ -3111,6 +3622,9 @@ type CompletedValidatorDetails = {
3111
3622
  nodeId: string;
3112
3623
  subnetId: string;
3113
3624
  amountStaked: string;
3625
+ /**
3626
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3627
+ */
3114
3628
  delegationFee?: string;
3115
3629
  startTimestamp: number;
3116
3630
  endTimestamp: number;
@@ -3134,6 +3648,9 @@ type PendingValidatorDetails = {
3134
3648
  nodeId: string;
3135
3649
  subnetId: string;
3136
3650
  amountStaked: string;
3651
+ /**
3652
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3653
+ */
3137
3654
  delegationFee?: string;
3138
3655
  startTimestamp: number;
3139
3656
  endTimestamp: number;
@@ -3154,6 +3671,9 @@ type RemovedValidatorDetails = {
3154
3671
  nodeId: string;
3155
3672
  subnetId: string;
3156
3673
  amountStaked: string;
3674
+ /**
3675
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3676
+ */
3157
3677
  delegationFee?: string;
3158
3678
  startTimestamp: number;
3159
3679
  endTimestamp: number;
@@ -3161,7 +3681,13 @@ type RemovedValidatorDetails = {
3161
3681
  * Present for AddPermissionlessValidatorTx
3162
3682
  */
3163
3683
  blsCredentials?: BlsCredentials;
3684
+ /**
3685
+ * The transaction hash that removed the permissioned subnet validator.
3686
+ */
3164
3687
  removeTxHash: string;
3688
+ /**
3689
+ * The timestamp of the transaction that removed the permissioned subnet validator.
3690
+ */
3165
3691
  removeTimestamp: number;
3166
3692
  validationStatus: RemovedValidatorDetails.validationStatus;
3167
3693
  };
@@ -3241,7 +3767,6 @@ type XChainAssetDetails = {
3241
3767
  declare enum XChainId {
3242
3768
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3243
3769
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3244
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3245
3770
  X_CHAIN = "x-chain"
3246
3771
  }
3247
3772
 
@@ -3312,7 +3837,7 @@ declare class PrimaryNetworkService {
3312
3837
  */
3313
3838
  pageToken?: string;
3314
3839
  /**
3315
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3840
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3316
3841
  */
3317
3842
  pageSize?: number;
3318
3843
  /**
@@ -3320,6 +3845,22 @@ declare class PrimaryNetworkService {
3320
3845
  */
3321
3846
  sortOrder?: SortOrder;
3322
3847
  }): CancelablePromise<ListBlockchainsResponse>;
3848
+ /**
3849
+ * Get blockchain details by ID
3850
+ * Get details of the blockchain registered on the network.
3851
+ * @returns Blockchain Successful response
3852
+ * @throws ApiError
3853
+ */
3854
+ getBlockchainById({ blockchainId, network, }: {
3855
+ /**
3856
+ * The blockchain ID of the blockchain to retrieve.
3857
+ */
3858
+ blockchainId: string;
3859
+ /**
3860
+ * Either mainnet or testnet/fuji.
3861
+ */
3862
+ network: Network;
3863
+ }): CancelablePromise<Blockchain>;
3323
3864
  /**
3324
3865
  * List subnets
3325
3866
  * Lists all subnets registered on the network.
@@ -3336,7 +3877,7 @@ declare class PrimaryNetworkService {
3336
3877
  */
3337
3878
  pageToken?: string;
3338
3879
  /**
3339
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3880
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3340
3881
  */
3341
3882
  pageSize?: number;
3342
3883
  /**
@@ -3362,7 +3903,7 @@ declare class PrimaryNetworkService {
3362
3903
  }): CancelablePromise<Subnet>;
3363
3904
  /**
3364
3905
  * List validators
3365
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
3906
+ * Lists details for validators. By default, returns details for all validators. The nodeIds parameter supports substring matching. Filterable by validation status, delegation capacity, time remaining, fee percentage, uptime performance, and subnet id.
3366
3907
  * @returns ListValidatorDetailsResponse Successful response
3367
3908
  * @throws ApiError
3368
3909
  */
@@ -3380,7 +3921,7 @@ declare class PrimaryNetworkService {
3380
3921
  */
3381
3922
  pageSize?: number;
3382
3923
  /**
3383
- * A comma separated list of node ids to filter by.
3924
+ * A comma separated list of node ids to filter by. Supports substring matching.
3384
3925
  */
3385
3926
  nodeIds?: string;
3386
3927
  /**
@@ -3524,7 +4065,7 @@ declare class PrimaryNetworkService {
3524
4065
  /**
3525
4066
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3526
4067
  */
3527
- l1ValidationId?: any;
4068
+ l1ValidationId?: string;
3528
4069
  includeInactiveL1Validators?: boolean;
3529
4070
  /**
3530
4071
  * A valid node ID in format 'NodeID-HASH'.
@@ -3541,10 +4082,8 @@ declare enum BlockchainId {
3541
4082
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3542
4083
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3543
4084
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3544
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3545
4085
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3546
4086
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3547
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
3548
4087
  P_CHAIN = "p-chain",
3549
4088
  X_CHAIN = "x-chain",
3550
4089
  C_CHAIN = "c-chain"
@@ -4302,11 +4841,24 @@ type ListCChainAtomicTransactionsResponse = {
4302
4841
  chainInfo: PrimaryNetworkChainInfo;
4303
4842
  };
4304
4843
 
4844
+ type BlockchainInfo = {
4845
+ chainName: string;
4846
+ vmId: string;
4847
+ /**
4848
+ * The genesis data of the blockchain. Present for CreateChainTx. EVM based chains will return the genesis data as an object. Non-EVM based chains will return the genesis data as an encoded string. The encoding depends on the VM
4849
+ */
4850
+ genesisData?: Record<string, any>;
4851
+ };
4852
+
4305
4853
  type L1ValidatorDetailsTransaction = {
4306
4854
  /**
4307
4855
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4308
4856
  */
4309
4857
  validationId: string;
4858
+ /**
4859
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
4860
+ */
4861
+ validationIdHex: string;
4310
4862
  nodeId: string;
4311
4863
  subnetId: string;
4312
4864
  /**
@@ -4318,7 +4870,7 @@ type L1ValidatorDetailsTransaction = {
4318
4870
  */
4319
4871
  remainingBalance: number;
4320
4872
  /**
4321
- * The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4873
+ * The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4322
4874
  */
4323
4875
  balanceChange?: number;
4324
4876
  blsCredentials?: Record<string, any>;
@@ -4348,6 +4900,9 @@ declare enum PChainTransactionType {
4348
4900
  UNKNOWN = "UNKNOWN"
4349
4901
  }
4350
4902
 
4903
+ /**
4904
+ * Indicates whether the UTXO is staked or transferable
4905
+ */
4351
4906
  declare enum UtxoType {
4352
4907
  STAKE = "STAKE",
4353
4908
  TRANSFER = "TRANSFER"
@@ -4385,16 +4940,43 @@ type PChainUtxo = {
4385
4940
  assetId: string;
4386
4941
  blockNumber: string;
4387
4942
  blockTimestamp: number;
4943
+ /**
4944
+ * Block height in which the transaction consuming this UTXO was included
4945
+ */
4388
4946
  consumingBlockNumber?: string;
4947
+ /**
4948
+ * Timestamp in seconds at which this UTXO is used in a consuming transaction
4949
+ */
4389
4950
  consumingBlockTimestamp?: number;
4951
+ /**
4952
+ * Timestamp in seconds after which this UTXO can be consumed
4953
+ */
4390
4954
  platformLocktime?: number;
4955
+ /**
4956
+ * The index of the UTXO in the transaction
4957
+ */
4391
4958
  outputIndex: number;
4392
4959
  rewardType?: RewardType;
4960
+ /**
4961
+ * Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
4962
+ */
4393
4963
  stakeableLocktime?: number;
4394
4964
  staked?: boolean;
4965
+ /**
4966
+ * The minimum number of signatures required to spend this UTXO
4967
+ */
4395
4968
  threshold?: number;
4969
+ /**
4970
+ * The hash of the transaction that created this UTXO
4971
+ */
4396
4972
  txHash: string;
4973
+ /**
4974
+ * Timestamp in seconds after which the staked UTXO will be unlocked.
4975
+ */
4397
4976
  utxoEndTimestamp?: number;
4977
+ /**
4978
+ * Timestamp in seconds at which the staked UTXO was locked.
4979
+ */
4398
4980
  utxoStartTimestamp?: number;
4399
4981
  utxoType: UtxoType;
4400
4982
  };
@@ -4409,9 +4991,18 @@ type PChainTransaction = {
4409
4991
  * The block finality timestamp.
4410
4992
  */
4411
4993
  blockTimestamp: number;
4994
+ /**
4995
+ * The height of the block in which the transaction was included
4996
+ */
4412
4997
  blockNumber: string;
4413
4998
  blockHash: string;
4999
+ /**
5000
+ * The consumed UTXOs of the transaction
5001
+ */
4414
5002
  consumedUtxos: Array<PChainUtxo>;
5003
+ /**
5004
+ * The newly created UTXOs of the transaction
5005
+ */
4415
5006
  emittedUtxos: Array<PChainUtxo>;
4416
5007
  /**
4417
5008
  * Source chain for an atomic transaction.
@@ -4422,11 +5013,11 @@ type PChainTransaction = {
4422
5013
  */
4423
5014
  destinationChain?: string;
4424
5015
  /**
4425
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5016
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction
4426
5017
  */
4427
5018
  value: Array<AssetAmount>;
4428
5019
  /**
4429
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5020
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee
4430
5021
  */
4431
5022
  amountBurned: Array<AssetAmount>;
4432
5023
  /**
@@ -4434,7 +5025,7 @@ type PChainTransaction = {
4434
5025
  */
4435
5026
  amountStaked: Array<AssetAmount>;
4436
5027
  /**
4437
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5028
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.
4438
5029
  */
4439
5030
  amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4440
5031
  /**
@@ -4446,11 +5037,11 @@ type PChainTransaction = {
4446
5037
  */
4447
5038
  endTimestamp?: number;
4448
5039
  /**
4449
- * Present for AddValidatorTx, AddPermissionlessValidatorTx
5040
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
4450
5041
  */
4451
5042
  delegationFeePercent?: string;
4452
5043
  /**
4453
- * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5044
+ * The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4454
5045
  */
4455
5046
  nodeId?: string;
4456
5047
  /**
@@ -4466,14 +5057,17 @@ type PChainTransaction = {
4466
5057
  */
4467
5058
  l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
4468
5059
  /**
4469
- * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5060
+ * Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4470
5061
  */
4471
5062
  estimatedReward?: string;
5063
+ /**
5064
+ * Reward transaction hash for the completed validations or delegations
5065
+ */
4472
5066
  rewardTxHash?: string;
4473
5067
  rewardAddresses?: Array<string>;
4474
5068
  memo?: string;
4475
5069
  /**
4476
- * Present for RewardValidatorTx
5070
+ * Staking transaction corresponding to the RewardValidatorTx
4477
5071
  */
4478
5072
  stakingTxHash?: string;
4479
5073
  /**
@@ -4481,10 +5075,14 @@ type PChainTransaction = {
4481
5075
  */
4482
5076
  subnetOwnershipInfo?: SubnetOwnershipInfo;
4483
5077
  /**
4484
- * Present for AddPermissionlessValidatorTx
5078
+ * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4485
5079
  */
4486
5080
  blsCredentials?: BlsCredentials;
4487
- };
5081
+ /**
5082
+ * Details of the blockchain that was created in the CreateChainTx
5083
+ */
5084
+ blockchainInfo?: BlockchainInfo;
5085
+ };
4488
5086
 
4489
5087
  type ListPChainTransactionsResponse = {
4490
5088
  /**
@@ -5027,6 +5625,22 @@ declare class SignatureAggregatorService {
5027
5625
  network: Network;
5028
5626
  requestBody: SignatureAggregatorRequest;
5029
5627
  }): CancelablePromise<SignatureAggregationResponse>;
5628
+ /**
5629
+ * Get Aggregated Signatures
5630
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
5631
+ * @returns SignatureAggregationResponse Successful response
5632
+ * @throws ApiError
5633
+ */
5634
+ getAggregatedSignatures({ network, txHash, }: {
5635
+ /**
5636
+ * Either mainnet or testnet/fuji.
5637
+ */
5638
+ network: Network;
5639
+ /**
5640
+ * A primary network (P or X chain) transaction hash.
5641
+ */
5642
+ txHash: string;
5643
+ }): CancelablePromise<SignatureAggregationResponse>;
5030
5644
  }
5031
5645
 
5032
5646
  type TeleporterDestinationTransaction = {
@@ -5160,15 +5774,17 @@ type ListTeleporterMessagesResponse = {
5160
5774
  * 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.
5161
5775
  */
5162
5776
  nextPageToken?: string;
5163
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
5777
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
5164
5778
  };
5165
5779
 
5166
5780
  declare class TeleporterService {
5167
5781
  readonly httpRequest: BaseHttpRequest;
5168
5782
  constructor(httpRequest: BaseHttpRequest);
5169
5783
  /**
5170
- * Get a teleporter message
5171
- * Gets a teleporter message by message ID.
5784
+ * @deprecated
5785
+ * **[Deprecated]** Gets a teleporter message by message ID.
5786
+ *
5787
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
5172
5788
  * @returns any Successful response
5173
5789
  * @throws ApiError
5174
5790
  */
@@ -5179,8 +5795,10 @@ declare class TeleporterService {
5179
5795
  messageId: string;
5180
5796
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
5181
5797
  /**
5182
- * List teleporter messages
5183
- * Lists teleporter messages. Ordered by timestamp in descending order.
5798
+ * @deprecated
5799
+ * **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
5800
+ *
5801
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
5184
5802
  * @returns ListTeleporterMessagesResponse Successful response
5185
5803
  * @throws ApiError
5186
5804
  */
@@ -5219,8 +5837,10 @@ declare class TeleporterService {
5219
5837
  network?: Network;
5220
5838
  }): CancelablePromise<ListTeleporterMessagesResponse>;
5221
5839
  /**
5222
- * List teleporter messages by address
5223
- * Lists teleporter messages by address. Ordered by timestamp in descending order.
5840
+ * @deprecated
5841
+ * **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
5842
+ *
5843
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
5224
5844
  * @returns ListTeleporterMessagesResponse Successful response
5225
5845
  * @throws ApiError
5226
5846
  */
@@ -5253,28 +5873,58 @@ type AddressesChangeRequest = {
5253
5873
 
5254
5874
  type AddressActivityMetadata = {
5255
5875
  /**
5256
- * Ethereum address(es) for the address_activity event type
5876
+ * Array of hexadecimal strings of the event signatures.
5877
+ */
5878
+ eventSignatures?: Array<string>;
5879
+ /**
5880
+ * Ethereum address(es) for the address_activity event type. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
5257
5881
  */
5258
5882
  addresses: Array<string>;
5883
+ };
5884
+
5885
+ type EVMAddressActivityRequest = {
5886
+ eventType: EVMAddressActivityRequest.eventType;
5887
+ url: string;
5888
+ name?: string;
5889
+ description?: string;
5890
+ chainId: string;
5891
+ metadata: AddressActivityMetadata;
5259
5892
  /**
5260
- * Array of hexadecimal strings of the event signatures.
5893
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5261
5894
  */
5262
- eventSignatures?: Array<string>;
5895
+ includeInternalTxs?: boolean;
5896
+ /**
5897
+ * Whether to include logs in the webhook payload.
5898
+ */
5899
+ includeLogs?: boolean;
5263
5900
  };
5901
+ declare namespace EVMAddressActivityRequest {
5902
+ enum eventType {
5903
+ ADDRESS_ACTIVITY = "address_activity"
5904
+ }
5905
+ }
5264
5906
 
5265
- declare enum EventType {
5907
+ declare enum AddressActivityEventType {
5266
5908
  ADDRESS_ACTIVITY = "address_activity"
5267
5909
  }
5268
5910
 
5269
- type CreateWebhookRequest = {
5911
+ declare enum WebhookStatusType {
5912
+ ACTIVE = "active",
5913
+ INACTIVE = "inactive"
5914
+ }
5915
+
5916
+ type EVMAddressActivityResponse = {
5917
+ id: string;
5270
5918
  url: string;
5271
5919
  chainId: string;
5272
- eventType: EventType;
5920
+ status: WebhookStatusType;
5921
+ createdAt: number;
5922
+ name: string;
5923
+ description: string;
5924
+ eventType: AddressActivityEventType;
5273
5925
  metadata: AddressActivityMetadata;
5274
- name?: string;
5275
- description?: string;
5276
5926
  /**
5277
- * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5927
+ * Whether to include traces in the webhook payload.
5278
5928
  */
5279
5929
  includeInternalTxs?: boolean;
5280
5930
  /**
@@ -5292,29 +5942,143 @@ type ListWebhookAddressesResponse = {
5292
5942
  totalAddresses: number;
5293
5943
  };
5294
5944
 
5295
- declare enum WebhookStatusType {
5296
- ACTIVE = "active",
5297
- INACTIVE = "inactive"
5945
+ declare enum PrimaryNetworkAddressActivityEventType {
5946
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
5947
+ }
5948
+
5949
+ /**
5950
+ * The type of key to monitor for the address activity event type.
5951
+ */
5952
+ declare enum PlatformAddressActivityKeyType {
5953
+ ADDRESSES = "addresses"
5954
+ }
5955
+
5956
+ /**
5957
+ * Array of address activity sub-event types
5958
+ */
5959
+ declare enum PrimaryNetworkAddressActivitySubEventType {
5960
+ BALANCE_CHANGE = "balance_change",
5961
+ BALANCE_THRESHOLD = "balance_threshold",
5962
+ REWARD_DISTRIBUTION = "reward_distribution"
5298
5963
  }
5299
5964
 
5300
- type WebhookResponse = {
5965
+ type PrimaryNetworkAddressActivitySubEvents = {
5966
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
5967
+ };
5968
+
5969
+ /**
5970
+ * Type of balance to monitor
5971
+ */
5972
+ declare enum CommonBalanceType {
5973
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
5974
+ UNLOCKED_STAKED = "unlockedStaked",
5975
+ LOCKED_PLATFORM = "lockedPlatform",
5976
+ LOCKED_STAKEABLE = "lockedStakeable",
5977
+ LOCKED_STAKED = "lockedStaked",
5978
+ PENDING_STAKED = "pendingStaked",
5979
+ UNLOCKED = "unlocked",
5980
+ LOCKED = "locked",
5981
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
5982
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5983
+ }
5984
+
5985
+ type PrimaryNetworkBalanceThresholdFilter = {
5986
+ balanceType: CommonBalanceType;
5987
+ /**
5988
+ * Threshold for balance corresponding to balanceType in nAVAX
5989
+ */
5990
+ balanceThreshold: string;
5991
+ };
5992
+
5993
+ type PrimaryNetworkAddressActivityMetadata = {
5994
+ /**
5995
+ * Array of hexadecimal strings of the event signatures.
5996
+ */
5997
+ eventSignatures?: Array<string>;
5998
+ keyType: PlatformAddressActivityKeyType;
5999
+ /**
6000
+ * Array of keys like addresses corresponding to the keyType being monitored. For PrimaryNetworkAddressActivity event, an array of multiple addresses can be provided. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
6001
+ */
6002
+ keys: Array<string>;
6003
+ /**
6004
+ * Sub-events to monitor
6005
+ */
6006
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6007
+ /**
6008
+ * Balance threshold filter
6009
+ */
6010
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6011
+ };
6012
+
6013
+ type PrimaryNetworkAddressActivityResponse = {
5301
6014
  id: string;
5302
- eventType: EventType;
5303
- metadata: AddressActivityMetadata;
6015
+ url: string;
6016
+ chainId: string;
6017
+ status: WebhookStatusType;
6018
+ createdAt: number;
6019
+ name: string;
6020
+ description: string;
6021
+ eventType: PrimaryNetworkAddressActivityEventType;
6022
+ metadata: PrimaryNetworkAddressActivityMetadata;
6023
+ };
6024
+
6025
+ declare enum ValidatorActivityEventType {
6026
+ VALIDATOR_ACTIVITY = "validator_activity"
6027
+ }
6028
+
6029
+ /**
6030
+ * The type of key to monitor for the validator activity event type.
6031
+ */
6032
+ declare enum ValidatorActivityKeyType {
6033
+ NODE_ID = "nodeId",
6034
+ SUBNET_ID = "subnetId"
6035
+ }
6036
+
6037
+ type ValidatorActivitySubEvents = {
5304
6038
  /**
5305
- * Whether to include traces in the webhook payload.
6039
+ * Array of validator activity sub-event types
5306
6040
  */
5307
- includeInternalTxs?: boolean;
6041
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6042
+ };
6043
+
6044
+ type ValidatorActivityMetadata = {
5308
6045
  /**
5309
- * Whether to include logs in the webhook payload.
6046
+ * Array of hexadecimal strings of the event signatures.
5310
6047
  */
5311
- includeLogs?: boolean;
6048
+ eventSignatures?: Array<string>;
6049
+ keyType: ValidatorActivityKeyType;
6050
+ /**
6051
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
6052
+ */
6053
+ keys: Array<string>;
6054
+ /**
6055
+ * Sub-events to monitor
6056
+ */
6057
+ subEvents: ValidatorActivitySubEvents;
6058
+ /**
6059
+ * Array of node IDs to filter the events
6060
+ */
6061
+ nodeIds?: Array<string>;
6062
+ /**
6063
+ * Array of subnet IDs to filter the events
6064
+ */
6065
+ subnetIds?: Array<string>;
6066
+ /**
6067
+ * L1 validator fee balance threshold in nAVAX
6068
+ */
6069
+ l1ValidatorFeeBalanceThreshold?: string;
6070
+ };
6071
+
6072
+ type ValidatorActivityResponse = {
6073
+ id: string;
5312
6074
  url: string;
5313
6075
  chainId: string;
5314
6076
  status: WebhookStatusType;
5315
6077
  createdAt: number;
5316
6078
  name: string;
5317
6079
  description: string;
6080
+ eventType: ValidatorActivityEventType;
6081
+ metadata: ValidatorActivityMetadata;
5318
6082
  };
5319
6083
 
5320
6084
  type ListWebhooksResponse = {
@@ -5322,8 +6086,31 @@ type ListWebhooksResponse = {
5322
6086
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5323
6087
  */
5324
6088
  nextPageToken?: string;
5325
- webhooks: Array<WebhookResponse>;
6089
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6090
+ };
6091
+
6092
+ declare enum PrimaryNetworkType {
6093
+ MAINNET = "mainnet",
6094
+ FUJI = "fuji"
6095
+ }
6096
+
6097
+ type PrimaryNetworkAddressActivityRequest = {
6098
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
6099
+ url: string;
6100
+ name?: string;
6101
+ description?: string;
6102
+ network: PrimaryNetworkType;
6103
+ chainId: string;
6104
+ /**
6105
+ * Metadata for platform address activity event
6106
+ */
6107
+ metadata: PrimaryNetworkAddressActivityMetadata;
5326
6108
  };
6109
+ declare namespace PrimaryNetworkAddressActivityRequest {
6110
+ enum eventType {
6111
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6112
+ }
6113
+ }
5327
6114
 
5328
6115
  type SharedSecretsResponse = {
5329
6116
  secret: string;
@@ -5341,6 +6128,23 @@ type UpdateWebhookRequest = {
5341
6128
  includeLogs?: boolean;
5342
6129
  };
5343
6130
 
6131
+ type ValidatorActivityRequest = {
6132
+ eventType: ValidatorActivityRequest.eventType;
6133
+ url: string;
6134
+ name?: string;
6135
+ description?: string;
6136
+ network: PrimaryNetworkType;
6137
+ /**
6138
+ * Metadata for platform validator activity event
6139
+ */
6140
+ metadata: ValidatorActivityMetadata;
6141
+ };
6142
+ declare namespace ValidatorActivityRequest {
6143
+ enum eventType {
6144
+ VALIDATOR_ACTIVITY = "validator_activity"
6145
+ }
6146
+ }
6147
+
5344
6148
  declare enum WebhookStatus {
5345
6149
  ACTIVE = "active",
5346
6150
  INACTIVE = "inactive"
@@ -5352,12 +6156,12 @@ declare class WebhooksService {
5352
6156
  /**
5353
6157
  * Create a webhook
5354
6158
  * Create a new webhook.
5355
- * @returns WebhookResponse Successful response
6159
+ * @returns any Successful response
5356
6160
  * @throws ApiError
5357
6161
  */
5358
6162
  createWebhook({ requestBody, }: {
5359
- requestBody: CreateWebhookRequest;
5360
- }): CancelablePromise<WebhookResponse>;
6163
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6164
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5361
6165
  /**
5362
6166
  * List webhooks
5363
6167
  * Lists webhooks for the user.
@@ -5381,7 +6185,7 @@ declare class WebhooksService {
5381
6185
  /**
5382
6186
  * Get a webhook by ID
5383
6187
  * Retrieves a webhook by ID.
5384
- * @returns WebhookResponse Successful response
6188
+ * @returns any Successful response
5385
6189
  * @throws ApiError
5386
6190
  */
5387
6191
  getWebhook({ id, }: {
@@ -5389,11 +6193,11 @@ declare class WebhooksService {
5389
6193
  * The webhook identifier.
5390
6194
  */
5391
6195
  id: string;
5392
- }): CancelablePromise<WebhookResponse>;
6196
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5393
6197
  /**
5394
6198
  * Deactivate a webhook
5395
6199
  * Deactivates a webhook by ID.
5396
- * @returns WebhookResponse Successful response
6200
+ * @returns any Successful response
5397
6201
  * @throws ApiError
5398
6202
  */
5399
6203
  deactivateWebhook({ id, }: {
@@ -5401,11 +6205,11 @@ declare class WebhooksService {
5401
6205
  * The webhook identifier.
5402
6206
  */
5403
6207
  id: string;
5404
- }): CancelablePromise<WebhookResponse>;
6208
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5405
6209
  /**
5406
6210
  * Update a webhook
5407
6211
  * Updates an existing webhook.
5408
- * @returns WebhookResponse Successful response
6212
+ * @returns any Successful response
5409
6213
  * @throws ApiError
5410
6214
  */
5411
6215
  updateWebhook({ id, requestBody, }: {
@@ -5414,14 +6218,14 @@ declare class WebhooksService {
5414
6218
  */
5415
6219
  id: string;
5416
6220
  requestBody: UpdateWebhookRequest;
5417
- }): CancelablePromise<WebhookResponse>;
6221
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5418
6222
  /**
5419
- * Generate a shared secret
5420
- * Generates a new shared secret.
6223
+ * Generate or rotate a shared secret
6224
+ * Generates a new shared secret or rotate an existing one.
5421
6225
  * @returns SharedSecretsResponse Successful response
5422
6226
  * @throws ApiError
5423
6227
  */
5424
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
6228
+ generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5425
6229
  /**
5426
6230
  * Get a shared secret
5427
6231
  * Get a previously generated shared secret.
@@ -5430,9 +6234,9 @@ declare class WebhooksService {
5430
6234
  */
5431
6235
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5432
6236
  /**
5433
- * Add addresses to webhook
5434
- * Add addresses to webhook.
5435
- * @returns WebhookResponse Successful response
6237
+ * Add addresses to EVM activity webhook
6238
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6239
+ * @returns EVMAddressActivityResponse Successful response
5436
6240
  * @throws ApiError
5437
6241
  */
5438
6242
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5441,11 +6245,11 @@ declare class WebhooksService {
5441
6245
  */
5442
6246
  id: string;
5443
6247
  requestBody: AddressesChangeRequest;
5444
- }): CancelablePromise<WebhookResponse>;
6248
+ }): CancelablePromise<EVMAddressActivityResponse>;
5445
6249
  /**
5446
- * Remove addresses from webhook
5447
- * Remove addresses from webhook.
5448
- * @returns WebhookResponse Successful response
6250
+ * Remove addresses from EVM activity webhook
6251
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6252
+ * @returns EVMAddressActivityResponse Successful response
5449
6253
  * @throws ApiError
5450
6254
  */
5451
6255
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5454,10 +6258,10 @@ declare class WebhooksService {
5454
6258
  */
5455
6259
  id: string;
5456
6260
  requestBody: AddressesChangeRequest;
5457
- }): CancelablePromise<WebhookResponse>;
6261
+ }): CancelablePromise<EVMAddressActivityResponse>;
5458
6262
  /**
5459
- * List adresses by webhook
5460
- * List adresses by webhook.
6263
+ * List adresses by EVM activity webhooks
6264
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5461
6265
  * @returns ListWebhookAddressesResponse Successful response
5462
6266
  * @throws ApiError
5463
6267
  */
@@ -5487,7 +6291,9 @@ declare class Glacier {
5487
6291
  readonly evmContracts: EvmContractsService;
5488
6292
  readonly evmTransactions: EvmTransactionsService;
5489
6293
  readonly healthCheck: HealthCheckService;
6294
+ readonly interchainMessaging: InterchainMessagingService;
5490
6295
  readonly nfTs: NfTsService;
6296
+ readonly notifications: NotificationsService;
5491
6297
  readonly operations: OperationsService;
5492
6298
  readonly primaryNetwork: PrimaryNetworkService;
5493
6299
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -5520,6 +6326,17 @@ declare class ApiError extends Error {
5520
6326
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
5521
6327
  }
5522
6328
 
6329
+ type AccessListData = {
6330
+ /**
6331
+ * Access Address
6332
+ */
6333
+ accessAddresses: string;
6334
+ /**
6335
+ * Storage keys
6336
+ */
6337
+ storageKeys: Array<string>;
6338
+ };
6339
+
5523
6340
  type BadGateway = {
5524
6341
  /**
5525
6342
  * The error message describing the reason for the exception
@@ -5554,6 +6371,76 @@ type DataListChainsResponse = {
5554
6371
  chains: Array<ChainInfo>;
5555
6372
  };
5556
6373
 
6374
+ type ERCToken = {
6375
+ /**
6376
+ * Token contract address
6377
+ */
6378
+ address: string;
6379
+ /**
6380
+ * Token name
6381
+ */
6382
+ name: string;
6383
+ /**
6384
+ * Token symbol
6385
+ */
6386
+ symbol: string;
6387
+ /**
6388
+ * Token decimals
6389
+ */
6390
+ decimals: number;
6391
+ /**
6392
+ * Value including decimals
6393
+ */
6394
+ valueWithDecimals: string;
6395
+ };
6396
+
6397
+ type ERCTransfer = {
6398
+ /**
6399
+ * Transaction hash
6400
+ */
6401
+ transactionHash: string;
6402
+ /**
6403
+ * Transfer type
6404
+ */
6405
+ type: string;
6406
+ /**
6407
+ * Sender address
6408
+ */
6409
+ from: string;
6410
+ /**
6411
+ * Recipient address
6412
+ */
6413
+ to: string;
6414
+ /**
6415
+ * Amount transferred
6416
+ */
6417
+ value: string;
6418
+ /**
6419
+ * Token Id
6420
+ */
6421
+ tokenId?: string;
6422
+ /**
6423
+ * Block timestamp
6424
+ */
6425
+ blockTimestamp: number;
6426
+ /**
6427
+ * Log index
6428
+ */
6429
+ logIndex: number;
6430
+ /**
6431
+ * erc20 Token details
6432
+ */
6433
+ erc20Token?: ERCToken;
6434
+ /**
6435
+ * erc721 Token details
6436
+ */
6437
+ erc721Token?: ERCToken;
6438
+ /**
6439
+ * erc1155 Token details
6440
+ */
6441
+ erc1155Token?: ERCToken;
6442
+ };
6443
+
5557
6444
  type Forbidden = {
5558
6445
  /**
5559
6446
  * The error message describing the reason for the exception
@@ -5584,6 +6471,64 @@ type InternalServerError = {
5584
6471
  error: string;
5585
6472
  };
5586
6473
 
6474
+ type Log = {
6475
+ /**
6476
+ * Contract address
6477
+ */
6478
+ address: string;
6479
+ /**
6480
+ * First topic
6481
+ */
6482
+ topic0: string;
6483
+ /**
6484
+ * Second topic (optional)
6485
+ */
6486
+ topic1?: string;
6487
+ /**
6488
+ * Third topic (optional)
6489
+ */
6490
+ topic2?: string;
6491
+ /**
6492
+ * Fourth topic (optional)
6493
+ */
6494
+ topic3?: string;
6495
+ /**
6496
+ * Event data
6497
+ */
6498
+ data: string;
6499
+ /**
6500
+ * Transaction index
6501
+ */
6502
+ transactionIndex: number;
6503
+ /**
6504
+ * Log index
6505
+ */
6506
+ logIndex: number;
6507
+ /**
6508
+ * Indicates if the log was removed
6509
+ */
6510
+ removed: boolean;
6511
+ };
6512
+
6513
+ type NetworkTokenInfo = {
6514
+ /**
6515
+ * Token name
6516
+ */
6517
+ tokenName?: string;
6518
+ /**
6519
+ * Token symbol
6520
+ */
6521
+ tokenSymbol?: string;
6522
+ /**
6523
+ * Token decimals
6524
+ */
6525
+ tokenDecimals?: number;
6526
+ /**
6527
+ * Value including decimals
6528
+ */
6529
+ valueWithDecimals?: string;
6530
+ };
6531
+
5587
6532
  type NextPageToken = {
5588
6533
  /**
5589
6534
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -5636,6 +6581,163 @@ type TooManyRequests = {
5636
6581
  error: string;
5637
6582
  };
5638
6583
 
6584
+ type WebhookInternalTransaction = {
6585
+ /**
6586
+ * Sender address
6587
+ */
6588
+ from: string;
6589
+ /**
6590
+ * Recipient address
6591
+ */
6592
+ to: string;
6593
+ /**
6594
+ * Internal transaction type
6595
+ */
6596
+ internalTxType: string;
6597
+ /**
6598
+ * Value transferred
6599
+ */
6600
+ value: string;
6601
+ /**
6602
+ * Gas used
6603
+ */
6604
+ gasUsed: string;
6605
+ /**
6606
+ * Gas limit
6607
+ */
6608
+ gasLimit: string;
6609
+ /**
6610
+ * Transaction hash
6611
+ */
6612
+ transactionHash: string;
6613
+ };
6614
+
6615
+ type Transaction = {
6616
+ /**
6617
+ * Block hash of the transaction
6618
+ */
6619
+ blockHash: string;
6620
+ /**
6621
+ * Block number of the transaction
6622
+ */
6623
+ blockNumber: string;
6624
+ /**
6625
+ * Sender address
6626
+ */
6627
+ from: string;
6628
+ /**
6629
+ * Gas limit for the transaction
6630
+ */
6631
+ gas: string;
6632
+ /**
6633
+ * Gas price used
6634
+ */
6635
+ gasPrice: string;
6636
+ /**
6637
+ * Maximum fee per gas
6638
+ */
6639
+ maxFeePerGas: string;
6640
+ /**
6641
+ * Maximum priority fee per gas
6642
+ */
6643
+ maxPriorityFeePerGas: string;
6644
+ /**
6645
+ * Transaction hash
6646
+ */
6647
+ txHash: string;
6648
+ /**
6649
+ * Transaction status
6650
+ */
6651
+ txStatus: string;
6652
+ /**
6653
+ * Input data
6654
+ */
6655
+ input: string;
6656
+ /**
6657
+ * Nonce value
6658
+ */
6659
+ nonce: string;
6660
+ /**
6661
+ * Recipient address
6662
+ */
6663
+ to: string;
6664
+ /**
6665
+ * Transaction index
6666
+ */
6667
+ transactionIndex: number;
6668
+ /**
6669
+ * Value transferred in the transaction
6670
+ */
6671
+ value: string;
6672
+ /**
6673
+ * Transaction type
6674
+ */
6675
+ type: number;
6676
+ /**
6677
+ * Chain ID of the network
6678
+ */
6679
+ chainId: string;
6680
+ /**
6681
+ * Cumulative gas used
6682
+ */
6683
+ receiptCumulativeGasUsed: string;
6684
+ /**
6685
+ * Gas used
6686
+ */
6687
+ receiptGasUsed: string;
6688
+ /**
6689
+ * Effective gas price
6690
+ */
6691
+ receiptEffectiveGasPrice: string;
6692
+ /**
6693
+ * Receipt root
6694
+ */
6695
+ receiptRoot: string;
6696
+ /**
6697
+ * Block timestamp
6698
+ */
6699
+ blockTimestamp: number;
6700
+ /**
6701
+ * Contract address (optional)
6702
+ */
6703
+ contractAddress?: string;
6704
+ /**
6705
+ * ERC20 transfers
6706
+ */
6707
+ erc20Transfers: Array<ERCTransfer>;
6708
+ /**
6709
+ * ERC721 transfers
6710
+ */
6711
+ erc721Transfers: Array<ERCTransfer>;
6712
+ /**
6713
+ * ERC1155 transfers
6714
+ */
6715
+ erc1155Transfers: Array<ERCTransfer>;
6716
+ /**
6717
+ * Internal transactions (optional)
6718
+ */
6719
+ internalTransactions?: Array<WebhookInternalTransaction>;
6720
+ /**
6721
+ * Access list (optional)
6722
+ */
6723
+ accessList?: Array<AccessListData>;
6724
+ /**
6725
+ * Network token info (optional)
6726
+ */
6727
+ networkToken?: NetworkTokenInfo;
6728
+ };
6729
+
6730
+ type TransactionEvent = {
6731
+ /**
6732
+ * Transaction details
6733
+ */
6734
+ transaction: Transaction;
6735
+ /**
6736
+ * Array of log events
6737
+ */
6738
+ logs?: Array<Log>;
6739
+ };
6740
+
5639
6741
  type Unauthorized = {
5640
6742
  /**
5641
6743
  * The error message describing the reason for the exception
@@ -5651,4 +6753,43 @@ type Unauthorized = {
5651
6753
  error: string;
5652
6754
  };
5653
6755
 
5654
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
6756
+ type WebhookAddressActivityResponse = {
6757
+ /**
6758
+ * Webhook ID
6759
+ */
6760
+ webhookId: string;
6761
+ /**
6762
+ * Event type
6763
+ */
6764
+ eventType: WebhookAddressActivityResponse.eventType;
6765
+ /**
6766
+ * Message ID
6767
+ */
6768
+ messageId: string;
6769
+ /**
6770
+ * Event details
6771
+ */
6772
+ event: TransactionEvent;
6773
+ };
6774
+ declare namespace WebhookAddressActivityResponse {
6775
+ /**
6776
+ * Event type
6777
+ */
6778
+ enum eventType {
6779
+ ADDRESS_ACTIVITY = "address_activity"
6780
+ }
6781
+ }
6782
+
6783
+ declare class FetchHttpRequest extends BaseHttpRequest {
6784
+ constructor(config: OpenAPIConfig);
6785
+ /**
6786
+ * Request method
6787
+ * @param options The request options from the service
6788
+ * @returns CancelablePromise<T>
6789
+ * @throws ApiError
6790
+ */
6791
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
6792
+ }
6793
+
6794
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, 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, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivitySubEventType, 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, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
6795
+ export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, Blockchain, BlockchainInfo, 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, PricingProviders, PrimaryNetworkAddressActivityMetadata, PrimaryNetworkAddressActivityResponse, PrimaryNetworkAddressActivitySubEvents, PrimaryNetworkBalanceThresholdFilter, 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, ValidatorActivityMetadata, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };