@avalabs/glacier-sdk 3.1.0-canary.7c2cb75.0 → 3.1.0-canary.7d0a6cf.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 (308) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +2299 -409
  3. package/esm/generated/Glacier.d.ts +6 -2
  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 +1 -1
  61. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  62. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  63. package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
  64. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  65. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  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 +1 -1
  70. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  71. package/esm/generated/models/EvmBlock.d.ts +5 -1
  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 +5 -1
  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 +5 -1
  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 -1
  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 +1 -1
  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 +8 -0
  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 +5 -1
  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 +39 -8
  165. package/esm/generated/models/PChainTransactionType.d.ts +5 -0
  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 -1
  188. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +3 -3
  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 -0
  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 +122 -23
  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 +72 -6
  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 +55 -4
  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 +71 -10
  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/PrimaryNetwork.d.ts +0 -7
  302. package/esm/generated/models/PrimaryNetwork.js +0 -1
  303. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  304. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  305. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  306. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  307. package/esm/generated/services/RpcService.d.ts +0 -25
  308. package/esm/generated/services/RpcService.js +0 -1
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
  */
@@ -333,7 +459,7 @@ declare class DataApiUsageMetricsService {
333
459
  */
334
460
  startTimestamp?: number;
335
461
  /**
336
- * 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. `endTimestamp` must be no earlier than 0:00 UTC of the day after `startTimestamp`.
462
+ * 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.
337
463
  */
338
464
  endTimestamp?: number;
339
465
  /**
@@ -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
  */
@@ -381,17 +507,13 @@ declare class DataApiUsageMetricsService {
381
507
  */
382
508
  startTimestamp?: number;
383
509
  /**
384
- * 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. `endTimestamp` must be no earlier than 0:00 UTC of the day after `startTimestamp`.
510
+ * 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.
385
511
  */
386
512
  endTimestamp?: number;
387
513
  /**
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,35 +541,75 @@ 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
  */
430
557
  startTimestamp?: number;
431
558
  /**
432
- * 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. `endTimestamp` must be no earlier than 0:00 UTC of the day after `startTimestamp`.
559
+ * 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.
433
560
  */
434
561
  endTimestamp?: number;
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,6 +1142,10 @@ 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
  */
@@ -944,6 +1190,10 @@ type GetEvmBlockResponse = {
944
1190
  };
945
1191
 
946
1192
  type EvmBlock = {
1193
+ /**
1194
+ * The EVM chain ID on which the block was created.
1195
+ */
1196
+ chainId: string;
947
1197
  /**
948
1198
  * The block number on the chain.
949
1199
  */
@@ -998,6 +1248,26 @@ type ListEvmBlocksResponse = {
998
1248
  declare class EvmBlocksService {
999
1249
  readonly httpRequest: BaseHttpRequest;
1000
1250
  constructor(httpRequest: BaseHttpRequest);
1251
+ /**
1252
+ * List latest blocks across all supported EVM chains
1253
+ * Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
1254
+ * @returns ListEvmBlocksResponse Successful response
1255
+ * @throws ApiError
1256
+ */
1257
+ listLatestBlocksAllChains({ pageToken, pageSize, network, }: {
1258
+ /**
1259
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1260
+ */
1261
+ pageToken?: string;
1262
+ /**
1263
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1264
+ */
1265
+ pageSize?: number;
1266
+ /**
1267
+ * Either mainnet or testnet/fuji.
1268
+ */
1269
+ network?: Network;
1270
+ }): CancelablePromise<ListEvmBlocksResponse>;
1001
1271
  /**
1002
1272
  * List latest blocks
1003
1273
  * Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
@@ -1120,60 +1390,232 @@ type ChainInfo = {
1120
1390
  enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
1121
1391
  };
1122
1392
 
1393
+ type ListAddressChainsResponse = {
1394
+ indexedChains?: Array<ChainInfo>;
1395
+ unindexedChains?: Array<string>;
1396
+ };
1397
+
1123
1398
  type ListChainsResponse = {
1124
1399
  chains: Array<ChainInfo>;
1125
1400
  };
1126
1401
 
1127
- declare enum Network {
1128
- MAINNET = "mainnet",
1129
- FUJI = "fuji",
1130
- TESTNET = "testnet",
1131
- DEVNET = "devnet"
1402
+ /**
1403
+ * 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.
1404
+ */
1405
+ declare enum TransactionMethodType {
1406
+ NATIVE_TRANSFER = "NATIVE_TRANSFER",
1407
+ CONTRACT_CALL = "CONTRACT_CALL",
1408
+ CONTRACT_CREATION = "CONTRACT_CREATION"
1132
1409
  }
1133
1410
 
1134
- declare class EvmChainsService {
1135
- readonly httpRequest: BaseHttpRequest;
1136
- constructor(httpRequest: BaseHttpRequest);
1411
+ type Method = {
1412
+ callType: TransactionMethodType;
1137
1413
  /**
1138
- * List chains
1139
- * Lists the supported EVM-compatible chains. Filterable by network.
1140
- * @returns ListChainsResponse Successful response
1141
- * @throws ApiError
1414
+ * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1142
1415
  */
1143
- supportedChains({ network, feature, }: {
1144
- /**
1145
- * Either mainnet or testnet/fuji.
1146
- */
1147
- network?: Network;
1148
- /**
1149
- * Filter by feature.
1150
- */
1151
- feature?: ApiFeature;
1152
- }): CancelablePromise<ListChainsResponse>;
1416
+ methodHash: string;
1153
1417
  /**
1154
- * Get chain information
1155
- * Gets chain information for the EVM-compatible chain if supported by the api.
1156
- * @returns GetChainResponse Successful response
1157
- * @throws ApiError
1418
+ * 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'.
1158
1419
  */
1159
- getChainInfo({ chainId, }: {
1160
- /**
1161
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1162
- */
1163
- chainId: string;
1164
- }): CancelablePromise<GetChainResponse>;
1165
- /**
1166
- * Get chains for address
1167
- * Gets the list of chains an address has interacted with.
1168
- * @returns ListChainsResponse Successful response
1169
- * @throws ApiError
1420
+ methodName?: string;
1421
+ };
1422
+
1423
+ type RichAddress = {
1424
+ /**
1425
+ * The contract name.
1170
1426
  */
1171
- getAddressChains({ address, }: {
1427
+ name?: string;
1428
+ /**
1429
+ * The contract symbol.
1430
+ */
1431
+ symbol?: string;
1432
+ /**
1433
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1434
+ */
1435
+ decimals?: number;
1436
+ /**
1437
+ * The logo uri for the address.
1438
+ */
1439
+ logoUri?: string;
1440
+ /**
1441
+ * A wallet or contract address in mixed-case checksum encoding.
1442
+ */
1443
+ address: string;
1444
+ };
1445
+
1446
+ type NativeTransaction = {
1447
+ /**
1448
+ * The block number on the chain.
1449
+ */
1450
+ blockNumber: string;
1451
+ /**
1452
+ * The block finality timestamp.
1453
+ */
1454
+ blockTimestamp: number;
1455
+ /**
1456
+ * The block hash identifier.
1457
+ */
1458
+ blockHash: string;
1459
+ /**
1460
+ * The EVM chain ID on which the transaction occured.
1461
+ */
1462
+ chainId: string;
1463
+ /**
1464
+ * The index at which the transaction occured in the block (0-indexed).
1465
+ */
1466
+ blockIndex: number;
1467
+ /**
1468
+ * The transaction hash identifier.
1469
+ */
1470
+ txHash: string;
1471
+ /**
1472
+ * The transaction status, which is either 0 (failed) or 1 (successful).
1473
+ */
1474
+ txStatus: string;
1475
+ /**
1476
+ * The transaction type.
1477
+ */
1478
+ txType: number;
1479
+ /**
1480
+ * The gas limit set for the transaction.
1481
+ */
1482
+ gasLimit: string;
1483
+ /**
1484
+ * The amount of gas used.
1485
+ */
1486
+ gasUsed: string;
1487
+ /**
1488
+ * The gas price denominated by the number of decimals of the native token.
1489
+ */
1490
+ gasPrice: string;
1491
+ /**
1492
+ * The nonce used by the sender of the transaction.
1493
+ */
1494
+ nonce: string;
1495
+ from: RichAddress;
1496
+ to: RichAddress;
1497
+ method?: Method;
1498
+ value: string;
1499
+ };
1500
+
1501
+ type ListNativeTransactionsResponse = {
1502
+ /**
1503
+ * 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.
1504
+ */
1505
+ nextPageToken?: string;
1506
+ transactions: Array<NativeTransaction>;
1507
+ };
1508
+
1509
+ declare enum TransactionStatus {
1510
+ FAILED = "failed",
1511
+ SUCCESS = "success"
1512
+ }
1513
+
1514
+ declare class EvmChainsService {
1515
+ readonly httpRequest: BaseHttpRequest;
1516
+ constructor(httpRequest: BaseHttpRequest);
1517
+ /**
1518
+ * List all chains associated with a given address
1519
+ * 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.
1520
+ * @returns ListAddressChainsResponse Successful response
1521
+ * @throws ApiError
1522
+ */
1523
+ listAddressChains({ address, }: {
1172
1524
  /**
1173
1525
  * A wallet address.
1174
1526
  */
1175
1527
  address: string;
1528
+ }): CancelablePromise<ListAddressChainsResponse>;
1529
+ /**
1530
+ * List chains
1531
+ * Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
1532
+ * @returns ListChainsResponse Successful response
1533
+ * @throws ApiError
1534
+ */
1535
+ supportedChains({ network, feature, }: {
1536
+ /**
1537
+ * Either mainnet or testnet/fuji.
1538
+ */
1539
+ network?: Network;
1540
+ /**
1541
+ * Filter by feature.
1542
+ */
1543
+ feature?: ApiFeature;
1176
1544
  }): CancelablePromise<ListChainsResponse>;
1545
+ /**
1546
+ * Get chain information
1547
+ * Gets chain information for the EVM-compatible chain if supported by AvaCloud.
1548
+ * @returns GetChainResponse Successful response
1549
+ * @throws ApiError
1550
+ */
1551
+ getChainInfo({ chainId, }: {
1552
+ /**
1553
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1554
+ */
1555
+ chainId: string;
1556
+ }): CancelablePromise<GetChainResponse>;
1557
+ /**
1558
+ * @deprecated
1559
+ * **[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.
1560
+ *
1561
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/address/:address/chains endpoint instead** .
1562
+ * @returns ListAddressChainsResponse Successful response
1563
+ * @throws ApiError
1564
+ */
1565
+ getAddressChains({ address, }: {
1566
+ /**
1567
+ * A wallet address.
1568
+ */
1569
+ address: string;
1570
+ }): CancelablePromise<ListAddressChainsResponse>;
1571
+ /**
1572
+ * @deprecated
1573
+ * **[Deprecated]** Lists the latest transactions for all supported EVM chains. Filterable by status.
1574
+ *
1575
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/transactions endpoint instead** .
1576
+ * @returns ListNativeTransactionsResponse Successful response
1577
+ * @throws ApiError
1578
+ */
1579
+ listAllLatestTransactions({ pageToken, pageSize, network, status, }: {
1580
+ /**
1581
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1582
+ */
1583
+ pageToken?: string;
1584
+ /**
1585
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1586
+ */
1587
+ pageSize?: number;
1588
+ /**
1589
+ * Either mainnet or testnet/fuji.
1590
+ */
1591
+ network?: Network;
1592
+ /**
1593
+ * A status filter for listed transactions.
1594
+ */
1595
+ status?: TransactionStatus;
1596
+ }): CancelablePromise<ListNativeTransactionsResponse>;
1597
+ /**
1598
+ * @deprecated
1599
+ * **[Deprecated]** Lists the latest blocks for all supported EVM chains. Filterable by network.
1600
+ *
1601
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/blocks endpoint instead** .
1602
+ * @returns ListEvmBlocksResponse Successful response
1603
+ * @throws ApiError
1604
+ */
1605
+ listAllLatestBlocks({ pageToken, pageSize, network, }: {
1606
+ /**
1607
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1608
+ */
1609
+ pageToken?: string;
1610
+ /**
1611
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1612
+ */
1613
+ pageSize?: number;
1614
+ /**
1615
+ * Either mainnet or testnet/fuji.
1616
+ */
1617
+ network?: Network;
1618
+ }): CancelablePromise<ListEvmBlocksResponse>;
1177
1619
  }
1178
1620
 
1179
1621
  type ImageAsset = {
@@ -1345,7 +1787,7 @@ type Erc1155Contract = {
1345
1787
  * A wallet or contract address in mixed-case checksum encoding.
1346
1788
  */
1347
1789
  address: string;
1348
- deploymentDetails: ContractDeploymentDetails;
1790
+ deploymentDetails?: ContractDeploymentDetails;
1349
1791
  ercType: Erc1155Contract.ercType;
1350
1792
  /**
1351
1793
  * The contract symbol.
@@ -1376,7 +1818,7 @@ type Erc20Contract = {
1376
1818
  * A wallet or contract address in mixed-case checksum encoding.
1377
1819
  */
1378
1820
  address: string;
1379
- deploymentDetails: ContractDeploymentDetails;
1821
+ deploymentDetails?: ContractDeploymentDetails;
1380
1822
  ercType: Erc20Contract.ercType;
1381
1823
  /**
1382
1824
  * The contract symbol.
@@ -1411,7 +1853,7 @@ type Erc721Contract = {
1411
1853
  * A wallet or contract address in mixed-case checksum encoding.
1412
1854
  */
1413
1855
  address: string;
1414
- deploymentDetails: ContractDeploymentDetails;
1856
+ deploymentDetails?: ContractDeploymentDetails;
1415
1857
  ercType: Erc721Contract.ercType;
1416
1858
  /**
1417
1859
  * The contract symbol.
@@ -1441,7 +1883,7 @@ type UnknownContract = {
1441
1883
  * A wallet or contract address in mixed-case checksum encoding.
1442
1884
  */
1443
1885
  address: string;
1444
- deploymentDetails: ContractDeploymentDetails;
1886
+ deploymentDetails?: ContractDeploymentDetails;
1445
1887
  ercType: UnknownContract.ercType;
1446
1888
  };
1447
1889
  declare namespace UnknownContract {
@@ -1508,29 +1950,6 @@ declare namespace Erc1155Token {
1508
1950
  }
1509
1951
  }
1510
1952
 
1511
- type RichAddress = {
1512
- /**
1513
- * The contract name.
1514
- */
1515
- name?: string;
1516
- /**
1517
- * The contract symbol.
1518
- */
1519
- symbol?: string;
1520
- /**
1521
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1522
- */
1523
- decimals?: number;
1524
- /**
1525
- * The logo uri for the address.
1526
- */
1527
- logoUri?: string;
1528
- /**
1529
- * A wallet or contract address in mixed-case checksum encoding.
1530
- */
1531
- address: string;
1532
- };
1533
-
1534
1953
  type Erc1155TransferDetails = {
1535
1954
  from: RichAddress;
1536
1955
  to: RichAddress;
@@ -1615,27 +2034,6 @@ type Erc721TransferDetails = {
1615
2034
  erc721Token: Erc721Token;
1616
2035
  };
1617
2036
 
1618
- /**
1619
- * 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.
1620
- */
1621
- declare enum TransactionMethodType {
1622
- NATIVE_TRANSFER = "NATIVE_TRANSFER",
1623
- CONTRACT_CALL = "CONTRACT_CALL",
1624
- CONTRACT_CREATION = "CONTRACT_CREATION"
1625
- }
1626
-
1627
- type Method = {
1628
- callType: TransactionMethodType;
1629
- /**
1630
- * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1631
- */
1632
- methodHash: string;
1633
- /**
1634
- * 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'.
1635
- */
1636
- methodName?: string;
1637
- };
1638
-
1639
2037
  type FullNativeTransactionDetails = {
1640
2038
  /**
1641
2039
  * The block number on the chain.
@@ -1649,6 +2047,10 @@ type FullNativeTransactionDetails = {
1649
2047
  * The block hash identifier.
1650
2048
  */
1651
2049
  blockHash: string;
2050
+ /**
2051
+ * The EVM chain ID on which the transaction occured.
2052
+ */
2053
+ chainId: string;
1652
2054
  /**
1653
2055
  * The index at which the transaction occured in the block (0-indexed).
1654
2056
  */
@@ -1699,6 +2101,7 @@ declare enum InternalTransactionOpCall {
1699
2101
  CALL = "CALL",
1700
2102
  CREATE = "CREATE",
1701
2103
  CREATE2 = "CREATE2",
2104
+ CREATE3 = "CREATE3",
1702
2105
  CALLCODE = "CALLCODE",
1703
2106
  DELEGATECALL = "DELEGATECALL",
1704
2107
  STATICCALL = "STATICCALL"
@@ -1740,11 +2143,11 @@ type TeleporterMessageInfo = {
1740
2143
  /**
1741
2144
  * chain id of the source chain. valid only for destination transactions
1742
2145
  */
1743
- sourceChainId?: Record<string, any>;
2146
+ sourceChainId?: string;
1744
2147
  /**
1745
2148
  * chain id of the destination chain. valid only for source transactions
1746
2149
  */
1747
- destinationChainId?: Record<string, any>;
2150
+ destinationChainId?: string;
1748
2151
  };
1749
2152
 
1750
2153
  type GetTransactionResponse = {
@@ -1761,7 +2164,7 @@ type GetTransactionResponse = {
1761
2164
  */
1762
2165
  erc1155Transfers?: Array<Erc1155TransferDetails>;
1763
2166
  /**
1764
- * 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.
2167
+ * 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.
1765
2168
  */
1766
2169
  internalTransactions?: Array<InternalTransactionDetails>;
1767
2170
  networkTokenDetails: NetworkTokenDetails;
@@ -1912,97 +2315,38 @@ type ListInternalTransactionsResponse = {
1912
2315
  transactions: Array<InternalTransaction>;
1913
2316
  };
1914
2317
 
1915
- type NativeTransaction = {
2318
+ type TransactionDetails = {
1916
2319
  /**
1917
- * The block number on the chain.
2320
+ * The native (top-level) transaction details.
1918
2321
  */
1919
- blockNumber: string;
2322
+ nativeTransaction: NativeTransaction;
1920
2323
  /**
1921
- * The block finality timestamp.
2324
+ * The list of ERC-20 transfers.
1922
2325
  */
1923
- blockTimestamp: number;
2326
+ erc20Transfers?: Array<Erc20TransferDetails>;
1924
2327
  /**
1925
- * The block hash identifier.
2328
+ * The list of ERC-721 transfers.
1926
2329
  */
1927
- blockHash: string;
2330
+ erc721Transfers?: Array<Erc721TransferDetails>;
1928
2331
  /**
1929
- * The index at which the transaction occured in the block (0-indexed).
2332
+ * The list of ERC-1155 transfers.
1930
2333
  */
1931
- blockIndex: number;
2334
+ erc1155Transfers?: Array<Erc1155TransferDetails>;
1932
2335
  /**
1933
- * The transaction hash identifier.
2336
+ * 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.
1934
2337
  */
1935
- txHash: string;
2338
+ internalTransactions?: Array<InternalTransactionDetails>;
2339
+ };
2340
+
2341
+ type ListTransactionDetailsResponse = {
1936
2342
  /**
1937
- * The transaction status, which is either 0 (failed) or 1 (successful).
2343
+ * 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.
1938
2344
  */
1939
- txStatus: string;
1940
- /**
1941
- * The transaction type.
1942
- */
1943
- txType: number;
1944
- /**
1945
- * The gas limit set for the transaction.
1946
- */
1947
- gasLimit: string;
1948
- /**
1949
- * The amount of gas used.
1950
- */
1951
- gasUsed: string;
1952
- /**
1953
- * The gas price denominated by the number of decimals of the native token.
1954
- */
1955
- gasPrice: string;
1956
- /**
1957
- * The nonce used by the sender of the transaction.
1958
- */
1959
- nonce: string;
1960
- from: RichAddress;
1961
- to: RichAddress;
1962
- method?: Method;
1963
- value: string;
1964
- };
1965
-
1966
- type ListNativeTransactionsResponse = {
1967
- /**
1968
- * 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.
1969
- */
1970
- nextPageToken?: string;
1971
- transactions: Array<NativeTransaction>;
1972
- };
1973
-
1974
- type TransactionDetails = {
1975
- /**
1976
- * The native (top-level) transaction details.
1977
- */
1978
- nativeTransaction: NativeTransaction;
1979
- /**
1980
- * The list of ERC-20 transfers.
1981
- */
1982
- erc20Transfers?: Array<Erc20TransferDetails>;
1983
- /**
1984
- * The list of ERC-721 transfers.
1985
- */
1986
- erc721Transfers?: Array<Erc721TransferDetails>;
1987
- /**
1988
- * The list of ERC-1155 transfers.
1989
- */
1990
- erc1155Transfers?: Array<Erc1155TransferDetails>;
1991
- /**
1992
- * 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.
1993
- */
1994
- internalTransactions?: Array<InternalTransactionDetails>;
1995
- };
1996
-
1997
- type ListTransactionDetailsResponse = {
1998
- /**
1999
- * 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.
2000
- */
2001
- nextPageToken?: string;
2002
- transactions: Array<TransactionDetails>;
2003
- };
2004
-
2005
- type ListTransfersResponse = {
2345
+ nextPageToken?: string;
2346
+ transactions: Array<TransactionDetails>;
2347
+ };
2348
+
2349
+ type ListTransfersResponse = {
2006
2350
  /**
2007
2351
  * 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.
2008
2352
  */
@@ -2015,14 +2359,33 @@ declare enum SortOrder {
2015
2359
  DESC = "desc"
2016
2360
  }
2017
2361
 
2018
- declare enum TransactionStatus {
2019
- FAILED = "failed",
2020
- SUCCESS = "success"
2021
- }
2022
-
2023
2362
  declare class EvmTransactionsService {
2024
2363
  readonly httpRequest: BaseHttpRequest;
2025
2364
  constructor(httpRequest: BaseHttpRequest);
2365
+ /**
2366
+ * List the latest transactions across all supported EVM chains
2367
+ * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
2368
+ * @returns ListNativeTransactionsResponse Successful response
2369
+ * @throws ApiError
2370
+ */
2371
+ listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
2372
+ /**
2373
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2374
+ */
2375
+ pageToken?: string;
2376
+ /**
2377
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2378
+ */
2379
+ pageSize?: number;
2380
+ /**
2381
+ * Either mainnet or testnet/fuji.
2382
+ */
2383
+ network?: Network;
2384
+ /**
2385
+ * A status filter for listed transactions.
2386
+ */
2387
+ status?: TransactionStatus;
2388
+ }): CancelablePromise<ListNativeTransactionsResponse>;
2026
2389
  /**
2027
2390
  * Get deployment transaction
2028
2391
  * If the address is a smart contract, returns the transaction in which it was deployed.
@@ -2269,7 +2632,7 @@ declare class EvmTransactionsService {
2269
2632
  * List internal transactions
2270
2633
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2271
2634
  *
2272
- * 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.
2635
+ * 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.
2273
2636
  * @returns ListInternalTransactionsResponse Successful response
2274
2637
  * @throws ApiError
2275
2638
  */
@@ -2321,7 +2684,7 @@ declare class EvmTransactionsService {
2321
2684
  * @returns ListNativeTransactionsResponse Successful response
2322
2685
  * @throws ApiError
2323
2686
  */
2324
- getTransactionsForBlock({ chainId, blockId, }: {
2687
+ getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
2325
2688
  /**
2326
2689
  * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2327
2690
  */
@@ -2330,6 +2693,14 @@ declare class EvmTransactionsService {
2330
2693
  * A block identifier which is either a block number or the block hash.
2331
2694
  */
2332
2695
  blockId: string;
2696
+ /**
2697
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2698
+ */
2699
+ pageToken?: string;
2700
+ /**
2701
+ * The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
2702
+ */
2703
+ pageSize?: number;
2333
2704
  }): CancelablePromise<ListNativeTransactionsResponse>;
2334
2705
  /**
2335
2706
  * List latest transactions
@@ -2357,68 +2728,211 @@ declare class EvmTransactionsService {
2357
2728
  }): CancelablePromise<ListNativeTransactionsResponse>;
2358
2729
  }
2359
2730
 
2731
+ type HealthIndicatorResultDto = {
2732
+ /**
2733
+ * Status of the health indicator.
2734
+ */
2735
+ status?: HealthIndicatorResultDto.status;
2736
+ };
2737
+ declare namespace HealthIndicatorResultDto {
2738
+ /**
2739
+ * Status of the health indicator.
2740
+ */
2741
+ enum status {
2742
+ UP = "up",
2743
+ DOWN = "down"
2744
+ }
2745
+ }
2746
+
2747
+ type HealthCheckResultDto = {
2748
+ status?: HealthCheckResultDto.status;
2749
+ info?: any | null;
2750
+ error?: any | null;
2751
+ details?: Record<string, HealthIndicatorResultDto>;
2752
+ };
2753
+ declare namespace HealthCheckResultDto {
2754
+ enum status {
2755
+ ERROR = "error",
2756
+ OK = "ok",
2757
+ SHUTTING_DOWN = "shutting_down"
2758
+ }
2759
+ }
2760
+
2360
2761
  declare class HealthCheckService {
2361
2762
  readonly httpRequest: BaseHttpRequest;
2362
2763
  constructor(httpRequest: BaseHttpRequest);
2363
2764
  /**
2364
2765
  * Get the health of the service
2365
- * @returns any The Health Check is successful
2766
+ * Check the health of the service. This checks the read and write health of the database and cache.
2767
+ * @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
2366
2768
  * @throws ApiError
2367
2769
  */
2368
- dataHealthCheck(): CancelablePromise<{
2369
- status?: string;
2370
- info?: Record<string, Record<string, string>> | null;
2371
- error?: Record<string, Record<string, string>> | null;
2372
- details?: Record<string, Record<string, string>>;
2373
- }>;
2770
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2771
+ /**
2772
+ * Get the liveliness of the service (reads only)
2773
+ * Check the liveliness of the service (reads only).
2774
+ * @returns HealthCheckResultDto The liveliness of the service (reads only)
2775
+ * @throws ApiError
2776
+ */
2777
+ liveCheck(): CancelablePromise<HealthCheckResultDto>;
2374
2778
  }
2375
2779
 
2376
- type ListNftTokens = {
2780
+ type IcmDestinationTransaction = {
2781
+ txHash: string;
2782
+ timestamp: number;
2783
+ gasSpent: string;
2784
+ rewardRedeemer: string;
2785
+ delivererAddress: string;
2786
+ };
2787
+
2788
+ type IcmReceipt = {
2789
+ receivedMessageNonce: string;
2790
+ relayerRewardAddress: string;
2791
+ };
2792
+
2793
+ type IcmRewardDetails = {
2794
+ /**
2795
+ * A wallet or contract address in mixed-case checksum encoding.
2796
+ */
2797
+ address: string;
2798
+ /**
2799
+ * The contract name.
2800
+ */
2801
+ name: string;
2802
+ /**
2803
+ * The contract symbol.
2804
+ */
2805
+ symbol: string;
2806
+ /**
2807
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
2808
+ */
2809
+ decimals: number;
2810
+ /**
2811
+ * The logo uri for the address.
2812
+ */
2813
+ logoUri?: string;
2814
+ ercType: IcmRewardDetails.ercType;
2815
+ /**
2816
+ * The token price, if available.
2817
+ */
2818
+ price?: Money;
2819
+ value: string;
2820
+ };
2821
+ declare namespace IcmRewardDetails {
2822
+ enum ercType {
2823
+ ERC_20 = "ERC-20"
2824
+ }
2825
+ }
2826
+
2827
+ type IcmSourceTransaction = {
2828
+ txHash: string;
2829
+ timestamp: number;
2830
+ gasSpent: string;
2831
+ };
2832
+
2833
+ type DeliveredIcmMessage = {
2834
+ messageId: string;
2835
+ icmContractAddress: string;
2836
+ sourceBlockchainId: string;
2837
+ destinationBlockchainId: string;
2838
+ sourceEvmChainId: string;
2839
+ destinationEvmChainId: string;
2840
+ messageNonce: string;
2841
+ from: string;
2842
+ to: string;
2843
+ data?: string;
2844
+ messageExecuted: boolean;
2845
+ receipts: Array<IcmReceipt>;
2846
+ receiptDelivered: boolean;
2847
+ rewardDetails: IcmRewardDetails;
2848
+ sourceTransaction: IcmSourceTransaction;
2849
+ destinationTransaction: IcmDestinationTransaction;
2850
+ status: DeliveredIcmMessage.status;
2851
+ };
2852
+ declare namespace DeliveredIcmMessage {
2853
+ enum status {
2854
+ DELIVERED = "delivered"
2855
+ }
2856
+ }
2857
+
2858
+ type DeliveredSourceNotIndexedIcmMessage = {
2859
+ messageId: string;
2860
+ icmContractAddress: string;
2861
+ sourceBlockchainId: string;
2862
+ destinationBlockchainId: string;
2863
+ sourceEvmChainId: string;
2864
+ destinationEvmChainId: string;
2865
+ messageNonce: string;
2866
+ from: string;
2867
+ to: string;
2868
+ data?: string;
2869
+ messageExecuted: boolean;
2870
+ receipts: Array<IcmReceipt>;
2871
+ receiptDelivered: boolean;
2872
+ rewardDetails: IcmRewardDetails;
2873
+ destinationTransaction: IcmDestinationTransaction;
2874
+ status: DeliveredSourceNotIndexedIcmMessage.status;
2875
+ };
2876
+ declare namespace DeliveredSourceNotIndexedIcmMessage {
2877
+ enum status {
2878
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
2879
+ }
2880
+ }
2881
+
2882
+ type PendingIcmMessage = {
2883
+ messageId: string;
2884
+ icmContractAddress: string;
2885
+ sourceBlockchainId: string;
2886
+ destinationBlockchainId: string;
2887
+ sourceEvmChainId: string;
2888
+ destinationEvmChainId: string;
2889
+ messageNonce: string;
2890
+ from: string;
2891
+ to: string;
2892
+ data?: string;
2893
+ messageExecuted: boolean;
2894
+ receipts: Array<IcmReceipt>;
2895
+ receiptDelivered: boolean;
2896
+ rewardDetails: IcmRewardDetails;
2897
+ sourceTransaction: IcmSourceTransaction;
2898
+ status: PendingIcmMessage.status;
2899
+ };
2900
+ declare namespace PendingIcmMessage {
2901
+ enum status {
2902
+ PENDING = "pending"
2903
+ }
2904
+ }
2905
+
2906
+ type ListIcmMessagesResponse = {
2377
2907
  /**
2378
2908
  * 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.
2379
2909
  */
2380
2910
  nextPageToken?: string;
2381
- tokens: Array<(Erc721Token | Erc1155Token)>;
2911
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2382
2912
  };
2383
2913
 
2384
- declare class NfTsService {
2914
+ declare class InterchainMessagingService {
2385
2915
  readonly httpRequest: BaseHttpRequest;
2386
2916
  constructor(httpRequest: BaseHttpRequest);
2387
2917
  /**
2388
- * Reindex NFT metadata
2389
- * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2918
+ * Get an ICM message
2919
+ * Gets an ICM message by teleporter message ID.
2390
2920
  * @returns any Successful response
2391
2921
  * @throws ApiError
2392
2922
  */
2393
- reindexNft({ chainId, address, tokenId, }: {
2394
- /**
2395
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2396
- */
2397
- chainId: string;
2398
- /**
2399
- * Contract address on the relevant chain.
2400
- */
2401
- address: string;
2923
+ getIcmMessage({ messageId, }: {
2402
2924
  /**
2403
- * TokenId on the contract
2925
+ * The teleporter message ID of the ICM message.
2404
2926
  */
2405
- tokenId: string;
2406
- }): CancelablePromise<any>;
2927
+ messageId: string;
2928
+ }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2407
2929
  /**
2408
- * List tokens
2409
- * Lists tokens for an NFT contract.
2410
- * @returns ListNftTokens Successful response
2930
+ * List ICM messages
2931
+ * Lists ICM messages. Ordered by timestamp in descending order.
2932
+ * @returns ListIcmMessagesResponse Successful response
2411
2933
  * @throws ApiError
2412
2934
  */
2413
- listTokens({ chainId, address, pageToken, pageSize, }: {
2414
- /**
2415
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2416
- */
2417
- chainId: string;
2418
- /**
2419
- * Contract address on the relevant chain.
2420
- */
2421
- address: string;
2935
+ listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
2422
2936
  /**
2423
2937
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2424
2938
  */
@@ -2427,22 +2941,127 @@ declare class NfTsService {
2427
2941
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2428
2942
  */
2429
2943
  pageSize?: number;
2430
- }): CancelablePromise<ListNftTokens>;
2431
- /**
2432
- * Get token details
2433
- * Gets token details for a specific token of an NFT contract.
2434
- * @returns any Successful response
2435
- * @throws ApiError
2436
- */
2437
- getTokenDetails({ chainId, address, tokenId, }: {
2438
2944
  /**
2439
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2945
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
2440
2946
  */
2441
- chainId: string;
2947
+ sourceBlockchainId?: string;
2442
2948
  /**
2443
- * Contract address on the relevant chain.
2949
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
2444
2950
  */
2445
- address: string;
2951
+ destinationBlockchainId?: string;
2952
+ /**
2953
+ * The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
2954
+ */
2955
+ blockchainId?: string;
2956
+ /**
2957
+ * The address of the recipient of the ICM message.
2958
+ */
2959
+ to?: string;
2960
+ /**
2961
+ * The address of the sender of the ICM message.
2962
+ */
2963
+ from?: string;
2964
+ /**
2965
+ * Either mainnet or testnet/fuji.
2966
+ */
2967
+ network?: Network;
2968
+ }): CancelablePromise<ListIcmMessagesResponse>;
2969
+ /**
2970
+ * List ICM messages by address
2971
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
2972
+ * @returns ListIcmMessagesResponse Successful response
2973
+ * @throws ApiError
2974
+ */
2975
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
2976
+ /**
2977
+ * An EVM address.
2978
+ */
2979
+ address: string;
2980
+ /**
2981
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2982
+ */
2983
+ pageToken?: string;
2984
+ /**
2985
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2986
+ */
2987
+ pageSize?: number;
2988
+ /**
2989
+ * Either mainnet or testnet/fuji.
2990
+ */
2991
+ network?: Network;
2992
+ }): CancelablePromise<ListIcmMessagesResponse>;
2993
+ }
2994
+
2995
+ type ListNftTokens = {
2996
+ /**
2997
+ * 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.
2998
+ */
2999
+ nextPageToken?: string;
3000
+ tokens: Array<(Erc721Token | Erc1155Token)>;
3001
+ };
3002
+
3003
+ declare class NfTsService {
3004
+ readonly httpRequest: BaseHttpRequest;
3005
+ constructor(httpRequest: BaseHttpRequest);
3006
+ /**
3007
+ * Reindex NFT metadata
3008
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
3009
+ * @returns any Successful response
3010
+ * @throws ApiError
3011
+ */
3012
+ reindexNft({ chainId, address, tokenId, }: {
3013
+ /**
3014
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3015
+ */
3016
+ chainId: string;
3017
+ /**
3018
+ * Contract address on the relevant chain.
3019
+ */
3020
+ address: string;
3021
+ /**
3022
+ * TokenId on the contract
3023
+ */
3024
+ tokenId: string;
3025
+ }): CancelablePromise<any>;
3026
+ /**
3027
+ * List tokens
3028
+ * Lists tokens for an NFT contract.
3029
+ * @returns ListNftTokens Successful response
3030
+ * @throws ApiError
3031
+ */
3032
+ listTokens({ chainId, address, pageToken, pageSize, }: {
3033
+ /**
3034
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3035
+ */
3036
+ chainId: string;
3037
+ /**
3038
+ * Contract address on the relevant chain.
3039
+ */
3040
+ address: string;
3041
+ /**
3042
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3043
+ */
3044
+ pageToken?: string;
3045
+ /**
3046
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3047
+ */
3048
+ pageSize?: number;
3049
+ }): CancelablePromise<ListNftTokens>;
3050
+ /**
3051
+ * Get token details
3052
+ * Gets token details for a specific token of an NFT contract.
3053
+ * @returns any Successful response
3054
+ * @throws ApiError
3055
+ */
3056
+ getTokenDetails({ chainId, address, tokenId, }: {
3057
+ /**
3058
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3059
+ */
3060
+ chainId: string;
3061
+ /**
3062
+ * Contract address on the relevant chain.
3063
+ */
3064
+ address: string;
2446
3065
  /**
2447
3066
  * TokenId on the contract
2448
3067
  */
@@ -2450,6 +3069,108 @@ declare class NfTsService {
2450
3069
  }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2451
3070
  }
2452
3071
 
3072
+ type AccessRequest = {
3073
+ /**
3074
+ * The email address to send the access token to
3075
+ */
3076
+ email: string;
3077
+ /**
3078
+ * The captcha to verify the user
3079
+ */
3080
+ captcha: string;
3081
+ };
3082
+
3083
+ type NotificationsResponse = {
3084
+ message: string;
3085
+ };
3086
+
3087
+ type SubscribeRequest = {
3088
+ /**
3089
+ * The access token to use for authentication
3090
+ */
3091
+ accessToken: string;
3092
+ /**
3093
+ * The node ID to subscribe to
3094
+ */
3095
+ nodeId: string;
3096
+ /**
3097
+ * The notification types to subscribe to. If not provided, all notification types will be subscribed to
3098
+ */
3099
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3100
+ };
3101
+
3102
+ type SubscriptionsRequest = {
3103
+ /**
3104
+ * The access token to use for authentication
3105
+ */
3106
+ accessToken: string;
3107
+ };
3108
+
3109
+ type SubscriptionsResponse = {
3110
+ /**
3111
+ * The email address of the user
3112
+ */
3113
+ email: string;
3114
+ /**
3115
+ * The subscriptions of the user
3116
+ */
3117
+ subscriptions: Record<string, {
3118
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3119
+ }>;
3120
+ };
3121
+
3122
+ type UnsubscribeRequest = {
3123
+ /**
3124
+ * The access token to use for authentication
3125
+ */
3126
+ accessToken: string;
3127
+ /**
3128
+ * The node ID to subscribe to
3129
+ */
3130
+ nodeId: string;
3131
+ };
3132
+
3133
+ declare class NotificationsService {
3134
+ readonly httpRequest: BaseHttpRequest;
3135
+ constructor(httpRequest: BaseHttpRequest);
3136
+ /**
3137
+ * Access Notifications
3138
+ * Access notifications.
3139
+ * @returns NotificationsResponse Successful response
3140
+ * @throws ApiError
3141
+ */
3142
+ access({ requestBody, }: {
3143
+ requestBody: AccessRequest;
3144
+ }): CancelablePromise<NotificationsResponse>;
3145
+ /**
3146
+ * Subscribe to Notifications
3147
+ * Subscribe to receive notifications.
3148
+ * @returns NotificationsResponse Successful response
3149
+ * @throws ApiError
3150
+ */
3151
+ subscribe({ requestBody, }: {
3152
+ requestBody: SubscribeRequest;
3153
+ }): CancelablePromise<NotificationsResponse>;
3154
+ /**
3155
+ * Unsubscribe from Notifications
3156
+ * Unsubscribe from receiving notifications.
3157
+ * @returns NotificationsResponse Successful response
3158
+ * @throws ApiError
3159
+ */
3160
+ unsubscribe({ requestBody, }: {
3161
+ requestBody: UnsubscribeRequest;
3162
+ }): CancelablePromise<NotificationsResponse>;
3163
+ /**
3164
+ * Get Subscriptions
3165
+ * Get subscriptions.
3166
+ * @returns SubscriptionsResponse Successful response
3167
+ * @throws ApiError
3168
+ */
3169
+ subscriptions({ requestBody, }: {
3170
+ requestBody: SubscriptionsRequest;
3171
+ }): CancelablePromise<SubscriptionsResponse>;
3172
+ }
3173
+
2453
3174
  type EvmNetworkOptions = {
2454
3175
  addresses: Array<string>;
2455
3176
  includeChains: Array<string>;
@@ -2483,7 +3204,7 @@ declare enum PrimaryNetworkOperationType {
2483
3204
  type PrimaryNetworkOptions = {
2484
3205
  addresses?: Array<string>;
2485
3206
  cChainEvmAddresses?: Array<string>;
2486
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
3207
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2487
3208
  };
2488
3209
 
2489
3210
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -2538,7 +3259,7 @@ type OperationStatusResponse = {
2538
3259
  operationType: OperationType;
2539
3260
  operationStatus: OperationStatus;
2540
3261
  message?: string;
2541
- metadata: TransactionExportMetadata;
3262
+ metadata?: TransactionExportMetadata;
2542
3263
  createdAtTimestamp: number;
2543
3264
  updatedAtTimestamp: number;
2544
3265
  };
@@ -2571,14 +3292,275 @@ declare class OperationsService {
2571
3292
  }): CancelablePromise<OperationStatusResponse>;
2572
3293
  }
2573
3294
 
3295
+ type EvmGenesisAllocDto = {
3296
+ /**
3297
+ * Account balance in hex format
3298
+ */
3299
+ balance?: string;
3300
+ /**
3301
+ * Contract bytecode in hex format
3302
+ */
3303
+ code?: string;
3304
+ /**
3305
+ * Contract storage slots
3306
+ */
3307
+ storage?: Record<string, string>;
3308
+ };
3309
+
3310
+ type EvmGenesisAllowListConfigDto = {
3311
+ /**
3312
+ * Block timestamp
3313
+ */
3314
+ blockTimestamp?: number;
3315
+ /**
3316
+ * Admin addresses
3317
+ */
3318
+ adminAddresses?: Array<string>;
3319
+ /**
3320
+ * Manager addresses
3321
+ */
3322
+ managerAddresses?: Array<string>;
3323
+ /**
3324
+ * Enabled addresses
3325
+ */
3326
+ enabledAddresses?: Array<string>;
3327
+ };
3328
+
3329
+ type EvmGenesisFeeConfigDto = {
3330
+ /**
3331
+ * Base fee change denominator
3332
+ */
3333
+ baseFeeChangeDenominator?: number;
3334
+ /**
3335
+ * Block gas cost step
3336
+ */
3337
+ blockGasCostStep?: number;
3338
+ /**
3339
+ * Gas limit
3340
+ */
3341
+ gasLimit?: number;
3342
+ /**
3343
+ * Maximum block gas cost
3344
+ */
3345
+ maxBlockGasCost?: number;
3346
+ /**
3347
+ * Minimum base fee
3348
+ */
3349
+ minBaseFee?: number;
3350
+ /**
3351
+ * Minimum block gas cost
3352
+ */
3353
+ minBlockGasCost?: number;
3354
+ /**
3355
+ * Target block rate
3356
+ */
3357
+ targetBlockRate?: number;
3358
+ /**
3359
+ * Target gas
3360
+ */
3361
+ targetGas?: number;
3362
+ };
3363
+
3364
+ type EvmGenesisWarpConfigDto = {
3365
+ /**
3366
+ * Block timestamp
3367
+ */
3368
+ blockTimestamp?: number;
3369
+ /**
3370
+ * Quorum numerator
3371
+ */
3372
+ quorumNumerator?: number;
3373
+ /**
3374
+ * Require primary network signers
3375
+ */
3376
+ requirePrimaryNetworkSigners?: boolean;
3377
+ };
3378
+
3379
+ type EvmGenesisConfigDto = {
3380
+ /**
3381
+ * Berlin block number
3382
+ */
3383
+ berlinBlock?: number;
3384
+ /**
3385
+ * Byzantium block number
3386
+ */
3387
+ byzantiumBlock?: number;
3388
+ /**
3389
+ * Chain ID
3390
+ */
3391
+ chainId?: number;
3392
+ /**
3393
+ * Constantinople block number
3394
+ */
3395
+ constantinopleBlock?: number;
3396
+ /**
3397
+ * EIP-150 block number
3398
+ */
3399
+ eip150Block?: number;
3400
+ /**
3401
+ * EIP-150 hash
3402
+ */
3403
+ eip150Hash?: string;
3404
+ /**
3405
+ * EIP-155 block number
3406
+ */
3407
+ eip155Block?: number;
3408
+ /**
3409
+ * EIP-158 block number
3410
+ */
3411
+ eip158Block?: number;
3412
+ /**
3413
+ * Fee configuration
3414
+ */
3415
+ feeConfig?: EvmGenesisFeeConfigDto;
3416
+ /**
3417
+ * Homestead block number
3418
+ */
3419
+ homesteadBlock?: number;
3420
+ /**
3421
+ * Istanbul block number
3422
+ */
3423
+ istanbulBlock?: number;
3424
+ /**
3425
+ * London block number
3426
+ */
3427
+ londonBlock?: number;
3428
+ /**
3429
+ * Muir Glacier block number
3430
+ */
3431
+ muirGlacierBlock?: number;
3432
+ /**
3433
+ * Petersburg block number
3434
+ */
3435
+ petersburgBlock?: number;
3436
+ /**
3437
+ * Subnet EVM timestamp
3438
+ */
3439
+ subnetEVMTimestamp?: number;
3440
+ /**
3441
+ * Allow fee recipients
3442
+ */
3443
+ allowFeeRecipients?: boolean;
3444
+ /**
3445
+ * Warp configuration
3446
+ */
3447
+ warpConfig?: EvmGenesisWarpConfigDto;
3448
+ /**
3449
+ * Transaction allow list configuration
3450
+ */
3451
+ txAllowListConfig?: EvmGenesisAllowListConfigDto;
3452
+ /**
3453
+ * Contract deployer allow list configuration
3454
+ */
3455
+ contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
3456
+ /**
3457
+ * Contract native minter configuration
3458
+ */
3459
+ contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
3460
+ /**
3461
+ * Fee manager configuration
3462
+ */
3463
+ feeManagerConfig?: EvmGenesisAllowListConfigDto;
3464
+ /**
3465
+ * Reward manager configuration
3466
+ */
3467
+ rewardManagerConfig?: EvmGenesisAllowListConfigDto;
3468
+ };
3469
+
3470
+ type EvmGenesisDto = {
3471
+ /**
3472
+ * Airdrop amount
3473
+ */
3474
+ airdropAmount?: number | null;
3475
+ /**
3476
+ * Airdrop hash
3477
+ */
3478
+ airdropHash?: string;
3479
+ /**
3480
+ * Allocation of accounts and balances
3481
+ */
3482
+ alloc?: Record<string, EvmGenesisAllocDto>;
3483
+ /**
3484
+ * Base fee per gas
3485
+ */
3486
+ baseFeePerGas?: number | null;
3487
+ /**
3488
+ * Blob gas used
3489
+ */
3490
+ blobGasUsed?: string | null;
3491
+ /**
3492
+ * Coinbase address
3493
+ */
3494
+ coinbase?: string;
3495
+ /**
3496
+ * Genesis configuration
3497
+ */
3498
+ config?: EvmGenesisConfigDto;
3499
+ /**
3500
+ * Difficulty
3501
+ */
3502
+ difficulty?: string;
3503
+ /**
3504
+ * Excess blob gas
3505
+ */
3506
+ excessBlobGas?: string | null;
3507
+ /**
3508
+ * Extra data
3509
+ */
3510
+ extraData?: string;
3511
+ /**
3512
+ * Gas limit
3513
+ */
3514
+ gasLimit?: string;
3515
+ /**
3516
+ * Gas used
3517
+ */
3518
+ gasUsed?: string;
3519
+ /**
3520
+ * Mix hash
3521
+ */
3522
+ mixHash?: string;
3523
+ /**
3524
+ * Nonce
3525
+ */
3526
+ nonce?: string;
3527
+ /**
3528
+ * Block number
3529
+ */
3530
+ number?: string;
3531
+ /**
3532
+ * Parent hash
3533
+ */
3534
+ parentHash?: string;
3535
+ /**
3536
+ * Block timestamp
3537
+ */
3538
+ timestamp?: string;
3539
+ };
3540
+
3541
+ type Blockchain = {
3542
+ createBlockTimestamp: number;
3543
+ createBlockNumber: string;
3544
+ blockchainId: string;
3545
+ vmId: string;
3546
+ subnetId: string;
3547
+ blockchainName: string;
3548
+ /**
3549
+ * 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.
3550
+ */
3551
+ evmChainId?: number;
3552
+ /**
3553
+ * The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
3554
+ */
3555
+ genesisData?: (EvmGenesisDto | string);
3556
+ };
3557
+
2574
3558
  declare enum BlockchainIds {
2575
3559
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2576
3560
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2577
3561
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
2578
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2579
3562
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
2580
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
2581
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3563
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
2582
3564
  }
2583
3565
 
2584
3566
  type ChainAddressChainIdMap = {
@@ -2602,16 +3584,31 @@ type DelegatorsDetails = {
2602
3584
  };
2603
3585
 
2604
3586
  type StakingDistribution = {
3587
+ /**
3588
+ * AvalancheGo version for the validator node.
3589
+ */
2605
3590
  version: string;
3591
+ /**
3592
+ * The total amount staked by validators using this version.
3593
+ */
2606
3594
  amountStaked: string;
3595
+ /**
3596
+ * The number of validators using this version.
3597
+ */
2607
3598
  validatorCount: number;
2608
3599
  };
2609
3600
 
2610
3601
  type ValidatorsDetails = {
2611
3602
  validatorCount: number;
2612
3603
  totalAmountStaked: string;
3604
+ /**
3605
+ * Total potential rewards from currently active validations and delegations.
3606
+ */
2613
3607
  estimatedAnnualStakingReward: string;
2614
3608
  stakingDistributionByVersion: Array<StakingDistribution>;
3609
+ /**
3610
+ * Ratio of total active stake amount to the current supply.
3611
+ */
2615
3612
  stakingRatio: string;
2616
3613
  };
2617
3614
 
@@ -2620,15 +3617,6 @@ type GetNetworkDetailsResponse = {
2620
3617
  delegatorDetails: DelegatorsDetails;
2621
3618
  };
2622
3619
 
2623
- type Blockchain = {
2624
- createBlockTimestamp: number;
2625
- createBlockNumber: string;
2626
- blockchainId: string;
2627
- vmId: string;
2628
- subnetId: string;
2629
- blockchainName: string;
2630
- };
2631
-
2632
3620
  type ListBlockchainsResponse = {
2633
3621
  /**
2634
3622
  * 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.
@@ -2663,7 +3651,13 @@ type CompletedDelegatorDetails = {
2663
3651
  delegationFee: string;
2664
3652
  startTimestamp: number;
2665
3653
  endTimestamp: number;
3654
+ /**
3655
+ * Total rewards distributed for the successful delegation.
3656
+ */
2666
3657
  grossReward: string;
3658
+ /**
3659
+ * Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3660
+ */
2667
3661
  netReward: string;
2668
3662
  delegationStatus: CompletedDelegatorDetails.delegationStatus;
2669
3663
  };
@@ -2681,7 +3675,13 @@ type PendingDelegatorDetails = {
2681
3675
  delegationFee: string;
2682
3676
  startTimestamp: number;
2683
3677
  endTimestamp: number;
3678
+ /**
3679
+ * Estimated total rewards that will be distributed for the successful delegation.
3680
+ */
2684
3681
  estimatedGrossReward: string;
3682
+ /**
3683
+ * Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3684
+ */
2685
3685
  estimatedNetReward: string;
2686
3686
  delegationStatus: PendingDelegatorDetails.delegationStatus;
2687
3687
  };
@@ -2702,8 +3702,63 @@ type ListDelegatorDetailsResponse = {
2702
3702
  delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
2703
3703
  };
2704
3704
 
2705
- type BlockchainInfo = {
3705
+ type BalanceOwner = {
3706
+ addresses: Array<string>;
3707
+ threshold: number;
3708
+ };
3709
+
3710
+ type L1ValidatorDetailsFull = {
3711
+ /**
3712
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3713
+ */
3714
+ validationId: string;
3715
+ /**
3716
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3717
+ */
3718
+ validationIdHex: string;
3719
+ nodeId: string;
3720
+ subnetId: string;
3721
+ /**
3722
+ * 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
3723
+ */
3724
+ weight: number;
3725
+ /**
3726
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
3727
+ */
3728
+ remainingBalance: number;
3729
+ /**
3730
+ * The timestamp of the transaction which created this L1 validator
3731
+ */
3732
+ creationTimestamp: number;
3733
+ blsCredentials: Record<string, any>;
3734
+ /**
3735
+ * The L1 validator owner's balance, returned after it's disabled or removed
3736
+ */
3737
+ remainingBalanceOwner: BalanceOwner;
3738
+ /**
3739
+ * Owner ddresses details which can disable or remove the L1 validator
3740
+ */
3741
+ deactivationOwner: BalanceOwner;
3742
+ };
3743
+
3744
+ type ListL1ValidatorsResponse = {
3745
+ /**
3746
+ * 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.
3747
+ */
3748
+ nextPageToken?: string;
3749
+ /**
3750
+ * The list of L1 validations for the given Subnet ID, NodeId or validationId
3751
+ */
3752
+ validators: Array<L1ValidatorDetailsFull>;
3753
+ /**
3754
+ * Block height at which the L1 validator's remaining balance is calculated
3755
+ */
3756
+ blockHeight: string;
3757
+ };
3758
+
3759
+ type L1ValidatorManagerDetails = {
2706
3760
  blockchainId: string;
3761
+ contractAddress: string;
2707
3762
  };
2708
3763
 
2709
3764
  type SubnetOwnershipInfo = {
@@ -2744,7 +3799,19 @@ type Subnet = {
2744
3799
  * Latest subnet owner details for this Subnet.
2745
3800
  */
2746
3801
  subnetOwnershipInfo: SubnetOwnershipInfo;
2747
- blockchains: Array<BlockchainInfo>;
3802
+ /**
3803
+ * Whether the subnet is an L1 or not.
3804
+ */
3805
+ isL1: boolean;
3806
+ /**
3807
+ * Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
3808
+ */
3809
+ l1ConversionTransactionHash?: string;
3810
+ /**
3811
+ * L1 validator manager details.
3812
+ */
3813
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3814
+ blockchains: Array<Blockchain>;
2748
3815
  };
2749
3816
 
2750
3817
  type ListSubnetsResponse = {
@@ -2760,6 +3827,29 @@ type BlsCredentials = {
2760
3827
  proofOfPossession: string;
2761
3828
  };
2762
3829
 
3830
+ type Geolocation = {
3831
+ /**
3832
+ * The name of the validator node.
3833
+ */
3834
+ city: string;
3835
+ /**
3836
+ * The city of the validator node.
3837
+ */
3838
+ country: string;
3839
+ /**
3840
+ * The country code of the validator node.
3841
+ */
3842
+ countryCode: string;
3843
+ /**
3844
+ * The latitude of the validator node.
3845
+ */
3846
+ latitude: number;
3847
+ /**
3848
+ * The longitude of the validator node.
3849
+ */
3850
+ longitude: number;
3851
+ };
3852
+
2763
3853
  type Rewards = {
2764
3854
  validationRewardAmount: string;
2765
3855
  delegationRewardAmount: string;
@@ -2791,6 +3881,9 @@ type ActiveValidatorDetails = {
2791
3881
  nodeId: string;
2792
3882
  subnetId: string;
2793
3883
  amountStaked: string;
3884
+ /**
3885
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3886
+ */
2794
3887
  delegationFee?: string;
2795
3888
  startTimestamp: number;
2796
3889
  endTimestamp: number;
@@ -2798,15 +3891,37 @@ type ActiveValidatorDetails = {
2798
3891
  * Present for AddPermissionlessValidatorTx
2799
3892
  */
2800
3893
  blsCredentials?: BlsCredentials;
3894
+ /**
3895
+ * The percentage of this validator's stake amount to the total active stake.
3896
+ */
2801
3897
  stakePercentage: number;
3898
+ /**
3899
+ * The number of delegators linked to the validator.
3900
+ */
2802
3901
  delegatorCount: number;
3902
+ /**
3903
+ * The total amount in nAVAX delegated to the validator.
3904
+ */
2803
3905
  amountDelegated?: string;
3906
+ /**
3907
+ * The validator's uptime percentage, as observed by our internal node and measured over time.
3908
+ */
2804
3909
  uptimePerformance: number;
2805
3910
  avalancheGoVersion?: string;
3911
+ /**
3912
+ * The amount of stake in nAVAX that can be delegated to this validator.
3913
+ */
2806
3914
  delegationCapacity?: string;
3915
+ /**
3916
+ * Estimated rewards for the validator if the validation is successful.
3917
+ */
2807
3918
  potentialRewards: Rewards;
2808
3919
  validationStatus: ActiveValidatorDetails.validationStatus;
2809
3920
  validatorHealth: ValidatorHealthDetails;
3921
+ /**
3922
+ * The geographical location of the validator node, if available.
3923
+ */
3924
+ geolocation: Geolocation | null;
2810
3925
  };
2811
3926
  declare namespace ActiveValidatorDetails {
2812
3927
  enum validationStatus {
@@ -2819,6 +3934,9 @@ type CompletedValidatorDetails = {
2819
3934
  nodeId: string;
2820
3935
  subnetId: string;
2821
3936
  amountStaked: string;
3937
+ /**
3938
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3939
+ */
2822
3940
  delegationFee?: string;
2823
3941
  startTimestamp: number;
2824
3942
  endTimestamp: number;
@@ -2842,6 +3960,9 @@ type PendingValidatorDetails = {
2842
3960
  nodeId: string;
2843
3961
  subnetId: string;
2844
3962
  amountStaked: string;
3963
+ /**
3964
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3965
+ */
2845
3966
  delegationFee?: string;
2846
3967
  startTimestamp: number;
2847
3968
  endTimestamp: number;
@@ -2862,6 +3983,9 @@ type RemovedValidatorDetails = {
2862
3983
  nodeId: string;
2863
3984
  subnetId: string;
2864
3985
  amountStaked: string;
3986
+ /**
3987
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3988
+ */
2865
3989
  delegationFee?: string;
2866
3990
  startTimestamp: number;
2867
3991
  endTimestamp: number;
@@ -2869,7 +3993,13 @@ type RemovedValidatorDetails = {
2869
3993
  * Present for AddPermissionlessValidatorTx
2870
3994
  */
2871
3995
  blsCredentials?: BlsCredentials;
3996
+ /**
3997
+ * The transaction hash that removed the permissioned subnet validator.
3998
+ */
2872
3999
  removeTxHash: string;
4000
+ /**
4001
+ * The timestamp of the transaction that removed the permissioned subnet validator.
4002
+ */
2873
4003
  removeTimestamp: number;
2874
4004
  validationStatus: RemovedValidatorDetails.validationStatus;
2875
4005
  };
@@ -2949,7 +4079,6 @@ type XChainAssetDetails = {
2949
4079
  declare enum XChainId {
2950
4080
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2951
4081
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
2952
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2953
4082
  X_CHAIN = "x-chain"
2954
4083
  }
2955
4084
 
@@ -3020,7 +4149,7 @@ declare class PrimaryNetworkService {
3020
4149
  */
3021
4150
  pageToken?: string;
3022
4151
  /**
3023
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4152
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3024
4153
  */
3025
4154
  pageSize?: number;
3026
4155
  /**
@@ -3028,6 +4157,22 @@ declare class PrimaryNetworkService {
3028
4157
  */
3029
4158
  sortOrder?: SortOrder;
3030
4159
  }): CancelablePromise<ListBlockchainsResponse>;
4160
+ /**
4161
+ * Get blockchain details by ID
4162
+ * Get details of the blockchain registered on the network.
4163
+ * @returns Blockchain Successful response
4164
+ * @throws ApiError
4165
+ */
4166
+ getBlockchainById({ blockchainId, network, }: {
4167
+ /**
4168
+ * The blockchain ID of the blockchain to retrieve.
4169
+ */
4170
+ blockchainId: string;
4171
+ /**
4172
+ * Either mainnet or testnet/fuji.
4173
+ */
4174
+ network: Network;
4175
+ }): CancelablePromise<Blockchain>;
3031
4176
  /**
3032
4177
  * List subnets
3033
4178
  * Lists all subnets registered on the network.
@@ -3044,7 +4189,7 @@ declare class PrimaryNetworkService {
3044
4189
  */
3045
4190
  pageToken?: string;
3046
4191
  /**
3047
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4192
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3048
4193
  */
3049
4194
  pageSize?: number;
3050
4195
  /**
@@ -3070,7 +4215,7 @@ declare class PrimaryNetworkService {
3070
4215
  }): CancelablePromise<Subnet>;
3071
4216
  /**
3072
4217
  * List validators
3073
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
4218
+ * 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.
3074
4219
  * @returns ListValidatorDetailsResponse Successful response
3075
4220
  * @throws ApiError
3076
4221
  */
@@ -3088,7 +4233,7 @@ declare class PrimaryNetworkService {
3088
4233
  */
3089
4234
  pageSize?: number;
3090
4235
  /**
3091
- * A comma separated list of node ids to filter by.
4236
+ * A comma separated list of node ids to filter by. Supports substring matching.
3092
4237
  */
3093
4238
  nodeIds?: string;
3094
4239
  /**
@@ -3210,16 +4355,47 @@ declare class PrimaryNetworkService {
3210
4355
  */
3211
4356
  nodeIds?: string;
3212
4357
  }): CancelablePromise<ListDelegatorDetailsResponse>;
4358
+ /**
4359
+ * List L1 validators
4360
+ * Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.
4361
+ * @returns ListL1ValidatorsResponse Successful response
4362
+ * @throws ApiError
4363
+ */
4364
+ listL1Validators({ network, pageToken, pageSize, l1ValidationId, includeInactiveL1Validators, nodeId, subnetId, }: {
4365
+ /**
4366
+ * Either mainnet or testnet/fuji.
4367
+ */
4368
+ network: Network;
4369
+ /**
4370
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4371
+ */
4372
+ pageToken?: string;
4373
+ /**
4374
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4375
+ */
4376
+ pageSize?: number;
4377
+ /**
4378
+ * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
4379
+ */
4380
+ l1ValidationId?: string;
4381
+ includeInactiveL1Validators?: boolean;
4382
+ /**
4383
+ * A valid node ID in format 'NodeID-HASH'.
4384
+ */
4385
+ nodeId?: string;
4386
+ /**
4387
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
4388
+ */
4389
+ subnetId?: any;
4390
+ }): CancelablePromise<ListL1ValidatorsResponse>;
3213
4391
  }
3214
4392
 
3215
4393
  declare enum BlockchainId {
3216
4394
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3217
4395
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3218
4396
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3219
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3220
4397
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3221
4398
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3222
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
3223
4399
  P_CHAIN = "p-chain",
3224
4400
  X_CHAIN = "x-chain",
3225
4401
  C_CHAIN = "c-chain"
@@ -3256,12 +4432,6 @@ type CChainAtomicBalances = {
3256
4432
  atomicMemoryLocked: Array<CChainSharedAssetBalance>;
3257
4433
  };
3258
4434
 
3259
- declare enum PrimaryNetwork {
3260
- MAINNET = "mainnet",
3261
- FUJI = "fuji",
3262
- DEVNET = "devnet"
3263
- }
3264
-
3265
4435
  declare enum PrimaryNetworkChainName {
3266
4436
  P_CHAIN = "p-chain",
3267
4437
  X_CHAIN = "x-chain",
@@ -3270,7 +4440,7 @@ declare enum PrimaryNetworkChainName {
3270
4440
 
3271
4441
  type PrimaryNetworkChainInfo = {
3272
4442
  chainName: PrimaryNetworkChainName;
3273
- network: PrimaryNetwork;
4443
+ network: Network;
3274
4444
  };
3275
4445
 
3276
4446
  type ListCChainAtomicBalancesResponse = {
@@ -3462,6 +4632,8 @@ type GetPrimaryNetworkBlockResponse = {
3462
4632
  txCount: number;
3463
4633
  transactions: Array<string>;
3464
4634
  blockSizeBytes: number;
4635
+ l1ValidatorsAccruedFees?: number;
4636
+ activeL1Validators?: number;
3465
4637
  currentSupply?: string;
3466
4638
  proposerDetails?: ProposerDetails;
3467
4639
  };
@@ -3475,6 +4647,8 @@ type PrimaryNetworkBlock = {
3475
4647
  txCount: number;
3476
4648
  transactions: Array<string>;
3477
4649
  blockSizeBytes: number;
4650
+ l1ValidatorsAccruedFees?: number;
4651
+ activeL1Validators?: number;
3478
4652
  currentSupply?: string;
3479
4653
  proposerDetails?: ProposerDetails;
3480
4654
  };
@@ -3517,7 +4691,7 @@ declare class PrimaryNetworkBlocksService {
3517
4691
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3518
4692
  * @throws ApiError
3519
4693
  */
3520
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
4694
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3521
4695
  /**
3522
4696
  * A primary network blockchain id or alias.
3523
4697
  */
@@ -3530,6 +4704,14 @@ declare class PrimaryNetworkBlocksService {
3530
4704
  * A primary network (P or X chain) nodeId.
3531
4705
  */
3532
4706
  nodeId: string;
4707
+ /**
4708
+ * Query param for retrieving items after a specific timestamp.
4709
+ */
4710
+ startTimestamp?: number;
4711
+ /**
4712
+ * Query param for retrieving items before a specific timestamp.
4713
+ */
4714
+ endTimestamp?: number;
3533
4715
  /**
3534
4716
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3535
4717
  */
@@ -3545,7 +4727,7 @@ declare class PrimaryNetworkBlocksService {
3545
4727
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3546
4728
  * @throws ApiError
3547
4729
  */
3548
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
4730
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3549
4731
  /**
3550
4732
  * A primary network blockchain id or alias.
3551
4733
  */
@@ -3554,6 +4736,14 @@ declare class PrimaryNetworkBlocksService {
3554
4736
  * Either mainnet or testnet/fuji.
3555
4737
  */
3556
4738
  network: Network;
4739
+ /**
4740
+ * Query param for retrieving items after a specific timestamp.
4741
+ */
4742
+ startTimestamp?: number;
4743
+ /**
4744
+ * Query param for retrieving items before a specific timestamp.
4745
+ */
4746
+ endTimestamp?: number;
3557
4747
  /**
3558
4748
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3559
4749
  */
@@ -3795,6 +4985,10 @@ type Utxo = {
3795
4985
  * UTXO ID for this output.
3796
4986
  */
3797
4987
  utxoId: string;
4988
+ /**
4989
+ * The bytes of the UTXO
4990
+ */
4991
+ utxoBytes?: string;
3798
4992
  /**
3799
4993
  * Unix timestamp in seconds at which this output was consumed.
3800
4994
  */
@@ -3956,11 +5150,46 @@ declare namespace CChainImportTransaction {
3956
5150
 
3957
5151
  type ListCChainAtomicTransactionsResponse = {
3958
5152
  /**
3959
- * 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.
5153
+ * 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.
5154
+ */
5155
+ nextPageToken?: string;
5156
+ transactions: Array<(CChainExportTransaction | CChainImportTransaction)>;
5157
+ chainInfo: PrimaryNetworkChainInfo;
5158
+ };
5159
+
5160
+ type BlockchainInfo = {
5161
+ chainName: string;
5162
+ vmId: string;
5163
+ /**
5164
+ * 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
5165
+ */
5166
+ genesisData?: (EvmGenesisDto | string);
5167
+ };
5168
+
5169
+ type L1ValidatorDetailsTransaction = {
5170
+ /**
5171
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
5172
+ */
5173
+ validationId: string;
5174
+ /**
5175
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
5176
+ */
5177
+ validationIdHex: string;
5178
+ nodeId: string;
5179
+ subnetId: string;
5180
+ /**
5181
+ * 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
3960
5182
  */
3961
- nextPageToken?: string;
3962
- transactions: Array<(CChainExportTransaction | CChainImportTransaction)>;
3963
- chainInfo: PrimaryNetworkChainInfo;
5183
+ weight: number;
5184
+ /**
5185
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
5186
+ */
5187
+ remainingBalance: number;
5188
+ /**
5189
+ * 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
5190
+ */
5191
+ balanceChange?: number;
5192
+ blsCredentials?: Record<string, any>;
3964
5193
  };
3965
5194
 
3966
5195
  declare enum PChainTransactionType {
@@ -3979,9 +5208,17 @@ declare enum PChainTransactionType {
3979
5208
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3980
5209
  BASE_TX = "BaseTx",
3981
5210
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
5211
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
5212
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
5213
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
5214
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
5215
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
3982
5216
  UNKNOWN = "UNKNOWN"
3983
5217
  }
3984
5218
 
5219
+ /**
5220
+ * Indicates whether the UTXO is staked or transferable
5221
+ */
3985
5222
  declare enum UtxoType {
3986
5223
  STAKE = "STAKE",
3987
5224
  TRANSFER = "TRANSFER"
@@ -4009,6 +5246,10 @@ type PChainUtxo = {
4009
5246
  * UTXO ID for this output.
4010
5247
  */
4011
5248
  utxoId: string;
5249
+ /**
5250
+ * The bytes of the UTXO
5251
+ */
5252
+ utxoBytes?: string;
4012
5253
  /**
4013
5254
  * @deprecated
4014
5255
  */
@@ -4019,16 +5260,43 @@ type PChainUtxo = {
4019
5260
  assetId: string;
4020
5261
  blockNumber: string;
4021
5262
  blockTimestamp: number;
5263
+ /**
5264
+ * Block height in which the transaction consuming this UTXO was included
5265
+ */
4022
5266
  consumingBlockNumber?: string;
5267
+ /**
5268
+ * Timestamp in seconds at which this UTXO is used in a consuming transaction
5269
+ */
4023
5270
  consumingBlockTimestamp?: number;
5271
+ /**
5272
+ * Timestamp in seconds after which this UTXO can be consumed
5273
+ */
4024
5274
  platformLocktime?: number;
5275
+ /**
5276
+ * The index of the UTXO in the transaction
5277
+ */
4025
5278
  outputIndex: number;
4026
5279
  rewardType?: RewardType;
5280
+ /**
5281
+ * Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
5282
+ */
4027
5283
  stakeableLocktime?: number;
4028
5284
  staked?: boolean;
5285
+ /**
5286
+ * The minimum number of signatures required to spend this UTXO
5287
+ */
4029
5288
  threshold?: number;
5289
+ /**
5290
+ * The hash of the transaction that created this UTXO
5291
+ */
4030
5292
  txHash: string;
5293
+ /**
5294
+ * Timestamp in seconds after which the staked UTXO will be unlocked.
5295
+ */
4031
5296
  utxoEndTimestamp?: number;
5297
+ /**
5298
+ * Timestamp in seconds at which the staked UTXO was locked.
5299
+ */
4032
5300
  utxoStartTimestamp?: number;
4033
5301
  utxoType: UtxoType;
4034
5302
  };
@@ -4043,9 +5311,18 @@ type PChainTransaction = {
4043
5311
  * The block finality timestamp.
4044
5312
  */
4045
5313
  blockTimestamp: number;
5314
+ /**
5315
+ * The height of the block in which the transaction was included
5316
+ */
4046
5317
  blockNumber: string;
4047
5318
  blockHash: string;
5319
+ /**
5320
+ * The consumed UTXOs of the transaction
5321
+ */
4048
5322
  consumedUtxos: Array<PChainUtxo>;
5323
+ /**
5324
+ * The newly created UTXOs of the transaction
5325
+ */
4049
5326
  emittedUtxos: Array<PChainUtxo>;
4050
5327
  /**
4051
5328
  * Source chain for an atomic transaction.
@@ -4056,17 +5333,21 @@ type PChainTransaction = {
4056
5333
  */
4057
5334
  destinationChain?: string;
4058
5335
  /**
4059
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5336
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction
4060
5337
  */
4061
5338
  value: Array<AssetAmount>;
4062
5339
  /**
4063
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5340
+ * 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
4064
5341
  */
4065
5342
  amountBurned: Array<AssetAmount>;
4066
5343
  /**
4067
5344
  * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4068
5345
  */
4069
5346
  amountStaked: Array<AssetAmount>;
5347
+ /**
5348
+ * 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.
5349
+ */
5350
+ amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4070
5351
  /**
4071
5352
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4072
5353
  */
@@ -4076,11 +5357,11 @@ type PChainTransaction = {
4076
5357
  */
4077
5358
  endTimestamp?: number;
4078
5359
  /**
4079
- * Present for AddValidatorTx, AddPermissionlessValidatorTx
5360
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
4080
5361
  */
4081
5362
  delegationFeePercent?: string;
4082
5363
  /**
4083
- * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5364
+ * The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4084
5365
  */
4085
5366
  nodeId?: string;
4086
5367
  /**
@@ -4088,14 +5369,25 @@ type PChainTransaction = {
4088
5369
  */
4089
5370
  subnetId?: string;
4090
5371
  /**
4091
- * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5372
+ * Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1
5373
+ */
5374
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
5375
+ /**
5376
+ * 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
5377
+ */
5378
+ l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
5379
+ /**
5380
+ * Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4092
5381
  */
4093
5382
  estimatedReward?: string;
5383
+ /**
5384
+ * Reward transaction hash for the completed validations or delegations
5385
+ */
4094
5386
  rewardTxHash?: string;
4095
5387
  rewardAddresses?: Array<string>;
4096
5388
  memo?: string;
4097
5389
  /**
4098
- * Present for RewardValidatorTx
5390
+ * Staking transaction corresponding to the RewardValidatorTx
4099
5391
  */
4100
5392
  stakingTxHash?: string;
4101
5393
  /**
@@ -4103,9 +5395,13 @@ type PChainTransaction = {
4103
5395
  */
4104
5396
  subnetOwnershipInfo?: SubnetOwnershipInfo;
4105
5397
  /**
4106
- * Present for AddPermissionlessValidatorTx
5398
+ * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4107
5399
  */
4108
5400
  blsCredentials?: BlsCredentials;
5401
+ /**
5402
+ * Details of the blockchain that was created in the CreateChainTx
5403
+ */
5404
+ blockchainInfo?: BlockchainInfo;
4109
5405
  };
4110
5406
 
4111
5407
  type ListPChainTransactionsResponse = {
@@ -4288,6 +5584,11 @@ declare enum PrimaryNetworkTxType {
4288
5584
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
4289
5585
  BASE_TX = "BaseTx",
4290
5586
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
5587
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
5588
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
5589
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
5590
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
5591
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
4291
5592
  UNKNOWN = "UNKNOWN",
4292
5593
  CREATE_ASSET_TX = "CreateAssetTx",
4293
5594
  OPERATION_TX = "OperationTx"
@@ -4322,11 +5623,13 @@ declare class PrimaryNetworkTransactionsService {
4322
5623
  *
4323
5624
  * 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.
4324
5625
  *
5626
+ * 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.
5627
+ *
4325
5628
  * 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.
4326
5629
  * @returns any Successful response
4327
5630
  * @throws ApiError
4328
5631
  */
4329
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
5632
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4330
5633
  /**
4331
5634
  * A primary network blockchain id or alias.
4332
5635
  */
@@ -4339,6 +5642,7 @@ declare class PrimaryNetworkTransactionsService {
4339
5642
  * 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.
4340
5643
  */
4341
5644
  addresses?: string;
5645
+ l1ValidationId?: string;
4342
5646
  /**
4343
5647
  * Query param for filtering items based on transaction types.
4344
5648
  */
@@ -4468,6 +5772,18 @@ type ListUtxosResponse = {
4468
5772
  chainInfo: PrimaryNetworkChainInfo;
4469
5773
  };
4470
5774
 
5775
+ type PrimaryNetworkAddressesBodyDto = {
5776
+ /**
5777
+ * Comma-separated list of primary network addresses
5778
+ */
5779
+ addresses: string;
5780
+ };
5781
+
5782
+ declare enum UtxosSortByOption {
5783
+ TIMESTAMP = "timestamp",
5784
+ AMOUNT = "amount"
5785
+ }
5786
+
4471
5787
  declare class PrimaryNetworkUtxOsService {
4472
5788
  readonly httpRequest: BaseHttpRequest;
4473
5789
  constructor(httpRequest: BaseHttpRequest);
@@ -4477,7 +5793,7 @@ declare class PrimaryNetworkUtxOsService {
4477
5793
  * @returns any Successful response
4478
5794
  * @throws ApiError
4479
5795
  */
4480
- getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
5796
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
4481
5797
  /**
4482
5798
  * A primary network blockchain id or alias.
4483
5799
  */
@@ -4502,10 +5818,63 @@ declare class PrimaryNetworkUtxOsService {
4502
5818
  * Asset ID for any asset (only applicable X-Chain)
4503
5819
  */
4504
5820
  assetId?: string;
5821
+ /**
5822
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5823
+ */
5824
+ minUtxoAmount?: number;
5825
+ /**
5826
+ * Boolean filter to include spent UTXOs.
5827
+ */
5828
+ includeSpent?: boolean;
5829
+ /**
5830
+ * Which property to sort by, in conjunction with sortOrder.
5831
+ */
5832
+ sortBy?: UtxosSortByOption;
5833
+ /**
5834
+ * 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.
5835
+ */
5836
+ sortOrder?: SortOrder;
5837
+ }): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
5838
+ /**
5839
+ * List UTXOs v2 - Supports querying for more addresses
5840
+ * Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
5841
+ * @returns any Successful response
5842
+ * @throws ApiError
5843
+ */
5844
+ getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
5845
+ /**
5846
+ * A primary network blockchain id or alias.
5847
+ */
5848
+ blockchainId: BlockchainId;
5849
+ /**
5850
+ * Either mainnet or testnet/fuji.
5851
+ */
5852
+ network: Network;
5853
+ requestBody: PrimaryNetworkAddressesBodyDto;
5854
+ /**
5855
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
5856
+ */
5857
+ pageToken?: string;
5858
+ /**
5859
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
5860
+ */
5861
+ pageSize?: number;
5862
+ /**
5863
+ * Asset ID for any asset (only applicable X-Chain)
5864
+ */
5865
+ assetId?: string;
5866
+ /**
5867
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5868
+ */
5869
+ minUtxoAmount?: number;
4505
5870
  /**
4506
5871
  * Boolean filter to include spent UTXOs.
4507
5872
  */
4508
5873
  includeSpent?: boolean;
5874
+ /**
5875
+ * Which property to sort by, in conjunction with sortOrder.
5876
+ */
5877
+ sortBy?: UtxosSortByOption;
4509
5878
  /**
4510
5879
  * 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.
4511
5880
  */
@@ -4614,64 +5983,35 @@ declare class PrimaryNetworkVerticesService {
4614
5983
  }): CancelablePromise<ListXChainVerticesResponse>;
4615
5984
  }
4616
5985
 
4617
- type RpcErrorDto = {
4618
- code: number;
4619
- message: string;
4620
- data?: Record<string, any>;
4621
- };
4622
-
4623
- type RpcErrorResponseDto = {
4624
- jsonrpc: string;
4625
- id?: (string | number);
4626
- error: RpcErrorDto;
4627
- };
4628
-
4629
- type RpcRequestBodyDto = {
4630
- method: string;
4631
- params?: Record<string, any>;
4632
- id?: (string | number);
4633
- jsonrpc?: string;
4634
- };
4635
-
4636
- type RpcSuccessResponseDto = {
4637
- jsonrpc: string;
4638
- id?: (string | number);
4639
- result: Record<string, any>;
4640
- };
4641
-
4642
- declare class RpcService {
4643
- readonly httpRequest: BaseHttpRequest;
4644
- constructor(httpRequest: BaseHttpRequest);
4645
- /**
4646
- * Calls JSON-RPC method
4647
- * Calls JSON-RPC method.
4648
- * @returns any Successful response
4649
- * @throws ApiError
4650
- */
4651
- rpc({ chainId, requestBody, }: {
4652
- /**
4653
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
4654
- */
4655
- chainId: string;
4656
- requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
4657
- }): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
4658
- }
4659
-
4660
5986
  type SignatureAggregationResponse = {
4661
5987
  signedMessage: string;
4662
5988
  };
4663
5989
 
4664
5990
  type SignatureAggregatorRequest = {
4665
5991
  /**
4666
- * Must be defined if justification is not defined
5992
+ * Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with "0x"
4667
5993
  */
4668
5994
  message?: string;
4669
5995
  /**
4670
- * Must be defined if message is not defined
5996
+ * Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with "0x"
4671
5997
  */
4672
5998
  justification?: string;
5999
+ /**
6000
+ * Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.
6001
+ */
4673
6002
  signingSubnetId?: string;
6003
+ /**
6004
+ * 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.
6005
+ */
4674
6006
  quorumPercentage?: number;
6007
+ /**
6008
+ * 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.
6009
+ */
6010
+ quorumPercentageBuffer?: number;
6011
+ /**
6012
+ * 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.
6013
+ */
6014
+ pChainHeight?: number;
4675
6015
  };
4676
6016
 
4677
6017
  declare class SignatureAggregatorService {
@@ -4683,9 +6023,29 @@ declare class SignatureAggregatorService {
4683
6023
  * @returns SignatureAggregationResponse Successful response
4684
6024
  * @throws ApiError
4685
6025
  */
4686
- aggregateSignatures({ requestBody, }: {
6026
+ aggregateSignatures({ network, requestBody, }: {
6027
+ /**
6028
+ * Either mainnet or testnet/fuji.
6029
+ */
6030
+ network: Network;
4687
6031
  requestBody: SignatureAggregatorRequest;
4688
6032
  }): CancelablePromise<SignatureAggregationResponse>;
6033
+ /**
6034
+ * Get Aggregated Signatures
6035
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
6036
+ * @returns SignatureAggregationResponse Successful response
6037
+ * @throws ApiError
6038
+ */
6039
+ getAggregatedSignatures({ network, txHash, }: {
6040
+ /**
6041
+ * Either mainnet or testnet/fuji.
6042
+ */
6043
+ network: Network;
6044
+ /**
6045
+ * A primary network (P or X chain) transaction hash.
6046
+ */
6047
+ txHash: string;
6048
+ }): CancelablePromise<SignatureAggregationResponse>;
4689
6049
  }
4690
6050
 
4691
6051
  type TeleporterDestinationTransaction = {
@@ -4819,15 +6179,17 @@ type ListTeleporterMessagesResponse = {
4819
6179
  * 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.
4820
6180
  */
4821
6181
  nextPageToken?: string;
4822
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
6182
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
4823
6183
  };
4824
6184
 
4825
6185
  declare class TeleporterService {
4826
6186
  readonly httpRequest: BaseHttpRequest;
4827
6187
  constructor(httpRequest: BaseHttpRequest);
4828
6188
  /**
4829
- * Get a teleporter message
4830
- * Gets a teleporter message by message ID.
6189
+ * @deprecated
6190
+ * **[Deprecated]** Gets a teleporter message by message ID.
6191
+ *
6192
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
4831
6193
  * @returns any Successful response
4832
6194
  * @throws ApiError
4833
6195
  */
@@ -4838,8 +6200,10 @@ declare class TeleporterService {
4838
6200
  messageId: string;
4839
6201
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4840
6202
  /**
4841
- * List teleporter messages
4842
- * Lists teleporter messages. Ordered by timestamp in descending order.
6203
+ * @deprecated
6204
+ * **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
6205
+ *
6206
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
4843
6207
  * @returns ListTeleporterMessagesResponse Successful response
4844
6208
  * @throws ApiError
4845
6209
  */
@@ -4878,8 +6242,10 @@ declare class TeleporterService {
4878
6242
  network?: Network;
4879
6243
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4880
6244
  /**
4881
- * List teleporter messages by address
4882
- * Lists teleporter messages by address. Ordered by timestamp in descending order.
6245
+ * @deprecated
6246
+ * **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
6247
+ *
6248
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
4883
6249
  * @returns ListTeleporterMessagesResponse Successful response
4884
6250
  * @throws ApiError
4885
6251
  */
@@ -4912,68 +6278,212 @@ type AddressesChangeRequest = {
4912
6278
 
4913
6279
  type AddressActivityMetadata = {
4914
6280
  /**
4915
- * Ethereum address(es) for the address_activity event type
6281
+ * Array of hexadecimal strings of the event signatures.
6282
+ */
6283
+ eventSignatures?: Array<string>;
6284
+ /**
6285
+ * 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.
4916
6286
  */
4917
6287
  addresses: Array<string>;
6288
+ };
6289
+
6290
+ type EVMAddressActivityRequest = {
6291
+ eventType: EVMAddressActivityRequest.eventType;
6292
+ url: string;
6293
+ name?: string;
6294
+ description?: string;
6295
+ chainId: string;
6296
+ metadata: AddressActivityMetadata;
4918
6297
  /**
4919
- * Array of hexadecimal strings of the event signatures.
6298
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
4920
6299
  */
4921
- eventSignatures?: Array<string>;
6300
+ includeInternalTxs?: boolean;
6301
+ /**
6302
+ * Whether to include logs in the webhook payload.
6303
+ */
6304
+ includeLogs?: boolean;
4922
6305
  };
6306
+ declare namespace EVMAddressActivityRequest {
6307
+ enum eventType {
6308
+ ADDRESS_ACTIVITY = "address_activity"
6309
+ }
6310
+ }
4923
6311
 
4924
- declare enum EventType {
6312
+ declare enum AddressActivityEventType {
4925
6313
  ADDRESS_ACTIVITY = "address_activity"
4926
6314
  }
4927
6315
 
4928
- type CreateWebhookRequest = {
6316
+ declare enum WebhookStatusType {
6317
+ ACTIVE = "active",
6318
+ INACTIVE = "inactive"
6319
+ }
6320
+
6321
+ type EVMAddressActivityResponse = {
6322
+ id: string;
4929
6323
  url: string;
4930
6324
  chainId: string;
4931
- eventType: EventType;
6325
+ status: WebhookStatusType;
6326
+ createdAt: number;
6327
+ name: string;
6328
+ description: string;
6329
+ eventType: AddressActivityEventType;
4932
6330
  metadata: AddressActivityMetadata;
4933
- name?: string;
4934
- description?: string;
4935
6331
  /**
4936
- * Whether to include traces in the webhook payload.
6332
+ * Whether to include traces in the webhook payload.
6333
+ */
6334
+ includeInternalTxs?: boolean;
6335
+ /**
6336
+ * Whether to include logs in the webhook payload.
6337
+ */
6338
+ includeLogs?: boolean;
6339
+ };
6340
+
6341
+ type ListWebhookAddressesResponse = {
6342
+ /**
6343
+ * 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.
6344
+ */
6345
+ nextPageToken?: string;
6346
+ addresses: Array<string>;
6347
+ totalAddresses: number;
6348
+ };
6349
+
6350
+ declare enum PrimaryNetworkAddressActivityEventType {
6351
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6352
+ }
6353
+
6354
+ /**
6355
+ * The type of key to monitor for the address activity event type.
6356
+ */
6357
+ declare enum PlatformAddressActivityKeyType {
6358
+ ADDRESSES = "addresses"
6359
+ }
6360
+
6361
+ /**
6362
+ * Array of address activity sub-event types
6363
+ */
6364
+ declare enum PrimaryNetworkAddressActivitySubEventType {
6365
+ BALANCE_CHANGE = "balance_change",
6366
+ BALANCE_THRESHOLD = "balance_threshold",
6367
+ REWARD_DISTRIBUTION = "reward_distribution"
6368
+ }
6369
+
6370
+ type PrimaryNetworkAddressActivitySubEvents = {
6371
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
6372
+ };
6373
+
6374
+ /**
6375
+ * Type of balance to monitor
6376
+ */
6377
+ declare enum CommonBalanceType {
6378
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
6379
+ UNLOCKED_STAKED = "unlockedStaked",
6380
+ LOCKED_PLATFORM = "lockedPlatform",
6381
+ LOCKED_STAKEABLE = "lockedStakeable",
6382
+ LOCKED_STAKED = "lockedStaked",
6383
+ PENDING_STAKED = "pendingStaked",
6384
+ UNLOCKED = "unlocked",
6385
+ LOCKED = "locked",
6386
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
6387
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
6388
+ }
6389
+
6390
+ type PrimaryNetworkBalanceThresholdFilter = {
6391
+ balanceType: CommonBalanceType;
6392
+ /**
6393
+ * Threshold for balance corresponding to balanceType in nAVAX
6394
+ */
6395
+ balanceThreshold: string;
6396
+ };
6397
+
6398
+ type PrimaryNetworkAddressActivityMetadata = {
6399
+ /**
6400
+ * Array of hexadecimal strings of the event signatures.
6401
+ */
6402
+ eventSignatures?: Array<string>;
6403
+ keyType: PlatformAddressActivityKeyType;
6404
+ /**
6405
+ * 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.
6406
+ */
6407
+ keys: Array<string>;
6408
+ /**
6409
+ * Sub-events to monitor
6410
+ */
6411
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6412
+ /**
6413
+ * Balance threshold filter
6414
+ */
6415
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6416
+ };
6417
+
6418
+ type PrimaryNetworkAddressActivityResponse = {
6419
+ id: string;
6420
+ url: string;
6421
+ chainId: string;
6422
+ status: WebhookStatusType;
6423
+ createdAt: number;
6424
+ name: string;
6425
+ description: string;
6426
+ eventType: PrimaryNetworkAddressActivityEventType;
6427
+ metadata: PrimaryNetworkAddressActivityMetadata;
6428
+ };
6429
+
6430
+ declare enum ValidatorActivityEventType {
6431
+ VALIDATOR_ACTIVITY = "validator_activity"
6432
+ }
6433
+
6434
+ /**
6435
+ * The type of key to monitor for the validator activity event type.
6436
+ */
6437
+ declare enum ValidatorActivityKeyType {
6438
+ NODE_ID = "nodeId",
6439
+ SUBNET_ID = "subnetId"
6440
+ }
6441
+
6442
+ type ValidatorActivitySubEvents = {
6443
+ /**
6444
+ * Array of validator activity sub-event types
6445
+ */
6446
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6447
+ };
6448
+
6449
+ type ValidatorActivityMetadata = {
6450
+ /**
6451
+ * Array of hexadecimal strings of the event signatures.
6452
+ */
6453
+ eventSignatures?: Array<string>;
6454
+ keyType: ValidatorActivityKeyType;
6455
+ /**
6456
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
4937
6457
  */
4938
- includeInternalTxs?: boolean;
6458
+ keys: Array<string>;
4939
6459
  /**
4940
- * Whether to include logs in the webhook payload.
6460
+ * Sub-events to monitor
4941
6461
  */
4942
- includeLogs?: boolean;
4943
- };
4944
-
4945
- type ListWebhookAddressesResponse = {
6462
+ subEvents: ValidatorActivitySubEvents;
4946
6463
  /**
4947
- * 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.
6464
+ * Array of node IDs to filter the events
4948
6465
  */
4949
- nextPageToken?: string;
4950
- addresses: Array<string>;
4951
- totalAddresses: number;
4952
- };
4953
-
4954
- declare enum WebhookStatusType {
4955
- ACTIVE = "active",
4956
- INACTIVE = "inactive"
4957
- }
4958
-
4959
- type WebhookResponse = {
4960
- id: string;
4961
- eventType: EventType;
4962
- metadata: AddressActivityMetadata;
6466
+ nodeIds?: Array<string>;
4963
6467
  /**
4964
- * Whether to include traces in the webhook payload.
6468
+ * Array of subnet IDs to filter the events
4965
6469
  */
4966
- includeInternalTxs?: boolean;
6470
+ subnetIds?: Array<string>;
4967
6471
  /**
4968
- * Whether to include logs in the webhook payload.
6472
+ * L1 validator fee balance threshold in nAVAX
4969
6473
  */
4970
- includeLogs?: boolean;
6474
+ l1ValidatorFeeBalanceThreshold?: string;
6475
+ };
6476
+
6477
+ type ValidatorActivityResponse = {
6478
+ id: string;
4971
6479
  url: string;
4972
6480
  chainId: string;
4973
6481
  status: WebhookStatusType;
4974
6482
  createdAt: number;
4975
6483
  name: string;
4976
6484
  description: string;
6485
+ eventType: ValidatorActivityEventType;
6486
+ metadata: ValidatorActivityMetadata;
4977
6487
  };
4978
6488
 
4979
6489
  type ListWebhooksResponse = {
@@ -4981,8 +6491,31 @@ type ListWebhooksResponse = {
4981
6491
  * 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.
4982
6492
  */
4983
6493
  nextPageToken?: string;
4984
- webhooks: Array<WebhookResponse>;
6494
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6495
+ };
6496
+
6497
+ declare enum PrimaryNetworkType {
6498
+ MAINNET = "mainnet",
6499
+ FUJI = "fuji"
6500
+ }
6501
+
6502
+ type PrimaryNetworkAddressActivityRequest = {
6503
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
6504
+ url: string;
6505
+ name?: string;
6506
+ description?: string;
6507
+ network: PrimaryNetworkType;
6508
+ chainId: string;
6509
+ /**
6510
+ * Metadata for platform address activity event
6511
+ */
6512
+ metadata: PrimaryNetworkAddressActivityMetadata;
4985
6513
  };
6514
+ declare namespace PrimaryNetworkAddressActivityRequest {
6515
+ enum eventType {
6516
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6517
+ }
6518
+ }
4986
6519
 
4987
6520
  type SharedSecretsResponse = {
4988
6521
  secret: string;
@@ -4993,10 +6526,30 @@ type UpdateWebhookRequest = {
4993
6526
  description?: string;
4994
6527
  url?: string;
4995
6528
  status?: WebhookStatusType;
6529
+ /**
6530
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6531
+ */
4996
6532
  includeInternalTxs?: boolean;
4997
6533
  includeLogs?: boolean;
4998
6534
  };
4999
6535
 
6536
+ type ValidatorActivityRequest = {
6537
+ eventType: ValidatorActivityRequest.eventType;
6538
+ url: string;
6539
+ name?: string;
6540
+ description?: string;
6541
+ network: PrimaryNetworkType;
6542
+ /**
6543
+ * Metadata for platform validator activity event
6544
+ */
6545
+ metadata: ValidatorActivityMetadata;
6546
+ };
6547
+ declare namespace ValidatorActivityRequest {
6548
+ enum eventType {
6549
+ VALIDATOR_ACTIVITY = "validator_activity"
6550
+ }
6551
+ }
6552
+
5000
6553
  declare enum WebhookStatus {
5001
6554
  ACTIVE = "active",
5002
6555
  INACTIVE = "inactive"
@@ -5008,12 +6561,12 @@ declare class WebhooksService {
5008
6561
  /**
5009
6562
  * Create a webhook
5010
6563
  * Create a new webhook.
5011
- * @returns WebhookResponse Successful response
6564
+ * @returns any Successful response
5012
6565
  * @throws ApiError
5013
6566
  */
5014
6567
  createWebhook({ requestBody, }: {
5015
- requestBody: CreateWebhookRequest;
5016
- }): CancelablePromise<WebhookResponse>;
6568
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6569
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5017
6570
  /**
5018
6571
  * List webhooks
5019
6572
  * Lists webhooks for the user.
@@ -5037,7 +6590,7 @@ declare class WebhooksService {
5037
6590
  /**
5038
6591
  * Get a webhook by ID
5039
6592
  * Retrieves a webhook by ID.
5040
- * @returns WebhookResponse Successful response
6593
+ * @returns any Successful response
5041
6594
  * @throws ApiError
5042
6595
  */
5043
6596
  getWebhook({ id, }: {
@@ -5045,11 +6598,11 @@ declare class WebhooksService {
5045
6598
  * The webhook identifier.
5046
6599
  */
5047
6600
  id: string;
5048
- }): CancelablePromise<WebhookResponse>;
6601
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5049
6602
  /**
5050
6603
  * Deactivate a webhook
5051
6604
  * Deactivates a webhook by ID.
5052
- * @returns WebhookResponse Successful response
6605
+ * @returns any Successful response
5053
6606
  * @throws ApiError
5054
6607
  */
5055
6608
  deactivateWebhook({ id, }: {
@@ -5057,11 +6610,11 @@ declare class WebhooksService {
5057
6610
  * The webhook identifier.
5058
6611
  */
5059
6612
  id: string;
5060
- }): CancelablePromise<WebhookResponse>;
6613
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5061
6614
  /**
5062
6615
  * Update a webhook
5063
6616
  * Updates an existing webhook.
5064
- * @returns WebhookResponse Successful response
6617
+ * @returns any Successful response
5065
6618
  * @throws ApiError
5066
6619
  */
5067
6620
  updateWebhook({ id, requestBody, }: {
@@ -5070,14 +6623,14 @@ declare class WebhooksService {
5070
6623
  */
5071
6624
  id: string;
5072
6625
  requestBody: UpdateWebhookRequest;
5073
- }): CancelablePromise<WebhookResponse>;
6626
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5074
6627
  /**
5075
- * Generate a shared secret
5076
- * Generates a new shared secret.
6628
+ * Generate or rotate a shared secret
6629
+ * Generates a new shared secret or rotate an existing one.
5077
6630
  * @returns SharedSecretsResponse Successful response
5078
6631
  * @throws ApiError
5079
6632
  */
5080
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
6633
+ generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5081
6634
  /**
5082
6635
  * Get a shared secret
5083
6636
  * Get a previously generated shared secret.
@@ -5086,9 +6639,9 @@ declare class WebhooksService {
5086
6639
  */
5087
6640
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5088
6641
  /**
5089
- * Add addresses to webhook
5090
- * Add addresses to webhook.
5091
- * @returns WebhookResponse Successful response
6642
+ * Add addresses to EVM activity webhook
6643
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6644
+ * @returns EVMAddressActivityResponse Successful response
5092
6645
  * @throws ApiError
5093
6646
  */
5094
6647
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5097,11 +6650,11 @@ declare class WebhooksService {
5097
6650
  */
5098
6651
  id: string;
5099
6652
  requestBody: AddressesChangeRequest;
5100
- }): CancelablePromise<WebhookResponse>;
6653
+ }): CancelablePromise<EVMAddressActivityResponse>;
5101
6654
  /**
5102
- * Remove addresses from webhook
5103
- * Remove addresses from webhook.
5104
- * @returns WebhookResponse Successful response
6655
+ * Remove addresses from EVM activity webhook
6656
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6657
+ * @returns EVMAddressActivityResponse Successful response
5105
6658
  * @throws ApiError
5106
6659
  */
5107
6660
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5110,10 +6663,10 @@ declare class WebhooksService {
5110
6663
  */
5111
6664
  id: string;
5112
6665
  requestBody: AddressesChangeRequest;
5113
- }): CancelablePromise<WebhookResponse>;
6666
+ }): CancelablePromise<EVMAddressActivityResponse>;
5114
6667
  /**
5115
- * List adresses by webhook
5116
- * List adresses by webhook.
6668
+ * List adresses by EVM activity webhooks
6669
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5117
6670
  * @returns ListWebhookAddressesResponse Successful response
5118
6671
  * @throws ApiError
5119
6672
  */
@@ -5135,6 +6688,7 @@ declare class WebhooksService {
5135
6688
 
5136
6689
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
5137
6690
  declare class Glacier {
6691
+ readonly avaxSupply: AvaxSupplyService;
5138
6692
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
5139
6693
  readonly default: DefaultService;
5140
6694
  readonly evmBalances: EvmBalancesService;
@@ -5143,7 +6697,9 @@ declare class Glacier {
5143
6697
  readonly evmContracts: EvmContractsService;
5144
6698
  readonly evmTransactions: EvmTransactionsService;
5145
6699
  readonly healthCheck: HealthCheckService;
6700
+ readonly interchainMessaging: InterchainMessagingService;
5146
6701
  readonly nfTs: NfTsService;
6702
+ readonly notifications: NotificationsService;
5147
6703
  readonly operations: OperationsService;
5148
6704
  readonly primaryNetwork: PrimaryNetworkService;
5149
6705
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -5152,7 +6708,6 @@ declare class Glacier {
5152
6708
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
5153
6709
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
5154
6710
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
5155
- readonly rpc: RpcService;
5156
6711
  readonly signatureAggregator: SignatureAggregatorService;
5157
6712
  readonly teleporter: TeleporterService;
5158
6713
  readonly webhooks: WebhooksService;
@@ -5177,6 +6732,17 @@ declare class ApiError extends Error {
5177
6732
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
5178
6733
  }
5179
6734
 
6735
+ type AccessListData = {
6736
+ /**
6737
+ * Access Address
6738
+ */
6739
+ accessAddresses: string;
6740
+ /**
6741
+ * Storage keys
6742
+ */
6743
+ storageKeys: Array<string>;
6744
+ };
6745
+
5180
6746
  type BadGateway = {
5181
6747
  /**
5182
6748
  * The error message describing the reason for the exception
@@ -5211,6 +6777,76 @@ type DataListChainsResponse = {
5211
6777
  chains: Array<ChainInfo>;
5212
6778
  };
5213
6779
 
6780
+ type ERCToken = {
6781
+ /**
6782
+ * Token contract address
6783
+ */
6784
+ address: string;
6785
+ /**
6786
+ * Token name
6787
+ */
6788
+ name: string;
6789
+ /**
6790
+ * Token symbol
6791
+ */
6792
+ symbol: string;
6793
+ /**
6794
+ * Token decimals
6795
+ */
6796
+ decimals: number;
6797
+ /**
6798
+ * Value including decimals
6799
+ */
6800
+ valueWithDecimals: string;
6801
+ };
6802
+
6803
+ type ERCTransfer = {
6804
+ /**
6805
+ * Transaction hash
6806
+ */
6807
+ transactionHash: string;
6808
+ /**
6809
+ * Transfer type
6810
+ */
6811
+ type: string;
6812
+ /**
6813
+ * Sender address
6814
+ */
6815
+ from: string;
6816
+ /**
6817
+ * Recipient address
6818
+ */
6819
+ to: string;
6820
+ /**
6821
+ * Amount transferred
6822
+ */
6823
+ value: string;
6824
+ /**
6825
+ * Token Id
6826
+ */
6827
+ tokenId?: string;
6828
+ /**
6829
+ * Block timestamp
6830
+ */
6831
+ blockTimestamp: number;
6832
+ /**
6833
+ * Log index
6834
+ */
6835
+ logIndex: number;
6836
+ /**
6837
+ * erc20 Token details
6838
+ */
6839
+ erc20Token?: ERCToken;
6840
+ /**
6841
+ * erc721 Token details
6842
+ */
6843
+ erc721Token?: ERCToken;
6844
+ /**
6845
+ * erc1155 Token details
6846
+ */
6847
+ erc1155Token?: ERCToken;
6848
+ };
6849
+
5214
6850
  type Forbidden = {
5215
6851
  /**
5216
6852
  * The error message describing the reason for the exception
@@ -5241,6 +6877,64 @@ type InternalServerError = {
5241
6877
  error: string;
5242
6878
  };
5243
6879
 
6880
+ type Log = {
6881
+ /**
6882
+ * Contract address
6883
+ */
6884
+ address: string;
6885
+ /**
6886
+ * First topic
6887
+ */
6888
+ topic0: string;
6889
+ /**
6890
+ * Second topic (optional)
6891
+ */
6892
+ topic1?: string;
6893
+ /**
6894
+ * Third topic (optional)
6895
+ */
6896
+ topic2?: string;
6897
+ /**
6898
+ * Fourth topic (optional)
6899
+ */
6900
+ topic3?: string;
6901
+ /**
6902
+ * Event data
6903
+ */
6904
+ data: string;
6905
+ /**
6906
+ * Transaction index
6907
+ */
6908
+ transactionIndex: number;
6909
+ /**
6910
+ * Log index
6911
+ */
6912
+ logIndex: number;
6913
+ /**
6914
+ * Indicates if the log was removed
6915
+ */
6916
+ removed: boolean;
6917
+ };
6918
+
6919
+ type NetworkTokenInfo = {
6920
+ /**
6921
+ * Token name
6922
+ */
6923
+ tokenName?: string;
6924
+ /**
6925
+ * Token symbol
6926
+ */
6927
+ tokenSymbol?: string;
6928
+ /**
6929
+ * Token decimals
6930
+ */
6931
+ tokenDecimals?: number;
6932
+ /**
6933
+ * Value including decimals
6934
+ */
6935
+ valueWithDecimals?: string;
6936
+ };
6937
+
5244
6938
  type NextPageToken = {
5245
6939
  /**
5246
6940
  * 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.
@@ -5293,6 +6987,163 @@ type TooManyRequests = {
5293
6987
  error: string;
5294
6988
  };
5295
6989
 
6990
+ type WebhookInternalTransaction = {
6991
+ /**
6992
+ * Sender address
6993
+ */
6994
+ from: string;
6995
+ /**
6996
+ * Recipient address
6997
+ */
6998
+ to: string;
6999
+ /**
7000
+ * Internal transaction type
7001
+ */
7002
+ internalTxType: string;
7003
+ /**
7004
+ * Value transferred
7005
+ */
7006
+ value: string;
7007
+ /**
7008
+ * Gas used
7009
+ */
7010
+ gasUsed: string;
7011
+ /**
7012
+ * Gas limit
7013
+ */
7014
+ gasLimit: string;
7015
+ /**
7016
+ * Transaction hash
7017
+ */
7018
+ transactionHash: string;
7019
+ };
7020
+
7021
+ type Transaction = {
7022
+ /**
7023
+ * Block hash of the transaction
7024
+ */
7025
+ blockHash: string;
7026
+ /**
7027
+ * Block number of the transaction
7028
+ */
7029
+ blockNumber: string;
7030
+ /**
7031
+ * Sender address
7032
+ */
7033
+ from: string;
7034
+ /**
7035
+ * Gas limit for the transaction
7036
+ */
7037
+ gas: string;
7038
+ /**
7039
+ * Gas price used
7040
+ */
7041
+ gasPrice: string;
7042
+ /**
7043
+ * Maximum fee per gas
7044
+ */
7045
+ maxFeePerGas: string;
7046
+ /**
7047
+ * Maximum priority fee per gas
7048
+ */
7049
+ maxPriorityFeePerGas: string;
7050
+ /**
7051
+ * Transaction hash
7052
+ */
7053
+ txHash: string;
7054
+ /**
7055
+ * Transaction status
7056
+ */
7057
+ txStatus: string;
7058
+ /**
7059
+ * Input data
7060
+ */
7061
+ input: string;
7062
+ /**
7063
+ * Nonce value
7064
+ */
7065
+ nonce: string;
7066
+ /**
7067
+ * Recipient address
7068
+ */
7069
+ to: string;
7070
+ /**
7071
+ * Transaction index
7072
+ */
7073
+ transactionIndex: number;
7074
+ /**
7075
+ * Value transferred in the transaction
7076
+ */
7077
+ value: string;
7078
+ /**
7079
+ * Transaction type
7080
+ */
7081
+ type: number;
7082
+ /**
7083
+ * Chain ID of the network
7084
+ */
7085
+ chainId: string;
7086
+ /**
7087
+ * Cumulative gas used
7088
+ */
7089
+ receiptCumulativeGasUsed: string;
7090
+ /**
7091
+ * Gas used
7092
+ */
7093
+ receiptGasUsed: string;
7094
+ /**
7095
+ * Effective gas price
7096
+ */
7097
+ receiptEffectiveGasPrice: string;
7098
+ /**
7099
+ * Receipt root
7100
+ */
7101
+ receiptRoot: string;
7102
+ /**
7103
+ * Block timestamp
7104
+ */
7105
+ blockTimestamp: number;
7106
+ /**
7107
+ * Contract address (optional)
7108
+ */
7109
+ contractAddress?: string;
7110
+ /**
7111
+ * ERC20 transfers
7112
+ */
7113
+ erc20Transfers: Array<ERCTransfer>;
7114
+ /**
7115
+ * ERC721 transfers
7116
+ */
7117
+ erc721Transfers: Array<ERCTransfer>;
7118
+ /**
7119
+ * ERC1155 transfers
7120
+ */
7121
+ erc1155Transfers: Array<ERCTransfer>;
7122
+ /**
7123
+ * Internal transactions (optional)
7124
+ */
7125
+ internalTransactions?: Array<WebhookInternalTransaction>;
7126
+ /**
7127
+ * Access list (optional)
7128
+ */
7129
+ accessList?: Array<AccessListData>;
7130
+ /**
7131
+ * Network token info (optional)
7132
+ */
7133
+ networkToken?: NetworkTokenInfo;
7134
+ };
7135
+
7136
+ type TransactionEvent = {
7137
+ /**
7138
+ * Transaction details
7139
+ */
7140
+ transaction: Transaction;
7141
+ /**
7142
+ * Array of log events
7143
+ */
7144
+ logs?: Array<Log>;
7145
+ };
7146
+
5296
7147
  type Unauthorized = {
5297
7148
  /**
5298
7149
  * The error message describing the reason for the exception
@@ -5308,4 +7159,43 @@ type Unauthorized = {
5308
7159
  error: string;
5309
7160
  };
5310
7161
 
5311
- 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, 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, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcMetrics, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, RpcUsageMetricsResponseDTO, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, 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 };
7162
+ type WebhookAddressActivityResponse = {
7163
+ /**
7164
+ * Webhook ID
7165
+ */
7166
+ webhookId: string;
7167
+ /**
7168
+ * Event type
7169
+ */
7170
+ eventType: WebhookAddressActivityResponse.eventType;
7171
+ /**
7172
+ * Message ID
7173
+ */
7174
+ messageId: string;
7175
+ /**
7176
+ * Event details
7177
+ */
7178
+ event: TransactionEvent;
7179
+ };
7180
+ declare namespace WebhookAddressActivityResponse {
7181
+ /**
7182
+ * Event type
7183
+ */
7184
+ enum eventType {
7185
+ ADDRESS_ACTIVITY = "address_activity"
7186
+ }
7187
+ }
7188
+
7189
+ declare class FetchHttpRequest extends BaseHttpRequest {
7190
+ constructor(config: OpenAPIConfig);
7191
+ /**
7192
+ * Request method
7193
+ * @param options The request options from the service
7194
+ * @returns CancelablePromise<T>
7195
+ * @throws ApiError
7196
+ */
7197
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
7198
+ }
7199
+
7200
+ 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 };
7201
+ 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 };