@avalabs/glacier-sdk 3.1.0-canary.e781be2.0 → 3.1.0-canary.e97ea02.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 (301) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +2300 -381
  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 +48 -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 +6 -0
  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/EVMAddressActivityRequest.d.ts +25 -0
  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 +6 -2
  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 +11 -0
  64. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  65. package/esm/generated/models/Erc20Transfer.d.ts +6 -2
  66. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  67. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  68. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  69. package/esm/generated/models/Erc721Transfer.d.ts +6 -2
  70. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  71. package/esm/generated/models/EvmBlock.d.ts +14 -2
  72. package/esm/generated/models/EvmGenesisAllocDto.d.ts +16 -0
  73. package/esm/generated/models/EvmGenesisAllowListConfigDto.d.ts +20 -0
  74. package/esm/generated/models/EvmGenesisConfigDto.d.ts +96 -0
  75. package/esm/generated/models/EvmGenesisDto.d.ts +75 -0
  76. package/esm/generated/models/EvmGenesisFeeConfigDto.d.ts +36 -0
  77. package/esm/generated/models/EvmGenesisWarpConfigDto.d.ts +16 -0
  78. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  79. package/esm/generated/models/Forbidden.d.ts +1 -1
  80. package/esm/generated/models/FullNativeTransactionDetails.d.ts +14 -2
  81. package/esm/generated/models/Geolocation.d.ts +24 -0
  82. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  83. package/esm/generated/models/GetEvmBlockResponse.d.ts +14 -2
  84. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  85. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  86. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +3 -3
  87. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  88. package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
  89. package/esm/generated/models/HealthCheckResultDto.js +1 -0
  90. package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
  91. package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
  92. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  93. package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
  94. package/esm/generated/models/IcmReceipt.d.ts +6 -0
  95. package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
  96. package/esm/generated/models/IcmRewardDetails.js +1 -0
  97. package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
  98. package/esm/generated/models/ImageAsset.d.ts +1 -1
  99. package/esm/generated/models/InternalServerError.d.ts +1 -1
  100. package/esm/generated/models/InternalTransaction.d.ts +6 -2
  101. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  102. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  103. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  104. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +37 -0
  105. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +27 -0
  106. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  107. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  108. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  109. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  110. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  111. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  112. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  113. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  114. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  115. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +6 -1
  116. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  117. package/esm/generated/models/ListErc20BalancesResponse.d.ts +6 -1
  118. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  119. package/esm/generated/models/ListErc721BalancesResponse.d.ts +6 -1
  120. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  121. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  122. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  123. package/esm/generated/models/ListIcmMessagesResponse.d.ts +13 -0
  124. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  125. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +18 -0
  126. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  127. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  128. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  129. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  130. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  131. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  132. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  133. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  134. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  135. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  136. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  137. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  138. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  139. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  140. package/esm/generated/models/ListWebhooksResponse.d.ts +5 -3
  141. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  142. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  143. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  144. package/esm/generated/models/Log.d.ts +40 -0
  145. package/esm/generated/models/LogsFormat.d.ts +1 -1
  146. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  147. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  148. package/esm/generated/models/Method.d.ts +1 -1
  149. package/esm/generated/models/Metric.d.ts +1 -1
  150. package/esm/generated/models/Money.d.ts +1 -1
  151. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  152. package/esm/generated/models/NativeTransaction.d.ts +14 -2
  153. package/esm/generated/models/Network.d.ts +1 -2
  154. package/esm/generated/models/Network.js +1 -1
  155. package/esm/generated/models/NetworkToken.d.ts +1 -1
  156. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  157. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  158. package/esm/generated/models/NextPageToken.d.ts +1 -1
  159. package/esm/generated/models/NotFound.d.ts +1 -1
  160. package/esm/generated/models/NotificationsResponse.d.ts +5 -0
  161. package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
  162. package/esm/generated/models/PChainBalance.d.ts +1 -1
  163. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  164. package/esm/generated/models/PChainTransaction.d.ts +34 -16
  165. package/esm/generated/models/PChainTransactionType.d.ts +5 -5
  166. package/esm/generated/models/PChainTransactionType.js +1 -1
  167. package/esm/generated/models/PChainUtxo.d.ts +32 -1
  168. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  169. package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
  170. package/esm/generated/models/PendingIcmMessage.js +1 -0
  171. package/esm/generated/models/PendingReward.d.ts +1 -1
  172. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  173. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  174. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  175. package/esm/generated/models/PricingProviders.d.ts +1 -1
  176. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  177. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  178. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  179. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  180. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  181. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  182. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  183. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  184. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  185. package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
  186. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
  187. package/esm/generated/models/PrimaryNetworkBlock.d.ts +3 -3
  188. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  189. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  190. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +10 -0
  191. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  192. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
  193. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
  194. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
  195. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
  196. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -5
  197. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  198. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  199. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  200. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  201. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  202. package/esm/generated/models/ResourceLink.d.ts +1 -1
  203. package/esm/generated/models/Rewards.d.ts +1 -1
  204. package/esm/generated/models/RichAddress.d.ts +1 -1
  205. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  206. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  207. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  208. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +8 -0
  209. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
  210. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  211. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  212. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  213. package/esm/generated/models/SignatureAggregatorRequest.d.ts +17 -3
  214. package/esm/generated/models/StakingDistribution.d.ts +10 -1
  215. package/esm/generated/models/Subnet.d.ts +16 -3
  216. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  217. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  218. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  219. package/esm/generated/models/{RpcUsageMetricsResponseDTO.d.ts → SubnetRpcUsageMetricsResponseDTO.d.ts} +6 -6
  220. package/esm/generated/models/SubscribeRequest.d.ts +16 -0
  221. package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
  222. package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
  223. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  224. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  225. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  226. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  227. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  228. package/esm/generated/models/Transaction.d.ts +121 -0
  229. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  230. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  231. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  232. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  233. package/esm/generated/models/Unauthorized.d.ts +1 -1
  234. package/esm/generated/models/UnknownContract.d.ts +1 -1
  235. package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
  236. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  237. package/esm/generated/models/UpdateWebhookRequest.d.ts +4 -1
  238. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  239. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  240. package/esm/generated/models/Utxo.d.ts +5 -1
  241. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  242. package/esm/generated/models/UtxoType.d.ts +3 -0
  243. package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
  244. package/esm/generated/models/UtxosSortByOption.js +1 -0
  245. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  246. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  247. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  248. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  249. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  250. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  251. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  252. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  253. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  254. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  255. package/esm/generated/models/ValidatorsDetails.d.ts +7 -1
  256. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  257. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  258. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  259. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  260. package/esm/generated/models/XChainBalances.d.ts +1 -1
  261. package/esm/generated/models/XChainId.d.ts +0 -1
  262. package/esm/generated/models/XChainId.js +1 -1
  263. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  264. package/esm/generated/models/XChainVertex.d.ts +1 -1
  265. package/esm/generated/services/AvaxSupplyService.d.ts +17 -0
  266. package/esm/generated/services/AvaxSupplyService.js +1 -0
  267. package/esm/generated/services/DataApiUsageMetricsService.d.ts +119 -20
  268. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  269. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  270. package/esm/generated/services/EvmBlocksService.d.ts +21 -0
  271. package/esm/generated/services/EvmBlocksService.js +1 -1
  272. package/esm/generated/services/EvmChainsService.d.ts +69 -4
  273. package/esm/generated/services/EvmChainsService.js +1 -1
  274. package/esm/generated/services/EvmTransactionsService.d.ts +35 -2
  275. package/esm/generated/services/EvmTransactionsService.js +1 -1
  276. package/esm/generated/services/HealthCheckService.d.ts +11 -7
  277. package/esm/generated/services/HealthCheckService.js +1 -1
  278. package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
  279. package/esm/generated/services/InterchainMessagingService.js +1 -0
  280. package/esm/generated/services/NotificationsService.d.ts +51 -0
  281. package/esm/generated/services/NotificationsService.js +1 -0
  282. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +18 -2
  283. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  284. package/esm/generated/services/PrimaryNetworkService.d.ts +30 -12
  285. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  286. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +4 -1
  287. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  288. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +56 -1
  289. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  290. package/esm/generated/services/SignatureAggregatorService.d.ts +22 -1
  291. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  292. package/esm/generated/services/TeleporterService.d.ts +12 -6
  293. package/esm/generated/services/WebhooksService.d.ts +28 -24
  294. package/esm/generated/services/WebhooksService.js +1 -1
  295. package/esm/index.d.ts +70 -5
  296. package/esm/index.js +1 -1
  297. package/package.json +13 -4
  298. package/dist/index.js +0 -1
  299. package/esm/generated/models/CreateWebhookRequest.d.ts +0 -21
  300. package/esm/generated/models/EventType.d.ts +0 -5
  301. package/esm/generated/models/SubnetValidatorManagerDetails.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -54,6 +54,65 @@ 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
+ * Represents the total amount of AVAX burned on the P-Chain. This value includes AVAX lost when the sum of input UTXOs exceeds the sum of output UTXOs—potentially by more than the expected transaction fee, such as in malformed or improperly constructed transactions—as well as all L1 validator fees that have been burned to date.
68
+ */
69
+ totalPBurned: string;
70
+ /**
71
+ * Represents the total amount of AVAX burned on the C-Chain. This value includes the total amount of AVAX burned on the C-Chain in evm txns and the total amount of AVAX burned on the C-Chain in atomic txns.
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
+ * The total L1 validator fees of AVAX.
100
+ */
101
+ l1ValidatorFees: string;
102
+ };
103
+
104
+ declare class AvaxSupplyService {
105
+ readonly httpRequest: BaseHttpRequest;
106
+ constructor(httpRequest: BaseHttpRequest);
107
+ /**
108
+ * Get AVAX supply information
109
+ * 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.
110
+ * @returns AvaxSupplyResponse Successful response
111
+ * @throws ApiError
112
+ */
113
+ getAvaxSupply(): CancelablePromise<AvaxSupplyResponse>;
114
+ }
115
+
57
116
  type LogsFormatMetadata = {
58
117
  /**
59
118
  * The IP address of the client that made the request.
@@ -148,6 +207,28 @@ type LogsResponseDTO = {
148
207
  logs: Array<LogsFormat>;
149
208
  };
150
209
 
210
+ declare enum Network {
211
+ MAINNET = "mainnet",
212
+ FUJI = "fuji",
213
+ TESTNET = "testnet"
214
+ }
215
+
216
+ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
217
+ RPC_METHOD = "rpcMethod",
218
+ REQUEST_PATH = "requestPath",
219
+ RESPONSE_CODE = "responseCode",
220
+ COUNTRY = "country",
221
+ CONTINENT = "continent",
222
+ USER_AGENT = "userAgent"
223
+ }
224
+
225
+ declare enum PrimaryNetworkRpcTimeIntervalGranularity {
226
+ HOURLY = "hourly",
227
+ DAILY = "daily",
228
+ WEEKLY = "weekly",
229
+ MONTHLY = "monthly"
230
+ }
231
+
151
232
  type RpcUsageMetricsValueAggregated = {
152
233
  /**
153
234
  * The total number of requests
@@ -173,6 +254,10 @@ type RpcUsageMetricsValueAggregated = {
173
254
  * The number of invalid requests
174
255
  */
175
256
  invalidRequests: number;
257
+ /**
258
+ * The number of API credits wasted on invalid requests
259
+ */
260
+ apiCreditsWasted: number;
176
261
  /**
177
262
  * Column name used for data aggregation
178
263
  */
@@ -190,6 +275,10 @@ declare namespace RpcUsageMetricsValueAggregated {
190
275
  RPC_METHOD = "rpcMethod",
191
276
  RESPONSE_CODE = "responseCode",
192
277
  RL_BYPASS_TOKEN = "rlBypassToken",
278
+ REQUEST_PATH = "requestPath",
279
+ COUNTRY = "country",
280
+ CONTINENT = "continent",
281
+ USER_AGENT = "userAgent",
193
282
  NONE = "None"
194
283
  }
195
284
  }
@@ -205,19 +294,56 @@ type RpcMetrics = {
205
294
  values: Array<RpcUsageMetricsValueAggregated>;
206
295
  };
207
296
 
208
- type RpcUsageMetricsResponseDTO = {
297
+ type PrimaryNetworkRpcUsageMetricsResponseDTO = {
209
298
  /**
210
299
  * Duration in which the metrics value is aggregated
211
300
  */
212
301
  aggregateDuration: string;
213
302
  /**
214
- * ChainId for which the metrics are aggregated
303
+ * Metrics values
215
304
  */
216
- chainId: string;
305
+ metrics: Array<RpcMetrics>;
306
+ /**
307
+ * Network type for which the metrics are aggregated
308
+ */
309
+ network: PrimaryNetworkRpcUsageMetricsResponseDTO.network;
310
+ };
311
+ declare namespace PrimaryNetworkRpcUsageMetricsResponseDTO {
312
+ /**
313
+ * Network type for which the metrics are aggregated
314
+ */
315
+ enum network {
316
+ MAINNET = "mainnet",
317
+ TESTNET = "testnet"
318
+ }
319
+ }
320
+
321
+ declare enum RpcUsageMetricsGroupByEnum {
322
+ RPC_METHOD = "rpcMethod",
323
+ RESPONSE_CODE = "responseCode",
324
+ RL_BYPASS_TOKEN = "rlBypassToken"
325
+ }
326
+
327
+ declare enum SubnetRpcTimeIntervalGranularity {
328
+ HOURLY = "hourly",
329
+ DAILY = "daily",
330
+ WEEKLY = "weekly",
331
+ MONTHLY = "monthly"
332
+ }
333
+
334
+ type SubnetRpcUsageMetricsResponseDTO = {
335
+ /**
336
+ * Duration in which the metrics value is aggregated
337
+ */
338
+ aggregateDuration: string;
217
339
  /**
218
340
  * Metrics values
219
341
  */
220
342
  metrics: Array<RpcMetrics>;
343
+ /**
344
+ * ChainId for which the metrics are aggregated
345
+ */
346
+ chainId: string;
221
347
  };
222
348
 
223
349
  declare enum TimeIntervalGranularityExtended {
@@ -323,7 +449,7 @@ declare class DataApiUsageMetricsService {
323
449
  * @returns UsageMetricsResponseDTO Successful response
324
450
  * @throws ApiError
325
451
  */
326
- getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, requestPath, responseCode, requestType, apiKeyId, }: {
452
+ getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, responseCode, requestType, apiKeyId, requestPath, }: {
327
453
  /**
328
454
  * Organization ID to fetch usage metrics for
329
455
  */
@@ -348,10 +474,6 @@ declare class DataApiUsageMetricsService {
348
474
  * Filter data by chain ID.
349
475
  */
350
476
  chainId?: string;
351
- /**
352
- * Filter data by request path.
353
- */
354
- requestPath?: string;
355
477
  /**
356
478
  * Filter data by response status code.
357
479
  */
@@ -364,6 +486,10 @@ declare class DataApiUsageMetricsService {
364
486
  * Filter data by API key ID.
365
487
  */
366
488
  apiKeyId?: string;
489
+ /**
490
+ * Filter data by request path.
491
+ */
492
+ requestPath?: string;
367
493
  }): CancelablePromise<UsageMetricsResponseDTO>;
368
494
  /**
369
495
  * Get logs for requests made by client
@@ -371,7 +497,7 @@ declare class DataApiUsageMetricsService {
371
497
  * @returns LogsResponseDTO Successful response
372
498
  * @throws ApiError
373
499
  */
374
- getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, requestPath, responseCode, requestType, apiKeyId, pageToken, pageSize, }: {
500
+ getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, responseCode, requestType, apiKeyId, requestPath, pageToken, pageSize, }: {
375
501
  /**
376
502
  * Organization ID to fetch usage metrics for
377
503
  */
@@ -388,10 +514,6 @@ declare class DataApiUsageMetricsService {
388
514
  * Filter data by chain ID.
389
515
  */
390
516
  chainId?: string;
391
- /**
392
- * Filter data by request path.
393
- */
394
- requestPath?: string;
395
517
  /**
396
518
  * Filter data by response status code.
397
519
  */
@@ -404,6 +526,10 @@ declare class DataApiUsageMetricsService {
404
526
  * Filter data by API key ID.
405
527
  */
406
528
  apiKeyId?: string;
529
+ /**
530
+ * Filter data by request path.
531
+ */
532
+ requestPath?: string;
407
533
  /**
408
534
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
409
535
  */
@@ -415,15 +541,16 @@ declare class DataApiUsageMetricsService {
415
541
  }): CancelablePromise<LogsResponseDTO>;
416
542
  /**
417
543
  * Get usage metrics for the Subnet RPC
418
- * Gets metrics for Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
419
- * @returns RpcUsageMetricsResponseDTO Successful response
544
+ * Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
545
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
420
546
  * @throws ApiError
421
547
  */
422
- getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, requestPath, responseCode, rpcMethod, rlBypassApiToken, }: {
548
+ getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
423
549
  /**
424
- * Query param for setting time interval of data aggregation.
550
+ * Time interval granularity for data aggregation for subnet
551
+ * rpc metrics
425
552
  */
426
- timeInterval?: string;
553
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
427
554
  /**
428
555
  * The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
429
556
  */
@@ -435,15 +562,54 @@ declare class DataApiUsageMetricsService {
435
562
  /**
436
563
  * Query param for the criterion used for grouping metrics
437
564
  */
438
- groupBy?: UsageMetricsGroupByEnum;
565
+ groupBy?: RpcUsageMetricsGroupByEnum;
439
566
  /**
440
567
  * Filter data by chain ID.
441
568
  */
442
569
  chainId?: string;
443
570
  /**
444
- * Filter data by request path.
571
+ * Filter data by response status code.
445
572
  */
446
- requestPath?: string;
573
+ responseCode?: string;
574
+ /**
575
+ * Filter data by RPC method.
576
+ */
577
+ rpcMethod?: string;
578
+ /**
579
+ * Filter data by Rl Bypass API Token.
580
+ */
581
+ rlBypassApiToken?: string;
582
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
583
+ /**
584
+ * @deprecated
585
+ * **[Deprecated]** Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
586
+ *
587
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/subnetRpcUsageMetrics endpoint instead**.
588
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
589
+ * @throws ApiError
590
+ */
591
+ getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
592
+ /**
593
+ * Time interval granularity for data aggregation for subnet
594
+ * rpc metrics
595
+ */
596
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
597
+ /**
598
+ * 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.
599
+ */
600
+ startTimestamp?: number;
601
+ /**
602
+ * 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.
603
+ */
604
+ endTimestamp?: number;
605
+ /**
606
+ * Query param for the criterion used for grouping metrics
607
+ */
608
+ groupBy?: RpcUsageMetricsGroupByEnum;
609
+ /**
610
+ * Filter data by chain ID.
611
+ */
612
+ chainId?: string;
447
613
  /**
448
614
  * Filter data by response status code.
449
615
  */
@@ -456,7 +622,60 @@ declare class DataApiUsageMetricsService {
456
622
  * Filter data by Rl Bypass API Token.
457
623
  */
458
624
  rlBypassApiToken?: string;
459
- }): CancelablePromise<RpcUsageMetricsResponseDTO>;
625
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
626
+ /**
627
+ * Get usage metrics for the Primary Network RPC
628
+ * Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
629
+ * @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
630
+ * @throws ApiError
631
+ */
632
+ getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
633
+ /**
634
+ * Either mainnet or testnet/fuji.
635
+ */
636
+ network: Network;
637
+ /**
638
+ * Time interval granularity for data aggregation for subnet
639
+ * rpc metrics
640
+ */
641
+ timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
642
+ /**
643
+ * 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.
644
+ */
645
+ startTimestamp?: number;
646
+ /**
647
+ * 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.
648
+ */
649
+ endTimestamp?: number;
650
+ /**
651
+ * Query param for the criterion used for grouping metrics
652
+ */
653
+ groupBy?: PrimaryNetworkRpcMetricsGroupByEnum;
654
+ /**
655
+ * Filter data by response status code.
656
+ */
657
+ responseCode?: string;
658
+ /**
659
+ * Filter data by request path.
660
+ */
661
+ requestPath?: string;
662
+ /**
663
+ * 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.
664
+ */
665
+ country?: string;
666
+ /**
667
+ * Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
668
+ */
669
+ continent?: string;
670
+ /**
671
+ * Filter data by User Agent.
672
+ */
673
+ userAgent?: string;
674
+ /**
675
+ * Filter data by RPC method.
676
+ */
677
+ rpcMethod?: string;
678
+ }): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
460
679
  }
461
680
 
462
681
  declare class DefaultService {
@@ -655,6 +874,10 @@ type ListErc1155BalancesResponse = {
655
874
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
656
875
  */
657
876
  nextPageToken?: string;
877
+ /**
878
+ * The native token balance for the address.
879
+ */
880
+ nativeTokenBalance: NativeTokenBalance;
658
881
  /**
659
882
  * The list of ERC-1155 token balances for the address.
660
883
  */
@@ -699,11 +922,22 @@ type Erc20TokenBalance = {
699
922
  * The monetary value of the balance, if a price is available for the token.
700
923
  */
701
924
  balanceValue?: Money;
925
+ /**
926
+ * 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.
927
+ */
928
+ tokenReputation: Erc20TokenBalance.tokenReputation;
702
929
  };
703
930
  declare namespace Erc20TokenBalance {
704
931
  enum ercType {
705
932
  ERC_20 = "ERC-20"
706
933
  }
934
+ /**
935
+ * 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.
936
+ */
937
+ enum tokenReputation {
938
+ MALICIOUS = "Malicious",
939
+ BENIGN = "Benign"
940
+ }
707
941
  }
708
942
 
709
943
  type ListErc20BalancesResponse = {
@@ -711,6 +945,10 @@ type ListErc20BalancesResponse = {
711
945
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
712
946
  */
713
947
  nextPageToken?: string;
948
+ /**
949
+ * The native token balance for the address.
950
+ */
951
+ nativeTokenBalance: NativeTokenBalance;
714
952
  /**
715
953
  * The list of ERC-20 token balances for the address.
716
954
  */
@@ -722,6 +960,10 @@ type ListErc721BalancesResponse = {
722
960
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
723
961
  */
724
962
  nextPageToken?: string;
963
+ /**
964
+ * The native token balance for the address.
965
+ */
966
+ nativeTokenBalance: NativeTokenBalance;
725
967
  /**
726
968
  * The list of ERC-721 token balances for the address.
727
969
  */
@@ -785,7 +1027,7 @@ declare class EvmBalancesService {
785
1027
  */
786
1028
  pageToken?: string;
787
1029
  /**
788
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1030
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
789
1031
  */
790
1032
  pageSize?: number;
791
1033
  /**
@@ -823,7 +1065,7 @@ declare class EvmBalancesService {
823
1065
  */
824
1066
  pageToken?: string;
825
1067
  /**
826
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1068
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
827
1069
  */
828
1070
  pageSize?: number;
829
1071
  /**
@@ -859,7 +1101,7 @@ declare class EvmBalancesService {
859
1101
  */
860
1102
  pageToken?: string;
861
1103
  /**
862
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1104
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
863
1105
  */
864
1106
  pageSize?: number;
865
1107
  /**
@@ -889,7 +1131,7 @@ declare class EvmBalancesService {
889
1131
  */
890
1132
  pageToken?: string;
891
1133
  /**
892
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1134
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
893
1135
  */
894
1136
  pageSize?: number;
895
1137
  /**
@@ -900,14 +1142,26 @@ declare class EvmBalancesService {
900
1142
  }
901
1143
 
902
1144
  type GetEvmBlockResponse = {
1145
+ /**
1146
+ * The EVM chain ID on which the block was created.
1147
+ */
1148
+ chainId: string;
903
1149
  /**
904
1150
  * The block number on the chain.
905
1151
  */
906
1152
  blockNumber: string;
907
1153
  /**
908
- * The block finality timestamp.
1154
+ * The block creation (proposal) timestamp in seconds
909
1155
  */
910
1156
  blockTimestamp: number;
1157
+ /**
1158
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
1159
+ */
1160
+ blockTimestampMilliseconds?: number;
1161
+ /**
1162
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
1163
+ */
1164
+ blockMinDelayExcess?: number;
911
1165
  /**
912
1166
  * The block hash identifier.
913
1167
  */
@@ -944,14 +1198,26 @@ type GetEvmBlockResponse = {
944
1198
  };
945
1199
 
946
1200
  type EvmBlock = {
1201
+ /**
1202
+ * The EVM chain ID on which the block was created.
1203
+ */
1204
+ chainId: string;
947
1205
  /**
948
1206
  * The block number on the chain.
949
1207
  */
950
1208
  blockNumber: string;
951
1209
  /**
952
- * The block finality timestamp.
1210
+ * The block creation (proposal) timestamp in seconds
953
1211
  */
954
1212
  blockTimestamp: number;
1213
+ /**
1214
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
1215
+ */
1216
+ blockTimestampMilliseconds?: number;
1217
+ /**
1218
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
1219
+ */
1220
+ blockMinDelayExcess?: number;
955
1221
  /**
956
1222
  * The block hash identifier.
957
1223
  */
@@ -998,6 +1264,26 @@ type ListEvmBlocksResponse = {
998
1264
  declare class EvmBlocksService {
999
1265
  readonly httpRequest: BaseHttpRequest;
1000
1266
  constructor(httpRequest: BaseHttpRequest);
1267
+ /**
1268
+ * List latest blocks across all supported EVM chains
1269
+ * Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
1270
+ * @returns ListEvmBlocksResponse Successful response
1271
+ * @throws ApiError
1272
+ */
1273
+ listLatestBlocksAllChains({ pageToken, pageSize, network, }: {
1274
+ /**
1275
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1276
+ */
1277
+ pageToken?: string;
1278
+ /**
1279
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1280
+ */
1281
+ pageSize?: number;
1282
+ /**
1283
+ * Either mainnet or testnet/fuji.
1284
+ */
1285
+ network?: Network;
1286
+ }): CancelablePromise<ListEvmBlocksResponse>;
1001
1287
  /**
1002
1288
  * List latest blocks
1003
1289
  * Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
@@ -1129,47 +1415,174 @@ type ListChainsResponse = {
1129
1415
  chains: Array<ChainInfo>;
1130
1416
  };
1131
1417
 
1132
- declare enum Network {
1133
- MAINNET = "mainnet",
1134
- FUJI = "fuji",
1135
- TESTNET = "testnet",
1136
- DEVNET = "devnet"
1418
+ /**
1419
+ * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
1420
+ */
1421
+ declare enum TransactionMethodType {
1422
+ NATIVE_TRANSFER = "NATIVE_TRANSFER",
1423
+ CONTRACT_CALL = "CONTRACT_CALL",
1424
+ CONTRACT_CREATION = "CONTRACT_CREATION"
1137
1425
  }
1138
1426
 
1139
- declare class EvmChainsService {
1140
- readonly httpRequest: BaseHttpRequest;
1141
- constructor(httpRequest: BaseHttpRequest);
1427
+ type Method = {
1428
+ callType: TransactionMethodType;
1142
1429
  /**
1143
- * List chains
1144
- * Lists the supported EVM-compatible chains. Filterable by network.
1145
- * @returns ListChainsResponse Successful response
1146
- * @throws ApiError
1430
+ * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1147
1431
  */
1148
- supportedChains({ network, feature, }: {
1149
- /**
1150
- * Either mainnet or testnet/fuji.
1151
- */
1152
- network?: Network;
1153
- /**
1154
- * Filter by feature.
1155
- */
1156
- feature?: ApiFeature;
1157
- }): CancelablePromise<ListChainsResponse>;
1432
+ methodHash: string;
1158
1433
  /**
1159
- * Get chain information
1160
- * Gets chain information for the EVM-compatible chain if supported by the api.
1161
- * @returns GetChainResponse Successful response
1162
- * @throws ApiError
1434
+ * The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
1163
1435
  */
1164
- getChainInfo({ chainId, }: {
1436
+ methodName?: string;
1437
+ };
1438
+
1439
+ type RichAddress = {
1440
+ /**
1441
+ * The contract name.
1442
+ */
1443
+ name?: string;
1444
+ /**
1445
+ * The contract symbol.
1446
+ */
1447
+ symbol?: string;
1448
+ /**
1449
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1450
+ */
1451
+ decimals?: number;
1452
+ /**
1453
+ * The logo uri for the address.
1454
+ */
1455
+ logoUri?: string;
1456
+ /**
1457
+ * A wallet or contract address in mixed-case checksum encoding.
1458
+ */
1459
+ address: string;
1460
+ };
1461
+
1462
+ type NativeTransaction = {
1463
+ /**
1464
+ * The block number on the chain.
1465
+ */
1466
+ blockNumber: string;
1467
+ /**
1468
+ * The block creation (proposal) timestamp in seconds
1469
+ */
1470
+ blockTimestamp: number;
1471
+ /**
1472
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
1473
+ */
1474
+ blockTimestampMilliseconds?: number;
1475
+ /**
1476
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
1477
+ */
1478
+ blockMinDelayExcess?: number;
1479
+ /**
1480
+ * The block hash identifier.
1481
+ */
1482
+ blockHash: string;
1483
+ /**
1484
+ * The EVM chain ID on which the transaction occured.
1485
+ */
1486
+ chainId: string;
1487
+ /**
1488
+ * The index at which the transaction occured in the block (0-indexed).
1489
+ */
1490
+ blockIndex: number;
1491
+ /**
1492
+ * The transaction hash identifier.
1493
+ */
1494
+ txHash: string;
1495
+ /**
1496
+ * The transaction status, which is either 0 (failed) or 1 (successful).
1497
+ */
1498
+ txStatus: string;
1499
+ /**
1500
+ * The transaction type.
1501
+ */
1502
+ txType: number;
1503
+ /**
1504
+ * The gas limit set for the transaction.
1505
+ */
1506
+ gasLimit: string;
1507
+ /**
1508
+ * The amount of gas used.
1509
+ */
1510
+ gasUsed: string;
1511
+ /**
1512
+ * The gas price denominated by the number of decimals of the native token.
1513
+ */
1514
+ gasPrice: string;
1515
+ /**
1516
+ * The nonce used by the sender of the transaction.
1517
+ */
1518
+ nonce: string;
1519
+ from: RichAddress;
1520
+ to: RichAddress;
1521
+ method?: Method;
1522
+ value: string;
1523
+ };
1524
+
1525
+ type ListNativeTransactionsResponse = {
1526
+ /**
1527
+ * 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.
1528
+ */
1529
+ nextPageToken?: string;
1530
+ transactions: Array<NativeTransaction>;
1531
+ };
1532
+
1533
+ declare enum TransactionStatus {
1534
+ FAILED = "failed",
1535
+ SUCCESS = "success"
1536
+ }
1537
+
1538
+ declare class EvmChainsService {
1539
+ readonly httpRequest: BaseHttpRequest;
1540
+ constructor(httpRequest: BaseHttpRequest);
1541
+ /**
1542
+ * List all chains associated with a given address
1543
+ * 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.
1544
+ * @returns ListAddressChainsResponse Successful response
1545
+ * @throws ApiError
1546
+ */
1547
+ listAddressChains({ address, }: {
1548
+ /**
1549
+ * A wallet address.
1550
+ */
1551
+ address: string;
1552
+ }): CancelablePromise<ListAddressChainsResponse>;
1553
+ /**
1554
+ * List chains
1555
+ * Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
1556
+ * @returns ListChainsResponse Successful response
1557
+ * @throws ApiError
1558
+ */
1559
+ supportedChains({ network, feature, }: {
1560
+ /**
1561
+ * Either mainnet or testnet/fuji.
1562
+ */
1563
+ network?: Network;
1564
+ /**
1565
+ * Filter by feature.
1566
+ */
1567
+ feature?: ApiFeature;
1568
+ }): CancelablePromise<ListChainsResponse>;
1569
+ /**
1570
+ * Get chain information
1571
+ * Gets chain information for the EVM-compatible chain if supported by AvaCloud.
1572
+ * @returns GetChainResponse Successful response
1573
+ * @throws ApiError
1574
+ */
1575
+ getChainInfo({ chainId, }: {
1165
1576
  /**
1166
1577
  * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1167
1578
  */
1168
1579
  chainId: string;
1169
1580
  }): CancelablePromise<GetChainResponse>;
1170
1581
  /**
1171
- * Get chains for address
1172
- * Gets the list of chains an address has interacted with.
1582
+ * @deprecated
1583
+ * **[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.
1584
+ *
1585
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/address/:address/chains endpoint instead** .
1173
1586
  * @returns ListAddressChainsResponse Successful response
1174
1587
  * @throws ApiError
1175
1588
  */
@@ -1179,6 +1592,54 @@ declare class EvmChainsService {
1179
1592
  */
1180
1593
  address: string;
1181
1594
  }): CancelablePromise<ListAddressChainsResponse>;
1595
+ /**
1596
+ * @deprecated
1597
+ * **[Deprecated]** Lists the latest transactions for all supported EVM chains. Filterable by status.
1598
+ *
1599
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/transactions endpoint instead** .
1600
+ * @returns ListNativeTransactionsResponse Successful response
1601
+ * @throws ApiError
1602
+ */
1603
+ listAllLatestTransactions({ pageToken, pageSize, network, status, }: {
1604
+ /**
1605
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1606
+ */
1607
+ pageToken?: string;
1608
+ /**
1609
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1610
+ */
1611
+ pageSize?: number;
1612
+ /**
1613
+ * Either mainnet or testnet/fuji.
1614
+ */
1615
+ network?: Network;
1616
+ /**
1617
+ * A status filter for listed transactions.
1618
+ */
1619
+ status?: TransactionStatus;
1620
+ }): CancelablePromise<ListNativeTransactionsResponse>;
1621
+ /**
1622
+ * @deprecated
1623
+ * **[Deprecated]** Lists the latest blocks for all supported EVM chains. Filterable by network.
1624
+ *
1625
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/blocks endpoint instead** .
1626
+ * @returns ListEvmBlocksResponse Successful response
1627
+ * @throws ApiError
1628
+ */
1629
+ listAllLatestBlocks({ pageToken, pageSize, network, }: {
1630
+ /**
1631
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1632
+ */
1633
+ pageToken?: string;
1634
+ /**
1635
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1636
+ */
1637
+ pageSize?: number;
1638
+ /**
1639
+ * Either mainnet or testnet/fuji.
1640
+ */
1641
+ network?: Network;
1642
+ }): CancelablePromise<ListEvmBlocksResponse>;
1182
1643
  }
1183
1644
 
1184
1645
  type ImageAsset = {
@@ -1350,7 +1811,7 @@ type Erc1155Contract = {
1350
1811
  * A wallet or contract address in mixed-case checksum encoding.
1351
1812
  */
1352
1813
  address: string;
1353
- deploymentDetails: ContractDeploymentDetails;
1814
+ deploymentDetails?: ContractDeploymentDetails;
1354
1815
  ercType: Erc1155Contract.ercType;
1355
1816
  /**
1356
1817
  * The contract symbol.
@@ -1381,7 +1842,7 @@ type Erc20Contract = {
1381
1842
  * A wallet or contract address in mixed-case checksum encoding.
1382
1843
  */
1383
1844
  address: string;
1384
- deploymentDetails: ContractDeploymentDetails;
1845
+ deploymentDetails?: ContractDeploymentDetails;
1385
1846
  ercType: Erc20Contract.ercType;
1386
1847
  /**
1387
1848
  * The contract symbol.
@@ -1416,7 +1877,7 @@ type Erc721Contract = {
1416
1877
  * A wallet or contract address in mixed-case checksum encoding.
1417
1878
  */
1418
1879
  address: string;
1419
- deploymentDetails: ContractDeploymentDetails;
1880
+ deploymentDetails?: ContractDeploymentDetails;
1420
1881
  ercType: Erc721Contract.ercType;
1421
1882
  /**
1422
1883
  * The contract symbol.
@@ -1446,7 +1907,7 @@ type UnknownContract = {
1446
1907
  * A wallet or contract address in mixed-case checksum encoding.
1447
1908
  */
1448
1909
  address: string;
1449
- deploymentDetails: ContractDeploymentDetails;
1910
+ deploymentDetails?: ContractDeploymentDetails;
1450
1911
  ercType: UnknownContract.ercType;
1451
1912
  };
1452
1913
  declare namespace UnknownContract {
@@ -1513,29 +1974,6 @@ declare namespace Erc1155Token {
1513
1974
  }
1514
1975
  }
1515
1976
 
1516
- type RichAddress = {
1517
- /**
1518
- * The contract name.
1519
- */
1520
- name?: string;
1521
- /**
1522
- * The contract symbol.
1523
- */
1524
- symbol?: string;
1525
- /**
1526
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1527
- */
1528
- decimals?: number;
1529
- /**
1530
- * The logo uri for the address.
1531
- */
1532
- logoUri?: string;
1533
- /**
1534
- * A wallet or contract address in mixed-case checksum encoding.
1535
- */
1536
- address: string;
1537
- };
1538
-
1539
1977
  type Erc1155TransferDetails = {
1540
1978
  from: RichAddress;
1541
1979
  to: RichAddress;
@@ -1620,40 +2058,31 @@ type Erc721TransferDetails = {
1620
2058
  erc721Token: Erc721Token;
1621
2059
  };
1622
2060
 
1623
- /**
1624
- * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
1625
- */
1626
- declare enum TransactionMethodType {
1627
- NATIVE_TRANSFER = "NATIVE_TRANSFER",
1628
- CONTRACT_CALL = "CONTRACT_CALL",
1629
- CONTRACT_CREATION = "CONTRACT_CREATION"
1630
- }
1631
-
1632
- type Method = {
1633
- callType: TransactionMethodType;
1634
- /**
1635
- * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1636
- */
1637
- methodHash: string;
1638
- /**
1639
- * The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
1640
- */
1641
- methodName?: string;
1642
- };
1643
-
1644
2061
  type FullNativeTransactionDetails = {
1645
2062
  /**
1646
2063
  * The block number on the chain.
1647
2064
  */
1648
2065
  blockNumber: string;
1649
2066
  /**
1650
- * The block finality timestamp.
2067
+ * The block creation (proposal) timestamp in seconds
1651
2068
  */
1652
2069
  blockTimestamp: number;
2070
+ /**
2071
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2072
+ */
2073
+ blockTimestampMilliseconds?: number;
2074
+ /**
2075
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
2076
+ */
2077
+ blockMinDelayExcess?: number;
1653
2078
  /**
1654
2079
  * The block hash identifier.
1655
2080
  */
1656
2081
  blockHash: string;
2082
+ /**
2083
+ * The EVM chain ID on which the transaction occured.
2084
+ */
2085
+ chainId: string;
1657
2086
  /**
1658
2087
  * The index at which the transaction occured in the block (0-indexed).
1659
2088
  */
@@ -1704,6 +2133,7 @@ declare enum InternalTransactionOpCall {
1704
2133
  CALL = "CALL",
1705
2134
  CREATE = "CREATE",
1706
2135
  CREATE2 = "CREATE2",
2136
+ CREATE3 = "CREATE3",
1707
2137
  CALLCODE = "CALLCODE",
1708
2138
  DELEGATECALL = "DELEGATECALL",
1709
2139
  STATICCALL = "STATICCALL"
@@ -1745,11 +2175,11 @@ type TeleporterMessageInfo = {
1745
2175
  /**
1746
2176
  * chain id of the source chain. valid only for destination transactions
1747
2177
  */
1748
- sourceChainId?: Record<string, any>;
2178
+ sourceChainId?: string;
1749
2179
  /**
1750
2180
  * chain id of the destination chain. valid only for source transactions
1751
2181
  */
1752
- destinationChainId?: Record<string, any>;
2182
+ destinationChainId?: string;
1753
2183
  };
1754
2184
 
1755
2185
  type GetTransactionResponse = {
@@ -1766,7 +2196,7 @@ type GetTransactionResponse = {
1766
2196
  */
1767
2197
  erc1155Transfers?: Array<Erc1155TransferDetails>;
1768
2198
  /**
1769
- * 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.
2199
+ * 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.
1770
2200
  */
1771
2201
  internalTransactions?: Array<InternalTransactionDetails>;
1772
2202
  networkTokenDetails: NetworkTokenDetails;
@@ -1791,9 +2221,13 @@ type Erc1155Transfer = {
1791
2221
  */
1792
2222
  blockNumber: string;
1793
2223
  /**
1794
- * The block finality timestamp.
2224
+ * The block creation (proposal) timestamp in seconds
1795
2225
  */
1796
2226
  blockTimestamp: number;
2227
+ /**
2228
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2229
+ */
2230
+ blockTimestampMilliseconds?: number;
1797
2231
  /**
1798
2232
  * The block hash identifier.
1799
2233
  */
@@ -1823,9 +2257,13 @@ type Erc20Transfer = {
1823
2257
  */
1824
2258
  blockNumber: string;
1825
2259
  /**
1826
- * The block finality timestamp.
2260
+ * The block creation (proposal) timestamp in seconds
1827
2261
  */
1828
2262
  blockTimestamp: number;
2263
+ /**
2264
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2265
+ */
2266
+ blockTimestampMilliseconds?: number;
1829
2267
  /**
1830
2268
  * The block hash identifier.
1831
2269
  */
@@ -1855,9 +2293,13 @@ type Erc721Transfer = {
1855
2293
  */
1856
2294
  blockNumber: string;
1857
2295
  /**
1858
- * The block finality timestamp.
2296
+ * The block creation (proposal) timestamp in seconds
1859
2297
  */
1860
2298
  blockTimestamp: number;
2299
+ /**
2300
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2301
+ */
2302
+ blockTimestampMilliseconds?: number;
1861
2303
  /**
1862
2304
  * The block hash identifier.
1863
2305
  */
@@ -1886,9 +2328,13 @@ type InternalTransaction = {
1886
2328
  */
1887
2329
  blockNumber: string;
1888
2330
  /**
1889
- * The block finality timestamp.
2331
+ * The block creation (proposal) timestamp in seconds
1890
2332
  */
1891
2333
  blockTimestamp: number;
2334
+ /**
2335
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2336
+ */
2337
+ blockTimestampMilliseconds?: number;
1892
2338
  /**
1893
2339
  * The block hash identifier.
1894
2340
  */
@@ -1917,89 +2363,30 @@ type ListInternalTransactionsResponse = {
1917
2363
  transactions: Array<InternalTransaction>;
1918
2364
  };
1919
2365
 
1920
- type NativeTransaction = {
2366
+ type TransactionDetails = {
1921
2367
  /**
1922
- * The block number on the chain.
2368
+ * The native (top-level) transaction details.
1923
2369
  */
1924
- blockNumber: string;
2370
+ nativeTransaction: NativeTransaction;
1925
2371
  /**
1926
- * The block finality timestamp.
2372
+ * The list of ERC-20 transfers.
1927
2373
  */
1928
- blockTimestamp: number;
2374
+ erc20Transfers?: Array<Erc20TransferDetails>;
1929
2375
  /**
1930
- * The block hash identifier.
2376
+ * The list of ERC-721 transfers.
1931
2377
  */
1932
- blockHash: string;
2378
+ erc721Transfers?: Array<Erc721TransferDetails>;
1933
2379
  /**
1934
- * The index at which the transaction occured in the block (0-indexed).
2380
+ * The list of ERC-1155 transfers.
1935
2381
  */
1936
- blockIndex: number;
2382
+ erc1155Transfers?: Array<Erc1155TransferDetails>;
1937
2383
  /**
1938
- * The transaction hash identifier.
2384
+ * 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.
1939
2385
  */
1940
- txHash: string;
1941
- /**
1942
- * The transaction status, which is either 0 (failed) or 1 (successful).
1943
- */
1944
- txStatus: string;
1945
- /**
1946
- * The transaction type.
1947
- */
1948
- txType: number;
1949
- /**
1950
- * The gas limit set for the transaction.
1951
- */
1952
- gasLimit: string;
1953
- /**
1954
- * The amount of gas used.
1955
- */
1956
- gasUsed: string;
1957
- /**
1958
- * The gas price denominated by the number of decimals of the native token.
1959
- */
1960
- gasPrice: string;
1961
- /**
1962
- * The nonce used by the sender of the transaction.
1963
- */
1964
- nonce: string;
1965
- from: RichAddress;
1966
- to: RichAddress;
1967
- method?: Method;
1968
- value: string;
1969
- };
1970
-
1971
- type ListNativeTransactionsResponse = {
1972
- /**
1973
- * 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.
1974
- */
1975
- nextPageToken?: string;
1976
- transactions: Array<NativeTransaction>;
1977
- };
1978
-
1979
- type TransactionDetails = {
1980
- /**
1981
- * The native (top-level) transaction details.
1982
- */
1983
- nativeTransaction: NativeTransaction;
1984
- /**
1985
- * The list of ERC-20 transfers.
1986
- */
1987
- erc20Transfers?: Array<Erc20TransferDetails>;
1988
- /**
1989
- * The list of ERC-721 transfers.
1990
- */
1991
- erc721Transfers?: Array<Erc721TransferDetails>;
1992
- /**
1993
- * The list of ERC-1155 transfers.
1994
- */
1995
- erc1155Transfers?: Array<Erc1155TransferDetails>;
1996
- /**
1997
- * 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.
1998
- */
1999
- internalTransactions?: Array<InternalTransactionDetails>;
2000
- };
2001
-
2002
- type ListTransactionDetailsResponse = {
2386
+ internalTransactions?: Array<InternalTransactionDetails>;
2387
+ };
2388
+
2389
+ type ListTransactionDetailsResponse = {
2003
2390
  /**
2004
2391
  * 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.
2005
2392
  */
@@ -2020,14 +2407,33 @@ declare enum SortOrder {
2020
2407
  DESC = "desc"
2021
2408
  }
2022
2409
 
2023
- declare enum TransactionStatus {
2024
- FAILED = "failed",
2025
- SUCCESS = "success"
2026
- }
2027
-
2028
2410
  declare class EvmTransactionsService {
2029
2411
  readonly httpRequest: BaseHttpRequest;
2030
2412
  constructor(httpRequest: BaseHttpRequest);
2413
+ /**
2414
+ * List the latest transactions across all supported EVM chains
2415
+ * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
2416
+ * @returns ListNativeTransactionsResponse Successful response
2417
+ * @throws ApiError
2418
+ */
2419
+ listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
2420
+ /**
2421
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2422
+ */
2423
+ pageToken?: string;
2424
+ /**
2425
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2426
+ */
2427
+ pageSize?: number;
2428
+ /**
2429
+ * Either mainnet or testnet/fuji.
2430
+ */
2431
+ network?: Network;
2432
+ /**
2433
+ * A status filter for listed transactions.
2434
+ */
2435
+ status?: TransactionStatus;
2436
+ }): CancelablePromise<ListNativeTransactionsResponse>;
2031
2437
  /**
2032
2438
  * Get deployment transaction
2033
2439
  * If the address is a smart contract, returns the transaction in which it was deployed.
@@ -2274,7 +2680,7 @@ declare class EvmTransactionsService {
2274
2680
  * List internal transactions
2275
2681
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2276
2682
  *
2277
- * 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.
2683
+ * 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.
2278
2684
  * @returns ListInternalTransactionsResponse Successful response
2279
2685
  * @throws ApiError
2280
2686
  */
@@ -2326,7 +2732,7 @@ declare class EvmTransactionsService {
2326
2732
  * @returns ListNativeTransactionsResponse Successful response
2327
2733
  * @throws ApiError
2328
2734
  */
2329
- getTransactionsForBlock({ chainId, blockId, }: {
2735
+ getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
2330
2736
  /**
2331
2737
  * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2332
2738
  */
@@ -2335,6 +2741,14 @@ declare class EvmTransactionsService {
2335
2741
  * A block identifier which is either a block number or the block hash.
2336
2742
  */
2337
2743
  blockId: string;
2744
+ /**
2745
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2746
+ */
2747
+ pageToken?: string;
2748
+ /**
2749
+ * The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
2750
+ */
2751
+ pageSize?: number;
2338
2752
  }): CancelablePromise<ListNativeTransactionsResponse>;
2339
2753
  /**
2340
2754
  * List latest transactions
@@ -2362,68 +2776,211 @@ declare class EvmTransactionsService {
2362
2776
  }): CancelablePromise<ListNativeTransactionsResponse>;
2363
2777
  }
2364
2778
 
2779
+ type HealthIndicatorResultDto = {
2780
+ /**
2781
+ * Status of the health indicator.
2782
+ */
2783
+ status?: HealthIndicatorResultDto.status;
2784
+ };
2785
+ declare namespace HealthIndicatorResultDto {
2786
+ /**
2787
+ * Status of the health indicator.
2788
+ */
2789
+ enum status {
2790
+ UP = "up",
2791
+ DOWN = "down"
2792
+ }
2793
+ }
2794
+
2795
+ type HealthCheckResultDto = {
2796
+ status?: HealthCheckResultDto.status;
2797
+ info?: any | null;
2798
+ error?: any | null;
2799
+ details?: Record<string, HealthIndicatorResultDto>;
2800
+ };
2801
+ declare namespace HealthCheckResultDto {
2802
+ enum status {
2803
+ ERROR = "error",
2804
+ OK = "ok",
2805
+ SHUTTING_DOWN = "shutting_down"
2806
+ }
2807
+ }
2808
+
2365
2809
  declare class HealthCheckService {
2366
2810
  readonly httpRequest: BaseHttpRequest;
2367
2811
  constructor(httpRequest: BaseHttpRequest);
2368
2812
  /**
2369
2813
  * Get the health of the service
2370
- * @returns any The Health Check is successful
2814
+ * Check the health of the service. This checks the read and write health of the database and cache.
2815
+ * @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
2371
2816
  * @throws ApiError
2372
2817
  */
2373
- dataHealthCheck(): CancelablePromise<{
2374
- status?: string;
2375
- info?: Record<string, Record<string, string>> | null;
2376
- error?: Record<string, Record<string, string>> | null;
2377
- details?: Record<string, Record<string, string>>;
2378
- }>;
2818
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2819
+ /**
2820
+ * Get the liveliness of the service (reads only)
2821
+ * Check the liveliness of the service (reads only).
2822
+ * @returns HealthCheckResultDto The liveliness of the service (reads only)
2823
+ * @throws ApiError
2824
+ */
2825
+ liveCheck(): CancelablePromise<HealthCheckResultDto>;
2379
2826
  }
2380
2827
 
2381
- type ListNftTokens = {
2828
+ type IcmDestinationTransaction = {
2829
+ txHash: string;
2830
+ timestamp: number;
2831
+ gasSpent: string;
2832
+ rewardRedeemer: string;
2833
+ delivererAddress: string;
2834
+ };
2835
+
2836
+ type IcmReceipt = {
2837
+ receivedMessageNonce: string;
2838
+ relayerRewardAddress: string;
2839
+ };
2840
+
2841
+ type IcmRewardDetails = {
2842
+ /**
2843
+ * A wallet or contract address in mixed-case checksum encoding.
2844
+ */
2845
+ address: string;
2846
+ /**
2847
+ * The contract name.
2848
+ */
2849
+ name: string;
2850
+ /**
2851
+ * The contract symbol.
2852
+ */
2853
+ symbol: string;
2854
+ /**
2855
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
2856
+ */
2857
+ decimals: number;
2858
+ /**
2859
+ * The logo uri for the address.
2860
+ */
2861
+ logoUri?: string;
2862
+ ercType: IcmRewardDetails.ercType;
2863
+ /**
2864
+ * The token price, if available.
2865
+ */
2866
+ price?: Money;
2867
+ value: string;
2868
+ };
2869
+ declare namespace IcmRewardDetails {
2870
+ enum ercType {
2871
+ ERC_20 = "ERC-20"
2872
+ }
2873
+ }
2874
+
2875
+ type IcmSourceTransaction = {
2876
+ txHash: string;
2877
+ timestamp: number;
2878
+ gasSpent: string;
2879
+ };
2880
+
2881
+ type DeliveredIcmMessage = {
2882
+ messageId: string;
2883
+ icmContractAddress: string;
2884
+ sourceBlockchainId: string;
2885
+ destinationBlockchainId: string;
2886
+ sourceEvmChainId: string;
2887
+ destinationEvmChainId: string;
2888
+ messageNonce: string;
2889
+ from: string;
2890
+ to: string;
2891
+ data?: string;
2892
+ messageExecuted: boolean;
2893
+ receipts: Array<IcmReceipt>;
2894
+ receiptDelivered: boolean;
2895
+ rewardDetails: IcmRewardDetails;
2896
+ sourceTransaction: IcmSourceTransaction;
2897
+ destinationTransaction: IcmDestinationTransaction;
2898
+ status: DeliveredIcmMessage.status;
2899
+ };
2900
+ declare namespace DeliveredIcmMessage {
2901
+ enum status {
2902
+ DELIVERED = "delivered"
2903
+ }
2904
+ }
2905
+
2906
+ type DeliveredSourceNotIndexedIcmMessage = {
2907
+ messageId: string;
2908
+ icmContractAddress: string;
2909
+ sourceBlockchainId: string;
2910
+ destinationBlockchainId: string;
2911
+ sourceEvmChainId: string;
2912
+ destinationEvmChainId: string;
2913
+ messageNonce: string;
2914
+ from: string;
2915
+ to: string;
2916
+ data?: string;
2917
+ messageExecuted: boolean;
2918
+ receipts: Array<IcmReceipt>;
2919
+ receiptDelivered: boolean;
2920
+ rewardDetails: IcmRewardDetails;
2921
+ destinationTransaction: IcmDestinationTransaction;
2922
+ status: DeliveredSourceNotIndexedIcmMessage.status;
2923
+ };
2924
+ declare namespace DeliveredSourceNotIndexedIcmMessage {
2925
+ enum status {
2926
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
2927
+ }
2928
+ }
2929
+
2930
+ type PendingIcmMessage = {
2931
+ messageId: string;
2932
+ icmContractAddress: string;
2933
+ sourceBlockchainId: string;
2934
+ destinationBlockchainId: string;
2935
+ sourceEvmChainId: string;
2936
+ destinationEvmChainId: string;
2937
+ messageNonce: string;
2938
+ from: string;
2939
+ to: string;
2940
+ data?: string;
2941
+ messageExecuted: boolean;
2942
+ receipts: Array<IcmReceipt>;
2943
+ receiptDelivered: boolean;
2944
+ rewardDetails: IcmRewardDetails;
2945
+ sourceTransaction: IcmSourceTransaction;
2946
+ status: PendingIcmMessage.status;
2947
+ };
2948
+ declare namespace PendingIcmMessage {
2949
+ enum status {
2950
+ PENDING = "pending"
2951
+ }
2952
+ }
2953
+
2954
+ type ListIcmMessagesResponse = {
2382
2955
  /**
2383
2956
  * 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.
2384
2957
  */
2385
2958
  nextPageToken?: string;
2386
- tokens: Array<(Erc721Token | Erc1155Token)>;
2959
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2387
2960
  };
2388
2961
 
2389
- declare class NfTsService {
2962
+ declare class InterchainMessagingService {
2390
2963
  readonly httpRequest: BaseHttpRequest;
2391
2964
  constructor(httpRequest: BaseHttpRequest);
2392
2965
  /**
2393
- * Reindex NFT metadata
2394
- * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2966
+ * Get an ICM message
2967
+ * Gets an ICM message by teleporter message ID.
2395
2968
  * @returns any Successful response
2396
2969
  * @throws ApiError
2397
2970
  */
2398
- reindexNft({ chainId, address, tokenId, }: {
2399
- /**
2400
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2401
- */
2402
- chainId: string;
2403
- /**
2404
- * Contract address on the relevant chain.
2405
- */
2406
- address: string;
2971
+ getIcmMessage({ messageId, }: {
2407
2972
  /**
2408
- * TokenId on the contract
2973
+ * The teleporter message ID of the ICM message.
2409
2974
  */
2410
- tokenId: string;
2411
- }): CancelablePromise<any>;
2975
+ messageId: string;
2976
+ }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2412
2977
  /**
2413
- * List tokens
2414
- * Lists tokens for an NFT contract.
2415
- * @returns ListNftTokens Successful response
2978
+ * List ICM messages
2979
+ * Lists ICM messages. Ordered by timestamp in descending order.
2980
+ * @returns ListIcmMessagesResponse Successful response
2416
2981
  * @throws ApiError
2417
2982
  */
2418
- listTokens({ chainId, address, pageToken, pageSize, }: {
2419
- /**
2420
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2421
- */
2422
- chainId: string;
2423
- /**
2424
- * Contract address on the relevant chain.
2425
- */
2426
- address: string;
2983
+ listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
2427
2984
  /**
2428
2985
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2429
2986
  */
@@ -2432,27 +2989,234 @@ declare class NfTsService {
2432
2989
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2433
2990
  */
2434
2991
  pageSize?: number;
2435
- }): CancelablePromise<ListNftTokens>;
2436
- /**
2437
- * Get token details
2438
- * Gets token details for a specific token of an NFT contract.
2439
- * @returns any Successful response
2440
- * @throws ApiError
2441
- */
2442
- getTokenDetails({ chainId, address, tokenId, }: {
2443
2992
  /**
2444
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2993
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
2445
2994
  */
2446
- chainId: string;
2995
+ sourceBlockchainId?: string;
2447
2996
  /**
2448
- * Contract address on the relevant chain.
2997
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
2449
2998
  */
2450
- address: string;
2999
+ destinationBlockchainId?: string;
2451
3000
  /**
2452
- * TokenId on the contract
3001
+ * The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
2453
3002
  */
2454
- tokenId: string;
2455
- }): CancelablePromise<(Erc721Token | Erc1155Token)>;
3003
+ blockchainId?: string;
3004
+ /**
3005
+ * The address of the recipient of the ICM message.
3006
+ */
3007
+ to?: string;
3008
+ /**
3009
+ * The address of the sender of the ICM message.
3010
+ */
3011
+ from?: string;
3012
+ /**
3013
+ * Either mainnet or testnet/fuji.
3014
+ */
3015
+ network?: Network;
3016
+ }): CancelablePromise<ListIcmMessagesResponse>;
3017
+ /**
3018
+ * List ICM messages by address
3019
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
3020
+ * @returns ListIcmMessagesResponse Successful response
3021
+ * @throws ApiError
3022
+ */
3023
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
3024
+ /**
3025
+ * An EVM address.
3026
+ */
3027
+ address: string;
3028
+ /**
3029
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3030
+ */
3031
+ pageToken?: string;
3032
+ /**
3033
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3034
+ */
3035
+ pageSize?: number;
3036
+ /**
3037
+ * Either mainnet or testnet/fuji.
3038
+ */
3039
+ network?: Network;
3040
+ }): CancelablePromise<ListIcmMessagesResponse>;
3041
+ }
3042
+
3043
+ type ListNftTokens = {
3044
+ /**
3045
+ * 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.
3046
+ */
3047
+ nextPageToken?: string;
3048
+ tokens: Array<(Erc721Token | Erc1155Token)>;
3049
+ };
3050
+
3051
+ declare class NfTsService {
3052
+ readonly httpRequest: BaseHttpRequest;
3053
+ constructor(httpRequest: BaseHttpRequest);
3054
+ /**
3055
+ * Reindex NFT metadata
3056
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
3057
+ * @returns any Successful response
3058
+ * @throws ApiError
3059
+ */
3060
+ reindexNft({ chainId, address, tokenId, }: {
3061
+ /**
3062
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3063
+ */
3064
+ chainId: string;
3065
+ /**
3066
+ * Contract address on the relevant chain.
3067
+ */
3068
+ address: string;
3069
+ /**
3070
+ * TokenId on the contract
3071
+ */
3072
+ tokenId: string;
3073
+ }): CancelablePromise<any>;
3074
+ /**
3075
+ * List tokens
3076
+ * Lists tokens for an NFT contract.
3077
+ * @returns ListNftTokens Successful response
3078
+ * @throws ApiError
3079
+ */
3080
+ listTokens({ chainId, address, pageToken, pageSize, }: {
3081
+ /**
3082
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3083
+ */
3084
+ chainId: string;
3085
+ /**
3086
+ * Contract address on the relevant chain.
3087
+ */
3088
+ address: string;
3089
+ /**
3090
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3091
+ */
3092
+ pageToken?: string;
3093
+ /**
3094
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3095
+ */
3096
+ pageSize?: number;
3097
+ }): CancelablePromise<ListNftTokens>;
3098
+ /**
3099
+ * Get token details
3100
+ * Gets token details for a specific token of an NFT contract.
3101
+ * @returns any Successful response
3102
+ * @throws ApiError
3103
+ */
3104
+ getTokenDetails({ chainId, address, tokenId, }: {
3105
+ /**
3106
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3107
+ */
3108
+ chainId: string;
3109
+ /**
3110
+ * Contract address on the relevant chain.
3111
+ */
3112
+ address: string;
3113
+ /**
3114
+ * TokenId on the contract
3115
+ */
3116
+ tokenId: string;
3117
+ }): CancelablePromise<(Erc721Token | Erc1155Token)>;
3118
+ }
3119
+
3120
+ type AccessRequest = {
3121
+ /**
3122
+ * The email address to send the access token to
3123
+ */
3124
+ email: string;
3125
+ /**
3126
+ * The captcha to verify the user
3127
+ */
3128
+ captcha: string;
3129
+ };
3130
+
3131
+ type NotificationsResponse = {
3132
+ message: string;
3133
+ };
3134
+
3135
+ type SubscribeRequest = {
3136
+ /**
3137
+ * The access token to use for authentication
3138
+ */
3139
+ accessToken: string;
3140
+ /**
3141
+ * The node ID to subscribe to
3142
+ */
3143
+ nodeId: string;
3144
+ /**
3145
+ * The notification types to subscribe to. If not provided, all notification types will be subscribed to
3146
+ */
3147
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3148
+ };
3149
+
3150
+ type SubscriptionsRequest = {
3151
+ /**
3152
+ * The access token to use for authentication
3153
+ */
3154
+ accessToken: string;
3155
+ };
3156
+
3157
+ type SubscriptionsResponse = {
3158
+ /**
3159
+ * The email address of the user
3160
+ */
3161
+ email: string;
3162
+ /**
3163
+ * The subscriptions of the user
3164
+ */
3165
+ subscriptions: Record<string, {
3166
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3167
+ }>;
3168
+ };
3169
+
3170
+ type UnsubscribeRequest = {
3171
+ /**
3172
+ * The access token to use for authentication
3173
+ */
3174
+ accessToken: string;
3175
+ /**
3176
+ * The node ID to subscribe to
3177
+ */
3178
+ nodeId: string;
3179
+ };
3180
+
3181
+ declare class NotificationsService {
3182
+ readonly httpRequest: BaseHttpRequest;
3183
+ constructor(httpRequest: BaseHttpRequest);
3184
+ /**
3185
+ * Access Notifications
3186
+ * Access notifications.
3187
+ * @returns NotificationsResponse Successful response
3188
+ * @throws ApiError
3189
+ */
3190
+ access({ requestBody, }: {
3191
+ requestBody: AccessRequest;
3192
+ }): CancelablePromise<NotificationsResponse>;
3193
+ /**
3194
+ * Subscribe to Notifications
3195
+ * Subscribe to receive notifications.
3196
+ * @returns NotificationsResponse Successful response
3197
+ * @throws ApiError
3198
+ */
3199
+ subscribe({ requestBody, }: {
3200
+ requestBody: SubscribeRequest;
3201
+ }): CancelablePromise<NotificationsResponse>;
3202
+ /**
3203
+ * Unsubscribe from Notifications
3204
+ * Unsubscribe from receiving notifications.
3205
+ * @returns NotificationsResponse Successful response
3206
+ * @throws ApiError
3207
+ */
3208
+ unsubscribe({ requestBody, }: {
3209
+ requestBody: UnsubscribeRequest;
3210
+ }): CancelablePromise<NotificationsResponse>;
3211
+ /**
3212
+ * Get Subscriptions
3213
+ * Get subscriptions.
3214
+ * @returns SubscriptionsResponse Successful response
3215
+ * @throws ApiError
3216
+ */
3217
+ subscriptions({ requestBody, }: {
3218
+ requestBody: SubscriptionsRequest;
3219
+ }): CancelablePromise<SubscriptionsResponse>;
2456
3220
  }
2457
3221
 
2458
3222
  type EvmNetworkOptions = {
@@ -2488,7 +3252,7 @@ declare enum PrimaryNetworkOperationType {
2488
3252
  type PrimaryNetworkOptions = {
2489
3253
  addresses?: Array<string>;
2490
3254
  cChainEvmAddresses?: Array<string>;
2491
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
3255
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2492
3256
  };
2493
3257
 
2494
3258
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -2543,7 +3307,7 @@ type OperationStatusResponse = {
2543
3307
  operationType: OperationType;
2544
3308
  operationStatus: OperationStatus;
2545
3309
  message?: string;
2546
- metadata: TransactionExportMetadata;
3310
+ metadata?: TransactionExportMetadata;
2547
3311
  createdAtTimestamp: number;
2548
3312
  updatedAtTimestamp: number;
2549
3313
  };
@@ -2576,14 +3340,275 @@ declare class OperationsService {
2576
3340
  }): CancelablePromise<OperationStatusResponse>;
2577
3341
  }
2578
3342
 
3343
+ type EvmGenesisAllocDto = {
3344
+ /**
3345
+ * Account balance in hex format
3346
+ */
3347
+ balance?: string;
3348
+ /**
3349
+ * Contract bytecode in hex format
3350
+ */
3351
+ code?: string;
3352
+ /**
3353
+ * Contract storage slots
3354
+ */
3355
+ storage?: Record<string, string>;
3356
+ };
3357
+
3358
+ type EvmGenesisAllowListConfigDto = {
3359
+ /**
3360
+ * Block timestamp
3361
+ */
3362
+ blockTimestamp?: number;
3363
+ /**
3364
+ * Admin addresses
3365
+ */
3366
+ adminAddresses?: Array<string>;
3367
+ /**
3368
+ * Manager addresses
3369
+ */
3370
+ managerAddresses?: Array<string>;
3371
+ /**
3372
+ * Enabled addresses
3373
+ */
3374
+ enabledAddresses?: Array<string>;
3375
+ };
3376
+
3377
+ type EvmGenesisFeeConfigDto = {
3378
+ /**
3379
+ * Base fee change denominator
3380
+ */
3381
+ baseFeeChangeDenominator?: number;
3382
+ /**
3383
+ * Block gas cost step
3384
+ */
3385
+ blockGasCostStep?: number;
3386
+ /**
3387
+ * Gas limit
3388
+ */
3389
+ gasLimit?: number;
3390
+ /**
3391
+ * Maximum block gas cost
3392
+ */
3393
+ maxBlockGasCost?: number;
3394
+ /**
3395
+ * Minimum base fee
3396
+ */
3397
+ minBaseFee?: number;
3398
+ /**
3399
+ * Minimum block gas cost
3400
+ */
3401
+ minBlockGasCost?: number;
3402
+ /**
3403
+ * Target block rate
3404
+ */
3405
+ targetBlockRate?: number;
3406
+ /**
3407
+ * Target gas
3408
+ */
3409
+ targetGas?: number;
3410
+ };
3411
+
3412
+ type EvmGenesisWarpConfigDto = {
3413
+ /**
3414
+ * Block timestamp
3415
+ */
3416
+ blockTimestamp?: number;
3417
+ /**
3418
+ * Quorum numerator
3419
+ */
3420
+ quorumNumerator?: number;
3421
+ /**
3422
+ * Require primary network signers
3423
+ */
3424
+ requirePrimaryNetworkSigners?: boolean;
3425
+ };
3426
+
3427
+ type EvmGenesisConfigDto = {
3428
+ /**
3429
+ * Berlin block number
3430
+ */
3431
+ berlinBlock?: number;
3432
+ /**
3433
+ * Byzantium block number
3434
+ */
3435
+ byzantiumBlock?: number;
3436
+ /**
3437
+ * Chain ID
3438
+ */
3439
+ chainId?: number;
3440
+ /**
3441
+ * Constantinople block number
3442
+ */
3443
+ constantinopleBlock?: number;
3444
+ /**
3445
+ * EIP-150 block number
3446
+ */
3447
+ eip150Block?: number;
3448
+ /**
3449
+ * EIP-150 hash
3450
+ */
3451
+ eip150Hash?: string;
3452
+ /**
3453
+ * EIP-155 block number
3454
+ */
3455
+ eip155Block?: number;
3456
+ /**
3457
+ * EIP-158 block number
3458
+ */
3459
+ eip158Block?: number;
3460
+ /**
3461
+ * Fee configuration
3462
+ */
3463
+ feeConfig?: EvmGenesisFeeConfigDto;
3464
+ /**
3465
+ * Homestead block number
3466
+ */
3467
+ homesteadBlock?: number;
3468
+ /**
3469
+ * Istanbul block number
3470
+ */
3471
+ istanbulBlock?: number;
3472
+ /**
3473
+ * London block number
3474
+ */
3475
+ londonBlock?: number;
3476
+ /**
3477
+ * Muir Glacier block number
3478
+ */
3479
+ muirGlacierBlock?: number;
3480
+ /**
3481
+ * Petersburg block number
3482
+ */
3483
+ petersburgBlock?: number;
3484
+ /**
3485
+ * Subnet EVM timestamp
3486
+ */
3487
+ subnetEVMTimestamp?: number;
3488
+ /**
3489
+ * Allow fee recipients
3490
+ */
3491
+ allowFeeRecipients?: boolean;
3492
+ /**
3493
+ * Warp configuration
3494
+ */
3495
+ warpConfig?: EvmGenesisWarpConfigDto;
3496
+ /**
3497
+ * Transaction allow list configuration
3498
+ */
3499
+ txAllowListConfig?: EvmGenesisAllowListConfigDto;
3500
+ /**
3501
+ * Contract deployer allow list configuration
3502
+ */
3503
+ contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
3504
+ /**
3505
+ * Contract native minter configuration
3506
+ */
3507
+ contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
3508
+ /**
3509
+ * Fee manager configuration
3510
+ */
3511
+ feeManagerConfig?: EvmGenesisAllowListConfigDto;
3512
+ /**
3513
+ * Reward manager configuration
3514
+ */
3515
+ rewardManagerConfig?: EvmGenesisAllowListConfigDto;
3516
+ };
3517
+
3518
+ type EvmGenesisDto = {
3519
+ /**
3520
+ * Airdrop amount
3521
+ */
3522
+ airdropAmount?: number | null;
3523
+ /**
3524
+ * Airdrop hash
3525
+ */
3526
+ airdropHash?: string;
3527
+ /**
3528
+ * Allocation of accounts and balances
3529
+ */
3530
+ alloc?: Record<string, EvmGenesisAllocDto>;
3531
+ /**
3532
+ * Base fee per gas
3533
+ */
3534
+ baseFeePerGas?: number | null;
3535
+ /**
3536
+ * Blob gas used
3537
+ */
3538
+ blobGasUsed?: string | null;
3539
+ /**
3540
+ * Coinbase address
3541
+ */
3542
+ coinbase?: string;
3543
+ /**
3544
+ * Genesis configuration
3545
+ */
3546
+ config?: EvmGenesisConfigDto;
3547
+ /**
3548
+ * Difficulty
3549
+ */
3550
+ difficulty?: string;
3551
+ /**
3552
+ * Excess blob gas
3553
+ */
3554
+ excessBlobGas?: string | null;
3555
+ /**
3556
+ * Extra data
3557
+ */
3558
+ extraData?: string;
3559
+ /**
3560
+ * Gas limit
3561
+ */
3562
+ gasLimit?: string;
3563
+ /**
3564
+ * Gas used
3565
+ */
3566
+ gasUsed?: string;
3567
+ /**
3568
+ * Mix hash
3569
+ */
3570
+ mixHash?: string;
3571
+ /**
3572
+ * Nonce
3573
+ */
3574
+ nonce?: string;
3575
+ /**
3576
+ * Block number
3577
+ */
3578
+ number?: string;
3579
+ /**
3580
+ * Parent hash
3581
+ */
3582
+ parentHash?: string;
3583
+ /**
3584
+ * Block timestamp
3585
+ */
3586
+ timestamp?: string;
3587
+ };
3588
+
3589
+ type Blockchain = {
3590
+ createBlockTimestamp: number;
3591
+ createBlockNumber: string;
3592
+ blockchainId: string;
3593
+ vmId: string;
3594
+ subnetId: string;
3595
+ blockchainName: string;
3596
+ /**
3597
+ * 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.
3598
+ */
3599
+ evmChainId?: number;
3600
+ /**
3601
+ * The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
3602
+ */
3603
+ genesisData?: (EvmGenesisDto | string);
3604
+ };
3605
+
2579
3606
  declare enum BlockchainIds {
2580
3607
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2581
3608
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2582
3609
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
2583
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2584
3610
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
2585
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
2586
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3611
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
2587
3612
  }
2588
3613
 
2589
3614
  type ChainAddressChainIdMap = {
@@ -2607,16 +3632,31 @@ type DelegatorsDetails = {
2607
3632
  };
2608
3633
 
2609
3634
  type StakingDistribution = {
3635
+ /**
3636
+ * AvalancheGo version for the validator node.
3637
+ */
2610
3638
  version: string;
3639
+ /**
3640
+ * The total amount staked by validators using this version.
3641
+ */
2611
3642
  amountStaked: string;
3643
+ /**
3644
+ * The number of validators using this version.
3645
+ */
2612
3646
  validatorCount: number;
2613
3647
  };
2614
3648
 
2615
3649
  type ValidatorsDetails = {
2616
3650
  validatorCount: number;
2617
3651
  totalAmountStaked: string;
3652
+ /**
3653
+ * Total potential rewards from currently active validations and delegations.
3654
+ */
2618
3655
  estimatedAnnualStakingReward: string;
2619
3656
  stakingDistributionByVersion: Array<StakingDistribution>;
3657
+ /**
3658
+ * Ratio of total active stake amount to the current supply.
3659
+ */
2620
3660
  stakingRatio: string;
2621
3661
  };
2622
3662
 
@@ -2625,15 +3665,6 @@ type GetNetworkDetailsResponse = {
2625
3665
  delegatorDetails: DelegatorsDetails;
2626
3666
  };
2627
3667
 
2628
- type Blockchain = {
2629
- createBlockTimestamp: number;
2630
- createBlockNumber: string;
2631
- blockchainId: string;
2632
- vmId: string;
2633
- subnetId: string;
2634
- blockchainName: string;
2635
- };
2636
-
2637
3668
  type ListBlockchainsResponse = {
2638
3669
  /**
2639
3670
  * 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.
@@ -2668,7 +3699,13 @@ type CompletedDelegatorDetails = {
2668
3699
  delegationFee: string;
2669
3700
  startTimestamp: number;
2670
3701
  endTimestamp: number;
3702
+ /**
3703
+ * Total rewards distributed for the successful delegation.
3704
+ */
2671
3705
  grossReward: string;
3706
+ /**
3707
+ * Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3708
+ */
2672
3709
  netReward: string;
2673
3710
  delegationStatus: CompletedDelegatorDetails.delegationStatus;
2674
3711
  };
@@ -2686,7 +3723,13 @@ type PendingDelegatorDetails = {
2686
3723
  delegationFee: string;
2687
3724
  startTimestamp: number;
2688
3725
  endTimestamp: number;
3726
+ /**
3727
+ * Estimated total rewards that will be distributed for the successful delegation.
3728
+ */
2689
3729
  estimatedGrossReward: string;
3730
+ /**
3731
+ * Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3732
+ */
2690
3733
  estimatedNetReward: string;
2691
3734
  delegationStatus: PendingDelegatorDetails.delegationStatus;
2692
3735
  };
@@ -2707,8 +3750,63 @@ type ListDelegatorDetailsResponse = {
2707
3750
  delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
2708
3751
  };
2709
3752
 
2710
- type BlockchainInfo = {
3753
+ type BalanceOwner = {
3754
+ addresses: Array<string>;
3755
+ threshold: number;
3756
+ };
3757
+
3758
+ type L1ValidatorDetailsFull = {
3759
+ /**
3760
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3761
+ */
3762
+ validationId: string;
3763
+ /**
3764
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3765
+ */
3766
+ validationIdHex: string;
3767
+ nodeId: string;
3768
+ subnetId: string;
3769
+ /**
3770
+ * Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
3771
+ */
3772
+ weight: number;
3773
+ /**
3774
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
3775
+ */
3776
+ remainingBalance: number;
3777
+ /**
3778
+ * The timestamp of the transaction which created this L1 validator
3779
+ */
3780
+ creationTimestamp: number;
3781
+ blsCredentials: Record<string, any>;
3782
+ /**
3783
+ * The L1 validator owner's balance, returned after it's disabled or removed
3784
+ */
3785
+ remainingBalanceOwner: BalanceOwner;
3786
+ /**
3787
+ * Owner ddresses details which can disable or remove the L1 validator
3788
+ */
3789
+ deactivationOwner: BalanceOwner;
3790
+ };
3791
+
3792
+ type ListL1ValidatorsResponse = {
3793
+ /**
3794
+ * 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.
3795
+ */
3796
+ nextPageToken?: string;
3797
+ /**
3798
+ * The list of L1 validations for the given Subnet ID, NodeId or validationId
3799
+ */
3800
+ validators: Array<L1ValidatorDetailsFull>;
3801
+ /**
3802
+ * Block height at which the L1 validator's remaining balance is calculated
3803
+ */
3804
+ blockHeight: string;
3805
+ };
3806
+
3807
+ type L1ValidatorManagerDetails = {
2711
3808
  blockchainId: string;
3809
+ contractAddress: string;
2712
3810
  };
2713
3811
 
2714
3812
  type SubnetOwnershipInfo = {
@@ -2749,7 +3847,19 @@ type Subnet = {
2749
3847
  * Latest subnet owner details for this Subnet.
2750
3848
  */
2751
3849
  subnetOwnershipInfo: SubnetOwnershipInfo;
2752
- blockchains: Array<BlockchainInfo>;
3850
+ /**
3851
+ * Whether the subnet is an L1 or not.
3852
+ */
3853
+ isL1: boolean;
3854
+ /**
3855
+ * Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
3856
+ */
3857
+ l1ConversionTransactionHash?: string;
3858
+ /**
3859
+ * L1 validator manager details.
3860
+ */
3861
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3862
+ blockchains: Array<Blockchain>;
2753
3863
  };
2754
3864
 
2755
3865
  type ListSubnetsResponse = {
@@ -2765,6 +3875,29 @@ type BlsCredentials = {
2765
3875
  proofOfPossession: string;
2766
3876
  };
2767
3877
 
3878
+ type Geolocation = {
3879
+ /**
3880
+ * The name of the validator node.
3881
+ */
3882
+ city: string;
3883
+ /**
3884
+ * The city of the validator node.
3885
+ */
3886
+ country: string;
3887
+ /**
3888
+ * The country code of the validator node.
3889
+ */
3890
+ countryCode: string;
3891
+ /**
3892
+ * The latitude of the validator node.
3893
+ */
3894
+ latitude: number;
3895
+ /**
3896
+ * The longitude of the validator node.
3897
+ */
3898
+ longitude: number;
3899
+ };
3900
+
2768
3901
  type Rewards = {
2769
3902
  validationRewardAmount: string;
2770
3903
  delegationRewardAmount: string;
@@ -2796,6 +3929,9 @@ type ActiveValidatorDetails = {
2796
3929
  nodeId: string;
2797
3930
  subnetId: string;
2798
3931
  amountStaked: string;
3932
+ /**
3933
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3934
+ */
2799
3935
  delegationFee?: string;
2800
3936
  startTimestamp: number;
2801
3937
  endTimestamp: number;
@@ -2803,15 +3939,37 @@ type ActiveValidatorDetails = {
2803
3939
  * Present for AddPermissionlessValidatorTx
2804
3940
  */
2805
3941
  blsCredentials?: BlsCredentials;
3942
+ /**
3943
+ * The percentage of this validator's stake amount to the total active stake.
3944
+ */
2806
3945
  stakePercentage: number;
3946
+ /**
3947
+ * The number of delegators linked to the validator.
3948
+ */
2807
3949
  delegatorCount: number;
3950
+ /**
3951
+ * The total amount in nAVAX delegated to the validator.
3952
+ */
2808
3953
  amountDelegated?: string;
3954
+ /**
3955
+ * The validator's uptime percentage, as observed by our internal node and measured over time.
3956
+ */
2809
3957
  uptimePerformance: number;
2810
3958
  avalancheGoVersion?: string;
3959
+ /**
3960
+ * The amount of stake in nAVAX that can be delegated to this validator.
3961
+ */
2811
3962
  delegationCapacity?: string;
3963
+ /**
3964
+ * Estimated rewards for the validator if the validation is successful.
3965
+ */
2812
3966
  potentialRewards: Rewards;
2813
3967
  validationStatus: ActiveValidatorDetails.validationStatus;
2814
3968
  validatorHealth: ValidatorHealthDetails;
3969
+ /**
3970
+ * The geographical location of the validator node, if available.
3971
+ */
3972
+ geolocation: Geolocation | null;
2815
3973
  };
2816
3974
  declare namespace ActiveValidatorDetails {
2817
3975
  enum validationStatus {
@@ -2824,6 +3982,9 @@ type CompletedValidatorDetails = {
2824
3982
  nodeId: string;
2825
3983
  subnetId: string;
2826
3984
  amountStaked: string;
3985
+ /**
3986
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3987
+ */
2827
3988
  delegationFee?: string;
2828
3989
  startTimestamp: number;
2829
3990
  endTimestamp: number;
@@ -2847,6 +4008,9 @@ type PendingValidatorDetails = {
2847
4008
  nodeId: string;
2848
4009
  subnetId: string;
2849
4010
  amountStaked: string;
4011
+ /**
4012
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
4013
+ */
2850
4014
  delegationFee?: string;
2851
4015
  startTimestamp: number;
2852
4016
  endTimestamp: number;
@@ -2867,6 +4031,9 @@ type RemovedValidatorDetails = {
2867
4031
  nodeId: string;
2868
4032
  subnetId: string;
2869
4033
  amountStaked: string;
4034
+ /**
4035
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
4036
+ */
2870
4037
  delegationFee?: string;
2871
4038
  startTimestamp: number;
2872
4039
  endTimestamp: number;
@@ -2874,7 +4041,13 @@ type RemovedValidatorDetails = {
2874
4041
  * Present for AddPermissionlessValidatorTx
2875
4042
  */
2876
4043
  blsCredentials?: BlsCredentials;
4044
+ /**
4045
+ * The transaction hash that removed the permissioned subnet validator.
4046
+ */
2877
4047
  removeTxHash: string;
4048
+ /**
4049
+ * The timestamp of the transaction that removed the permissioned subnet validator.
4050
+ */
2878
4051
  removeTimestamp: number;
2879
4052
  validationStatus: RemovedValidatorDetails.validationStatus;
2880
4053
  };
@@ -2954,7 +4127,6 @@ type XChainAssetDetails = {
2954
4127
  declare enum XChainId {
2955
4128
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2956
4129
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
2957
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2958
4130
  X_CHAIN = "x-chain"
2959
4131
  }
2960
4132
 
@@ -3025,7 +4197,7 @@ declare class PrimaryNetworkService {
3025
4197
  */
3026
4198
  pageToken?: string;
3027
4199
  /**
3028
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4200
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3029
4201
  */
3030
4202
  pageSize?: number;
3031
4203
  /**
@@ -3033,6 +4205,22 @@ declare class PrimaryNetworkService {
3033
4205
  */
3034
4206
  sortOrder?: SortOrder;
3035
4207
  }): CancelablePromise<ListBlockchainsResponse>;
4208
+ /**
4209
+ * Get blockchain details by ID
4210
+ * Get details of the blockchain registered on the network.
4211
+ * @returns Blockchain Successful response
4212
+ * @throws ApiError
4213
+ */
4214
+ getBlockchainById({ blockchainId, network, }: {
4215
+ /**
4216
+ * The blockchain ID of the blockchain to retrieve.
4217
+ */
4218
+ blockchainId: string;
4219
+ /**
4220
+ * Either mainnet or testnet/fuji.
4221
+ */
4222
+ network: Network;
4223
+ }): CancelablePromise<Blockchain>;
3036
4224
  /**
3037
4225
  * List subnets
3038
4226
  * Lists all subnets registered on the network.
@@ -3049,7 +4237,7 @@ declare class PrimaryNetworkService {
3049
4237
  */
3050
4238
  pageToken?: string;
3051
4239
  /**
3052
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4240
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3053
4241
  */
3054
4242
  pageSize?: number;
3055
4243
  /**
@@ -3075,7 +4263,7 @@ declare class PrimaryNetworkService {
3075
4263
  }): CancelablePromise<Subnet>;
3076
4264
  /**
3077
4265
  * List validators
3078
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
4266
+ * 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.
3079
4267
  * @returns ListValidatorDetailsResponse Successful response
3080
4268
  * @throws ApiError
3081
4269
  */
@@ -3093,7 +4281,7 @@ declare class PrimaryNetworkService {
3093
4281
  */
3094
4282
  pageSize?: number;
3095
4283
  /**
3096
- * A comma separated list of node ids to filter by.
4284
+ * A comma separated list of node ids to filter by. Supports substring matching.
3097
4285
  */
3098
4286
  nodeIds?: string;
3099
4287
  /**
@@ -3216,12 +4404,12 @@ declare class PrimaryNetworkService {
3216
4404
  nodeIds?: string;
3217
4405
  }): CancelablePromise<ListDelegatorDetailsResponse>;
3218
4406
  /**
3219
- * List subnet-only validators
3220
- * Lists details for subnet only validators. By default, returns details for all active subnet only validators. Filterable by validator node ids, subnet id, and validation id.
3221
- * @returns ListValidatorDetailsResponse Successful response
4407
+ * List L1 validators
4408
+ * Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.
4409
+ * @returns ListL1ValidatorsResponse Successful response
3222
4410
  * @throws ApiError
3223
4411
  */
3224
- listSubnetOnlyValidators({ network, pageToken, pageSize, sovValidationId, includeInactiveSovs, nodeId, subnetId, }: {
4412
+ listL1Validators({ network, pageToken, pageSize, l1ValidationId, includeInactiveL1Validators, nodeId, subnetId, }: {
3225
4413
  /**
3226
4414
  * Either mainnet or testnet/fuji.
3227
4415
  */
@@ -3235,10 +4423,10 @@ declare class PrimaryNetworkService {
3235
4423
  */
3236
4424
  pageSize?: number;
3237
4425
  /**
3238
- * The Subnet-only-Validator validation ID to filter by. If not provided, then all Subnet-only-Validators will be returned.
4426
+ * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3239
4427
  */
3240
- sovValidationId?: any;
3241
- includeInactiveSovs?: boolean;
4428
+ l1ValidationId?: string;
4429
+ includeInactiveL1Validators?: boolean;
3242
4430
  /**
3243
4431
  * A valid node ID in format 'NodeID-HASH'.
3244
4432
  */
@@ -3247,17 +4435,15 @@ declare class PrimaryNetworkService {
3247
4435
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
3248
4436
  */
3249
4437
  subnetId?: any;
3250
- }): CancelablePromise<ListValidatorDetailsResponse>;
4438
+ }): CancelablePromise<ListL1ValidatorsResponse>;
3251
4439
  }
3252
4440
 
3253
4441
  declare enum BlockchainId {
3254
4442
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3255
4443
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3256
4444
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3257
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3258
4445
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3259
4446
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3260
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
3261
4447
  P_CHAIN = "p-chain",
3262
4448
  X_CHAIN = "x-chain",
3263
4449
  C_CHAIN = "c-chain"
@@ -3494,8 +4680,8 @@ type GetPrimaryNetworkBlockResponse = {
3494
4680
  txCount: number;
3495
4681
  transactions: Array<string>;
3496
4682
  blockSizeBytes: number;
3497
- subnetOnlyValidatorsAccruedFees?: number;
3498
- activeSubnetOnlyValidators?: number;
4683
+ l1ValidatorsAccruedFees?: number;
4684
+ activeL1Validators?: number;
3499
4685
  currentSupply?: string;
3500
4686
  proposerDetails?: ProposerDetails;
3501
4687
  };
@@ -3509,8 +4695,8 @@ type PrimaryNetworkBlock = {
3509
4695
  txCount: number;
3510
4696
  transactions: Array<string>;
3511
4697
  blockSizeBytes: number;
3512
- subnetOnlyValidatorsAccruedFees?: number;
3513
- activeSubnetOnlyValidators?: number;
4698
+ l1ValidatorsAccruedFees?: number;
4699
+ activeL1Validators?: number;
3514
4700
  currentSupply?: string;
3515
4701
  proposerDetails?: ProposerDetails;
3516
4702
  };
@@ -3553,7 +4739,7 @@ declare class PrimaryNetworkBlocksService {
3553
4739
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3554
4740
  * @throws ApiError
3555
4741
  */
3556
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
4742
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3557
4743
  /**
3558
4744
  * A primary network blockchain id or alias.
3559
4745
  */
@@ -3565,7 +4751,15 @@ declare class PrimaryNetworkBlocksService {
3565
4751
  /**
3566
4752
  * A primary network (P or X chain) nodeId.
3567
4753
  */
3568
- nodeId: string;
4754
+ nodeId: string;
4755
+ /**
4756
+ * Query param for retrieving items after a specific timestamp.
4757
+ */
4758
+ startTimestamp?: number;
4759
+ /**
4760
+ * Query param for retrieving items before a specific timestamp.
4761
+ */
4762
+ endTimestamp?: number;
3569
4763
  /**
3570
4764
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3571
4765
  */
@@ -3581,7 +4775,7 @@ declare class PrimaryNetworkBlocksService {
3581
4775
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3582
4776
  * @throws ApiError
3583
4777
  */
3584
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
4778
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3585
4779
  /**
3586
4780
  * A primary network blockchain id or alias.
3587
4781
  */
@@ -3590,6 +4784,14 @@ declare class PrimaryNetworkBlocksService {
3590
4784
  * Either mainnet or testnet/fuji.
3591
4785
  */
3592
4786
  network: Network;
4787
+ /**
4788
+ * Query param for retrieving items after a specific timestamp.
4789
+ */
4790
+ startTimestamp?: number;
4791
+ /**
4792
+ * Query param for retrieving items before a specific timestamp.
4793
+ */
4794
+ endTimestamp?: number;
3593
4795
  /**
3594
4796
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3595
4797
  */
@@ -3831,6 +5033,10 @@ type Utxo = {
3831
5033
  * UTXO ID for this output.
3832
5034
  */
3833
5035
  utxoId: string;
5036
+ /**
5037
+ * The bytes of the UTXO
5038
+ */
5039
+ utxoBytes?: string;
3834
5040
  /**
3835
5041
  * Unix timestamp in seconds at which this output was consumed.
3836
5042
  */
@@ -3999,6 +5205,41 @@ type ListCChainAtomicTransactionsResponse = {
3999
5205
  chainInfo: PrimaryNetworkChainInfo;
4000
5206
  };
4001
5207
 
5208
+ type BlockchainInfo = {
5209
+ chainName: string;
5210
+ vmId: string;
5211
+ /**
5212
+ * 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
5213
+ */
5214
+ genesisData?: (EvmGenesisDto | string);
5215
+ };
5216
+
5217
+ type L1ValidatorDetailsTransaction = {
5218
+ /**
5219
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
5220
+ */
5221
+ validationId: string;
5222
+ /**
5223
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
5224
+ */
5225
+ validationIdHex: string;
5226
+ nodeId: string;
5227
+ subnetId: string;
5228
+ /**
5229
+ * Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
5230
+ */
5231
+ weight: number;
5232
+ /**
5233
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
5234
+ */
5235
+ remainingBalance: number;
5236
+ /**
5237
+ * 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
5238
+ */
5239
+ balanceChange?: number;
5240
+ blsCredentials?: Record<string, any>;
5241
+ };
5242
+
4002
5243
  declare enum PChainTransactionType {
4003
5244
  ADD_VALIDATOR_TX = "AddValidatorTx",
4004
5245
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
@@ -4015,14 +5256,17 @@ declare enum PChainTransactionType {
4015
5256
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
4016
5257
  BASE_TX = "BaseTx",
4017
5258
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
4018
- CONVERT_SUBNET_TX = "ConvertSubnetTx",
4019
- REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
4020
- SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
4021
- DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
4022
- INCREASE_BALANCE_TX = "IncreaseBalanceTx",
5259
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
5260
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
5261
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
5262
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
5263
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
4023
5264
  UNKNOWN = "UNKNOWN"
4024
5265
  }
4025
5266
 
5267
+ /**
5268
+ * Indicates whether the UTXO is staked or transferable
5269
+ */
4026
5270
  declare enum UtxoType {
4027
5271
  STAKE = "STAKE",
4028
5272
  TRANSFER = "TRANSFER"
@@ -4050,6 +5294,10 @@ type PChainUtxo = {
4050
5294
  * UTXO ID for this output.
4051
5295
  */
4052
5296
  utxoId: string;
5297
+ /**
5298
+ * The bytes of the UTXO
5299
+ */
5300
+ utxoBytes?: string;
4053
5301
  /**
4054
5302
  * @deprecated
4055
5303
  */
@@ -4060,25 +5308,47 @@ type PChainUtxo = {
4060
5308
  assetId: string;
4061
5309
  blockNumber: string;
4062
5310
  blockTimestamp: number;
5311
+ /**
5312
+ * Block height in which the transaction consuming this UTXO was included
5313
+ */
4063
5314
  consumingBlockNumber?: string;
5315
+ /**
5316
+ * Timestamp in seconds at which this UTXO is used in a consuming transaction
5317
+ */
4064
5318
  consumingBlockTimestamp?: number;
5319
+ /**
5320
+ * Timestamp in seconds after which this UTXO can be consumed
5321
+ */
4065
5322
  platformLocktime?: number;
5323
+ /**
5324
+ * The index of the UTXO in the transaction
5325
+ */
4066
5326
  outputIndex: number;
4067
5327
  rewardType?: RewardType;
5328
+ /**
5329
+ * Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
5330
+ */
4068
5331
  stakeableLocktime?: number;
4069
5332
  staked?: boolean;
5333
+ /**
5334
+ * The minimum number of signatures required to spend this UTXO
5335
+ */
4070
5336
  threshold?: number;
5337
+ /**
5338
+ * The hash of the transaction that created this UTXO
5339
+ */
4071
5340
  txHash: string;
5341
+ /**
5342
+ * Timestamp in seconds after which the staked UTXO will be unlocked.
5343
+ */
4072
5344
  utxoEndTimestamp?: number;
5345
+ /**
5346
+ * Timestamp in seconds at which the staked UTXO was locked.
5347
+ */
4073
5348
  utxoStartTimestamp?: number;
4074
5349
  utxoType: UtxoType;
4075
5350
  };
4076
5351
 
4077
- type SubnetValidatorManagerDetails = {
4078
- blockchainId: string;
4079
- evmContractAddress: string;
4080
- };
4081
-
4082
5352
  type PChainTransaction = {
4083
5353
  /**
4084
5354
  * A P-Chain transaction hash.
@@ -4086,12 +5356,21 @@ type PChainTransaction = {
4086
5356
  txHash: string;
4087
5357
  txType: PChainTransactionType;
4088
5358
  /**
4089
- * The block finality timestamp.
5359
+ * The block creation (proposal) timestamp in seconds
4090
5360
  */
4091
5361
  blockTimestamp: number;
5362
+ /**
5363
+ * The height of the block in which the transaction was included
5364
+ */
4092
5365
  blockNumber: string;
4093
5366
  blockHash: string;
5367
+ /**
5368
+ * The consumed UTXOs of the transaction
5369
+ */
4094
5370
  consumedUtxos: Array<PChainUtxo>;
5371
+ /**
5372
+ * The newly created UTXOs of the transaction
5373
+ */
4095
5374
  emittedUtxos: Array<PChainUtxo>;
4096
5375
  /**
4097
5376
  * Source chain for an atomic transaction.
@@ -4102,11 +5381,11 @@ type PChainTransaction = {
4102
5381
  */
4103
5382
  destinationChain?: string;
4104
5383
  /**
4105
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5384
+ * 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
4106
5385
  */
4107
5386
  value: Array<AssetAmount>;
4108
5387
  /**
4109
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5388
+ * 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
4110
5389
  */
4111
5390
  amountBurned: Array<AssetAmount>;
4112
5391
  /**
@@ -4114,9 +5393,9 @@ type PChainTransaction = {
4114
5393
  */
4115
5394
  amountStaked: Array<AssetAmount>;
4116
5395
  /**
4117
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5396
+ * 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.
4118
5397
  */
4119
- amountSovBalanceBurned: Array<AssetAmount>;
5398
+ amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4120
5399
  /**
4121
5400
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4122
5401
  */
@@ -4126,11 +5405,11 @@ type PChainTransaction = {
4126
5405
  */
4127
5406
  endTimestamp?: number;
4128
5407
  /**
4129
- * Present for AddValidatorTx, AddPermissionlessValidatorTx
5408
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
4130
5409
  */
4131
5410
  delegationFeePercent?: string;
4132
5411
  /**
4133
- * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5412
+ * The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4134
5413
  */
4135
5414
  nodeId?: string;
4136
5415
  /**
@@ -4138,22 +5417,25 @@ type PChainTransaction = {
4138
5417
  */
4139
5418
  subnetId?: string;
4140
5419
  /**
4141
- * Present for ConvertSubnetTx
5420
+ * Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1
4142
5421
  */
4143
- subnetValidatorManagerDetails?: SubnetValidatorManagerDetails;
5422
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
4144
5423
  /**
4145
- * Present for ConvertSubnetTx, RegisterSubnetValidatorTx
5424
+ * Details of L1 validators registered or changed in the current transaction. The details reflect the state at the time of the transaction, not in real-time
4146
5425
  */
4147
- subnetOnlyValidatorDetails?: Array<string>;
5426
+ l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
4148
5427
  /**
4149
- * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5428
+ * Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4150
5429
  */
4151
5430
  estimatedReward?: string;
5431
+ /**
5432
+ * Reward transaction hash for the completed validations or delegations
5433
+ */
4152
5434
  rewardTxHash?: string;
4153
5435
  rewardAddresses?: Array<string>;
4154
5436
  memo?: string;
4155
5437
  /**
4156
- * Present for RewardValidatorTx
5438
+ * Staking transaction corresponding to the RewardValidatorTx
4157
5439
  */
4158
5440
  stakingTxHash?: string;
4159
5441
  /**
@@ -4161,9 +5443,13 @@ type PChainTransaction = {
4161
5443
  */
4162
5444
  subnetOwnershipInfo?: SubnetOwnershipInfo;
4163
5445
  /**
4164
- * Present for AddPermissionlessValidatorTx
5446
+ * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4165
5447
  */
4166
5448
  blsCredentials?: BlsCredentials;
5449
+ /**
5450
+ * Details of the blockchain that was created in the CreateChainTx
5451
+ */
5452
+ blockchainInfo?: BlockchainInfo;
4167
5453
  };
4168
5454
 
4169
5455
  type ListPChainTransactionsResponse = {
@@ -4346,11 +5632,11 @@ declare enum PrimaryNetworkTxType {
4346
5632
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
4347
5633
  BASE_TX = "BaseTx",
4348
5634
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
4349
- CONVERT_SUBNET_TX = "ConvertSubnetTx",
4350
- REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
4351
- SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
4352
- DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
4353
- INCREASE_BALANCE_TX = "IncreaseBalanceTx",
5635
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
5636
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
5637
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
5638
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
5639
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
4354
5640
  UNKNOWN = "UNKNOWN",
4355
5641
  CREATE_ASSET_TX = "CreateAssetTx",
4356
5642
  OPERATION_TX = "OperationTx"
@@ -4385,11 +5671,13 @@ declare class PrimaryNetworkTransactionsService {
4385
5671
  *
4386
5672
  * Transactions are filterable by addresses, txTypes, and timestamps. When querying for latest transactions without an address parameter, filtering by txTypes and timestamps is not supported. An address filter must be provided to utilize txTypes and timestamp filters.
4387
5673
  *
5674
+ * For P-Chain, you can fetch all L1 validators related transactions like ConvertSubnetToL1Tx, IncreaseL1ValidatorBalanceTx etc. using the unique L1 validation ID. These transactions are further filterable by txTypes and timestamps as well.
5675
+ *
4388
5676
  * Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
4389
5677
  * @returns any Successful response
4390
5678
  * @throws ApiError
4391
5679
  */
4392
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
5680
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4393
5681
  /**
4394
5682
  * A primary network blockchain id or alias.
4395
5683
  */
@@ -4402,6 +5690,7 @@ declare class PrimaryNetworkTransactionsService {
4402
5690
  * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
4403
5691
  */
4404
5692
  addresses?: string;
5693
+ l1ValidationId?: string;
4405
5694
  /**
4406
5695
  * Query param for filtering items based on transaction types.
4407
5696
  */
@@ -4531,6 +5820,18 @@ type ListUtxosResponse = {
4531
5820
  chainInfo: PrimaryNetworkChainInfo;
4532
5821
  };
4533
5822
 
5823
+ type PrimaryNetworkAddressesBodyDto = {
5824
+ /**
5825
+ * Comma-separated list of primary network addresses
5826
+ */
5827
+ addresses: string;
5828
+ };
5829
+
5830
+ declare enum UtxosSortByOption {
5831
+ TIMESTAMP = "timestamp",
5832
+ AMOUNT = "amount"
5833
+ }
5834
+
4534
5835
  declare class PrimaryNetworkUtxOsService {
4535
5836
  readonly httpRequest: BaseHttpRequest;
4536
5837
  constructor(httpRequest: BaseHttpRequest);
@@ -4540,7 +5841,7 @@ declare class PrimaryNetworkUtxOsService {
4540
5841
  * @returns any Successful response
4541
5842
  * @throws ApiError
4542
5843
  */
4543
- getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
5844
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
4544
5845
  /**
4545
5846
  * A primary network blockchain id or alias.
4546
5847
  */
@@ -4565,10 +5866,63 @@ declare class PrimaryNetworkUtxOsService {
4565
5866
  * Asset ID for any asset (only applicable X-Chain)
4566
5867
  */
4567
5868
  assetId?: string;
5869
+ /**
5870
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5871
+ */
5872
+ minUtxoAmount?: number;
5873
+ /**
5874
+ * Boolean filter to include spent UTXOs.
5875
+ */
5876
+ includeSpent?: boolean;
5877
+ /**
5878
+ * Which property to sort by, in conjunction with sortOrder.
5879
+ */
5880
+ sortBy?: UtxosSortByOption;
5881
+ /**
5882
+ * 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.
5883
+ */
5884
+ sortOrder?: SortOrder;
5885
+ }): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
5886
+ /**
5887
+ * List UTXOs v2 - Supports querying for more addresses
5888
+ * Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
5889
+ * @returns any Successful response
5890
+ * @throws ApiError
5891
+ */
5892
+ getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
5893
+ /**
5894
+ * A primary network blockchain id or alias.
5895
+ */
5896
+ blockchainId: BlockchainId;
5897
+ /**
5898
+ * Either mainnet or testnet/fuji.
5899
+ */
5900
+ network: Network;
5901
+ requestBody: PrimaryNetworkAddressesBodyDto;
5902
+ /**
5903
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
5904
+ */
5905
+ pageToken?: string;
5906
+ /**
5907
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
5908
+ */
5909
+ pageSize?: number;
5910
+ /**
5911
+ * Asset ID for any asset (only applicable X-Chain)
5912
+ */
5913
+ assetId?: string;
5914
+ /**
5915
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5916
+ */
5917
+ minUtxoAmount?: number;
4568
5918
  /**
4569
5919
  * Boolean filter to include spent UTXOs.
4570
5920
  */
4571
5921
  includeSpent?: boolean;
5922
+ /**
5923
+ * Which property to sort by, in conjunction with sortOrder.
5924
+ */
5925
+ sortBy?: UtxosSortByOption;
4572
5926
  /**
4573
5927
  * 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.
4574
5928
  */
@@ -4683,15 +6037,29 @@ type SignatureAggregationResponse = {
4683
6037
 
4684
6038
  type SignatureAggregatorRequest = {
4685
6039
  /**
4686
- * Must be defined if justification is not defined
6040
+ * Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with "0x"
4687
6041
  */
4688
6042
  message?: string;
4689
6043
  /**
4690
- * Must be defined if message is not defined
6044
+ * Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with "0x"
4691
6045
  */
4692
6046
  justification?: string;
6047
+ /**
6048
+ * Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.
6049
+ */
4693
6050
  signingSubnetId?: string;
6051
+ /**
6052
+ * 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.
6053
+ */
4694
6054
  quorumPercentage?: number;
6055
+ /**
6056
+ * 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.
6057
+ */
6058
+ quorumPercentageBuffer?: number;
6059
+ /**
6060
+ * 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.
6061
+ */
6062
+ pChainHeight?: number;
4695
6063
  };
4696
6064
 
4697
6065
  declare class SignatureAggregatorService {
@@ -4703,9 +6071,29 @@ declare class SignatureAggregatorService {
4703
6071
  * @returns SignatureAggregationResponse Successful response
4704
6072
  * @throws ApiError
4705
6073
  */
4706
- aggregateSignatures({ requestBody, }: {
6074
+ aggregateSignatures({ network, requestBody, }: {
6075
+ /**
6076
+ * Either mainnet or testnet/fuji.
6077
+ */
6078
+ network: Network;
4707
6079
  requestBody: SignatureAggregatorRequest;
4708
6080
  }): CancelablePromise<SignatureAggregationResponse>;
6081
+ /**
6082
+ * Get Aggregated Signatures
6083
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
6084
+ * @returns SignatureAggregationResponse Successful response
6085
+ * @throws ApiError
6086
+ */
6087
+ getAggregatedSignatures({ network, txHash, }: {
6088
+ /**
6089
+ * Either mainnet or testnet/fuji.
6090
+ */
6091
+ network: Network;
6092
+ /**
6093
+ * A primary network (P or X chain) transaction hash.
6094
+ */
6095
+ txHash: string;
6096
+ }): CancelablePromise<SignatureAggregationResponse>;
4709
6097
  }
4710
6098
 
4711
6099
  type TeleporterDestinationTransaction = {
@@ -4839,15 +6227,17 @@ type ListTeleporterMessagesResponse = {
4839
6227
  * 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.
4840
6228
  */
4841
6229
  nextPageToken?: string;
4842
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
6230
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
4843
6231
  };
4844
6232
 
4845
6233
  declare class TeleporterService {
4846
6234
  readonly httpRequest: BaseHttpRequest;
4847
6235
  constructor(httpRequest: BaseHttpRequest);
4848
6236
  /**
4849
- * Get a teleporter message
4850
- * Gets a teleporter message by message ID.
6237
+ * @deprecated
6238
+ * **[Deprecated]** Gets a teleporter message by message ID.
6239
+ *
6240
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
4851
6241
  * @returns any Successful response
4852
6242
  * @throws ApiError
4853
6243
  */
@@ -4858,8 +6248,10 @@ declare class TeleporterService {
4858
6248
  messageId: string;
4859
6249
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4860
6250
  /**
4861
- * List teleporter messages
4862
- * Lists teleporter messages. Ordered by timestamp in descending order.
6251
+ * @deprecated
6252
+ * **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
6253
+ *
6254
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
4863
6255
  * @returns ListTeleporterMessagesResponse Successful response
4864
6256
  * @throws ApiError
4865
6257
  */
@@ -4898,8 +6290,10 @@ declare class TeleporterService {
4898
6290
  network?: Network;
4899
6291
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4900
6292
  /**
4901
- * List teleporter messages by address
4902
- * Lists teleporter messages by address. Ordered by timestamp in descending order.
6293
+ * @deprecated
6294
+ * **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
6295
+ *
6296
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
4903
6297
  * @returns ListTeleporterMessagesResponse Successful response
4904
6298
  * @throws ApiError
4905
6299
  */
@@ -4932,68 +6326,212 @@ type AddressesChangeRequest = {
4932
6326
 
4933
6327
  type AddressActivityMetadata = {
4934
6328
  /**
4935
- * Ethereum address(es) for the address_activity event type
6329
+ * Array of hexadecimal strings of the event signatures.
6330
+ */
6331
+ eventSignatures?: Array<string>;
6332
+ /**
6333
+ * 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.
4936
6334
  */
4937
6335
  addresses: Array<string>;
6336
+ };
6337
+
6338
+ type EVMAddressActivityRequest = {
6339
+ eventType: EVMAddressActivityRequest.eventType;
6340
+ url: string;
6341
+ name?: string;
6342
+ description?: string;
6343
+ chainId: string;
6344
+ metadata: AddressActivityMetadata;
4938
6345
  /**
4939
- * Array of hexadecimal strings of the event signatures.
6346
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
4940
6347
  */
4941
- eventSignatures?: Array<string>;
6348
+ includeInternalTxs?: boolean;
6349
+ /**
6350
+ * Whether to include logs in the webhook payload.
6351
+ */
6352
+ includeLogs?: boolean;
4942
6353
  };
6354
+ declare namespace EVMAddressActivityRequest {
6355
+ enum eventType {
6356
+ ADDRESS_ACTIVITY = "address_activity"
6357
+ }
6358
+ }
4943
6359
 
4944
- declare enum EventType {
6360
+ declare enum AddressActivityEventType {
4945
6361
  ADDRESS_ACTIVITY = "address_activity"
4946
6362
  }
4947
6363
 
4948
- type CreateWebhookRequest = {
6364
+ declare enum WebhookStatusType {
6365
+ ACTIVE = "active",
6366
+ INACTIVE = "inactive"
6367
+ }
6368
+
6369
+ type EVMAddressActivityResponse = {
6370
+ id: string;
4949
6371
  url: string;
4950
6372
  chainId: string;
4951
- eventType: EventType;
6373
+ status: WebhookStatusType;
6374
+ createdAt: number;
6375
+ name: string;
6376
+ description: string;
6377
+ eventType: AddressActivityEventType;
4952
6378
  metadata: AddressActivityMetadata;
4953
- name?: string;
4954
- description?: string;
4955
6379
  /**
4956
- * Whether to include traces in the webhook payload.
6380
+ * Whether to include traces in the webhook payload.
6381
+ */
6382
+ includeInternalTxs?: boolean;
6383
+ /**
6384
+ * Whether to include logs in the webhook payload.
6385
+ */
6386
+ includeLogs?: boolean;
6387
+ };
6388
+
6389
+ type ListWebhookAddressesResponse = {
6390
+ /**
6391
+ * 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.
6392
+ */
6393
+ nextPageToken?: string;
6394
+ addresses: Array<string>;
6395
+ totalAddresses: number;
6396
+ };
6397
+
6398
+ declare enum PrimaryNetworkAddressActivityEventType {
6399
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6400
+ }
6401
+
6402
+ /**
6403
+ * The type of key to monitor for the address activity event type.
6404
+ */
6405
+ declare enum PlatformAddressActivityKeyType {
6406
+ ADDRESSES = "addresses"
6407
+ }
6408
+
6409
+ /**
6410
+ * Array of address activity sub-event types
6411
+ */
6412
+ declare enum PrimaryNetworkAddressActivitySubEventType {
6413
+ BALANCE_CHANGE = "balance_change",
6414
+ BALANCE_THRESHOLD = "balance_threshold",
6415
+ REWARD_DISTRIBUTION = "reward_distribution"
6416
+ }
6417
+
6418
+ type PrimaryNetworkAddressActivitySubEvents = {
6419
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
6420
+ };
6421
+
6422
+ /**
6423
+ * Type of balance to monitor
6424
+ */
6425
+ declare enum CommonBalanceType {
6426
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
6427
+ UNLOCKED_STAKED = "unlockedStaked",
6428
+ LOCKED_PLATFORM = "lockedPlatform",
6429
+ LOCKED_STAKEABLE = "lockedStakeable",
6430
+ LOCKED_STAKED = "lockedStaked",
6431
+ PENDING_STAKED = "pendingStaked",
6432
+ UNLOCKED = "unlocked",
6433
+ LOCKED = "locked",
6434
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
6435
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
6436
+ }
6437
+
6438
+ type PrimaryNetworkBalanceThresholdFilter = {
6439
+ balanceType: CommonBalanceType;
6440
+ /**
6441
+ * Threshold for balance corresponding to balanceType in nAVAX
6442
+ */
6443
+ balanceThreshold: string;
6444
+ };
6445
+
6446
+ type PrimaryNetworkAddressActivityMetadata = {
6447
+ /**
6448
+ * Array of hexadecimal strings of the event signatures.
6449
+ */
6450
+ eventSignatures?: Array<string>;
6451
+ keyType: PlatformAddressActivityKeyType;
6452
+ /**
6453
+ * 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.
6454
+ */
6455
+ keys: Array<string>;
6456
+ /**
6457
+ * Sub-events to monitor
6458
+ */
6459
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6460
+ /**
6461
+ * Balance threshold filter
6462
+ */
6463
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6464
+ };
6465
+
6466
+ type PrimaryNetworkAddressActivityResponse = {
6467
+ id: string;
6468
+ url: string;
6469
+ chainId: string;
6470
+ status: WebhookStatusType;
6471
+ createdAt: number;
6472
+ name: string;
6473
+ description: string;
6474
+ eventType: PrimaryNetworkAddressActivityEventType;
6475
+ metadata: PrimaryNetworkAddressActivityMetadata;
6476
+ };
6477
+
6478
+ declare enum ValidatorActivityEventType {
6479
+ VALIDATOR_ACTIVITY = "validator_activity"
6480
+ }
6481
+
6482
+ /**
6483
+ * The type of key to monitor for the validator activity event type.
6484
+ */
6485
+ declare enum ValidatorActivityKeyType {
6486
+ NODE_ID = "nodeId",
6487
+ SUBNET_ID = "subnetId"
6488
+ }
6489
+
6490
+ type ValidatorActivitySubEvents = {
6491
+ /**
6492
+ * Array of validator activity sub-event types
6493
+ */
6494
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6495
+ };
6496
+
6497
+ type ValidatorActivityMetadata = {
6498
+ /**
6499
+ * Array of hexadecimal strings of the event signatures.
6500
+ */
6501
+ eventSignatures?: Array<string>;
6502
+ keyType: ValidatorActivityKeyType;
6503
+ /**
6504
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
4957
6505
  */
4958
- includeInternalTxs?: boolean;
6506
+ keys: Array<string>;
4959
6507
  /**
4960
- * Whether to include logs in the webhook payload.
6508
+ * Sub-events to monitor
4961
6509
  */
4962
- includeLogs?: boolean;
4963
- };
4964
-
4965
- type ListWebhookAddressesResponse = {
6510
+ subEvents: ValidatorActivitySubEvents;
4966
6511
  /**
4967
- * 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.
6512
+ * Array of node IDs to filter the events
4968
6513
  */
4969
- nextPageToken?: string;
4970
- addresses: Array<string>;
4971
- totalAddresses: number;
4972
- };
4973
-
4974
- declare enum WebhookStatusType {
4975
- ACTIVE = "active",
4976
- INACTIVE = "inactive"
4977
- }
4978
-
4979
- type WebhookResponse = {
4980
- id: string;
4981
- eventType: EventType;
4982
- metadata: AddressActivityMetadata;
6514
+ nodeIds?: Array<string>;
4983
6515
  /**
4984
- * Whether to include traces in the webhook payload.
6516
+ * Array of subnet IDs to filter the events
4985
6517
  */
4986
- includeInternalTxs?: boolean;
6518
+ subnetIds?: Array<string>;
4987
6519
  /**
4988
- * Whether to include logs in the webhook payload.
6520
+ * L1 validator fee balance threshold in nAVAX
4989
6521
  */
4990
- includeLogs?: boolean;
6522
+ l1ValidatorFeeBalanceThreshold?: string;
6523
+ };
6524
+
6525
+ type ValidatorActivityResponse = {
6526
+ id: string;
4991
6527
  url: string;
4992
6528
  chainId: string;
4993
6529
  status: WebhookStatusType;
4994
6530
  createdAt: number;
4995
6531
  name: string;
4996
6532
  description: string;
6533
+ eventType: ValidatorActivityEventType;
6534
+ metadata: ValidatorActivityMetadata;
4997
6535
  };
4998
6536
 
4999
6537
  type ListWebhooksResponse = {
@@ -5001,8 +6539,31 @@ type ListWebhooksResponse = {
5001
6539
  * 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.
5002
6540
  */
5003
6541
  nextPageToken?: string;
5004
- webhooks: Array<WebhookResponse>;
6542
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6543
+ };
6544
+
6545
+ declare enum PrimaryNetworkType {
6546
+ MAINNET = "mainnet",
6547
+ FUJI = "fuji"
6548
+ }
6549
+
6550
+ type PrimaryNetworkAddressActivityRequest = {
6551
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
6552
+ url: string;
6553
+ name?: string;
6554
+ description?: string;
6555
+ network: PrimaryNetworkType;
6556
+ chainId: string;
6557
+ /**
6558
+ * Metadata for platform address activity event
6559
+ */
6560
+ metadata: PrimaryNetworkAddressActivityMetadata;
5005
6561
  };
6562
+ declare namespace PrimaryNetworkAddressActivityRequest {
6563
+ enum eventType {
6564
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6565
+ }
6566
+ }
5006
6567
 
5007
6568
  type SharedSecretsResponse = {
5008
6569
  secret: string;
@@ -5013,10 +6574,30 @@ type UpdateWebhookRequest = {
5013
6574
  description?: string;
5014
6575
  url?: string;
5015
6576
  status?: WebhookStatusType;
6577
+ /**
6578
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6579
+ */
5016
6580
  includeInternalTxs?: boolean;
5017
6581
  includeLogs?: boolean;
5018
6582
  };
5019
6583
 
6584
+ type ValidatorActivityRequest = {
6585
+ eventType: ValidatorActivityRequest.eventType;
6586
+ url: string;
6587
+ name?: string;
6588
+ description?: string;
6589
+ network: PrimaryNetworkType;
6590
+ /**
6591
+ * Metadata for platform validator activity event
6592
+ */
6593
+ metadata: ValidatorActivityMetadata;
6594
+ };
6595
+ declare namespace ValidatorActivityRequest {
6596
+ enum eventType {
6597
+ VALIDATOR_ACTIVITY = "validator_activity"
6598
+ }
6599
+ }
6600
+
5020
6601
  declare enum WebhookStatus {
5021
6602
  ACTIVE = "active",
5022
6603
  INACTIVE = "inactive"
@@ -5028,12 +6609,12 @@ declare class WebhooksService {
5028
6609
  /**
5029
6610
  * Create a webhook
5030
6611
  * Create a new webhook.
5031
- * @returns WebhookResponse Successful response
6612
+ * @returns any Successful response
5032
6613
  * @throws ApiError
5033
6614
  */
5034
6615
  createWebhook({ requestBody, }: {
5035
- requestBody: CreateWebhookRequest;
5036
- }): CancelablePromise<WebhookResponse>;
6616
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6617
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5037
6618
  /**
5038
6619
  * List webhooks
5039
6620
  * Lists webhooks for the user.
@@ -5057,7 +6638,7 @@ declare class WebhooksService {
5057
6638
  /**
5058
6639
  * Get a webhook by ID
5059
6640
  * Retrieves a webhook by ID.
5060
- * @returns WebhookResponse Successful response
6641
+ * @returns any Successful response
5061
6642
  * @throws ApiError
5062
6643
  */
5063
6644
  getWebhook({ id, }: {
@@ -5065,11 +6646,11 @@ declare class WebhooksService {
5065
6646
  * The webhook identifier.
5066
6647
  */
5067
6648
  id: string;
5068
- }): CancelablePromise<WebhookResponse>;
6649
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5069
6650
  /**
5070
6651
  * Deactivate a webhook
5071
6652
  * Deactivates a webhook by ID.
5072
- * @returns WebhookResponse Successful response
6653
+ * @returns any Successful response
5073
6654
  * @throws ApiError
5074
6655
  */
5075
6656
  deactivateWebhook({ id, }: {
@@ -5077,11 +6658,11 @@ declare class WebhooksService {
5077
6658
  * The webhook identifier.
5078
6659
  */
5079
6660
  id: string;
5080
- }): CancelablePromise<WebhookResponse>;
6661
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5081
6662
  /**
5082
6663
  * Update a webhook
5083
6664
  * Updates an existing webhook.
5084
- * @returns WebhookResponse Successful response
6665
+ * @returns any Successful response
5085
6666
  * @throws ApiError
5086
6667
  */
5087
6668
  updateWebhook({ id, requestBody, }: {
@@ -5090,14 +6671,14 @@ declare class WebhooksService {
5090
6671
  */
5091
6672
  id: string;
5092
6673
  requestBody: UpdateWebhookRequest;
5093
- }): CancelablePromise<WebhookResponse>;
6674
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5094
6675
  /**
5095
- * Generate a shared secret
5096
- * Generates a new shared secret.
6676
+ * Generate or rotate a shared secret
6677
+ * Generates a new shared secret or rotate an existing one.
5097
6678
  * @returns SharedSecretsResponse Successful response
5098
6679
  * @throws ApiError
5099
6680
  */
5100
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
6681
+ generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5101
6682
  /**
5102
6683
  * Get a shared secret
5103
6684
  * Get a previously generated shared secret.
@@ -5106,9 +6687,9 @@ declare class WebhooksService {
5106
6687
  */
5107
6688
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5108
6689
  /**
5109
- * Add addresses to webhook
5110
- * Add addresses to webhook.
5111
- * @returns WebhookResponse Successful response
6690
+ * Add addresses to EVM activity webhook
6691
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6692
+ * @returns EVMAddressActivityResponse Successful response
5112
6693
  * @throws ApiError
5113
6694
  */
5114
6695
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5117,11 +6698,11 @@ declare class WebhooksService {
5117
6698
  */
5118
6699
  id: string;
5119
6700
  requestBody: AddressesChangeRequest;
5120
- }): CancelablePromise<WebhookResponse>;
6701
+ }): CancelablePromise<EVMAddressActivityResponse>;
5121
6702
  /**
5122
- * Remove addresses from webhook
5123
- * Remove addresses from webhook.
5124
- * @returns WebhookResponse Successful response
6703
+ * Remove addresses from EVM activity webhook
6704
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6705
+ * @returns EVMAddressActivityResponse Successful response
5125
6706
  * @throws ApiError
5126
6707
  */
5127
6708
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5130,10 +6711,10 @@ declare class WebhooksService {
5130
6711
  */
5131
6712
  id: string;
5132
6713
  requestBody: AddressesChangeRequest;
5133
- }): CancelablePromise<WebhookResponse>;
6714
+ }): CancelablePromise<EVMAddressActivityResponse>;
5134
6715
  /**
5135
- * List adresses by webhook
5136
- * List adresses by webhook.
6716
+ * List adresses by EVM activity webhooks
6717
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5137
6718
  * @returns ListWebhookAddressesResponse Successful response
5138
6719
  * @throws ApiError
5139
6720
  */
@@ -5155,6 +6736,7 @@ declare class WebhooksService {
5155
6736
 
5156
6737
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
5157
6738
  declare class Glacier {
6739
+ readonly avaxSupply: AvaxSupplyService;
5158
6740
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
5159
6741
  readonly default: DefaultService;
5160
6742
  readonly evmBalances: EvmBalancesService;
@@ -5163,7 +6745,9 @@ declare class Glacier {
5163
6745
  readonly evmContracts: EvmContractsService;
5164
6746
  readonly evmTransactions: EvmTransactionsService;
5165
6747
  readonly healthCheck: HealthCheckService;
6748
+ readonly interchainMessaging: InterchainMessagingService;
5166
6749
  readonly nfTs: NfTsService;
6750
+ readonly notifications: NotificationsService;
5167
6751
  readonly operations: OperationsService;
5168
6752
  readonly primaryNetwork: PrimaryNetworkService;
5169
6753
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -5196,6 +6780,17 @@ declare class ApiError extends Error {
5196
6780
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
5197
6781
  }
5198
6782
 
6783
+ type AccessListData = {
6784
+ /**
6785
+ * Access Address
6786
+ */
6787
+ accessAddresses: string;
6788
+ /**
6789
+ * Storage keys
6790
+ */
6791
+ storageKeys: Array<string>;
6792
+ };
6793
+
5199
6794
  type BadGateway = {
5200
6795
  /**
5201
6796
  * The error message describing the reason for the exception
@@ -5230,6 +6825,76 @@ type DataListChainsResponse = {
5230
6825
  chains: Array<ChainInfo>;
5231
6826
  };
5232
6827
 
6828
+ type ERCToken = {
6829
+ /**
6830
+ * Token contract address
6831
+ */
6832
+ address: string;
6833
+ /**
6834
+ * Token name
6835
+ */
6836
+ name: string;
6837
+ /**
6838
+ * Token symbol
6839
+ */
6840
+ symbol: string;
6841
+ /**
6842
+ * Token decimals
6843
+ */
6844
+ decimals: number;
6845
+ /**
6846
+ * Value including decimals
6847
+ */
6848
+ valueWithDecimals: string;
6849
+ };
6850
+
6851
+ type ERCTransfer = {
6852
+ /**
6853
+ * Transaction hash
6854
+ */
6855
+ transactionHash: string;
6856
+ /**
6857
+ * Transfer type
6858
+ */
6859
+ type: string;
6860
+ /**
6861
+ * Sender address
6862
+ */
6863
+ from: string;
6864
+ /**
6865
+ * Recipient address
6866
+ */
6867
+ to: string;
6868
+ /**
6869
+ * Amount transferred
6870
+ */
6871
+ value: string;
6872
+ /**
6873
+ * Token Id
6874
+ */
6875
+ tokenId?: string;
6876
+ /**
6877
+ * Block timestamp
6878
+ */
6879
+ blockTimestamp: number;
6880
+ /**
6881
+ * Log index
6882
+ */
6883
+ logIndex: number;
6884
+ /**
6885
+ * erc20 Token details
6886
+ */
6887
+ erc20Token?: ERCToken;
6888
+ /**
6889
+ * erc721 Token details
6890
+ */
6891
+ erc721Token?: ERCToken;
6892
+ /**
6893
+ * erc1155 Token details
6894
+ */
6895
+ erc1155Token?: ERCToken;
6896
+ };
6897
+
5233
6898
  type Forbidden = {
5234
6899
  /**
5235
6900
  * The error message describing the reason for the exception
@@ -5260,6 +6925,64 @@ type InternalServerError = {
5260
6925
  error: string;
5261
6926
  };
5262
6927
 
6928
+ type Log = {
6929
+ /**
6930
+ * Contract address
6931
+ */
6932
+ address: string;
6933
+ /**
6934
+ * First topic
6935
+ */
6936
+ topic0: string;
6937
+ /**
6938
+ * Second topic (optional)
6939
+ */
6940
+ topic1?: string;
6941
+ /**
6942
+ * Third topic (optional)
6943
+ */
6944
+ topic2?: string;
6945
+ /**
6946
+ * Fourth topic (optional)
6947
+ */
6948
+ topic3?: string;
6949
+ /**
6950
+ * Event data
6951
+ */
6952
+ data: string;
6953
+ /**
6954
+ * Transaction index
6955
+ */
6956
+ transactionIndex: number;
6957
+ /**
6958
+ * Log index
6959
+ */
6960
+ logIndex: number;
6961
+ /**
6962
+ * Indicates if the log was removed
6963
+ */
6964
+ removed: boolean;
6965
+ };
6966
+
6967
+ type NetworkTokenInfo = {
6968
+ /**
6969
+ * Token name
6970
+ */
6971
+ tokenName?: string;
6972
+ /**
6973
+ * Token symbol
6974
+ */
6975
+ tokenSymbol?: string;
6976
+ /**
6977
+ * Token decimals
6978
+ */
6979
+ tokenDecimals?: number;
6980
+ /**
6981
+ * Value including decimals
6982
+ */
6983
+ valueWithDecimals?: string;
6984
+ };
6985
+
5263
6986
  type NextPageToken = {
5264
6987
  /**
5265
6988
  * 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.
@@ -5312,6 +7035,163 @@ type TooManyRequests = {
5312
7035
  error: string;
5313
7036
  };
5314
7037
 
7038
+ type WebhookInternalTransaction = {
7039
+ /**
7040
+ * Sender address
7041
+ */
7042
+ from: string;
7043
+ /**
7044
+ * Recipient address
7045
+ */
7046
+ to: string;
7047
+ /**
7048
+ * Internal transaction type
7049
+ */
7050
+ internalTxType: string;
7051
+ /**
7052
+ * Value transferred
7053
+ */
7054
+ value: string;
7055
+ /**
7056
+ * Gas used
7057
+ */
7058
+ gasUsed: string;
7059
+ /**
7060
+ * Gas limit
7061
+ */
7062
+ gasLimit: string;
7063
+ /**
7064
+ * Transaction hash
7065
+ */
7066
+ transactionHash: string;
7067
+ };
7068
+
7069
+ type Transaction = {
7070
+ /**
7071
+ * Block hash of the transaction
7072
+ */
7073
+ blockHash: string;
7074
+ /**
7075
+ * Block number of the transaction
7076
+ */
7077
+ blockNumber: string;
7078
+ /**
7079
+ * Sender address
7080
+ */
7081
+ from: string;
7082
+ /**
7083
+ * Gas limit for the transaction
7084
+ */
7085
+ gas: string;
7086
+ /**
7087
+ * Gas price used
7088
+ */
7089
+ gasPrice: string;
7090
+ /**
7091
+ * Maximum fee per gas
7092
+ */
7093
+ maxFeePerGas: string;
7094
+ /**
7095
+ * Maximum priority fee per gas
7096
+ */
7097
+ maxPriorityFeePerGas: string;
7098
+ /**
7099
+ * Transaction hash
7100
+ */
7101
+ txHash: string;
7102
+ /**
7103
+ * Transaction status
7104
+ */
7105
+ txStatus: string;
7106
+ /**
7107
+ * Input data
7108
+ */
7109
+ input: string;
7110
+ /**
7111
+ * Nonce value
7112
+ */
7113
+ nonce: string;
7114
+ /**
7115
+ * Recipient address
7116
+ */
7117
+ to: string;
7118
+ /**
7119
+ * Transaction index
7120
+ */
7121
+ transactionIndex: number;
7122
+ /**
7123
+ * Value transferred in the transaction
7124
+ */
7125
+ value: string;
7126
+ /**
7127
+ * Transaction type
7128
+ */
7129
+ type: number;
7130
+ /**
7131
+ * Chain ID of the network
7132
+ */
7133
+ chainId: string;
7134
+ /**
7135
+ * Cumulative gas used
7136
+ */
7137
+ receiptCumulativeGasUsed: string;
7138
+ /**
7139
+ * Gas used
7140
+ */
7141
+ receiptGasUsed: string;
7142
+ /**
7143
+ * Effective gas price
7144
+ */
7145
+ receiptEffectiveGasPrice: string;
7146
+ /**
7147
+ * Receipt root
7148
+ */
7149
+ receiptRoot: string;
7150
+ /**
7151
+ * Block timestamp
7152
+ */
7153
+ blockTimestamp: number;
7154
+ /**
7155
+ * Contract address (optional)
7156
+ */
7157
+ contractAddress?: string;
7158
+ /**
7159
+ * ERC20 transfers
7160
+ */
7161
+ erc20Transfers: Array<ERCTransfer>;
7162
+ /**
7163
+ * ERC721 transfers
7164
+ */
7165
+ erc721Transfers: Array<ERCTransfer>;
7166
+ /**
7167
+ * ERC1155 transfers
7168
+ */
7169
+ erc1155Transfers: Array<ERCTransfer>;
7170
+ /**
7171
+ * Internal transactions (optional)
7172
+ */
7173
+ internalTransactions?: Array<WebhookInternalTransaction>;
7174
+ /**
7175
+ * Access list (optional)
7176
+ */
7177
+ accessList?: Array<AccessListData>;
7178
+ /**
7179
+ * Network token info (optional)
7180
+ */
7181
+ networkToken?: NetworkTokenInfo;
7182
+ };
7183
+
7184
+ type TransactionEvent = {
7185
+ /**
7186
+ * Transaction details
7187
+ */
7188
+ transaction: Transaction;
7189
+ /**
7190
+ * Array of log events
7191
+ */
7192
+ logs?: Array<Log>;
7193
+ };
7194
+
5315
7195
  type Unauthorized = {
5316
7196
  /**
5317
7197
  * The error message describing the reason for the exception
@@ -5327,4 +7207,43 @@ type Unauthorized = {
5327
7207
  error: string;
5328
7208
  };
5329
7209
 
5330
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsResponseDTO, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetValidatorManagerDetails, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
7210
+ type WebhookAddressActivityResponse = {
7211
+ /**
7212
+ * Webhook ID
7213
+ */
7214
+ webhookId: string;
7215
+ /**
7216
+ * Event type
7217
+ */
7218
+ eventType: WebhookAddressActivityResponse.eventType;
7219
+ /**
7220
+ * Message ID
7221
+ */
7222
+ messageId: string;
7223
+ /**
7224
+ * Event details
7225
+ */
7226
+ event: TransactionEvent;
7227
+ };
7228
+ declare namespace WebhookAddressActivityResponse {
7229
+ /**
7230
+ * Event type
7231
+ */
7232
+ enum eventType {
7233
+ ADDRESS_ACTIVITY = "address_activity"
7234
+ }
7235
+ }
7236
+
7237
+ declare class FetchHttpRequest extends BaseHttpRequest {
7238
+ constructor(config: OpenAPIConfig);
7239
+ /**
7240
+ * Request method
7241
+ * @param options The request options from the service
7242
+ * @returns CancelablePromise<T>
7243
+ * @throws ApiError
7244
+ */
7245
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
7246
+ }
7247
+
7248
+ 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 };
7249
+ 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 };