@avalabs/glacier-sdk 3.1.0-canary.fcb2044.0 → 3.1.0-canary.fdddfa3.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 (286) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +1852 -170
  3. package/esm/generated/Glacier.d.ts +6 -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/AvaxSupplyResponse.d.ts +44 -0
  22. package/esm/generated/models/BadGateway.d.ts +1 -1
  23. package/esm/generated/models/BadRequest.d.ts +1 -1
  24. package/esm/generated/models/BalanceOwner.d.ts +1 -1
  25. package/esm/generated/models/Blockchain.d.ts +11 -1
  26. package/esm/generated/models/BlockchainId.d.ts +0 -2
  27. package/esm/generated/models/BlockchainId.js +1 -1
  28. package/esm/generated/models/BlockchainIds.d.ts +1 -3
  29. package/esm/generated/models/BlockchainIds.js +1 -1
  30. package/esm/generated/models/BlockchainInfo.d.ts +9 -2
  31. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  32. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  33. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  34. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  35. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  36. package/esm/generated/models/ChainInfo.d.ts +1 -1
  37. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  38. package/esm/generated/models/CommonBalanceType.js +1 -0
  39. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  40. package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
  41. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  42. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  43. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  44. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  45. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  46. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  47. package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
  48. package/esm/generated/models/DeliveredIcmMessage.js +1 -0
  49. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
  50. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
  51. package/esm/generated/models/ERCToken.d.ts +24 -0
  52. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  53. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +10 -6
  54. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  55. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +10 -10
  56. package/esm/generated/models/EVMInput.d.ts +1 -1
  57. package/esm/generated/models/EVMOutput.d.ts +1 -1
  58. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  59. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  60. package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
  61. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  62. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  63. package/esm/generated/models/Erc20TokenBalance.d.ts +3 -3
  64. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  65. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  66. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  67. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  68. package/esm/generated/models/Erc721Transfer.d.ts +1 -1
  69. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  70. package/esm/generated/models/EvmBlock.d.ts +1 -1
  71. package/esm/generated/models/EvmGenesisAllocDto.d.ts +16 -0
  72. package/esm/generated/models/EvmGenesisAllowListConfigDto.d.ts +20 -0
  73. package/esm/generated/models/EvmGenesisConfigDto.d.ts +96 -0
  74. package/esm/generated/models/EvmGenesisDto.d.ts +75 -0
  75. package/esm/generated/models/EvmGenesisFeeConfigDto.d.ts +36 -0
  76. package/esm/generated/models/EvmGenesisWarpConfigDto.d.ts +16 -0
  77. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  78. package/esm/generated/models/Forbidden.d.ts +1 -1
  79. package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
  80. package/esm/generated/models/Geolocation.d.ts +24 -0
  81. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  82. package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
  83. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  84. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  85. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  86. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  87. package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
  88. package/esm/generated/models/HealthCheckResultDto.js +1 -0
  89. package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
  90. package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
  91. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  92. package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
  93. package/esm/generated/models/IcmReceipt.d.ts +6 -0
  94. package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
  95. package/esm/generated/models/IcmRewardDetails.js +1 -0
  96. package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
  97. package/esm/generated/models/ImageAsset.d.ts +1 -1
  98. package/esm/generated/models/InternalServerError.d.ts +1 -1
  99. package/esm/generated/models/InternalTransaction.d.ts +1 -1
  100. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  101. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  102. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  103. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
  104. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +6 -2
  105. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  106. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  107. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  108. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  109. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  110. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  111. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  112. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  113. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  114. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +6 -1
  115. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  116. package/esm/generated/models/ListErc20BalancesResponse.d.ts +6 -1
  117. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  118. package/esm/generated/models/ListErc721BalancesResponse.d.ts +6 -1
  119. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  120. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  121. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  122. package/esm/generated/models/ListIcmMessagesResponse.d.ts +13 -0
  123. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  124. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
  125. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  126. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  127. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  128. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  129. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  130. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  131. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  132. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  133. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  134. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  135. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  136. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  137. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  138. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  139. package/esm/generated/models/ListWebhooksResponse.d.ts +5 -3
  140. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  141. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  142. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  143. package/esm/generated/models/Log.d.ts +40 -0
  144. package/esm/generated/models/LogsFormat.d.ts +1 -1
  145. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  146. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  147. package/esm/generated/models/Method.d.ts +1 -1
  148. package/esm/generated/models/Metric.d.ts +1 -1
  149. package/esm/generated/models/Money.d.ts +1 -1
  150. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  151. package/esm/generated/models/NativeTransaction.d.ts +1 -1
  152. package/esm/generated/models/Network.d.ts +1 -2
  153. package/esm/generated/models/Network.js +1 -1
  154. package/esm/generated/models/NetworkToken.d.ts +1 -1
  155. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  156. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  157. package/esm/generated/models/NextPageToken.d.ts +1 -1
  158. package/esm/generated/models/NotFound.d.ts +1 -1
  159. package/esm/generated/models/NotificationsResponse.d.ts +5 -0
  160. package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
  161. package/esm/generated/models/PChainBalance.d.ts +1 -1
  162. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  163. package/esm/generated/models/PChainTransaction.d.ts +26 -9
  164. package/esm/generated/models/PChainUtxo.d.ts +32 -1
  165. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  166. package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
  167. package/esm/generated/models/PendingIcmMessage.js +1 -0
  168. package/esm/generated/models/PendingReward.d.ts +1 -1
  169. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  170. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  171. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  172. package/esm/generated/models/PricingProviders.d.ts +1 -1
  173. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  174. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  175. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  176. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  177. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  178. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  179. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  180. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  181. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  182. package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
  183. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
  184. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  185. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  186. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  187. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +10 -0
  188. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  189. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
  190. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
  191. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
  192. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
  193. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  194. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  195. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  196. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  197. package/esm/generated/models/ResourceLink.d.ts +1 -1
  198. package/esm/generated/models/Rewards.d.ts +1 -1
  199. package/esm/generated/models/RichAddress.d.ts +1 -1
  200. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  201. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
  202. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
  203. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  204. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  205. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  206. package/esm/generated/models/SignatureAggregatorRequest.d.ts +22 -2
  207. package/esm/generated/models/StakingDistribution.d.ts +10 -1
  208. package/esm/generated/models/Subnet.d.ts +7 -3
  209. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  210. package/esm/generated/models/{RpcUsageMetricsResponseDTO.d.ts → SubnetRpcUsageMetricsResponseDTO.d.ts} +6 -6
  211. package/esm/generated/models/SubscribeRequest.d.ts +16 -0
  212. package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
  213. package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
  214. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  215. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  216. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  217. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  218. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  219. package/esm/generated/models/Transaction.d.ts +121 -0
  220. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  221. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  222. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  223. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  224. package/esm/generated/models/Unauthorized.d.ts +1 -1
  225. package/esm/generated/models/UnknownContract.d.ts +1 -1
  226. package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
  227. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  228. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  229. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  230. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  231. package/esm/generated/models/Utxo.d.ts +5 -1
  232. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  233. package/esm/generated/models/UtxoType.d.ts +3 -0
  234. package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
  235. package/esm/generated/models/UtxosSortByOption.js +1 -0
  236. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  237. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  238. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  239. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  240. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  241. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  242. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  243. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  244. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  245. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  246. package/esm/generated/models/ValidatorsDetails.d.ts +7 -1
  247. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  248. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  249. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  250. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  251. package/esm/generated/models/XChainBalances.d.ts +1 -1
  252. package/esm/generated/models/XChainId.d.ts +0 -1
  253. package/esm/generated/models/XChainId.js +1 -1
  254. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  255. package/esm/generated/models/XChainVertex.d.ts +1 -1
  256. package/esm/generated/services/AvaxSupplyService.d.ts +17 -0
  257. package/esm/generated/services/AvaxSupplyService.js +1 -0
  258. package/esm/generated/services/DataApiUsageMetricsService.d.ts +103 -3
  259. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  260. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  261. package/esm/generated/services/EvmBlocksService.d.ts +21 -0
  262. package/esm/generated/services/EvmBlocksService.js +1 -1
  263. package/esm/generated/services/EvmChainsService.d.ts +26 -8
  264. package/esm/generated/services/EvmChainsService.js +1 -1
  265. package/esm/generated/services/EvmTransactionsService.d.ts +26 -1
  266. package/esm/generated/services/EvmTransactionsService.js +1 -1
  267. package/esm/generated/services/HealthCheckService.d.ts +11 -7
  268. package/esm/generated/services/HealthCheckService.js +1 -1
  269. package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
  270. package/esm/generated/services/InterchainMessagingService.js +1 -0
  271. package/esm/generated/services/NotificationsService.d.ts +51 -0
  272. package/esm/generated/services/NotificationsService.js +1 -0
  273. package/esm/generated/services/PrimaryNetworkService.d.ts +22 -5
  274. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  275. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +56 -1
  276. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  277. package/esm/generated/services/SignatureAggregatorService.d.ts +22 -1
  278. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  279. package/esm/generated/services/TeleporterService.d.ts +12 -6
  280. package/esm/generated/services/WebhooksService.d.ts +28 -24
  281. package/esm/generated/services/WebhooksService.js +1 -1
  282. package/esm/index.d.ts +63 -4
  283. package/esm/index.js +1 -1
  284. package/package.json +13 -4
  285. package/dist/index.js +0 -1
  286. package/esm/generated/models/EventType.d.ts +0 -5
package/dist/index.d.ts CHANGED
@@ -54,6 +54,61 @@ declare abstract class BaseHttpRequest {
54
54
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
55
55
  }
56
56
 
57
+ type AvaxSupplyResponse = {
58
+ /**
59
+ * The circulating supply of AVAX.
60
+ */
61
+ circulatingSupply: string;
62
+ /**
63
+ * The total supply of AVAX.
64
+ */
65
+ totalSupply: string;
66
+ /**
67
+ * The total P-chain burned fees of AVAX.
68
+ */
69
+ totalPBurned: string;
70
+ /**
71
+ * The total C-chain burned fees of AVAX.
72
+ */
73
+ totalCBurned: string;
74
+ /**
75
+ * The total X-chain burned fees of AVAX.
76
+ */
77
+ totalXBurned: string;
78
+ /**
79
+ * The total staked AVAX.
80
+ */
81
+ totalStaked: string;
82
+ /**
83
+ * The total locked AVAX.
84
+ */
85
+ totalLocked: string;
86
+ /**
87
+ * The total rewards AVAX.
88
+ */
89
+ totalRewards: string;
90
+ /**
91
+ * The last updated time of the AVAX supply.
92
+ */
93
+ lastUpdated: string;
94
+ /**
95
+ * The genesis unlock amount of the AVAX supply.
96
+ */
97
+ genesisUnlock: string;
98
+ };
99
+
100
+ declare class AvaxSupplyService {
101
+ readonly httpRequest: BaseHttpRequest;
102
+ constructor(httpRequest: BaseHttpRequest);
103
+ /**
104
+ * Get AVAX supply information
105
+ * Get AVAX supply information that includes total supply, circulating supply, total p burned, total c burned, total x burned, total staked, total locked, total rewards, and last updated.
106
+ * @returns AvaxSupplyResponse Successful response
107
+ * @throws ApiError
108
+ */
109
+ getAvaxSupply(): CancelablePromise<AvaxSupplyResponse>;
110
+ }
111
+
57
112
  type LogsFormatMetadata = {
58
113
  /**
59
114
  * The IP address of the client that made the request.
@@ -148,10 +203,26 @@ type LogsResponseDTO = {
148
203
  logs: Array<LogsFormat>;
149
204
  };
150
205
 
151
- declare enum RpcUsageMetricsGroupByEnum {
206
+ declare enum Network {
207
+ MAINNET = "mainnet",
208
+ FUJI = "fuji",
209
+ TESTNET = "testnet"
210
+ }
211
+
212
+ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
152
213
  RPC_METHOD = "rpcMethod",
214
+ REQUEST_PATH = "requestPath",
153
215
  RESPONSE_CODE = "responseCode",
154
- RL_BYPASS_TOKEN = "rlBypassToken"
216
+ COUNTRY = "country",
217
+ CONTINENT = "continent",
218
+ USER_AGENT = "userAgent"
219
+ }
220
+
221
+ declare enum PrimaryNetworkRpcTimeIntervalGranularity {
222
+ HOURLY = "hourly",
223
+ DAILY = "daily",
224
+ WEEKLY = "weekly",
225
+ MONTHLY = "monthly"
155
226
  }
156
227
 
157
228
  type RpcUsageMetricsValueAggregated = {
@@ -200,6 +271,10 @@ declare namespace RpcUsageMetricsValueAggregated {
200
271
  RPC_METHOD = "rpcMethod",
201
272
  RESPONSE_CODE = "responseCode",
202
273
  RL_BYPASS_TOKEN = "rlBypassToken",
274
+ REQUEST_PATH = "requestPath",
275
+ COUNTRY = "country",
276
+ CONTINENT = "continent",
277
+ USER_AGENT = "userAgent",
203
278
  NONE = "None"
204
279
  }
205
280
  }
@@ -215,20 +290,35 @@ type RpcMetrics = {
215
290
  values: Array<RpcUsageMetricsValueAggregated>;
216
291
  };
217
292
 
218
- type RpcUsageMetricsResponseDTO = {
293
+ type PrimaryNetworkRpcUsageMetricsResponseDTO = {
219
294
  /**
220
295
  * Duration in which the metrics value is aggregated
221
296
  */
222
297
  aggregateDuration: string;
223
- /**
224
- * ChainId for which the metrics are aggregated
225
- */
226
- chainId: string;
227
298
  /**
228
299
  * Metrics values
229
300
  */
230
301
  metrics: Array<RpcMetrics>;
302
+ /**
303
+ * Network type for which the metrics are aggregated
304
+ */
305
+ network: PrimaryNetworkRpcUsageMetricsResponseDTO.network;
231
306
  };
307
+ declare namespace PrimaryNetworkRpcUsageMetricsResponseDTO {
308
+ /**
309
+ * Network type for which the metrics are aggregated
310
+ */
311
+ enum network {
312
+ MAINNET = "mainnet",
313
+ TESTNET = "testnet"
314
+ }
315
+ }
316
+
317
+ declare enum RpcUsageMetricsGroupByEnum {
318
+ RPC_METHOD = "rpcMethod",
319
+ RESPONSE_CODE = "responseCode",
320
+ RL_BYPASS_TOKEN = "rlBypassToken"
321
+ }
232
322
 
233
323
  declare enum SubnetRpcTimeIntervalGranularity {
234
324
  HOURLY = "hourly",
@@ -237,6 +327,21 @@ declare enum SubnetRpcTimeIntervalGranularity {
237
327
  MONTHLY = "monthly"
238
328
  }
239
329
 
330
+ type SubnetRpcUsageMetricsResponseDTO = {
331
+ /**
332
+ * Duration in which the metrics value is aggregated
333
+ */
334
+ aggregateDuration: string;
335
+ /**
336
+ * Metrics values
337
+ */
338
+ metrics: Array<RpcMetrics>;
339
+ /**
340
+ * ChainId for which the metrics are aggregated
341
+ */
342
+ chainId: string;
343
+ };
344
+
240
345
  declare enum TimeIntervalGranularityExtended {
241
346
  MINUTE = "minute",
242
347
  HOURLY = "hourly",
@@ -433,7 +538,50 @@ declare class DataApiUsageMetricsService {
433
538
  /**
434
539
  * Get usage metrics for the Subnet RPC
435
540
  * Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
436
- * @returns RpcUsageMetricsResponseDTO Successful response
541
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
542
+ * @throws ApiError
543
+ */
544
+ getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
545
+ /**
546
+ * Time interval granularity for data aggregation for subnet
547
+ * rpc metrics
548
+ */
549
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
550
+ /**
551
+ * 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.
552
+ */
553
+ startTimestamp?: number;
554
+ /**
555
+ * 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.
556
+ */
557
+ endTimestamp?: number;
558
+ /**
559
+ * Query param for the criterion used for grouping metrics
560
+ */
561
+ groupBy?: RpcUsageMetricsGroupByEnum;
562
+ /**
563
+ * Filter data by chain ID.
564
+ */
565
+ chainId?: string;
566
+ /**
567
+ * Filter data by response status code.
568
+ */
569
+ responseCode?: string;
570
+ /**
571
+ * Filter data by RPC method.
572
+ */
573
+ rpcMethod?: string;
574
+ /**
575
+ * Filter data by Rl Bypass API Token.
576
+ */
577
+ rlBypassApiToken?: string;
578
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
579
+ /**
580
+ * @deprecated
581
+ * **[Deprecated]** Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
582
+ *
583
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/subnetRpcUsageMetrics endpoint instead**.
584
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
437
585
  * @throws ApiError
438
586
  */
439
587
  getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
@@ -470,7 +618,60 @@ declare class DataApiUsageMetricsService {
470
618
  * Filter data by Rl Bypass API Token.
471
619
  */
472
620
  rlBypassApiToken?: string;
473
- }): CancelablePromise<RpcUsageMetricsResponseDTO>;
621
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
622
+ /**
623
+ * Get usage metrics for the Primary Network RPC
624
+ * Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
625
+ * @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
626
+ * @throws ApiError
627
+ */
628
+ getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
629
+ /**
630
+ * Either mainnet or testnet/fuji.
631
+ */
632
+ network: Network;
633
+ /**
634
+ * Time interval granularity for data aggregation for subnet
635
+ * rpc metrics
636
+ */
637
+ timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
638
+ /**
639
+ * 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.
640
+ */
641
+ startTimestamp?: number;
642
+ /**
643
+ * 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.
644
+ */
645
+ endTimestamp?: number;
646
+ /**
647
+ * Query param for the criterion used for grouping metrics
648
+ */
649
+ groupBy?: PrimaryNetworkRpcMetricsGroupByEnum;
650
+ /**
651
+ * Filter data by response status code.
652
+ */
653
+ responseCode?: string;
654
+ /**
655
+ * Filter data by request path.
656
+ */
657
+ requestPath?: string;
658
+ /**
659
+ * 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.
660
+ */
661
+ country?: string;
662
+ /**
663
+ * Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
664
+ */
665
+ continent?: string;
666
+ /**
667
+ * Filter data by User Agent.
668
+ */
669
+ userAgent?: string;
670
+ /**
671
+ * Filter data by RPC method.
672
+ */
673
+ rpcMethod?: string;
674
+ }): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
474
675
  }
475
676
 
476
677
  declare class DefaultService {
@@ -669,6 +870,10 @@ type ListErc1155BalancesResponse = {
669
870
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
670
871
  */
671
872
  nextPageToken?: string;
873
+ /**
874
+ * The native token balance for the address.
875
+ */
876
+ nativeTokenBalance: NativeTokenBalance;
672
877
  /**
673
878
  * The list of ERC-1155 token balances for the address.
674
879
  */
@@ -714,16 +919,16 @@ type Erc20TokenBalance = {
714
919
  */
715
920
  balanceValue?: Money;
716
921
  /**
717
- * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
922
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
718
923
  */
719
- tokenReputation: Erc20TokenBalance.tokenReputation | null;
924
+ tokenReputation: Erc20TokenBalance.tokenReputation;
720
925
  };
721
926
  declare namespace Erc20TokenBalance {
722
927
  enum ercType {
723
928
  ERC_20 = "ERC-20"
724
929
  }
725
930
  /**
726
- * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
931
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
727
932
  */
728
933
  enum tokenReputation {
729
934
  MALICIOUS = "Malicious",
@@ -736,6 +941,10 @@ type ListErc20BalancesResponse = {
736
941
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
737
942
  */
738
943
  nextPageToken?: string;
944
+ /**
945
+ * The native token balance for the address.
946
+ */
947
+ nativeTokenBalance: NativeTokenBalance;
739
948
  /**
740
949
  * The list of ERC-20 token balances for the address.
741
950
  */
@@ -747,6 +956,10 @@ type ListErc721BalancesResponse = {
747
956
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
748
957
  */
749
958
  nextPageToken?: string;
959
+ /**
960
+ * The native token balance for the address.
961
+ */
962
+ nativeTokenBalance: NativeTokenBalance;
750
963
  /**
751
964
  * The list of ERC-721 token balances for the address.
752
965
  */
@@ -810,7 +1023,7 @@ declare class EvmBalancesService {
810
1023
  */
811
1024
  pageToken?: string;
812
1025
  /**
813
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1026
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
814
1027
  */
815
1028
  pageSize?: number;
816
1029
  /**
@@ -848,7 +1061,7 @@ declare class EvmBalancesService {
848
1061
  */
849
1062
  pageToken?: string;
850
1063
  /**
851
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1064
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
852
1065
  */
853
1066
  pageSize?: number;
854
1067
  /**
@@ -884,7 +1097,7 @@ declare class EvmBalancesService {
884
1097
  */
885
1098
  pageToken?: string;
886
1099
  /**
887
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1100
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
888
1101
  */
889
1102
  pageSize?: number;
890
1103
  /**
@@ -914,7 +1127,7 @@ declare class EvmBalancesService {
914
1127
  */
915
1128
  pageToken?: string;
916
1129
  /**
917
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1130
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
918
1131
  */
919
1132
  pageSize?: number;
920
1133
  /**
@@ -1031,6 +1244,26 @@ type ListEvmBlocksResponse = {
1031
1244
  declare class EvmBlocksService {
1032
1245
  readonly httpRequest: BaseHttpRequest;
1033
1246
  constructor(httpRequest: BaseHttpRequest);
1247
+ /**
1248
+ * List latest blocks across all supported EVM chains
1249
+ * Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
1250
+ * @returns ListEvmBlocksResponse Successful response
1251
+ * @throws ApiError
1252
+ */
1253
+ listLatestBlocksAllChains({ pageToken, pageSize, network, }: {
1254
+ /**
1255
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1256
+ */
1257
+ pageToken?: string;
1258
+ /**
1259
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1260
+ */
1261
+ pageSize?: number;
1262
+ /**
1263
+ * Either mainnet or testnet/fuji.
1264
+ */
1265
+ network?: Network;
1266
+ }): CancelablePromise<ListEvmBlocksResponse>;
1034
1267
  /**
1035
1268
  * List latest blocks
1036
1269
  * Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
@@ -1269,13 +1502,6 @@ type ListNativeTransactionsResponse = {
1269
1502
  transactions: Array<NativeTransaction>;
1270
1503
  };
1271
1504
 
1272
- declare enum Network {
1273
- MAINNET = "mainnet",
1274
- FUJI = "fuji",
1275
- TESTNET = "testnet",
1276
- DEVNET = "devnet"
1277
- }
1278
-
1279
1505
  declare enum TransactionStatus {
1280
1506
  FAILED = "failed",
1281
1507
  SUCCESS = "success"
@@ -1284,9 +1510,21 @@ declare enum TransactionStatus {
1284
1510
  declare class EvmChainsService {
1285
1511
  readonly httpRequest: BaseHttpRequest;
1286
1512
  constructor(httpRequest: BaseHttpRequest);
1513
+ /**
1514
+ * List all chains associated with a given address
1515
+ * Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.
1516
+ * @returns ListAddressChainsResponse Successful response
1517
+ * @throws ApiError
1518
+ */
1519
+ listAddressChains({ address, }: {
1520
+ /**
1521
+ * A wallet address.
1522
+ */
1523
+ address: string;
1524
+ }): CancelablePromise<ListAddressChainsResponse>;
1287
1525
  /**
1288
1526
  * List chains
1289
- * Lists the supported EVM-compatible chains. Filterable by network.
1527
+ * Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
1290
1528
  * @returns ListChainsResponse Successful response
1291
1529
  * @throws ApiError
1292
1530
  */
@@ -1302,7 +1540,7 @@ declare class EvmChainsService {
1302
1540
  }): CancelablePromise<ListChainsResponse>;
1303
1541
  /**
1304
1542
  * Get chain information
1305
- * Gets chain information for the EVM-compatible chain if supported by the api.
1543
+ * Gets chain information for the EVM-compatible chain if supported by AvaCloud.
1306
1544
  * @returns GetChainResponse Successful response
1307
1545
  * @throws ApiError
1308
1546
  */
@@ -1313,8 +1551,10 @@ declare class EvmChainsService {
1313
1551
  chainId: string;
1314
1552
  }): CancelablePromise<GetChainResponse>;
1315
1553
  /**
1316
- * Get chains for address
1317
- * Gets a list of all chains where the address was either a sender or receiver in a transaction or ERC transfer. The list is currently updated every 15 minutes.
1554
+ * @deprecated
1555
+ * **[Deprecated]** Gets a list of all chains where the address was either a sender or receiver in a transaction or ERC transfer. The list is currently updated every 15 minutes.
1556
+ *
1557
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/address/:address/chains endpoint instead** .
1318
1558
  * @returns ListAddressChainsResponse Successful response
1319
1559
  * @throws ApiError
1320
1560
  */
@@ -1325,8 +1565,10 @@ declare class EvmChainsService {
1325
1565
  address: string;
1326
1566
  }): CancelablePromise<ListAddressChainsResponse>;
1327
1567
  /**
1328
- * List latest transactions for all supported EVM chains
1329
- * Lists the latest transactions for all supported EVM chains. Filterable by status.
1568
+ * @deprecated
1569
+ * **[Deprecated]** Lists the latest transactions for all supported EVM chains. Filterable by status.
1570
+ *
1571
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/transactions endpoint instead** .
1330
1572
  * @returns ListNativeTransactionsResponse Successful response
1331
1573
  * @throws ApiError
1332
1574
  */
@@ -1349,8 +1591,10 @@ declare class EvmChainsService {
1349
1591
  status?: TransactionStatus;
1350
1592
  }): CancelablePromise<ListNativeTransactionsResponse>;
1351
1593
  /**
1352
- * List latest blocks for all supported EVM chains
1353
- * Lists the latest blocks for all supported EVM chains. Filterable by network.
1594
+ * @deprecated
1595
+ * **[Deprecated]** Lists the latest blocks for all supported EVM chains. Filterable by network.
1596
+ *
1597
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/blocks endpoint instead** .
1354
1598
  * @returns ListEvmBlocksResponse Successful response
1355
1599
  * @throws ApiError
1356
1600
  */
@@ -1539,7 +1783,7 @@ type Erc1155Contract = {
1539
1783
  * A wallet or contract address in mixed-case checksum encoding.
1540
1784
  */
1541
1785
  address: string;
1542
- deploymentDetails: ContractDeploymentDetails;
1786
+ deploymentDetails?: ContractDeploymentDetails;
1543
1787
  ercType: Erc1155Contract.ercType;
1544
1788
  /**
1545
1789
  * The contract symbol.
@@ -1570,7 +1814,7 @@ type Erc20Contract = {
1570
1814
  * A wallet or contract address in mixed-case checksum encoding.
1571
1815
  */
1572
1816
  address: string;
1573
- deploymentDetails: ContractDeploymentDetails;
1817
+ deploymentDetails?: ContractDeploymentDetails;
1574
1818
  ercType: Erc20Contract.ercType;
1575
1819
  /**
1576
1820
  * The contract symbol.
@@ -1605,7 +1849,7 @@ type Erc721Contract = {
1605
1849
  * A wallet or contract address in mixed-case checksum encoding.
1606
1850
  */
1607
1851
  address: string;
1608
- deploymentDetails: ContractDeploymentDetails;
1852
+ deploymentDetails?: ContractDeploymentDetails;
1609
1853
  ercType: Erc721Contract.ercType;
1610
1854
  /**
1611
1855
  * The contract symbol.
@@ -1635,7 +1879,7 @@ type UnknownContract = {
1635
1879
  * A wallet or contract address in mixed-case checksum encoding.
1636
1880
  */
1637
1881
  address: string;
1638
- deploymentDetails: ContractDeploymentDetails;
1882
+ deploymentDetails?: ContractDeploymentDetails;
1639
1883
  ercType: UnknownContract.ercType;
1640
1884
  };
1641
1885
  declare namespace UnknownContract {
@@ -1853,6 +2097,7 @@ declare enum InternalTransactionOpCall {
1853
2097
  CALL = "CALL",
1854
2098
  CREATE = "CREATE",
1855
2099
  CREATE2 = "CREATE2",
2100
+ CREATE3 = "CREATE3",
1856
2101
  CALLCODE = "CALLCODE",
1857
2102
  DELEGATECALL = "DELEGATECALL",
1858
2103
  STATICCALL = "STATICCALL"
@@ -1894,11 +2139,11 @@ type TeleporterMessageInfo = {
1894
2139
  /**
1895
2140
  * chain id of the source chain. valid only for destination transactions
1896
2141
  */
1897
- sourceChainId?: Record<string, any>;
2142
+ sourceChainId?: string;
1898
2143
  /**
1899
2144
  * chain id of the destination chain. valid only for source transactions
1900
2145
  */
1901
- destinationChainId?: Record<string, any>;
2146
+ destinationChainId?: string;
1902
2147
  };
1903
2148
 
1904
2149
  type GetTransactionResponse = {
@@ -1915,7 +2160,7 @@ type GetTransactionResponse = {
1915
2160
  */
1916
2161
  erc1155Transfers?: Array<Erc1155TransferDetails>;
1917
2162
  /**
1918
- * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
2163
+ * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
1919
2164
  */
1920
2165
  internalTransactions?: Array<InternalTransactionDetails>;
1921
2166
  networkTokenDetails: NetworkTokenDetails;
@@ -2084,7 +2329,7 @@ type TransactionDetails = {
2084
2329
  */
2085
2330
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2086
2331
  /**
2087
- * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
2332
+ * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
2088
2333
  */
2089
2334
  internalTransactions?: Array<InternalTransactionDetails>;
2090
2335
  };
@@ -2113,6 +2358,30 @@ declare enum SortOrder {
2113
2358
  declare class EvmTransactionsService {
2114
2359
  readonly httpRequest: BaseHttpRequest;
2115
2360
  constructor(httpRequest: BaseHttpRequest);
2361
+ /**
2362
+ * List the latest transactions across all supported EVM chains
2363
+ * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
2364
+ * @returns ListNativeTransactionsResponse Successful response
2365
+ * @throws ApiError
2366
+ */
2367
+ listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
2368
+ /**
2369
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2370
+ */
2371
+ pageToken?: string;
2372
+ /**
2373
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2374
+ */
2375
+ pageSize?: number;
2376
+ /**
2377
+ * Either mainnet or testnet/fuji.
2378
+ */
2379
+ network?: Network;
2380
+ /**
2381
+ * A status filter for listed transactions.
2382
+ */
2383
+ status?: TransactionStatus;
2384
+ }): CancelablePromise<ListNativeTransactionsResponse>;
2116
2385
  /**
2117
2386
  * Get deployment transaction
2118
2387
  * If the address is a smart contract, returns the transaction in which it was deployed.
@@ -2359,7 +2628,7 @@ declare class EvmTransactionsService {
2359
2628
  * List internal transactions
2360
2629
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2361
2630
  *
2362
- * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
2631
+ * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2`/`CREATE3` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
2363
2632
  * @returns ListInternalTransactionsResponse Successful response
2364
2633
  * @throws ApiError
2365
2634
  */
@@ -2455,43 +2724,291 @@ declare class EvmTransactionsService {
2455
2724
  }): CancelablePromise<ListNativeTransactionsResponse>;
2456
2725
  }
2457
2726
 
2458
- declare class HealthCheckService {
2459
- readonly httpRequest: BaseHttpRequest;
2460
- constructor(httpRequest: BaseHttpRequest);
2727
+ type HealthIndicatorResultDto = {
2461
2728
  /**
2462
- * Get the health of the service
2463
- * @returns any The Health Check is successful
2464
- * @throws ApiError
2729
+ * Status of the health indicator.
2465
2730
  */
2466
- dataHealthCheck(): CancelablePromise<{
2467
- status?: string;
2468
- info?: Record<string, Record<string, string>> | null;
2469
- error?: Record<string, Record<string, string>> | null;
2470
- details?: Record<string, Record<string, string>>;
2471
- }>;
2472
- }
2473
-
2474
- type ListNftTokens = {
2731
+ status?: HealthIndicatorResultDto.status;
2732
+ };
2733
+ declare namespace HealthIndicatorResultDto {
2475
2734
  /**
2476
- * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2735
+ * Status of the health indicator.
2477
2736
  */
2478
- nextPageToken?: string;
2479
- tokens: Array<(Erc721Token | Erc1155Token)>;
2737
+ enum status {
2738
+ UP = "up",
2739
+ DOWN = "down"
2740
+ }
2741
+ }
2742
+
2743
+ type HealthCheckResultDto = {
2744
+ status?: HealthCheckResultDto.status;
2745
+ info?: any | null;
2746
+ error?: any | null;
2747
+ details?: Record<string, HealthIndicatorResultDto>;
2480
2748
  };
2749
+ declare namespace HealthCheckResultDto {
2750
+ enum status {
2751
+ ERROR = "error",
2752
+ OK = "ok",
2753
+ SHUTTING_DOWN = "shutting_down"
2754
+ }
2755
+ }
2481
2756
 
2482
- declare class NfTsService {
2757
+ declare class HealthCheckService {
2483
2758
  readonly httpRequest: BaseHttpRequest;
2484
2759
  constructor(httpRequest: BaseHttpRequest);
2485
2760
  /**
2486
- * Reindex NFT metadata
2487
- * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2488
- * @returns any Successful response
2761
+ * Get the health of the service
2762
+ * Check the health of the service. This checks the read and write health of the database and cache.
2763
+ * @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
2489
2764
  * @throws ApiError
2490
2765
  */
2491
- reindexNft({ chainId, address, tokenId, }: {
2492
- /**
2493
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2494
- */
2766
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2767
+ /**
2768
+ * Get the liveliness of the service (reads only)
2769
+ * Check the liveliness of the service (reads only).
2770
+ * @returns HealthCheckResultDto The liveliness of the service (reads only)
2771
+ * @throws ApiError
2772
+ */
2773
+ liveCheck(): CancelablePromise<HealthCheckResultDto>;
2774
+ }
2775
+
2776
+ type IcmDestinationTransaction = {
2777
+ txHash: string;
2778
+ timestamp: number;
2779
+ gasSpent: string;
2780
+ rewardRedeemer: string;
2781
+ delivererAddress: string;
2782
+ };
2783
+
2784
+ type IcmReceipt = {
2785
+ receivedMessageNonce: string;
2786
+ relayerRewardAddress: string;
2787
+ };
2788
+
2789
+ type IcmRewardDetails = {
2790
+ /**
2791
+ * A wallet or contract address in mixed-case checksum encoding.
2792
+ */
2793
+ address: string;
2794
+ /**
2795
+ * The contract name.
2796
+ */
2797
+ name: string;
2798
+ /**
2799
+ * The contract symbol.
2800
+ */
2801
+ symbol: string;
2802
+ /**
2803
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
2804
+ */
2805
+ decimals: number;
2806
+ /**
2807
+ * The logo uri for the address.
2808
+ */
2809
+ logoUri?: string;
2810
+ ercType: IcmRewardDetails.ercType;
2811
+ /**
2812
+ * The token price, if available.
2813
+ */
2814
+ price?: Money;
2815
+ value: string;
2816
+ };
2817
+ declare namespace IcmRewardDetails {
2818
+ enum ercType {
2819
+ ERC_20 = "ERC-20"
2820
+ }
2821
+ }
2822
+
2823
+ type IcmSourceTransaction = {
2824
+ txHash: string;
2825
+ timestamp: number;
2826
+ gasSpent: string;
2827
+ };
2828
+
2829
+ type DeliveredIcmMessage = {
2830
+ messageId: string;
2831
+ icmContractAddress: string;
2832
+ sourceBlockchainId: string;
2833
+ destinationBlockchainId: string;
2834
+ sourceEvmChainId: string;
2835
+ destinationEvmChainId: string;
2836
+ messageNonce: string;
2837
+ from: string;
2838
+ to: string;
2839
+ data?: string;
2840
+ messageExecuted: boolean;
2841
+ receipts: Array<IcmReceipt>;
2842
+ receiptDelivered: boolean;
2843
+ rewardDetails: IcmRewardDetails;
2844
+ sourceTransaction: IcmSourceTransaction;
2845
+ destinationTransaction: IcmDestinationTransaction;
2846
+ status: DeliveredIcmMessage.status;
2847
+ };
2848
+ declare namespace DeliveredIcmMessage {
2849
+ enum status {
2850
+ DELIVERED = "delivered"
2851
+ }
2852
+ }
2853
+
2854
+ type DeliveredSourceNotIndexedIcmMessage = {
2855
+ messageId: string;
2856
+ icmContractAddress: string;
2857
+ sourceBlockchainId: string;
2858
+ destinationBlockchainId: string;
2859
+ sourceEvmChainId: string;
2860
+ destinationEvmChainId: string;
2861
+ messageNonce: string;
2862
+ from: string;
2863
+ to: string;
2864
+ data?: string;
2865
+ messageExecuted: boolean;
2866
+ receipts: Array<IcmReceipt>;
2867
+ receiptDelivered: boolean;
2868
+ rewardDetails: IcmRewardDetails;
2869
+ destinationTransaction: IcmDestinationTransaction;
2870
+ status: DeliveredSourceNotIndexedIcmMessage.status;
2871
+ };
2872
+ declare namespace DeliveredSourceNotIndexedIcmMessage {
2873
+ enum status {
2874
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
2875
+ }
2876
+ }
2877
+
2878
+ type PendingIcmMessage = {
2879
+ messageId: string;
2880
+ icmContractAddress: string;
2881
+ sourceBlockchainId: string;
2882
+ destinationBlockchainId: string;
2883
+ sourceEvmChainId: string;
2884
+ destinationEvmChainId: string;
2885
+ messageNonce: string;
2886
+ from: string;
2887
+ to: string;
2888
+ data?: string;
2889
+ messageExecuted: boolean;
2890
+ receipts: Array<IcmReceipt>;
2891
+ receiptDelivered: boolean;
2892
+ rewardDetails: IcmRewardDetails;
2893
+ sourceTransaction: IcmSourceTransaction;
2894
+ status: PendingIcmMessage.status;
2895
+ };
2896
+ declare namespace PendingIcmMessage {
2897
+ enum status {
2898
+ PENDING = "pending"
2899
+ }
2900
+ }
2901
+
2902
+ type ListIcmMessagesResponse = {
2903
+ /**
2904
+ * 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.
2905
+ */
2906
+ nextPageToken?: string;
2907
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2908
+ };
2909
+
2910
+ declare class InterchainMessagingService {
2911
+ readonly httpRequest: BaseHttpRequest;
2912
+ constructor(httpRequest: BaseHttpRequest);
2913
+ /**
2914
+ * Get an ICM message
2915
+ * Gets an ICM message by teleporter message ID.
2916
+ * @returns any Successful response
2917
+ * @throws ApiError
2918
+ */
2919
+ getIcmMessage({ messageId, }: {
2920
+ /**
2921
+ * The teleporter message ID of the ICM message.
2922
+ */
2923
+ messageId: string;
2924
+ }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2925
+ /**
2926
+ * List ICM messages
2927
+ * Lists ICM messages. Ordered by timestamp in descending order.
2928
+ * @returns ListIcmMessagesResponse Successful response
2929
+ * @throws ApiError
2930
+ */
2931
+ listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
2932
+ /**
2933
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2934
+ */
2935
+ pageToken?: string;
2936
+ /**
2937
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2938
+ */
2939
+ pageSize?: number;
2940
+ /**
2941
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
2942
+ */
2943
+ sourceBlockchainId?: string;
2944
+ /**
2945
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
2946
+ */
2947
+ destinationBlockchainId?: string;
2948
+ /**
2949
+ * The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
2950
+ */
2951
+ blockchainId?: string;
2952
+ /**
2953
+ * The address of the recipient of the ICM message.
2954
+ */
2955
+ to?: string;
2956
+ /**
2957
+ * The address of the sender of the ICM message.
2958
+ */
2959
+ from?: string;
2960
+ /**
2961
+ * Either mainnet or testnet/fuji.
2962
+ */
2963
+ network?: Network;
2964
+ }): CancelablePromise<ListIcmMessagesResponse>;
2965
+ /**
2966
+ * List ICM messages by address
2967
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
2968
+ * @returns ListIcmMessagesResponse Successful response
2969
+ * @throws ApiError
2970
+ */
2971
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
2972
+ /**
2973
+ * An EVM address.
2974
+ */
2975
+ address: string;
2976
+ /**
2977
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2978
+ */
2979
+ pageToken?: string;
2980
+ /**
2981
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2982
+ */
2983
+ pageSize?: number;
2984
+ /**
2985
+ * Either mainnet or testnet/fuji.
2986
+ */
2987
+ network?: Network;
2988
+ }): CancelablePromise<ListIcmMessagesResponse>;
2989
+ }
2990
+
2991
+ type ListNftTokens = {
2992
+ /**
2993
+ * 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.
2994
+ */
2995
+ nextPageToken?: string;
2996
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2997
+ };
2998
+
2999
+ declare class NfTsService {
3000
+ readonly httpRequest: BaseHttpRequest;
3001
+ constructor(httpRequest: BaseHttpRequest);
3002
+ /**
3003
+ * Reindex NFT metadata
3004
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
3005
+ * @returns any Successful response
3006
+ * @throws ApiError
3007
+ */
3008
+ reindexNft({ chainId, address, tokenId, }: {
3009
+ /**
3010
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3011
+ */
2495
3012
  chainId: string;
2496
3013
  /**
2497
3014
  * Contract address on the relevant chain.
@@ -2548,6 +3065,108 @@ declare class NfTsService {
2548
3065
  }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2549
3066
  }
2550
3067
 
3068
+ type AccessRequest = {
3069
+ /**
3070
+ * The email address to send the access token to
3071
+ */
3072
+ email: string;
3073
+ /**
3074
+ * The captcha to verify the user
3075
+ */
3076
+ captcha: string;
3077
+ };
3078
+
3079
+ type NotificationsResponse = {
3080
+ message: string;
3081
+ };
3082
+
3083
+ type SubscribeRequest = {
3084
+ /**
3085
+ * The access token to use for authentication
3086
+ */
3087
+ accessToken: string;
3088
+ /**
3089
+ * The node ID to subscribe to
3090
+ */
3091
+ nodeId: string;
3092
+ /**
3093
+ * The notification types to subscribe to. If not provided, all notification types will be subscribed to
3094
+ */
3095
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3096
+ };
3097
+
3098
+ type SubscriptionsRequest = {
3099
+ /**
3100
+ * The access token to use for authentication
3101
+ */
3102
+ accessToken: string;
3103
+ };
3104
+
3105
+ type SubscriptionsResponse = {
3106
+ /**
3107
+ * The email address of the user
3108
+ */
3109
+ email: string;
3110
+ /**
3111
+ * The subscriptions of the user
3112
+ */
3113
+ subscriptions: Record<string, {
3114
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3115
+ }>;
3116
+ };
3117
+
3118
+ type UnsubscribeRequest = {
3119
+ /**
3120
+ * The access token to use for authentication
3121
+ */
3122
+ accessToken: string;
3123
+ /**
3124
+ * The node ID to subscribe to
3125
+ */
3126
+ nodeId: string;
3127
+ };
3128
+
3129
+ declare class NotificationsService {
3130
+ readonly httpRequest: BaseHttpRequest;
3131
+ constructor(httpRequest: BaseHttpRequest);
3132
+ /**
3133
+ * Access Notifications
3134
+ * Access notifications.
3135
+ * @returns NotificationsResponse Successful response
3136
+ * @throws ApiError
3137
+ */
3138
+ access({ requestBody, }: {
3139
+ requestBody: AccessRequest;
3140
+ }): CancelablePromise<NotificationsResponse>;
3141
+ /**
3142
+ * Subscribe to Notifications
3143
+ * Subscribe to receive notifications.
3144
+ * @returns NotificationsResponse Successful response
3145
+ * @throws ApiError
3146
+ */
3147
+ subscribe({ requestBody, }: {
3148
+ requestBody: SubscribeRequest;
3149
+ }): CancelablePromise<NotificationsResponse>;
3150
+ /**
3151
+ * Unsubscribe from Notifications
3152
+ * Unsubscribe from receiving notifications.
3153
+ * @returns NotificationsResponse Successful response
3154
+ * @throws ApiError
3155
+ */
3156
+ unsubscribe({ requestBody, }: {
3157
+ requestBody: UnsubscribeRequest;
3158
+ }): CancelablePromise<NotificationsResponse>;
3159
+ /**
3160
+ * Get Subscriptions
3161
+ * Get subscriptions.
3162
+ * @returns SubscriptionsResponse Successful response
3163
+ * @throws ApiError
3164
+ */
3165
+ subscriptions({ requestBody, }: {
3166
+ requestBody: SubscriptionsRequest;
3167
+ }): CancelablePromise<SubscriptionsResponse>;
3168
+ }
3169
+
2551
3170
  type EvmNetworkOptions = {
2552
3171
  addresses: Array<string>;
2553
3172
  includeChains: Array<string>;
@@ -2581,7 +3200,7 @@ declare enum PrimaryNetworkOperationType {
2581
3200
  type PrimaryNetworkOptions = {
2582
3201
  addresses?: Array<string>;
2583
3202
  cChainEvmAddresses?: Array<string>;
2584
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
3203
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2585
3204
  };
2586
3205
 
2587
3206
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -2636,7 +3255,7 @@ type OperationStatusResponse = {
2636
3255
  operationType: OperationType;
2637
3256
  operationStatus: OperationStatus;
2638
3257
  message?: string;
2639
- metadata: TransactionExportMetadata;
3258
+ metadata?: TransactionExportMetadata;
2640
3259
  createdAtTimestamp: number;
2641
3260
  updatedAtTimestamp: number;
2642
3261
  };
@@ -2669,14 +3288,275 @@ declare class OperationsService {
2669
3288
  }): CancelablePromise<OperationStatusResponse>;
2670
3289
  }
2671
3290
 
3291
+ type EvmGenesisAllocDto = {
3292
+ /**
3293
+ * Account balance in hex format
3294
+ */
3295
+ balance?: string;
3296
+ /**
3297
+ * Contract bytecode in hex format
3298
+ */
3299
+ code?: string;
3300
+ /**
3301
+ * Contract storage slots
3302
+ */
3303
+ storage?: Record<string, string>;
3304
+ };
3305
+
3306
+ type EvmGenesisAllowListConfigDto = {
3307
+ /**
3308
+ * Block timestamp
3309
+ */
3310
+ blockTimestamp?: number;
3311
+ /**
3312
+ * Admin addresses
3313
+ */
3314
+ adminAddresses?: Array<string>;
3315
+ /**
3316
+ * Manager addresses
3317
+ */
3318
+ managerAddresses?: Array<string>;
3319
+ /**
3320
+ * Enabled addresses
3321
+ */
3322
+ enabledAddresses?: Array<string>;
3323
+ };
3324
+
3325
+ type EvmGenesisFeeConfigDto = {
3326
+ /**
3327
+ * Base fee change denominator
3328
+ */
3329
+ baseFeeChangeDenominator?: number;
3330
+ /**
3331
+ * Block gas cost step
3332
+ */
3333
+ blockGasCostStep?: number;
3334
+ /**
3335
+ * Gas limit
3336
+ */
3337
+ gasLimit?: number;
3338
+ /**
3339
+ * Maximum block gas cost
3340
+ */
3341
+ maxBlockGasCost?: number;
3342
+ /**
3343
+ * Minimum base fee
3344
+ */
3345
+ minBaseFee?: number;
3346
+ /**
3347
+ * Minimum block gas cost
3348
+ */
3349
+ minBlockGasCost?: number;
3350
+ /**
3351
+ * Target block rate
3352
+ */
3353
+ targetBlockRate?: number;
3354
+ /**
3355
+ * Target gas
3356
+ */
3357
+ targetGas?: number;
3358
+ };
3359
+
3360
+ type EvmGenesisWarpConfigDto = {
3361
+ /**
3362
+ * Block timestamp
3363
+ */
3364
+ blockTimestamp?: number;
3365
+ /**
3366
+ * Quorum numerator
3367
+ */
3368
+ quorumNumerator?: number;
3369
+ /**
3370
+ * Require primary network signers
3371
+ */
3372
+ requirePrimaryNetworkSigners?: boolean;
3373
+ };
3374
+
3375
+ type EvmGenesisConfigDto = {
3376
+ /**
3377
+ * Berlin block number
3378
+ */
3379
+ berlinBlock?: number;
3380
+ /**
3381
+ * Byzantium block number
3382
+ */
3383
+ byzantiumBlock?: number;
3384
+ /**
3385
+ * Chain ID
3386
+ */
3387
+ chainId?: number;
3388
+ /**
3389
+ * Constantinople block number
3390
+ */
3391
+ constantinopleBlock?: number;
3392
+ /**
3393
+ * EIP-150 block number
3394
+ */
3395
+ eip150Block?: number;
3396
+ /**
3397
+ * EIP-150 hash
3398
+ */
3399
+ eip150Hash?: string;
3400
+ /**
3401
+ * EIP-155 block number
3402
+ */
3403
+ eip155Block?: number;
3404
+ /**
3405
+ * EIP-158 block number
3406
+ */
3407
+ eip158Block?: number;
3408
+ /**
3409
+ * Fee configuration
3410
+ */
3411
+ feeConfig?: EvmGenesisFeeConfigDto;
3412
+ /**
3413
+ * Homestead block number
3414
+ */
3415
+ homesteadBlock?: number;
3416
+ /**
3417
+ * Istanbul block number
3418
+ */
3419
+ istanbulBlock?: number;
3420
+ /**
3421
+ * London block number
3422
+ */
3423
+ londonBlock?: number;
3424
+ /**
3425
+ * Muir Glacier block number
3426
+ */
3427
+ muirGlacierBlock?: number;
3428
+ /**
3429
+ * Petersburg block number
3430
+ */
3431
+ petersburgBlock?: number;
3432
+ /**
3433
+ * Subnet EVM timestamp
3434
+ */
3435
+ subnetEVMTimestamp?: number;
3436
+ /**
3437
+ * Allow fee recipients
3438
+ */
3439
+ allowFeeRecipients?: boolean;
3440
+ /**
3441
+ * Warp configuration
3442
+ */
3443
+ warpConfig?: EvmGenesisWarpConfigDto;
3444
+ /**
3445
+ * Transaction allow list configuration
3446
+ */
3447
+ txAllowListConfig?: EvmGenesisAllowListConfigDto;
3448
+ /**
3449
+ * Contract deployer allow list configuration
3450
+ */
3451
+ contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
3452
+ /**
3453
+ * Contract native minter configuration
3454
+ */
3455
+ contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
3456
+ /**
3457
+ * Fee manager configuration
3458
+ */
3459
+ feeManagerConfig?: EvmGenesisAllowListConfigDto;
3460
+ /**
3461
+ * Reward manager configuration
3462
+ */
3463
+ rewardManagerConfig?: EvmGenesisAllowListConfigDto;
3464
+ };
3465
+
3466
+ type EvmGenesisDto = {
3467
+ /**
3468
+ * Airdrop amount
3469
+ */
3470
+ airdropAmount?: number | null;
3471
+ /**
3472
+ * Airdrop hash
3473
+ */
3474
+ airdropHash?: string;
3475
+ /**
3476
+ * Allocation of accounts and balances
3477
+ */
3478
+ alloc?: Record<string, EvmGenesisAllocDto>;
3479
+ /**
3480
+ * Base fee per gas
3481
+ */
3482
+ baseFeePerGas?: number | null;
3483
+ /**
3484
+ * Blob gas used
3485
+ */
3486
+ blobGasUsed?: string | null;
3487
+ /**
3488
+ * Coinbase address
3489
+ */
3490
+ coinbase?: string;
3491
+ /**
3492
+ * Genesis configuration
3493
+ */
3494
+ config?: EvmGenesisConfigDto;
3495
+ /**
3496
+ * Difficulty
3497
+ */
3498
+ difficulty?: string;
3499
+ /**
3500
+ * Excess blob gas
3501
+ */
3502
+ excessBlobGas?: string | null;
3503
+ /**
3504
+ * Extra data
3505
+ */
3506
+ extraData?: string;
3507
+ /**
3508
+ * Gas limit
3509
+ */
3510
+ gasLimit?: string;
3511
+ /**
3512
+ * Gas used
3513
+ */
3514
+ gasUsed?: string;
3515
+ /**
3516
+ * Mix hash
3517
+ */
3518
+ mixHash?: string;
3519
+ /**
3520
+ * Nonce
3521
+ */
3522
+ nonce?: string;
3523
+ /**
3524
+ * Block number
3525
+ */
3526
+ number?: string;
3527
+ /**
3528
+ * Parent hash
3529
+ */
3530
+ parentHash?: string;
3531
+ /**
3532
+ * Block timestamp
3533
+ */
3534
+ timestamp?: string;
3535
+ };
3536
+
3537
+ type Blockchain = {
3538
+ createBlockTimestamp: number;
3539
+ createBlockNumber: string;
3540
+ blockchainId: string;
3541
+ vmId: string;
3542
+ subnetId: string;
3543
+ blockchainName: string;
3544
+ /**
3545
+ * 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.
3546
+ */
3547
+ evmChainId: number;
3548
+ /**
3549
+ * The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
3550
+ */
3551
+ genesisData?: (EvmGenesisDto | string);
3552
+ };
3553
+
2672
3554
  declare enum BlockchainIds {
2673
3555
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2674
3556
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2675
3557
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
2676
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2677
3558
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
2678
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
2679
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3559
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
2680
3560
  }
2681
3561
 
2682
3562
  type ChainAddressChainIdMap = {
@@ -2700,16 +3580,31 @@ type DelegatorsDetails = {
2700
3580
  };
2701
3581
 
2702
3582
  type StakingDistribution = {
3583
+ /**
3584
+ * AvalancheGo version for the validator node.
3585
+ */
2703
3586
  version: string;
3587
+ /**
3588
+ * The total amount staked by validators using this version.
3589
+ */
2704
3590
  amountStaked: string;
3591
+ /**
3592
+ * The number of validators using this version.
3593
+ */
2705
3594
  validatorCount: number;
2706
3595
  };
2707
3596
 
2708
3597
  type ValidatorsDetails = {
2709
3598
  validatorCount: number;
2710
3599
  totalAmountStaked: string;
3600
+ /**
3601
+ * Total potential rewards from currently active validations and delegations.
3602
+ */
2711
3603
  estimatedAnnualStakingReward: string;
2712
3604
  stakingDistributionByVersion: Array<StakingDistribution>;
3605
+ /**
3606
+ * Ratio of total active stake amount to the current supply.
3607
+ */
2713
3608
  stakingRatio: string;
2714
3609
  };
2715
3610
 
@@ -2718,15 +3613,6 @@ type GetNetworkDetailsResponse = {
2718
3613
  delegatorDetails: DelegatorsDetails;
2719
3614
  };
2720
3615
 
2721
- type Blockchain = {
2722
- createBlockTimestamp: number;
2723
- createBlockNumber: string;
2724
- blockchainId: string;
2725
- vmId: string;
2726
- subnetId: string;
2727
- blockchainName: string;
2728
- };
2729
-
2730
3616
  type ListBlockchainsResponse = {
2731
3617
  /**
2732
3618
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -2761,7 +3647,13 @@ type CompletedDelegatorDetails = {
2761
3647
  delegationFee: string;
2762
3648
  startTimestamp: number;
2763
3649
  endTimestamp: number;
3650
+ /**
3651
+ * Total rewards distributed for the successful delegation.
3652
+ */
2764
3653
  grossReward: string;
3654
+ /**
3655
+ * Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3656
+ */
2765
3657
  netReward: string;
2766
3658
  delegationStatus: CompletedDelegatorDetails.delegationStatus;
2767
3659
  };
@@ -2779,7 +3671,13 @@ type PendingDelegatorDetails = {
2779
3671
  delegationFee: string;
2780
3672
  startTimestamp: number;
2781
3673
  endTimestamp: number;
3674
+ /**
3675
+ * Estimated total rewards that will be distributed for the successful delegation.
3676
+ */
2782
3677
  estimatedGrossReward: string;
3678
+ /**
3679
+ * Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3680
+ */
2783
3681
  estimatedNetReward: string;
2784
3682
  delegationStatus: PendingDelegatorDetails.delegationStatus;
2785
3683
  };
@@ -2810,6 +3708,10 @@ type L1ValidatorDetailsFull = {
2810
3708
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
2811
3709
  */
2812
3710
  validationId: string;
3711
+ /**
3712
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3713
+ */
3714
+ validationIdHex: string;
2813
3715
  nodeId: string;
2814
3716
  subnetId: string;
2815
3717
  /**
@@ -2844,10 +3746,10 @@ type ListL1ValidatorsResponse = {
2844
3746
  * The list of L1 validations for the given Subnet ID, NodeId or validationId
2845
3747
  */
2846
3748
  validators: Array<L1ValidatorDetailsFull>;
2847
- };
2848
-
2849
- type BlockchainInfo = {
2850
- blockchainId: string;
3749
+ /**
3750
+ * Block height at which the L1 validator's remaining balance is calculated
3751
+ */
3752
+ blockHeight: string;
2851
3753
  };
2852
3754
 
2853
3755
  type L1ValidatorManagerDetails = {
@@ -2897,11 +3799,15 @@ type Subnet = {
2897
3799
  * Whether the subnet is an L1 or not.
2898
3800
  */
2899
3801
  isL1: boolean;
3802
+ /**
3803
+ * Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
3804
+ */
3805
+ l1ConversionTransactionHash?: string;
2900
3806
  /**
2901
3807
  * L1 validator manager details.
2902
3808
  */
2903
3809
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
2904
- blockchains: Array<BlockchainInfo>;
3810
+ blockchains: Array<Blockchain>;
2905
3811
  };
2906
3812
 
2907
3813
  type ListSubnetsResponse = {
@@ -2917,6 +3823,29 @@ type BlsCredentials = {
2917
3823
  proofOfPossession: string;
2918
3824
  };
2919
3825
 
3826
+ type Geolocation = {
3827
+ /**
3828
+ * The name of the validator node.
3829
+ */
3830
+ city: string;
3831
+ /**
3832
+ * The city of the validator node.
3833
+ */
3834
+ country: string;
3835
+ /**
3836
+ * The country code of the validator node.
3837
+ */
3838
+ countryCode: string;
3839
+ /**
3840
+ * The latitude of the validator node.
3841
+ */
3842
+ latitude: number;
3843
+ /**
3844
+ * The longitude of the validator node.
3845
+ */
3846
+ longitude: number;
3847
+ };
3848
+
2920
3849
  type Rewards = {
2921
3850
  validationRewardAmount: string;
2922
3851
  delegationRewardAmount: string;
@@ -2948,6 +3877,9 @@ type ActiveValidatorDetails = {
2948
3877
  nodeId: string;
2949
3878
  subnetId: string;
2950
3879
  amountStaked: string;
3880
+ /**
3881
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3882
+ */
2951
3883
  delegationFee?: string;
2952
3884
  startTimestamp: number;
2953
3885
  endTimestamp: number;
@@ -2955,15 +3887,37 @@ type ActiveValidatorDetails = {
2955
3887
  * Present for AddPermissionlessValidatorTx
2956
3888
  */
2957
3889
  blsCredentials?: BlsCredentials;
3890
+ /**
3891
+ * The percentage of this validator's stake amount to the total active stake.
3892
+ */
2958
3893
  stakePercentage: number;
3894
+ /**
3895
+ * The number of delegators linked to the validator.
3896
+ */
2959
3897
  delegatorCount: number;
3898
+ /**
3899
+ * The total amount in nAVAX delegated to the validator.
3900
+ */
2960
3901
  amountDelegated?: string;
3902
+ /**
3903
+ * The validator's uptime percentage, as observed by our internal node and measured over time.
3904
+ */
2961
3905
  uptimePerformance: number;
2962
3906
  avalancheGoVersion?: string;
3907
+ /**
3908
+ * The amount of stake in nAVAX that can be delegated to this validator.
3909
+ */
2963
3910
  delegationCapacity?: string;
3911
+ /**
3912
+ * Estimated rewards for the validator if the validation is successful.
3913
+ */
2964
3914
  potentialRewards: Rewards;
2965
3915
  validationStatus: ActiveValidatorDetails.validationStatus;
2966
3916
  validatorHealth: ValidatorHealthDetails;
3917
+ /**
3918
+ * The geographical location of the validator node, if available.
3919
+ */
3920
+ geolocation: Geolocation | null;
2967
3921
  };
2968
3922
  declare namespace ActiveValidatorDetails {
2969
3923
  enum validationStatus {
@@ -2976,6 +3930,9 @@ type CompletedValidatorDetails = {
2976
3930
  nodeId: string;
2977
3931
  subnetId: string;
2978
3932
  amountStaked: string;
3933
+ /**
3934
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3935
+ */
2979
3936
  delegationFee?: string;
2980
3937
  startTimestamp: number;
2981
3938
  endTimestamp: number;
@@ -2999,6 +3956,9 @@ type PendingValidatorDetails = {
2999
3956
  nodeId: string;
3000
3957
  subnetId: string;
3001
3958
  amountStaked: string;
3959
+ /**
3960
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3961
+ */
3002
3962
  delegationFee?: string;
3003
3963
  startTimestamp: number;
3004
3964
  endTimestamp: number;
@@ -3019,6 +3979,9 @@ type RemovedValidatorDetails = {
3019
3979
  nodeId: string;
3020
3980
  subnetId: string;
3021
3981
  amountStaked: string;
3982
+ /**
3983
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3984
+ */
3022
3985
  delegationFee?: string;
3023
3986
  startTimestamp: number;
3024
3987
  endTimestamp: number;
@@ -3026,7 +3989,13 @@ type RemovedValidatorDetails = {
3026
3989
  * Present for AddPermissionlessValidatorTx
3027
3990
  */
3028
3991
  blsCredentials?: BlsCredentials;
3992
+ /**
3993
+ * The transaction hash that removed the permissioned subnet validator.
3994
+ */
3029
3995
  removeTxHash: string;
3996
+ /**
3997
+ * The timestamp of the transaction that removed the permissioned subnet validator.
3998
+ */
3030
3999
  removeTimestamp: number;
3031
4000
  validationStatus: RemovedValidatorDetails.validationStatus;
3032
4001
  };
@@ -3106,7 +4075,6 @@ type XChainAssetDetails = {
3106
4075
  declare enum XChainId {
3107
4076
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3108
4077
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3109
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3110
4078
  X_CHAIN = "x-chain"
3111
4079
  }
3112
4080
 
@@ -3177,7 +4145,7 @@ declare class PrimaryNetworkService {
3177
4145
  */
3178
4146
  pageToken?: string;
3179
4147
  /**
3180
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4148
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3181
4149
  */
3182
4150
  pageSize?: number;
3183
4151
  /**
@@ -3185,6 +4153,22 @@ declare class PrimaryNetworkService {
3185
4153
  */
3186
4154
  sortOrder?: SortOrder;
3187
4155
  }): CancelablePromise<ListBlockchainsResponse>;
4156
+ /**
4157
+ * Get blockchain details by ID
4158
+ * Get details of the blockchain registered on the network.
4159
+ * @returns Blockchain Successful response
4160
+ * @throws ApiError
4161
+ */
4162
+ getBlockchainById({ blockchainId, network, }: {
4163
+ /**
4164
+ * The blockchain ID of the blockchain to retrieve.
4165
+ */
4166
+ blockchainId: string;
4167
+ /**
4168
+ * Either mainnet or testnet/fuji.
4169
+ */
4170
+ network: Network;
4171
+ }): CancelablePromise<Blockchain>;
3188
4172
  /**
3189
4173
  * List subnets
3190
4174
  * Lists all subnets registered on the network.
@@ -3201,7 +4185,7 @@ declare class PrimaryNetworkService {
3201
4185
  */
3202
4186
  pageToken?: string;
3203
4187
  /**
3204
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4188
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3205
4189
  */
3206
4190
  pageSize?: number;
3207
4191
  /**
@@ -3227,7 +4211,7 @@ declare class PrimaryNetworkService {
3227
4211
  }): CancelablePromise<Subnet>;
3228
4212
  /**
3229
4213
  * List validators
3230
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
4214
+ * 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.
3231
4215
  * @returns ListValidatorDetailsResponse Successful response
3232
4216
  * @throws ApiError
3233
4217
  */
@@ -3245,7 +4229,7 @@ declare class PrimaryNetworkService {
3245
4229
  */
3246
4230
  pageSize?: number;
3247
4231
  /**
3248
- * A comma separated list of node ids to filter by.
4232
+ * A comma separated list of node ids to filter by. Supports substring matching.
3249
4233
  */
3250
4234
  nodeIds?: string;
3251
4235
  /**
@@ -3389,7 +4373,7 @@ declare class PrimaryNetworkService {
3389
4373
  /**
3390
4374
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3391
4375
  */
3392
- l1ValidationId?: any;
4376
+ l1ValidationId?: string;
3393
4377
  includeInactiveL1Validators?: boolean;
3394
4378
  /**
3395
4379
  * A valid node ID in format 'NodeID-HASH'.
@@ -3406,10 +4390,8 @@ declare enum BlockchainId {
3406
4390
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3407
4391
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3408
4392
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3409
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3410
4393
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3411
4394
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3412
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
3413
4395
  P_CHAIN = "p-chain",
3414
4396
  X_CHAIN = "x-chain",
3415
4397
  C_CHAIN = "c-chain"
@@ -3999,6 +4981,10 @@ type Utxo = {
3999
4981
  * UTXO ID for this output.
4000
4982
  */
4001
4983
  utxoId: string;
4984
+ /**
4985
+ * The bytes of the UTXO
4986
+ */
4987
+ utxoBytes?: string;
4002
4988
  /**
4003
4989
  * Unix timestamp in seconds at which this output was consumed.
4004
4990
  */
@@ -4167,11 +5153,24 @@ type ListCChainAtomicTransactionsResponse = {
4167
5153
  chainInfo: PrimaryNetworkChainInfo;
4168
5154
  };
4169
5155
 
5156
+ type BlockchainInfo = {
5157
+ chainName: string;
5158
+ vmId: string;
5159
+ /**
5160
+ * 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
5161
+ */
5162
+ genesisData?: (EvmGenesisDto | string);
5163
+ };
5164
+
4170
5165
  type L1ValidatorDetailsTransaction = {
4171
5166
  /**
4172
5167
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4173
5168
  */
4174
5169
  validationId: string;
5170
+ /**
5171
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
5172
+ */
5173
+ validationIdHex: string;
4175
5174
  nodeId: string;
4176
5175
  subnetId: string;
4177
5176
  /**
@@ -4183,7 +5182,7 @@ type L1ValidatorDetailsTransaction = {
4183
5182
  */
4184
5183
  remainingBalance: number;
4185
5184
  /**
4186
- * The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
5185
+ * The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4187
5186
  */
4188
5187
  balanceChange?: number;
4189
5188
  blsCredentials?: Record<string, any>;
@@ -4213,6 +5212,9 @@ declare enum PChainTransactionType {
4213
5212
  UNKNOWN = "UNKNOWN"
4214
5213
  }
4215
5214
 
5215
+ /**
5216
+ * Indicates whether the UTXO is staked or transferable
5217
+ */
4216
5218
  declare enum UtxoType {
4217
5219
  STAKE = "STAKE",
4218
5220
  TRANSFER = "TRANSFER"
@@ -4240,6 +5242,10 @@ type PChainUtxo = {
4240
5242
  * UTXO ID for this output.
4241
5243
  */
4242
5244
  utxoId: string;
5245
+ /**
5246
+ * The bytes of the UTXO
5247
+ */
5248
+ utxoBytes?: string;
4243
5249
  /**
4244
5250
  * @deprecated
4245
5251
  */
@@ -4250,16 +5256,43 @@ type PChainUtxo = {
4250
5256
  assetId: string;
4251
5257
  blockNumber: string;
4252
5258
  blockTimestamp: number;
5259
+ /**
5260
+ * Block height in which the transaction consuming this UTXO was included
5261
+ */
4253
5262
  consumingBlockNumber?: string;
5263
+ /**
5264
+ * Timestamp in seconds at which this UTXO is used in a consuming transaction
5265
+ */
4254
5266
  consumingBlockTimestamp?: number;
5267
+ /**
5268
+ * Timestamp in seconds after which this UTXO can be consumed
5269
+ */
4255
5270
  platformLocktime?: number;
5271
+ /**
5272
+ * The index of the UTXO in the transaction
5273
+ */
4256
5274
  outputIndex: number;
4257
5275
  rewardType?: RewardType;
5276
+ /**
5277
+ * Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
5278
+ */
4258
5279
  stakeableLocktime?: number;
4259
5280
  staked?: boolean;
5281
+ /**
5282
+ * The minimum number of signatures required to spend this UTXO
5283
+ */
4260
5284
  threshold?: number;
5285
+ /**
5286
+ * The hash of the transaction that created this UTXO
5287
+ */
4261
5288
  txHash: string;
5289
+ /**
5290
+ * Timestamp in seconds after which the staked UTXO will be unlocked.
5291
+ */
4262
5292
  utxoEndTimestamp?: number;
5293
+ /**
5294
+ * Timestamp in seconds at which the staked UTXO was locked.
5295
+ */
4263
5296
  utxoStartTimestamp?: number;
4264
5297
  utxoType: UtxoType;
4265
5298
  };
@@ -4274,9 +5307,18 @@ type PChainTransaction = {
4274
5307
  * The block finality timestamp.
4275
5308
  */
4276
5309
  blockTimestamp: number;
5310
+ /**
5311
+ * The height of the block in which the transaction was included
5312
+ */
4277
5313
  blockNumber: string;
4278
5314
  blockHash: string;
5315
+ /**
5316
+ * The consumed UTXOs of the transaction
5317
+ */
4279
5318
  consumedUtxos: Array<PChainUtxo>;
5319
+ /**
5320
+ * The newly created UTXOs of the transaction
5321
+ */
4280
5322
  emittedUtxos: Array<PChainUtxo>;
4281
5323
  /**
4282
5324
  * Source chain for an atomic transaction.
@@ -4287,11 +5329,11 @@ type PChainTransaction = {
4287
5329
  */
4288
5330
  destinationChain?: string;
4289
5331
  /**
4290
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5332
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction
4291
5333
  */
4292
5334
  value: Array<AssetAmount>;
4293
5335
  /**
4294
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5336
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee
4295
5337
  */
4296
5338
  amountBurned: Array<AssetAmount>;
4297
5339
  /**
@@ -4299,7 +5341,7 @@ type PChainTransaction = {
4299
5341
  */
4300
5342
  amountStaked: Array<AssetAmount>;
4301
5343
  /**
4302
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5344
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.
4303
5345
  */
4304
5346
  amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4305
5347
  /**
@@ -4311,11 +5353,11 @@ type PChainTransaction = {
4311
5353
  */
4312
5354
  endTimestamp?: number;
4313
5355
  /**
4314
- * Present for AddValidatorTx, AddPermissionlessValidatorTx
5356
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
4315
5357
  */
4316
5358
  delegationFeePercent?: string;
4317
5359
  /**
4318
- * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5360
+ * The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4319
5361
  */
4320
5362
  nodeId?: string;
4321
5363
  /**
@@ -4331,14 +5373,17 @@ type PChainTransaction = {
4331
5373
  */
4332
5374
  l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
4333
5375
  /**
4334
- * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5376
+ * Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4335
5377
  */
4336
5378
  estimatedReward?: string;
5379
+ /**
5380
+ * Reward transaction hash for the completed validations or delegations
5381
+ */
4337
5382
  rewardTxHash?: string;
4338
5383
  rewardAddresses?: Array<string>;
4339
5384
  memo?: string;
4340
5385
  /**
4341
- * Present for RewardValidatorTx
5386
+ * Staking transaction corresponding to the RewardValidatorTx
4342
5387
  */
4343
5388
  stakingTxHash?: string;
4344
5389
  /**
@@ -4346,9 +5391,13 @@ type PChainTransaction = {
4346
5391
  */
4347
5392
  subnetOwnershipInfo?: SubnetOwnershipInfo;
4348
5393
  /**
4349
- * Present for AddPermissionlessValidatorTx
5394
+ * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4350
5395
  */
4351
5396
  blsCredentials?: BlsCredentials;
5397
+ /**
5398
+ * Details of the blockchain that was created in the CreateChainTx
5399
+ */
5400
+ blockchainInfo?: BlockchainInfo;
4352
5401
  };
4353
5402
 
4354
5403
  type ListPChainTransactionsResponse = {
@@ -4719,6 +5768,18 @@ type ListUtxosResponse = {
4719
5768
  chainInfo: PrimaryNetworkChainInfo;
4720
5769
  };
4721
5770
 
5771
+ type PrimaryNetworkAddressesBodyDto = {
5772
+ /**
5773
+ * Comma-separated list of primary network addresses
5774
+ */
5775
+ addresses: string;
5776
+ };
5777
+
5778
+ declare enum UtxosSortByOption {
5779
+ TIMESTAMP = "timestamp",
5780
+ AMOUNT = "amount"
5781
+ }
5782
+
4722
5783
  declare class PrimaryNetworkUtxOsService {
4723
5784
  readonly httpRequest: BaseHttpRequest;
4724
5785
  constructor(httpRequest: BaseHttpRequest);
@@ -4728,7 +5789,7 @@ declare class PrimaryNetworkUtxOsService {
4728
5789
  * @returns any Successful response
4729
5790
  * @throws ApiError
4730
5791
  */
4731
- getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
5792
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
4732
5793
  /**
4733
5794
  * A primary network blockchain id or alias.
4734
5795
  */
@@ -4753,10 +5814,63 @@ declare class PrimaryNetworkUtxOsService {
4753
5814
  * Asset ID for any asset (only applicable X-Chain)
4754
5815
  */
4755
5816
  assetId?: string;
5817
+ /**
5818
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5819
+ */
5820
+ minUtxoAmount?: number;
5821
+ /**
5822
+ * Boolean filter to include spent UTXOs.
5823
+ */
5824
+ includeSpent?: boolean;
5825
+ /**
5826
+ * Which property to sort by, in conjunction with sortOrder.
5827
+ */
5828
+ sortBy?: UtxosSortByOption;
5829
+ /**
5830
+ * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
5831
+ */
5832
+ sortOrder?: SortOrder;
5833
+ }): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
5834
+ /**
5835
+ * List UTXOs v2 - Supports querying for more addresses
5836
+ * Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
5837
+ * @returns any Successful response
5838
+ * @throws ApiError
5839
+ */
5840
+ getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
5841
+ /**
5842
+ * A primary network blockchain id or alias.
5843
+ */
5844
+ blockchainId: BlockchainId;
5845
+ /**
5846
+ * Either mainnet or testnet/fuji.
5847
+ */
5848
+ network: Network;
5849
+ requestBody: PrimaryNetworkAddressesBodyDto;
5850
+ /**
5851
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
5852
+ */
5853
+ pageToken?: string;
5854
+ /**
5855
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
5856
+ */
5857
+ pageSize?: number;
5858
+ /**
5859
+ * Asset ID for any asset (only applicable X-Chain)
5860
+ */
5861
+ assetId?: string;
5862
+ /**
5863
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5864
+ */
5865
+ minUtxoAmount?: number;
4756
5866
  /**
4757
5867
  * Boolean filter to include spent UTXOs.
4758
5868
  */
4759
5869
  includeSpent?: boolean;
5870
+ /**
5871
+ * Which property to sort by, in conjunction with sortOrder.
5872
+ */
5873
+ sortBy?: UtxosSortByOption;
4760
5874
  /**
4761
5875
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
4762
5876
  */
@@ -4870,10 +5984,30 @@ type SignatureAggregationResponse = {
4870
5984
  };
4871
5985
 
4872
5986
  type SignatureAggregatorRequest = {
4873
- message: string;
5987
+ /**
5988
+ * Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with "0x"
5989
+ */
5990
+ message?: string;
5991
+ /**
5992
+ * Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with "0x"
5993
+ */
4874
5994
  justification?: string;
5995
+ /**
5996
+ * Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.
5997
+ */
4875
5998
  signingSubnetId?: string;
5999
+ /**
6000
+ * Optional. Integer from 0 to 100 representing the percentage of the weight of the signing Subnet that is required to sign the message. Defaults to 67 if omitted.
6001
+ */
4876
6002
  quorumPercentage?: number;
6003
+ /**
6004
+ * Optional. Integer from 0 to 100 representing the additional percentage of weight of the signing Subnet that will be attempted to add to the signature. QuorumPercentage+QuorumPercentageBuffer must be less than or equal to 100. Obtaining signatures from more validators can take a longer time, but signatures representing a large percentage of the Subnet weight are less prone to become invalid due to validator weight changes. Defaults to 0 if omitted.
6005
+ */
6006
+ quorumPercentageBuffer?: number;
6007
+ /**
6008
+ * Optional P-Chain height for validator set selection. If 0 (default), validators at proposed height will be used. If non-zero, validators at the specified P-Chain height will be used for signature aggregation.
6009
+ */
6010
+ pChainHeight?: number;
4877
6011
  };
4878
6012
 
4879
6013
  declare class SignatureAggregatorService {
@@ -4885,9 +6019,29 @@ declare class SignatureAggregatorService {
4885
6019
  * @returns SignatureAggregationResponse Successful response
4886
6020
  * @throws ApiError
4887
6021
  */
4888
- aggregateSignatures({ requestBody, }: {
6022
+ aggregateSignatures({ network, requestBody, }: {
6023
+ /**
6024
+ * Either mainnet or testnet/fuji.
6025
+ */
6026
+ network: Network;
4889
6027
  requestBody: SignatureAggregatorRequest;
4890
6028
  }): CancelablePromise<SignatureAggregationResponse>;
6029
+ /**
6030
+ * Get Aggregated Signatures
6031
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
6032
+ * @returns SignatureAggregationResponse Successful response
6033
+ * @throws ApiError
6034
+ */
6035
+ getAggregatedSignatures({ network, txHash, }: {
6036
+ /**
6037
+ * Either mainnet or testnet/fuji.
6038
+ */
6039
+ network: Network;
6040
+ /**
6041
+ * A primary network (P or X chain) transaction hash.
6042
+ */
6043
+ txHash: string;
6044
+ }): CancelablePromise<SignatureAggregationResponse>;
4891
6045
  }
4892
6046
 
4893
6047
  type TeleporterDestinationTransaction = {
@@ -5021,15 +6175,17 @@ type ListTeleporterMessagesResponse = {
5021
6175
  * 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.
5022
6176
  */
5023
6177
  nextPageToken?: string;
5024
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
6178
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
5025
6179
  };
5026
6180
 
5027
6181
  declare class TeleporterService {
5028
6182
  readonly httpRequest: BaseHttpRequest;
5029
6183
  constructor(httpRequest: BaseHttpRequest);
5030
6184
  /**
5031
- * Get a teleporter message
5032
- * Gets a teleporter message by message ID.
6185
+ * @deprecated
6186
+ * **[Deprecated]** Gets a teleporter message by message ID.
6187
+ *
6188
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
5033
6189
  * @returns any Successful response
5034
6190
  * @throws ApiError
5035
6191
  */
@@ -5040,8 +6196,10 @@ declare class TeleporterService {
5040
6196
  messageId: string;
5041
6197
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
5042
6198
  /**
5043
- * List teleporter messages
5044
- * Lists teleporter messages. Ordered by timestamp in descending order.
6199
+ * @deprecated
6200
+ * **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
6201
+ *
6202
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
5045
6203
  * @returns ListTeleporterMessagesResponse Successful response
5046
6204
  * @throws ApiError
5047
6205
  */
@@ -5080,8 +6238,10 @@ declare class TeleporterService {
5080
6238
  network?: Network;
5081
6239
  }): CancelablePromise<ListTeleporterMessagesResponse>;
5082
6240
  /**
5083
- * List teleporter messages by address
5084
- * Lists teleporter messages by address. Ordered by timestamp in descending order.
6241
+ * @deprecated
6242
+ * **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
6243
+ *
6244
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
5085
6245
  * @returns ListTeleporterMessagesResponse Successful response
5086
6246
  * @throws ApiError
5087
6247
  */
@@ -5114,68 +6274,212 @@ type AddressesChangeRequest = {
5114
6274
 
5115
6275
  type AddressActivityMetadata = {
5116
6276
  /**
5117
- * Ethereum address(es) for the address_activity event type
6277
+ * Array of hexadecimal strings of the event signatures.
6278
+ */
6279
+ eventSignatures?: Array<string>;
6280
+ /**
6281
+ * 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.
5118
6282
  */
5119
6283
  addresses: Array<string>;
6284
+ };
6285
+
6286
+ type EVMAddressActivityRequest = {
6287
+ eventType: EVMAddressActivityRequest.eventType;
6288
+ url: string;
6289
+ name?: string;
6290
+ description?: string;
6291
+ chainId: string;
6292
+ metadata: AddressActivityMetadata;
5120
6293
  /**
5121
- * Array of hexadecimal strings of the event signatures.
6294
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5122
6295
  */
5123
- eventSignatures?: Array<string>;
6296
+ includeInternalTxs?: boolean;
6297
+ /**
6298
+ * Whether to include logs in the webhook payload.
6299
+ */
6300
+ includeLogs?: boolean;
5124
6301
  };
6302
+ declare namespace EVMAddressActivityRequest {
6303
+ enum eventType {
6304
+ ADDRESS_ACTIVITY = "address_activity"
6305
+ }
6306
+ }
5125
6307
 
5126
- declare enum EventType {
6308
+ declare enum AddressActivityEventType {
5127
6309
  ADDRESS_ACTIVITY = "address_activity"
5128
6310
  }
5129
6311
 
5130
- type CreateWebhookRequest = {
6312
+ declare enum WebhookStatusType {
6313
+ ACTIVE = "active",
6314
+ INACTIVE = "inactive"
6315
+ }
6316
+
6317
+ type EVMAddressActivityResponse = {
6318
+ id: string;
5131
6319
  url: string;
5132
6320
  chainId: string;
5133
- eventType: EventType;
6321
+ status: WebhookStatusType;
6322
+ createdAt: number;
6323
+ name: string;
6324
+ description: string;
6325
+ eventType: AddressActivityEventType;
5134
6326
  metadata: AddressActivityMetadata;
5135
- name?: string;
5136
- description?: string;
5137
6327
  /**
5138
- * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6328
+ * Whether to include traces in the webhook payload.
6329
+ */
6330
+ includeInternalTxs?: boolean;
6331
+ /**
6332
+ * Whether to include logs in the webhook payload.
6333
+ */
6334
+ includeLogs?: boolean;
6335
+ };
6336
+
6337
+ type ListWebhookAddressesResponse = {
6338
+ /**
6339
+ * 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.
6340
+ */
6341
+ nextPageToken?: string;
6342
+ addresses: Array<string>;
6343
+ totalAddresses: number;
6344
+ };
6345
+
6346
+ declare enum PrimaryNetworkAddressActivityEventType {
6347
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6348
+ }
6349
+
6350
+ /**
6351
+ * The type of key to monitor for the address activity event type.
6352
+ */
6353
+ declare enum PlatformAddressActivityKeyType {
6354
+ ADDRESSES = "addresses"
6355
+ }
6356
+
6357
+ /**
6358
+ * Array of address activity sub-event types
6359
+ */
6360
+ declare enum PrimaryNetworkAddressActivitySubEventType {
6361
+ BALANCE_CHANGE = "balance_change",
6362
+ BALANCE_THRESHOLD = "balance_threshold",
6363
+ REWARD_DISTRIBUTION = "reward_distribution"
6364
+ }
6365
+
6366
+ type PrimaryNetworkAddressActivitySubEvents = {
6367
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
6368
+ };
6369
+
6370
+ /**
6371
+ * Type of balance to monitor
6372
+ */
6373
+ declare enum CommonBalanceType {
6374
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
6375
+ UNLOCKED_STAKED = "unlockedStaked",
6376
+ LOCKED_PLATFORM = "lockedPlatform",
6377
+ LOCKED_STAKEABLE = "lockedStakeable",
6378
+ LOCKED_STAKED = "lockedStaked",
6379
+ PENDING_STAKED = "pendingStaked",
6380
+ UNLOCKED = "unlocked",
6381
+ LOCKED = "locked",
6382
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
6383
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
6384
+ }
6385
+
6386
+ type PrimaryNetworkBalanceThresholdFilter = {
6387
+ balanceType: CommonBalanceType;
6388
+ /**
6389
+ * Threshold for balance corresponding to balanceType in nAVAX
6390
+ */
6391
+ balanceThreshold: string;
6392
+ };
6393
+
6394
+ type PrimaryNetworkAddressActivityMetadata = {
6395
+ /**
6396
+ * Array of hexadecimal strings of the event signatures.
6397
+ */
6398
+ eventSignatures?: Array<string>;
6399
+ keyType: PlatformAddressActivityKeyType;
6400
+ /**
6401
+ * 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.
6402
+ */
6403
+ keys: Array<string>;
6404
+ /**
6405
+ * Sub-events to monitor
6406
+ */
6407
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6408
+ /**
6409
+ * Balance threshold filter
6410
+ */
6411
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6412
+ };
6413
+
6414
+ type PrimaryNetworkAddressActivityResponse = {
6415
+ id: string;
6416
+ url: string;
6417
+ chainId: string;
6418
+ status: WebhookStatusType;
6419
+ createdAt: number;
6420
+ name: string;
6421
+ description: string;
6422
+ eventType: PrimaryNetworkAddressActivityEventType;
6423
+ metadata: PrimaryNetworkAddressActivityMetadata;
6424
+ };
6425
+
6426
+ declare enum ValidatorActivityEventType {
6427
+ VALIDATOR_ACTIVITY = "validator_activity"
6428
+ }
6429
+
6430
+ /**
6431
+ * The type of key to monitor for the validator activity event type.
6432
+ */
6433
+ declare enum ValidatorActivityKeyType {
6434
+ NODE_ID = "nodeId",
6435
+ SUBNET_ID = "subnetId"
6436
+ }
6437
+
6438
+ type ValidatorActivitySubEvents = {
6439
+ /**
6440
+ * Array of validator activity sub-event types
6441
+ */
6442
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6443
+ };
6444
+
6445
+ type ValidatorActivityMetadata = {
6446
+ /**
6447
+ * Array of hexadecimal strings of the event signatures.
6448
+ */
6449
+ eventSignatures?: Array<string>;
6450
+ keyType: ValidatorActivityKeyType;
6451
+ /**
6452
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
5139
6453
  */
5140
- includeInternalTxs?: boolean;
6454
+ keys: Array<string>;
5141
6455
  /**
5142
- * Whether to include logs in the webhook payload.
6456
+ * Sub-events to monitor
5143
6457
  */
5144
- includeLogs?: boolean;
5145
- };
5146
-
5147
- type ListWebhookAddressesResponse = {
6458
+ subEvents: ValidatorActivitySubEvents;
5148
6459
  /**
5149
- * 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.
6460
+ * Array of node IDs to filter the events
5150
6461
  */
5151
- nextPageToken?: string;
5152
- addresses: Array<string>;
5153
- totalAddresses: number;
5154
- };
5155
-
5156
- declare enum WebhookStatusType {
5157
- ACTIVE = "active",
5158
- INACTIVE = "inactive"
5159
- }
5160
-
5161
- type WebhookResponse = {
5162
- id: string;
5163
- eventType: EventType;
5164
- metadata: AddressActivityMetadata;
6462
+ nodeIds?: Array<string>;
5165
6463
  /**
5166
- * Whether to include traces in the webhook payload.
6464
+ * Array of subnet IDs to filter the events
5167
6465
  */
5168
- includeInternalTxs?: boolean;
6466
+ subnetIds?: Array<string>;
5169
6467
  /**
5170
- * Whether to include logs in the webhook payload.
6468
+ * L1 validator fee balance threshold in nAVAX
5171
6469
  */
5172
- includeLogs?: boolean;
6470
+ l1ValidatorFeeBalanceThreshold?: string;
6471
+ };
6472
+
6473
+ type ValidatorActivityResponse = {
6474
+ id: string;
5173
6475
  url: string;
5174
6476
  chainId: string;
5175
6477
  status: WebhookStatusType;
5176
6478
  createdAt: number;
5177
6479
  name: string;
5178
6480
  description: string;
6481
+ eventType: ValidatorActivityEventType;
6482
+ metadata: ValidatorActivityMetadata;
5179
6483
  };
5180
6484
 
5181
6485
  type ListWebhooksResponse = {
@@ -5183,8 +6487,31 @@ type ListWebhooksResponse = {
5183
6487
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5184
6488
  */
5185
6489
  nextPageToken?: string;
5186
- webhooks: Array<WebhookResponse>;
6490
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6491
+ };
6492
+
6493
+ declare enum PrimaryNetworkType {
6494
+ MAINNET = "mainnet",
6495
+ FUJI = "fuji"
6496
+ }
6497
+
6498
+ type PrimaryNetworkAddressActivityRequest = {
6499
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
6500
+ url: string;
6501
+ name?: string;
6502
+ description?: string;
6503
+ network: PrimaryNetworkType;
6504
+ chainId: string;
6505
+ /**
6506
+ * Metadata for platform address activity event
6507
+ */
6508
+ metadata: PrimaryNetworkAddressActivityMetadata;
5187
6509
  };
6510
+ declare namespace PrimaryNetworkAddressActivityRequest {
6511
+ enum eventType {
6512
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6513
+ }
6514
+ }
5188
6515
 
5189
6516
  type SharedSecretsResponse = {
5190
6517
  secret: string;
@@ -5202,6 +6529,23 @@ type UpdateWebhookRequest = {
5202
6529
  includeLogs?: boolean;
5203
6530
  };
5204
6531
 
6532
+ type ValidatorActivityRequest = {
6533
+ eventType: ValidatorActivityRequest.eventType;
6534
+ url: string;
6535
+ name?: string;
6536
+ description?: string;
6537
+ network: PrimaryNetworkType;
6538
+ /**
6539
+ * Metadata for platform validator activity event
6540
+ */
6541
+ metadata: ValidatorActivityMetadata;
6542
+ };
6543
+ declare namespace ValidatorActivityRequest {
6544
+ enum eventType {
6545
+ VALIDATOR_ACTIVITY = "validator_activity"
6546
+ }
6547
+ }
6548
+
5205
6549
  declare enum WebhookStatus {
5206
6550
  ACTIVE = "active",
5207
6551
  INACTIVE = "inactive"
@@ -5213,12 +6557,12 @@ declare class WebhooksService {
5213
6557
  /**
5214
6558
  * Create a webhook
5215
6559
  * Create a new webhook.
5216
- * @returns WebhookResponse Successful response
6560
+ * @returns any Successful response
5217
6561
  * @throws ApiError
5218
6562
  */
5219
6563
  createWebhook({ requestBody, }: {
5220
- requestBody: CreateWebhookRequest;
5221
- }): CancelablePromise<WebhookResponse>;
6564
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6565
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5222
6566
  /**
5223
6567
  * List webhooks
5224
6568
  * Lists webhooks for the user.
@@ -5242,7 +6586,7 @@ declare class WebhooksService {
5242
6586
  /**
5243
6587
  * Get a webhook by ID
5244
6588
  * Retrieves a webhook by ID.
5245
- * @returns WebhookResponse Successful response
6589
+ * @returns any Successful response
5246
6590
  * @throws ApiError
5247
6591
  */
5248
6592
  getWebhook({ id, }: {
@@ -5250,11 +6594,11 @@ declare class WebhooksService {
5250
6594
  * The webhook identifier.
5251
6595
  */
5252
6596
  id: string;
5253
- }): CancelablePromise<WebhookResponse>;
6597
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5254
6598
  /**
5255
6599
  * Deactivate a webhook
5256
6600
  * Deactivates a webhook by ID.
5257
- * @returns WebhookResponse Successful response
6601
+ * @returns any Successful response
5258
6602
  * @throws ApiError
5259
6603
  */
5260
6604
  deactivateWebhook({ id, }: {
@@ -5262,11 +6606,11 @@ declare class WebhooksService {
5262
6606
  * The webhook identifier.
5263
6607
  */
5264
6608
  id: string;
5265
- }): CancelablePromise<WebhookResponse>;
6609
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5266
6610
  /**
5267
6611
  * Update a webhook
5268
6612
  * Updates an existing webhook.
5269
- * @returns WebhookResponse Successful response
6613
+ * @returns any Successful response
5270
6614
  * @throws ApiError
5271
6615
  */
5272
6616
  updateWebhook({ id, requestBody, }: {
@@ -5275,14 +6619,14 @@ declare class WebhooksService {
5275
6619
  */
5276
6620
  id: string;
5277
6621
  requestBody: UpdateWebhookRequest;
5278
- }): CancelablePromise<WebhookResponse>;
6622
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5279
6623
  /**
5280
- * Generate a shared secret
5281
- * Generates a new shared secret.
6624
+ * Generate or rotate a shared secret
6625
+ * Generates a new shared secret or rotate an existing one.
5282
6626
  * @returns SharedSecretsResponse Successful response
5283
6627
  * @throws ApiError
5284
6628
  */
5285
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
6629
+ generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5286
6630
  /**
5287
6631
  * Get a shared secret
5288
6632
  * Get a previously generated shared secret.
@@ -5291,9 +6635,9 @@ declare class WebhooksService {
5291
6635
  */
5292
6636
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5293
6637
  /**
5294
- * Add addresses to webhook
5295
- * Add addresses to webhook.
5296
- * @returns WebhookResponse Successful response
6638
+ * Add addresses to EVM activity webhook
6639
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6640
+ * @returns EVMAddressActivityResponse Successful response
5297
6641
  * @throws ApiError
5298
6642
  */
5299
6643
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5302,11 +6646,11 @@ declare class WebhooksService {
5302
6646
  */
5303
6647
  id: string;
5304
6648
  requestBody: AddressesChangeRequest;
5305
- }): CancelablePromise<WebhookResponse>;
6649
+ }): CancelablePromise<EVMAddressActivityResponse>;
5306
6650
  /**
5307
- * Remove addresses from webhook
5308
- * Remove addresses from webhook.
5309
- * @returns WebhookResponse Successful response
6651
+ * Remove addresses from EVM activity webhook
6652
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6653
+ * @returns EVMAddressActivityResponse Successful response
5310
6654
  * @throws ApiError
5311
6655
  */
5312
6656
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5315,10 +6659,10 @@ declare class WebhooksService {
5315
6659
  */
5316
6660
  id: string;
5317
6661
  requestBody: AddressesChangeRequest;
5318
- }): CancelablePromise<WebhookResponse>;
6662
+ }): CancelablePromise<EVMAddressActivityResponse>;
5319
6663
  /**
5320
- * List adresses by webhook
5321
- * List adresses by webhook.
6664
+ * List adresses by EVM activity webhooks
6665
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5322
6666
  * @returns ListWebhookAddressesResponse Successful response
5323
6667
  * @throws ApiError
5324
6668
  */
@@ -5340,6 +6684,7 @@ declare class WebhooksService {
5340
6684
 
5341
6685
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
5342
6686
  declare class Glacier {
6687
+ readonly avaxSupply: AvaxSupplyService;
5343
6688
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
5344
6689
  readonly default: DefaultService;
5345
6690
  readonly evmBalances: EvmBalancesService;
@@ -5348,7 +6693,9 @@ declare class Glacier {
5348
6693
  readonly evmContracts: EvmContractsService;
5349
6694
  readonly evmTransactions: EvmTransactionsService;
5350
6695
  readonly healthCheck: HealthCheckService;
6696
+ readonly interchainMessaging: InterchainMessagingService;
5351
6697
  readonly nfTs: NfTsService;
6698
+ readonly notifications: NotificationsService;
5352
6699
  readonly operations: OperationsService;
5353
6700
  readonly primaryNetwork: PrimaryNetworkService;
5354
6701
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -5381,6 +6728,17 @@ declare class ApiError extends Error {
5381
6728
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
5382
6729
  }
5383
6730
 
6731
+ type AccessListData = {
6732
+ /**
6733
+ * Access Address
6734
+ */
6735
+ accessAddresses: string;
6736
+ /**
6737
+ * Storage keys
6738
+ */
6739
+ storageKeys: Array<string>;
6740
+ };
6741
+
5384
6742
  type BadGateway = {
5385
6743
  /**
5386
6744
  * The error message describing the reason for the exception
@@ -5415,6 +6773,76 @@ type DataListChainsResponse = {
5415
6773
  chains: Array<ChainInfo>;
5416
6774
  };
5417
6775
 
6776
+ type ERCToken = {
6777
+ /**
6778
+ * Token contract address
6779
+ */
6780
+ address: string;
6781
+ /**
6782
+ * Token name
6783
+ */
6784
+ name: string;
6785
+ /**
6786
+ * Token symbol
6787
+ */
6788
+ symbol: string;
6789
+ /**
6790
+ * Token decimals
6791
+ */
6792
+ decimals: number;
6793
+ /**
6794
+ * Value including decimals
6795
+ */
6796
+ valueWithDecimals: string;
6797
+ };
6798
+
6799
+ type ERCTransfer = {
6800
+ /**
6801
+ * Transaction hash
6802
+ */
6803
+ transactionHash: string;
6804
+ /**
6805
+ * Transfer type
6806
+ */
6807
+ type: string;
6808
+ /**
6809
+ * Sender address
6810
+ */
6811
+ from: string;
6812
+ /**
6813
+ * Recipient address
6814
+ */
6815
+ to: string;
6816
+ /**
6817
+ * Amount transferred
6818
+ */
6819
+ value: string;
6820
+ /**
6821
+ * Token Id
6822
+ */
6823
+ tokenId?: string;
6824
+ /**
6825
+ * Block timestamp
6826
+ */
6827
+ blockTimestamp: number;
6828
+ /**
6829
+ * Log index
6830
+ */
6831
+ logIndex: number;
6832
+ /**
6833
+ * erc20 Token details
6834
+ */
6835
+ erc20Token?: ERCToken;
6836
+ /**
6837
+ * erc721 Token details
6838
+ */
6839
+ erc721Token?: ERCToken;
6840
+ /**
6841
+ * erc1155 Token details
6842
+ */
6843
+ erc1155Token?: ERCToken;
6844
+ };
6845
+
5418
6846
  type Forbidden = {
5419
6847
  /**
5420
6848
  * The error message describing the reason for the exception
@@ -5445,6 +6873,64 @@ type InternalServerError = {
5445
6873
  error: string;
5446
6874
  };
5447
6875
 
6876
+ type Log = {
6877
+ /**
6878
+ * Contract address
6879
+ */
6880
+ address: string;
6881
+ /**
6882
+ * First topic
6883
+ */
6884
+ topic0: string;
6885
+ /**
6886
+ * Second topic (optional)
6887
+ */
6888
+ topic1?: string;
6889
+ /**
6890
+ * Third topic (optional)
6891
+ */
6892
+ topic2?: string;
6893
+ /**
6894
+ * Fourth topic (optional)
6895
+ */
6896
+ topic3?: string;
6897
+ /**
6898
+ * Event data
6899
+ */
6900
+ data: string;
6901
+ /**
6902
+ * Transaction index
6903
+ */
6904
+ transactionIndex: number;
6905
+ /**
6906
+ * Log index
6907
+ */
6908
+ logIndex: number;
6909
+ /**
6910
+ * Indicates if the log was removed
6911
+ */
6912
+ removed: boolean;
6913
+ };
6914
+
6915
+ type NetworkTokenInfo = {
6916
+ /**
6917
+ * Token name
6918
+ */
6919
+ tokenName?: string;
6920
+ /**
6921
+ * Token symbol
6922
+ */
6923
+ tokenSymbol?: string;
6924
+ /**
6925
+ * Token decimals
6926
+ */
6927
+ tokenDecimals?: number;
6928
+ /**
6929
+ * Value including decimals
6930
+ */
6931
+ valueWithDecimals?: string;
6932
+ };
6933
+
5448
6934
  type NextPageToken = {
5449
6935
  /**
5450
6936
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -5497,6 +6983,163 @@ type TooManyRequests = {
5497
6983
  error: string;
5498
6984
  };
5499
6985
 
6986
+ type WebhookInternalTransaction = {
6987
+ /**
6988
+ * Sender address
6989
+ */
6990
+ from: string;
6991
+ /**
6992
+ * Recipient address
6993
+ */
6994
+ to: string;
6995
+ /**
6996
+ * Internal transaction type
6997
+ */
6998
+ internalTxType: string;
6999
+ /**
7000
+ * Value transferred
7001
+ */
7002
+ value: string;
7003
+ /**
7004
+ * Gas used
7005
+ */
7006
+ gasUsed: string;
7007
+ /**
7008
+ * Gas limit
7009
+ */
7010
+ gasLimit: string;
7011
+ /**
7012
+ * Transaction hash
7013
+ */
7014
+ transactionHash: string;
7015
+ };
7016
+
7017
+ type Transaction = {
7018
+ /**
7019
+ * Block hash of the transaction
7020
+ */
7021
+ blockHash: string;
7022
+ /**
7023
+ * Block number of the transaction
7024
+ */
7025
+ blockNumber: string;
7026
+ /**
7027
+ * Sender address
7028
+ */
7029
+ from: string;
7030
+ /**
7031
+ * Gas limit for the transaction
7032
+ */
7033
+ gas: string;
7034
+ /**
7035
+ * Gas price used
7036
+ */
7037
+ gasPrice: string;
7038
+ /**
7039
+ * Maximum fee per gas
7040
+ */
7041
+ maxFeePerGas: string;
7042
+ /**
7043
+ * Maximum priority fee per gas
7044
+ */
7045
+ maxPriorityFeePerGas: string;
7046
+ /**
7047
+ * Transaction hash
7048
+ */
7049
+ txHash: string;
7050
+ /**
7051
+ * Transaction status
7052
+ */
7053
+ txStatus: string;
7054
+ /**
7055
+ * Input data
7056
+ */
7057
+ input: string;
7058
+ /**
7059
+ * Nonce value
7060
+ */
7061
+ nonce: string;
7062
+ /**
7063
+ * Recipient address
7064
+ */
7065
+ to: string;
7066
+ /**
7067
+ * Transaction index
7068
+ */
7069
+ transactionIndex: number;
7070
+ /**
7071
+ * Value transferred in the transaction
7072
+ */
7073
+ value: string;
7074
+ /**
7075
+ * Transaction type
7076
+ */
7077
+ type: number;
7078
+ /**
7079
+ * Chain ID of the network
7080
+ */
7081
+ chainId: string;
7082
+ /**
7083
+ * Cumulative gas used
7084
+ */
7085
+ receiptCumulativeGasUsed: string;
7086
+ /**
7087
+ * Gas used
7088
+ */
7089
+ receiptGasUsed: string;
7090
+ /**
7091
+ * Effective gas price
7092
+ */
7093
+ receiptEffectiveGasPrice: string;
7094
+ /**
7095
+ * Receipt root
7096
+ */
7097
+ receiptRoot: string;
7098
+ /**
7099
+ * Block timestamp
7100
+ */
7101
+ blockTimestamp: number;
7102
+ /**
7103
+ * Contract address (optional)
7104
+ */
7105
+ contractAddress?: string;
7106
+ /**
7107
+ * ERC20 transfers
7108
+ */
7109
+ erc20Transfers: Array<ERCTransfer>;
7110
+ /**
7111
+ * ERC721 transfers
7112
+ */
7113
+ erc721Transfers: Array<ERCTransfer>;
7114
+ /**
7115
+ * ERC1155 transfers
7116
+ */
7117
+ erc1155Transfers: Array<ERCTransfer>;
7118
+ /**
7119
+ * Internal transactions (optional)
7120
+ */
7121
+ internalTransactions?: Array<WebhookInternalTransaction>;
7122
+ /**
7123
+ * Access list (optional)
7124
+ */
7125
+ accessList?: Array<AccessListData>;
7126
+ /**
7127
+ * Network token info (optional)
7128
+ */
7129
+ networkToken?: NetworkTokenInfo;
7130
+ };
7131
+
7132
+ type TransactionEvent = {
7133
+ /**
7134
+ * Transaction details
7135
+ */
7136
+ transaction: Transaction;
7137
+ /**
7138
+ * Array of log events
7139
+ */
7140
+ logs?: Array<Log>;
7141
+ };
7142
+
5500
7143
  type Unauthorized = {
5501
7144
  /**
5502
7145
  * The error message describing the reason for the exception
@@ -5512,4 +7155,43 @@ type Unauthorized = {
5512
7155
  error: string;
5513
7156
  };
5514
7157
 
5515
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsResponseDTO, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
7158
+ type WebhookAddressActivityResponse = {
7159
+ /**
7160
+ * Webhook ID
7161
+ */
7162
+ webhookId: string;
7163
+ /**
7164
+ * Event type
7165
+ */
7166
+ eventType: WebhookAddressActivityResponse.eventType;
7167
+ /**
7168
+ * Message ID
7169
+ */
7170
+ messageId: string;
7171
+ /**
7172
+ * Event details
7173
+ */
7174
+ event: TransactionEvent;
7175
+ };
7176
+ declare namespace WebhookAddressActivityResponse {
7177
+ /**
7178
+ * Event type
7179
+ */
7180
+ enum eventType {
7181
+ ADDRESS_ACTIVITY = "address_activity"
7182
+ }
7183
+ }
7184
+
7185
+ declare class FetchHttpRequest extends BaseHttpRequest {
7186
+ constructor(config: OpenAPIConfig);
7187
+ /**
7188
+ * Request method
7189
+ * @param options The request options from the service
7190
+ * @returns CancelablePromise<T>
7191
+ * @throws ApiError
7192
+ */
7193
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
7194
+ }
7195
+
7196
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, AvaxSupplyService, 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, UtxosSortByOption, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
7197
+ export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, AvaxSupplyResponse, 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, EvmGenesisAllocDto, EvmGenesisAllowListConfigDto, EvmGenesisConfigDto, EvmGenesisDto, EvmGenesisFeeConfigDto, EvmGenesisWarpConfigDto, 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, PrimaryNetworkAddressesBodyDto, 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 };