@avalabs/glacier-sdk 3.1.0-canary.8a86aa3.0 → 3.1.0-canary.8ad5f2c.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 (275) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +1624 -237
  3. package/esm/generated/Glacier.d.ts +4 -0
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
  6. package/esm/generated/core/ApiResult.d.ts +1 -1
  7. package/esm/generated/core/CancelablePromise.d.ts +2 -1
  8. package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
  9. package/esm/generated/core/OpenAPI.d.ts +2 -1
  10. package/esm/generated/core/OpenAPI.js +1 -1
  11. package/esm/generated/models/AccessListData.d.ts +12 -0
  12. package/esm/generated/models/AccessRequest.d.ts +1 -1
  13. package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -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 +1 -1
  25. package/esm/generated/models/Blockchain.d.ts +11 -1
  26. package/esm/generated/models/BlockchainId.d.ts +0 -2
  27. package/esm/generated/models/BlockchainId.js +1 -1
  28. package/esm/generated/models/BlockchainIds.d.ts +1 -3
  29. package/esm/generated/models/BlockchainIds.js +1 -1
  30. package/esm/generated/models/BlockchainInfo.d.ts +9 -2
  31. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  32. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  33. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  34. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  35. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  36. package/esm/generated/models/ChainInfo.d.ts +1 -1
  37. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  38. package/esm/generated/models/CommonBalanceType.js +1 -0
  39. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  40. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  41. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  42. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  43. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  44. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  45. package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
  46. package/esm/generated/models/DeliveredIcmMessage.js +1 -0
  47. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
  48. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
  49. package/esm/generated/models/ERCToken.d.ts +24 -0
  50. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  51. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +10 -6
  52. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  53. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +10 -10
  54. package/esm/generated/models/EVMInput.d.ts +1 -1
  55. package/esm/generated/models/EVMOutput.d.ts +1 -1
  56. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  57. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  58. package/esm/generated/models/Erc1155Transfer.d.ts +6 -2
  59. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  60. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  61. package/esm/generated/models/Erc20TokenBalance.d.ts +3 -3
  62. package/esm/generated/models/Erc20Transfer.d.ts +6 -2
  63. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  64. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  65. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  66. package/esm/generated/models/Erc721Transfer.d.ts +6 -2
  67. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  68. package/esm/generated/models/EvmBlock.d.ts +10 -2
  69. package/esm/generated/models/EvmGenesisAllocDto.d.ts +16 -0
  70. package/esm/generated/models/EvmGenesisAllowListConfigDto.d.ts +20 -0
  71. package/esm/generated/models/EvmGenesisConfigDto.d.ts +96 -0
  72. package/esm/generated/models/EvmGenesisDto.d.ts +75 -0
  73. package/esm/generated/models/EvmGenesisFeeConfigDto.d.ts +36 -0
  74. package/esm/generated/models/EvmGenesisWarpConfigDto.d.ts +16 -0
  75. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  76. package/esm/generated/models/Forbidden.d.ts +1 -1
  77. package/esm/generated/models/FullNativeTransactionDetails.d.ts +10 -2
  78. package/esm/generated/models/Geolocation.d.ts +24 -0
  79. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  80. package/esm/generated/models/GetEvmBlockResponse.d.ts +10 -2
  81. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  82. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  83. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  84. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  85. package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
  86. package/esm/generated/models/HealthCheckResultDto.js +1 -0
  87. package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
  88. package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
  89. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  90. package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
  91. package/esm/generated/models/IcmReceipt.d.ts +6 -0
  92. package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
  93. package/esm/generated/models/IcmRewardDetails.js +1 -0
  94. package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
  95. package/esm/generated/models/ImageAsset.d.ts +1 -1
  96. package/esm/generated/models/InternalServerError.d.ts +1 -1
  97. package/esm/generated/models/InternalTransaction.d.ts +6 -2
  98. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  99. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  100. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  101. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
  102. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +5 -1
  103. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  104. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  105. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  106. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  107. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  108. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  109. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  110. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  111. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  112. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  113. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  114. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  115. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  116. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  117. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  118. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  119. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  120. package/esm/generated/models/ListIcmMessagesResponse.d.ts +13 -0
  121. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  122. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
  123. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  124. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  125. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  126. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  127. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  128. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  129. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  130. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  131. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  132. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  133. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  134. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  135. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  136. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  137. package/esm/generated/models/ListWebhooksResponse.d.ts +5 -3
  138. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  139. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  140. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  141. package/esm/generated/models/Log.d.ts +40 -0
  142. package/esm/generated/models/LogsFormat.d.ts +1 -1
  143. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  144. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  145. package/esm/generated/models/Method.d.ts +1 -1
  146. package/esm/generated/models/Metric.d.ts +1 -1
  147. package/esm/generated/models/Money.d.ts +1 -1
  148. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  149. package/esm/generated/models/NativeTransaction.d.ts +10 -2
  150. package/esm/generated/models/Network.d.ts +1 -2
  151. package/esm/generated/models/Network.js +1 -1
  152. package/esm/generated/models/NetworkToken.d.ts +1 -1
  153. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  154. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  155. package/esm/generated/models/NextPageToken.d.ts +1 -1
  156. package/esm/generated/models/NotFound.d.ts +1 -1
  157. package/esm/generated/models/NotificationsResponse.d.ts +1 -1
  158. package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
  159. package/esm/generated/models/PChainBalance.d.ts +1 -1
  160. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  161. package/esm/generated/models/PChainTransaction.d.ts +7 -2
  162. package/esm/generated/models/PChainUtxo.d.ts +5 -1
  163. package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
  164. package/esm/generated/models/PendingIcmMessage.js +1 -0
  165. package/esm/generated/models/PendingReward.d.ts +1 -1
  166. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  167. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  168. package/esm/generated/models/PricingProviders.d.ts +1 -1
  169. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  170. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  171. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  172. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  173. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  174. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  175. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  176. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  177. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  178. package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
  179. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
  180. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  181. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  182. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  183. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +1 -0
  184. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -1
  185. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
  186. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
  187. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
  188. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
  189. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  190. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  191. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  192. package/esm/generated/models/ResourceLink.d.ts +1 -1
  193. package/esm/generated/models/Rewards.d.ts +1 -1
  194. package/esm/generated/models/RichAddress.d.ts +1 -1
  195. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  196. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
  197. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
  198. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  199. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  200. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  201. package/esm/generated/models/SignatureAggregatorRequest.d.ts +22 -2
  202. package/esm/generated/models/StakingDistribution.d.ts +1 -1
  203. package/esm/generated/models/Subnet.d.ts +3 -3
  204. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  205. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  206. package/esm/generated/models/SubscribeRequest.d.ts +1 -1
  207. package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
  208. package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
  209. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  210. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  211. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  212. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  213. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  214. package/esm/generated/models/Transaction.d.ts +121 -0
  215. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  216. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  217. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  218. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  219. package/esm/generated/models/Unauthorized.d.ts +1 -1
  220. package/esm/generated/models/UnknownContract.d.ts +1 -1
  221. package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
  222. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  223. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  224. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  225. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  226. package/esm/generated/models/Utxo.d.ts +5 -1
  227. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  228. package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
  229. package/esm/generated/models/UtxosSortByOption.js +1 -0
  230. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  231. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  232. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  233. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  234. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  235. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  236. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  237. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  238. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  239. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  240. package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
  241. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  242. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  243. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  244. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  245. package/esm/generated/models/XChainBalances.d.ts +1 -1
  246. package/esm/generated/models/XChainId.d.ts +0 -1
  247. package/esm/generated/models/XChainId.js +1 -1
  248. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  249. package/esm/generated/models/XChainVertex.d.ts +1 -1
  250. package/esm/generated/services/AvaxSupplyService.d.ts +17 -0
  251. package/esm/generated/services/AvaxSupplyService.js +1 -0
  252. package/esm/generated/services/DataApiUsageMetricsService.d.ts +55 -6
  253. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  254. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  255. package/esm/generated/services/EvmBlocksService.d.ts +1 -1
  256. package/esm/generated/services/EvmChainsService.d.ts +1 -1
  257. package/esm/generated/services/EvmTransactionsService.d.ts +2 -2
  258. package/esm/generated/services/HealthCheckService.d.ts +11 -7
  259. package/esm/generated/services/HealthCheckService.js +1 -1
  260. package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
  261. package/esm/generated/services/InterchainMessagingService.js +1 -0
  262. package/esm/generated/services/PrimaryNetworkService.d.ts +22 -5
  263. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  264. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +56 -1
  265. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  266. package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
  267. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  268. package/esm/generated/services/TeleporterService.d.ts +12 -6
  269. package/esm/generated/services/WebhooksService.d.ts +28 -24
  270. package/esm/generated/services/WebhooksService.js +1 -1
  271. package/esm/index.d.ts +54 -3
  272. package/esm/index.js +1 -1
  273. package/package.json +13 -4
  274. package/dist/index.js +0 -1
  275. package/esm/generated/models/EventType.d.ts +0 -5
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.
@@ -151,11 +210,11 @@ type LogsResponseDTO = {
151
210
  declare enum Network {
152
211
  MAINNET = "mainnet",
153
212
  FUJI = "fuji",
154
- TESTNET = "testnet",
155
- DEVNET = "devnet"
213
+ TESTNET = "testnet"
156
214
  }
157
215
 
158
216
  declare enum PrimaryNetworkRpcMetricsGroupByEnum {
217
+ RPC_METHOD = "rpcMethod",
159
218
  REQUEST_PATH = "requestPath",
160
219
  RESPONSE_CODE = "responseCode",
161
220
  COUNTRY = "country",
@@ -163,13 +222,7 @@ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
163
222
  USER_AGENT = "userAgent"
164
223
  }
165
224
 
166
- declare enum RpcUsageMetricsGroupByEnum {
167
- RPC_METHOD = "rpcMethod",
168
- RESPONSE_CODE = "responseCode",
169
- RL_BYPASS_TOKEN = "rlBypassToken"
170
- }
171
-
172
- declare enum SubnetRpcTimeIntervalGranularity {
225
+ declare enum PrimaryNetworkRpcTimeIntervalGranularity {
173
226
  HOURLY = "hourly",
174
227
  DAILY = "daily",
175
228
  WEEKLY = "weekly",
@@ -222,6 +275,10 @@ declare namespace RpcUsageMetricsValueAggregated {
222
275
  RPC_METHOD = "rpcMethod",
223
276
  RESPONSE_CODE = "responseCode",
224
277
  RL_BYPASS_TOKEN = "rlBypassToken",
278
+ REQUEST_PATH = "requestPath",
279
+ COUNTRY = "country",
280
+ CONTINENT = "continent",
281
+ USER_AGENT = "userAgent",
225
282
  NONE = "None"
226
283
  }
227
284
  }
@@ -237,6 +294,43 @@ type RpcMetrics = {
237
294
  values: Array<RpcUsageMetricsValueAggregated>;
238
295
  };
239
296
 
297
+ type PrimaryNetworkRpcUsageMetricsResponseDTO = {
298
+ /**
299
+ * Duration in which the metrics value is aggregated
300
+ */
301
+ aggregateDuration: string;
302
+ /**
303
+ * Metrics values
304
+ */
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
+
240
334
  type SubnetRpcUsageMetricsResponseDTO = {
241
335
  /**
242
336
  * Duration in which the metrics value is aggregated
@@ -451,6 +545,49 @@ declare class DataApiUsageMetricsService {
451
545
  * @returns SubnetRpcUsageMetricsResponseDTO Successful response
452
546
  * @throws ApiError
453
547
  */
548
+ getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
549
+ /**
550
+ * Time interval granularity for data aggregation for subnet
551
+ * rpc metrics
552
+ */
553
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
554
+ /**
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.
556
+ */
557
+ startTimestamp?: number;
558
+ /**
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.
560
+ */
561
+ endTimestamp?: number;
562
+ /**
563
+ * Query param for the criterion used for grouping metrics
564
+ */
565
+ groupBy?: RpcUsageMetricsGroupByEnum;
566
+ /**
567
+ * Filter data by chain ID.
568
+ */
569
+ chainId?: string;
570
+ /**
571
+ * Filter data by response status code.
572
+ */
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
+ */
454
591
  getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
455
592
  /**
456
593
  * Time interval granularity for data aggregation for subnet
@@ -489,10 +626,10 @@ declare class DataApiUsageMetricsService {
489
626
  /**
490
627
  * Get usage metrics for the Primary Network RPC
491
628
  * Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
492
- * @returns SubnetRpcUsageMetricsResponseDTO Successful response
629
+ * @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
493
630
  * @throws ApiError
494
631
  */
495
- getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, }: {
632
+ getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
496
633
  /**
497
634
  * Either mainnet or testnet/fuji.
498
635
  */
@@ -501,7 +638,7 @@ declare class DataApiUsageMetricsService {
501
638
  * Time interval granularity for data aggregation for subnet
502
639
  * rpc metrics
503
640
  */
504
- timeInterval?: SubnetRpcTimeIntervalGranularity;
641
+ timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
505
642
  /**
506
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.
507
644
  */
@@ -523,18 +660,22 @@ declare class DataApiUsageMetricsService {
523
660
  */
524
661
  requestPath?: string;
525
662
  /**
526
- * Filter data by Country.
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.
527
664
  */
528
665
  country?: string;
529
666
  /**
530
- * Filter data by Continent.
667
+ * Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
531
668
  */
532
669
  continent?: string;
533
670
  /**
534
671
  * Filter data by User Agent.
535
672
  */
536
673
  userAgent?: string;
537
- }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
674
+ /**
675
+ * Filter data by RPC method.
676
+ */
677
+ rpcMethod?: string;
678
+ }): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
538
679
  }
539
680
 
540
681
  declare class DefaultService {
@@ -782,16 +923,16 @@ type Erc20TokenBalance = {
782
923
  */
783
924
  balanceValue?: Money;
784
925
  /**
785
- * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
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.
786
927
  */
787
- tokenReputation: Erc20TokenBalance.tokenReputation | null;
928
+ tokenReputation: Erc20TokenBalance.tokenReputation;
788
929
  };
789
930
  declare namespace Erc20TokenBalance {
790
931
  enum ercType {
791
932
  ERC_20 = "ERC-20"
792
933
  }
793
934
  /**
794
- * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
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.
795
936
  */
796
937
  enum tokenReputation {
797
938
  MALICIOUS = "Malicious",
@@ -886,7 +1027,7 @@ declare class EvmBalancesService {
886
1027
  */
887
1028
  pageToken?: string;
888
1029
  /**
889
- * 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.
890
1031
  */
891
1032
  pageSize?: number;
892
1033
  /**
@@ -924,7 +1065,7 @@ declare class EvmBalancesService {
924
1065
  */
925
1066
  pageToken?: string;
926
1067
  /**
927
- * 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.
928
1069
  */
929
1070
  pageSize?: number;
930
1071
  /**
@@ -960,7 +1101,7 @@ declare class EvmBalancesService {
960
1101
  */
961
1102
  pageToken?: string;
962
1103
  /**
963
- * 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.
964
1105
  */
965
1106
  pageSize?: number;
966
1107
  /**
@@ -990,7 +1131,7 @@ declare class EvmBalancesService {
990
1131
  */
991
1132
  pageToken?: string;
992
1133
  /**
993
- * 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.
994
1135
  */
995
1136
  pageSize?: number;
996
1137
  /**
@@ -1010,9 +1151,17 @@ type GetEvmBlockResponse = {
1010
1151
  */
1011
1152
  blockNumber: string;
1012
1153
  /**
1013
- * The block finality timestamp.
1154
+ * The block creation (proposal) timestamp in seconds
1014
1155
  */
1015
1156
  blockTimestamp: number;
1157
+ /**
1158
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
1159
+ */
1160
+ blockTimestampMilliseconds?: number;
1161
+ /**
1162
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
1163
+ */
1164
+ blockMinDelayExcess?: number;
1016
1165
  /**
1017
1166
  * The block hash identifier.
1018
1167
  */
@@ -1058,9 +1207,17 @@ type EvmBlock = {
1058
1207
  */
1059
1208
  blockNumber: string;
1060
1209
  /**
1061
- * The block finality timestamp.
1210
+ * The block creation (proposal) timestamp in seconds
1062
1211
  */
1063
1212
  blockTimestamp: number;
1213
+ /**
1214
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
1215
+ */
1216
+ blockTimestampMilliseconds?: number;
1217
+ /**
1218
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
1219
+ */
1220
+ blockMinDelayExcess?: number;
1064
1221
  /**
1065
1222
  * The block hash identifier.
1066
1223
  */
@@ -1109,7 +1266,7 @@ declare class EvmBlocksService {
1109
1266
  constructor(httpRequest: BaseHttpRequest);
1110
1267
  /**
1111
1268
  * List latest blocks across all supported EVM chains
1112
- * Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
1269
+ * Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
1113
1270
  * @returns ListEvmBlocksResponse Successful response
1114
1271
  * @throws ApiError
1115
1272
  */
@@ -1308,9 +1465,17 @@ type NativeTransaction = {
1308
1465
  */
1309
1466
  blockNumber: string;
1310
1467
  /**
1311
- * The block finality timestamp.
1468
+ * The block creation (proposal) timestamp in seconds
1312
1469
  */
1313
1470
  blockTimestamp: number;
1471
+ /**
1472
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
1473
+ */
1474
+ blockTimestampMilliseconds?: number;
1475
+ /**
1476
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
1477
+ */
1478
+ blockMinDelayExcess?: number;
1314
1479
  /**
1315
1480
  * The block hash identifier.
1316
1481
  */
@@ -1375,7 +1540,7 @@ declare class EvmChainsService {
1375
1540
  constructor(httpRequest: BaseHttpRequest);
1376
1541
  /**
1377
1542
  * List all chains associated with a given address
1378
- * 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.
1543
+ * Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.
1379
1544
  * @returns ListAddressChainsResponse Successful response
1380
1545
  * @throws ApiError
1381
1546
  */
@@ -1646,7 +1811,7 @@ type Erc1155Contract = {
1646
1811
  * A wallet or contract address in mixed-case checksum encoding.
1647
1812
  */
1648
1813
  address: string;
1649
- deploymentDetails: ContractDeploymentDetails;
1814
+ deploymentDetails?: ContractDeploymentDetails;
1650
1815
  ercType: Erc1155Contract.ercType;
1651
1816
  /**
1652
1817
  * The contract symbol.
@@ -1677,7 +1842,7 @@ type Erc20Contract = {
1677
1842
  * A wallet or contract address in mixed-case checksum encoding.
1678
1843
  */
1679
1844
  address: string;
1680
- deploymentDetails: ContractDeploymentDetails;
1845
+ deploymentDetails?: ContractDeploymentDetails;
1681
1846
  ercType: Erc20Contract.ercType;
1682
1847
  /**
1683
1848
  * The contract symbol.
@@ -1712,7 +1877,7 @@ type Erc721Contract = {
1712
1877
  * A wallet or contract address in mixed-case checksum encoding.
1713
1878
  */
1714
1879
  address: string;
1715
- deploymentDetails: ContractDeploymentDetails;
1880
+ deploymentDetails?: ContractDeploymentDetails;
1716
1881
  ercType: Erc721Contract.ercType;
1717
1882
  /**
1718
1883
  * The contract symbol.
@@ -1742,7 +1907,7 @@ type UnknownContract = {
1742
1907
  * A wallet or contract address in mixed-case checksum encoding.
1743
1908
  */
1744
1909
  address: string;
1745
- deploymentDetails: ContractDeploymentDetails;
1910
+ deploymentDetails?: ContractDeploymentDetails;
1746
1911
  ercType: UnknownContract.ercType;
1747
1912
  };
1748
1913
  declare namespace UnknownContract {
@@ -1899,9 +2064,17 @@ type FullNativeTransactionDetails = {
1899
2064
  */
1900
2065
  blockNumber: string;
1901
2066
  /**
1902
- * The block finality timestamp.
2067
+ * The block creation (proposal) timestamp in seconds
1903
2068
  */
1904
2069
  blockTimestamp: number;
2070
+ /**
2071
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2072
+ */
2073
+ blockTimestampMilliseconds?: number;
2074
+ /**
2075
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
2076
+ */
2077
+ blockMinDelayExcess?: number;
1905
2078
  /**
1906
2079
  * The block hash identifier.
1907
2080
  */
@@ -1960,6 +2133,7 @@ declare enum InternalTransactionOpCall {
1960
2133
  CALL = "CALL",
1961
2134
  CREATE = "CREATE",
1962
2135
  CREATE2 = "CREATE2",
2136
+ CREATE3 = "CREATE3",
1963
2137
  CALLCODE = "CALLCODE",
1964
2138
  DELEGATECALL = "DELEGATECALL",
1965
2139
  STATICCALL = "STATICCALL"
@@ -2001,11 +2175,11 @@ type TeleporterMessageInfo = {
2001
2175
  /**
2002
2176
  * chain id of the source chain. valid only for destination transactions
2003
2177
  */
2004
- sourceChainId?: Record<string, any>;
2178
+ sourceChainId?: string;
2005
2179
  /**
2006
2180
  * chain id of the destination chain. valid only for source transactions
2007
2181
  */
2008
- destinationChainId?: Record<string, any>;
2182
+ destinationChainId?: string;
2009
2183
  };
2010
2184
 
2011
2185
  type GetTransactionResponse = {
@@ -2022,7 +2196,7 @@ type GetTransactionResponse = {
2022
2196
  */
2023
2197
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2024
2198
  /**
2025
- * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
2199
+ * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
2026
2200
  */
2027
2201
  internalTransactions?: Array<InternalTransactionDetails>;
2028
2202
  networkTokenDetails: NetworkTokenDetails;
@@ -2047,9 +2221,13 @@ type Erc1155Transfer = {
2047
2221
  */
2048
2222
  blockNumber: string;
2049
2223
  /**
2050
- * The block finality timestamp.
2224
+ * The block creation (proposal) timestamp in seconds
2051
2225
  */
2052
2226
  blockTimestamp: number;
2227
+ /**
2228
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2229
+ */
2230
+ blockTimestampMilliseconds?: number;
2053
2231
  /**
2054
2232
  * The block hash identifier.
2055
2233
  */
@@ -2079,9 +2257,13 @@ type Erc20Transfer = {
2079
2257
  */
2080
2258
  blockNumber: string;
2081
2259
  /**
2082
- * The block finality timestamp.
2260
+ * The block creation (proposal) timestamp in seconds
2083
2261
  */
2084
2262
  blockTimestamp: number;
2263
+ /**
2264
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2265
+ */
2266
+ blockTimestampMilliseconds?: number;
2085
2267
  /**
2086
2268
  * The block hash identifier.
2087
2269
  */
@@ -2111,9 +2293,13 @@ type Erc721Transfer = {
2111
2293
  */
2112
2294
  blockNumber: string;
2113
2295
  /**
2114
- * The block finality timestamp.
2296
+ * The block creation (proposal) timestamp in seconds
2115
2297
  */
2116
2298
  blockTimestamp: number;
2299
+ /**
2300
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2301
+ */
2302
+ blockTimestampMilliseconds?: number;
2117
2303
  /**
2118
2304
  * The block hash identifier.
2119
2305
  */
@@ -2142,9 +2328,13 @@ type InternalTransaction = {
2142
2328
  */
2143
2329
  blockNumber: string;
2144
2330
  /**
2145
- * The block finality timestamp.
2331
+ * The block creation (proposal) timestamp in seconds
2146
2332
  */
2147
2333
  blockTimestamp: number;
2334
+ /**
2335
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2336
+ */
2337
+ blockTimestampMilliseconds?: number;
2148
2338
  /**
2149
2339
  * The block hash identifier.
2150
2340
  */
@@ -2191,7 +2381,7 @@ type TransactionDetails = {
2191
2381
  */
2192
2382
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2193
2383
  /**
2194
- * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
2384
+ * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
2195
2385
  */
2196
2386
  internalTransactions?: Array<InternalTransactionDetails>;
2197
2387
  };
@@ -2222,7 +2412,7 @@ declare class EvmTransactionsService {
2222
2412
  constructor(httpRequest: BaseHttpRequest);
2223
2413
  /**
2224
2414
  * List the latest transactions across all supported EVM chains
2225
- * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
2415
+ * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
2226
2416
  * @returns ListNativeTransactionsResponse Successful response
2227
2417
  * @throws ApiError
2228
2418
  */
@@ -2490,7 +2680,7 @@ declare class EvmTransactionsService {
2490
2680
  * List internal transactions
2491
2681
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2492
2682
  *
2493
- * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
2683
+ * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2`/`CREATE3` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
2494
2684
  * @returns ListInternalTransactionsResponse Successful response
2495
2685
  * @throws ApiError
2496
2686
  */
@@ -2586,128 +2776,376 @@ declare class EvmTransactionsService {
2586
2776
  }): CancelablePromise<ListNativeTransactionsResponse>;
2587
2777
  }
2588
2778
 
2589
- declare class HealthCheckService {
2590
- readonly httpRequest: BaseHttpRequest;
2591
- constructor(httpRequest: BaseHttpRequest);
2779
+ type HealthIndicatorResultDto = {
2592
2780
  /**
2593
- * Get the health of the service
2594
- * @returns any The Health Check is successful
2595
- * @throws ApiError
2781
+ * Status of the health indicator.
2596
2782
  */
2597
- dataHealthCheck(): CancelablePromise<{
2598
- status?: string;
2599
- info?: Record<string, Record<string, string>> | null;
2600
- error?: Record<string, Record<string, string>> | null;
2601
- details?: Record<string, Record<string, string>>;
2602
- }>;
2603
- }
2604
-
2605
- type ListNftTokens = {
2783
+ status?: HealthIndicatorResultDto.status;
2784
+ };
2785
+ declare namespace HealthIndicatorResultDto {
2606
2786
  /**
2607
- * 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.
2787
+ * Status of the health indicator.
2608
2788
  */
2609
- nextPageToken?: string;
2610
- tokens: Array<(Erc721Token | Erc1155Token)>;
2789
+ enum status {
2790
+ UP = "up",
2791
+ DOWN = "down"
2792
+ }
2793
+ }
2794
+
2795
+ type HealthCheckResultDto = {
2796
+ status?: HealthCheckResultDto.status;
2797
+ info?: any | null;
2798
+ error?: any | null;
2799
+ details?: Record<string, HealthIndicatorResultDto>;
2611
2800
  };
2801
+ declare namespace HealthCheckResultDto {
2802
+ enum status {
2803
+ ERROR = "error",
2804
+ OK = "ok",
2805
+ SHUTTING_DOWN = "shutting_down"
2806
+ }
2807
+ }
2612
2808
 
2613
- declare class NfTsService {
2809
+ declare class HealthCheckService {
2614
2810
  readonly httpRequest: BaseHttpRequest;
2615
2811
  constructor(httpRequest: BaseHttpRequest);
2616
2812
  /**
2617
- * Reindex NFT metadata
2618
- * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2619
- * @returns any Successful response
2620
- * @throws ApiError
2621
- */
2622
- reindexNft({ chainId, address, tokenId, }: {
2623
- /**
2624
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2625
- */
2626
- chainId: string;
2627
- /**
2628
- * Contract address on the relevant chain.
2629
- */
2630
- address: string;
2631
- /**
2632
- * TokenId on the contract
2633
- */
2634
- tokenId: string;
2635
- }): CancelablePromise<any>;
2636
- /**
2637
- * List tokens
2638
- * Lists tokens for an NFT contract.
2639
- * @returns ListNftTokens Successful response
2813
+ * Get the health of the service
2814
+ * Check the health of the service. This checks the read and write health of the database and cache.
2815
+ * @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
2640
2816
  * @throws ApiError
2641
2817
  */
2642
- listTokens({ chainId, address, pageToken, pageSize, }: {
2643
- /**
2644
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2645
- */
2646
- chainId: string;
2647
- /**
2648
- * Contract address on the relevant chain.
2649
- */
2650
- address: string;
2651
- /**
2652
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2653
- */
2654
- pageToken?: string;
2655
- /**
2656
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2657
- */
2658
- pageSize?: number;
2659
- }): CancelablePromise<ListNftTokens>;
2818
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2660
2819
  /**
2661
- * Get token details
2662
- * Gets token details for a specific token of an NFT contract.
2663
- * @returns any Successful response
2820
+ * Get the liveliness of the service (reads only)
2821
+ * Check the liveliness of the service (reads only).
2822
+ * @returns HealthCheckResultDto The liveliness of the service (reads only)
2664
2823
  * @throws ApiError
2665
2824
  */
2666
- getTokenDetails({ chainId, address, tokenId, }: {
2667
- /**
2668
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2669
- */
2670
- chainId: string;
2671
- /**
2672
- * Contract address on the relevant chain.
2673
- */
2674
- address: string;
2675
- /**
2676
- * TokenId on the contract
2677
- */
2678
- tokenId: string;
2679
- }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2825
+ liveCheck(): CancelablePromise<HealthCheckResultDto>;
2680
2826
  }
2681
2827
 
2682
- type AccessRequest = {
2683
- /**
2684
- * The email address to send the access token to
2685
- */
2686
- email: string;
2687
- /**
2688
- * The captcha to verify the user
2689
- */
2690
- captcha: string;
2828
+ type IcmDestinationTransaction = {
2829
+ txHash: string;
2830
+ timestamp: number;
2831
+ gasSpent: string;
2832
+ rewardRedeemer: string;
2833
+ delivererAddress: string;
2691
2834
  };
2692
2835
 
2693
- type NotificationsResponse = {
2694
- message: string;
2836
+ type IcmReceipt = {
2837
+ receivedMessageNonce: string;
2838
+ relayerRewardAddress: string;
2695
2839
  };
2696
2840
 
2697
- type SubscribeRequest = {
2841
+ type IcmRewardDetails = {
2698
2842
  /**
2699
- * The access token to use for authentication
2843
+ * A wallet or contract address in mixed-case checksum encoding.
2700
2844
  */
2701
- accessToken: string;
2845
+ address: string;
2702
2846
  /**
2703
- * The node ID to subscribe to
2847
+ * The contract name.
2704
2848
  */
2705
- nodeId: string;
2849
+ name: string;
2706
2850
  /**
2707
- * The notification types to subscribe to. If not provided, all notification types will be subscribed to
2851
+ * The contract symbol.
2708
2852
  */
2709
- notifications?: Array<'connectivity' | 'ports' | 'version'>;
2710
- };
2853
+ symbol: string;
2854
+ /**
2855
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
2856
+ */
2857
+ decimals: number;
2858
+ /**
2859
+ * The logo uri for the address.
2860
+ */
2861
+ logoUri?: string;
2862
+ ercType: IcmRewardDetails.ercType;
2863
+ /**
2864
+ * The token price, if available.
2865
+ */
2866
+ price?: Money;
2867
+ value: string;
2868
+ };
2869
+ declare namespace IcmRewardDetails {
2870
+ enum ercType {
2871
+ ERC_20 = "ERC-20"
2872
+ }
2873
+ }
2874
+
2875
+ type IcmSourceTransaction = {
2876
+ txHash: string;
2877
+ timestamp: number;
2878
+ gasSpent: string;
2879
+ };
2880
+
2881
+ type DeliveredIcmMessage = {
2882
+ messageId: string;
2883
+ icmContractAddress: string;
2884
+ sourceBlockchainId: string;
2885
+ destinationBlockchainId: string;
2886
+ sourceEvmChainId: string;
2887
+ destinationEvmChainId: string;
2888
+ messageNonce: string;
2889
+ from: string;
2890
+ to: string;
2891
+ data?: string;
2892
+ messageExecuted: boolean;
2893
+ receipts: Array<IcmReceipt>;
2894
+ receiptDelivered: boolean;
2895
+ rewardDetails: IcmRewardDetails;
2896
+ sourceTransaction: IcmSourceTransaction;
2897
+ destinationTransaction: IcmDestinationTransaction;
2898
+ status: DeliveredIcmMessage.status;
2899
+ };
2900
+ declare namespace DeliveredIcmMessage {
2901
+ enum status {
2902
+ DELIVERED = "delivered"
2903
+ }
2904
+ }
2905
+
2906
+ type DeliveredSourceNotIndexedIcmMessage = {
2907
+ messageId: string;
2908
+ icmContractAddress: string;
2909
+ sourceBlockchainId: string;
2910
+ destinationBlockchainId: string;
2911
+ sourceEvmChainId: string;
2912
+ destinationEvmChainId: string;
2913
+ messageNonce: string;
2914
+ from: string;
2915
+ to: string;
2916
+ data?: string;
2917
+ messageExecuted: boolean;
2918
+ receipts: Array<IcmReceipt>;
2919
+ receiptDelivered: boolean;
2920
+ rewardDetails: IcmRewardDetails;
2921
+ destinationTransaction: IcmDestinationTransaction;
2922
+ status: DeliveredSourceNotIndexedIcmMessage.status;
2923
+ };
2924
+ declare namespace DeliveredSourceNotIndexedIcmMessage {
2925
+ enum status {
2926
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
2927
+ }
2928
+ }
2929
+
2930
+ type PendingIcmMessage = {
2931
+ messageId: string;
2932
+ icmContractAddress: string;
2933
+ sourceBlockchainId: string;
2934
+ destinationBlockchainId: string;
2935
+ sourceEvmChainId: string;
2936
+ destinationEvmChainId: string;
2937
+ messageNonce: string;
2938
+ from: string;
2939
+ to: string;
2940
+ data?: string;
2941
+ messageExecuted: boolean;
2942
+ receipts: Array<IcmReceipt>;
2943
+ receiptDelivered: boolean;
2944
+ rewardDetails: IcmRewardDetails;
2945
+ sourceTransaction: IcmSourceTransaction;
2946
+ status: PendingIcmMessage.status;
2947
+ };
2948
+ declare namespace PendingIcmMessage {
2949
+ enum status {
2950
+ PENDING = "pending"
2951
+ }
2952
+ }
2953
+
2954
+ type ListIcmMessagesResponse = {
2955
+ /**
2956
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2957
+ */
2958
+ nextPageToken?: string;
2959
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2960
+ };
2961
+
2962
+ declare class InterchainMessagingService {
2963
+ readonly httpRequest: BaseHttpRequest;
2964
+ constructor(httpRequest: BaseHttpRequest);
2965
+ /**
2966
+ * Get an ICM message
2967
+ * Gets an ICM message by teleporter message ID.
2968
+ * @returns any Successful response
2969
+ * @throws ApiError
2970
+ */
2971
+ getIcmMessage({ messageId, }: {
2972
+ /**
2973
+ * The teleporter message ID of the ICM message.
2974
+ */
2975
+ messageId: string;
2976
+ }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2977
+ /**
2978
+ * List ICM messages
2979
+ * Lists ICM messages. Ordered by timestamp in descending order.
2980
+ * @returns ListIcmMessagesResponse Successful response
2981
+ * @throws ApiError
2982
+ */
2983
+ listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
2984
+ /**
2985
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2986
+ */
2987
+ pageToken?: string;
2988
+ /**
2989
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2990
+ */
2991
+ pageSize?: number;
2992
+ /**
2993
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
2994
+ */
2995
+ sourceBlockchainId?: string;
2996
+ /**
2997
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
2998
+ */
2999
+ destinationBlockchainId?: string;
3000
+ /**
3001
+ * The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
3002
+ */
3003
+ blockchainId?: string;
3004
+ /**
3005
+ * The address of the recipient of the ICM message.
3006
+ */
3007
+ to?: string;
3008
+ /**
3009
+ * The address of the sender of the ICM message.
3010
+ */
3011
+ from?: string;
3012
+ /**
3013
+ * Either mainnet or testnet/fuji.
3014
+ */
3015
+ network?: Network;
3016
+ }): CancelablePromise<ListIcmMessagesResponse>;
3017
+ /**
3018
+ * List ICM messages by address
3019
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
3020
+ * @returns ListIcmMessagesResponse Successful response
3021
+ * @throws ApiError
3022
+ */
3023
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
3024
+ /**
3025
+ * An EVM address.
3026
+ */
3027
+ address: string;
3028
+ /**
3029
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3030
+ */
3031
+ pageToken?: string;
3032
+ /**
3033
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3034
+ */
3035
+ pageSize?: number;
3036
+ /**
3037
+ * Either mainnet or testnet/fuji.
3038
+ */
3039
+ network?: Network;
3040
+ }): CancelablePromise<ListIcmMessagesResponse>;
3041
+ }
3042
+
3043
+ type ListNftTokens = {
3044
+ /**
3045
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
3046
+ */
3047
+ nextPageToken?: string;
3048
+ tokens: Array<(Erc721Token | Erc1155Token)>;
3049
+ };
3050
+
3051
+ declare class NfTsService {
3052
+ readonly httpRequest: BaseHttpRequest;
3053
+ constructor(httpRequest: BaseHttpRequest);
3054
+ /**
3055
+ * Reindex NFT metadata
3056
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
3057
+ * @returns any Successful response
3058
+ * @throws ApiError
3059
+ */
3060
+ reindexNft({ chainId, address, tokenId, }: {
3061
+ /**
3062
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3063
+ */
3064
+ chainId: string;
3065
+ /**
3066
+ * Contract address on the relevant chain.
3067
+ */
3068
+ address: string;
3069
+ /**
3070
+ * TokenId on the contract
3071
+ */
3072
+ tokenId: string;
3073
+ }): CancelablePromise<any>;
3074
+ /**
3075
+ * List tokens
3076
+ * Lists tokens for an NFT contract.
3077
+ * @returns ListNftTokens Successful response
3078
+ * @throws ApiError
3079
+ */
3080
+ listTokens({ chainId, address, pageToken, pageSize, }: {
3081
+ /**
3082
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3083
+ */
3084
+ chainId: string;
3085
+ /**
3086
+ * Contract address on the relevant chain.
3087
+ */
3088
+ address: string;
3089
+ /**
3090
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3091
+ */
3092
+ pageToken?: string;
3093
+ /**
3094
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3095
+ */
3096
+ pageSize?: number;
3097
+ }): CancelablePromise<ListNftTokens>;
3098
+ /**
3099
+ * Get token details
3100
+ * Gets token details for a specific token of an NFT contract.
3101
+ * @returns any Successful response
3102
+ * @throws ApiError
3103
+ */
3104
+ getTokenDetails({ chainId, address, tokenId, }: {
3105
+ /**
3106
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3107
+ */
3108
+ chainId: string;
3109
+ /**
3110
+ * Contract address on the relevant chain.
3111
+ */
3112
+ address: string;
3113
+ /**
3114
+ * TokenId on the contract
3115
+ */
3116
+ tokenId: string;
3117
+ }): CancelablePromise<(Erc721Token | Erc1155Token)>;
3118
+ }
3119
+
3120
+ type AccessRequest = {
3121
+ /**
3122
+ * The email address to send the access token to
3123
+ */
3124
+ email: string;
3125
+ /**
3126
+ * The captcha to verify the user
3127
+ */
3128
+ captcha: string;
3129
+ };
3130
+
3131
+ type NotificationsResponse = {
3132
+ message: string;
3133
+ };
3134
+
3135
+ type SubscribeRequest = {
3136
+ /**
3137
+ * The access token to use for authentication
3138
+ */
3139
+ accessToken: string;
3140
+ /**
3141
+ * The node ID to subscribe to
3142
+ */
3143
+ nodeId: string;
3144
+ /**
3145
+ * The notification types to subscribe to. If not provided, all notification types will be subscribed to
3146
+ */
3147
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3148
+ };
2711
3149
 
2712
3150
  type SubscriptionsRequest = {
2713
3151
  /**
@@ -2814,7 +3252,7 @@ declare enum PrimaryNetworkOperationType {
2814
3252
  type PrimaryNetworkOptions = {
2815
3253
  addresses?: Array<string>;
2816
3254
  cChainEvmAddresses?: Array<string>;
2817
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
3255
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2818
3256
  };
2819
3257
 
2820
3258
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -2869,7 +3307,7 @@ type OperationStatusResponse = {
2869
3307
  operationType: OperationType;
2870
3308
  operationStatus: OperationStatus;
2871
3309
  message?: string;
2872
- metadata: TransactionExportMetadata;
3310
+ metadata?: TransactionExportMetadata;
2873
3311
  createdAtTimestamp: number;
2874
3312
  updatedAtTimestamp: number;
2875
3313
  };
@@ -2897,19 +3335,280 @@ declare class OperationsService {
2897
3335
  * @returns OperationStatusResponse Successful response
2898
3336
  * @throws ApiError
2899
3337
  */
2900
- postTransactionExportJob({ requestBody, }: {
2901
- requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2902
- }): CancelablePromise<OperationStatusResponse>;
2903
- }
3338
+ postTransactionExportJob({ requestBody, }: {
3339
+ requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
3340
+ }): CancelablePromise<OperationStatusResponse>;
3341
+ }
3342
+
3343
+ type EvmGenesisAllocDto = {
3344
+ /**
3345
+ * Account balance in hex format
3346
+ */
3347
+ balance?: string;
3348
+ /**
3349
+ * Contract bytecode in hex format
3350
+ */
3351
+ code?: string;
3352
+ /**
3353
+ * Contract storage slots
3354
+ */
3355
+ storage?: Record<string, string>;
3356
+ };
3357
+
3358
+ type EvmGenesisAllowListConfigDto = {
3359
+ /**
3360
+ * Block timestamp
3361
+ */
3362
+ blockTimestamp?: number;
3363
+ /**
3364
+ * Admin addresses
3365
+ */
3366
+ adminAddresses?: Array<string>;
3367
+ /**
3368
+ * Manager addresses
3369
+ */
3370
+ managerAddresses?: Array<string>;
3371
+ /**
3372
+ * Enabled addresses
3373
+ */
3374
+ enabledAddresses?: Array<string>;
3375
+ };
3376
+
3377
+ type EvmGenesisFeeConfigDto = {
3378
+ /**
3379
+ * Base fee change denominator
3380
+ */
3381
+ baseFeeChangeDenominator?: number;
3382
+ /**
3383
+ * Block gas cost step
3384
+ */
3385
+ blockGasCostStep?: number;
3386
+ /**
3387
+ * Gas limit
3388
+ */
3389
+ gasLimit?: number;
3390
+ /**
3391
+ * Maximum block gas cost
3392
+ */
3393
+ maxBlockGasCost?: number;
3394
+ /**
3395
+ * Minimum base fee
3396
+ */
3397
+ minBaseFee?: number;
3398
+ /**
3399
+ * Minimum block gas cost
3400
+ */
3401
+ minBlockGasCost?: number;
3402
+ /**
3403
+ * Target block rate
3404
+ */
3405
+ targetBlockRate?: number;
3406
+ /**
3407
+ * Target gas
3408
+ */
3409
+ targetGas?: number;
3410
+ };
3411
+
3412
+ type EvmGenesisWarpConfigDto = {
3413
+ /**
3414
+ * Block timestamp
3415
+ */
3416
+ blockTimestamp?: number;
3417
+ /**
3418
+ * Quorum numerator
3419
+ */
3420
+ quorumNumerator?: number;
3421
+ /**
3422
+ * Require primary network signers
3423
+ */
3424
+ requirePrimaryNetworkSigners?: boolean;
3425
+ };
3426
+
3427
+ type EvmGenesisConfigDto = {
3428
+ /**
3429
+ * Berlin block number
3430
+ */
3431
+ berlinBlock?: number;
3432
+ /**
3433
+ * Byzantium block number
3434
+ */
3435
+ byzantiumBlock?: number;
3436
+ /**
3437
+ * Chain ID
3438
+ */
3439
+ chainId?: number;
3440
+ /**
3441
+ * Constantinople block number
3442
+ */
3443
+ constantinopleBlock?: number;
3444
+ /**
3445
+ * EIP-150 block number
3446
+ */
3447
+ eip150Block?: number;
3448
+ /**
3449
+ * EIP-150 hash
3450
+ */
3451
+ eip150Hash?: string;
3452
+ /**
3453
+ * EIP-155 block number
3454
+ */
3455
+ eip155Block?: number;
3456
+ /**
3457
+ * EIP-158 block number
3458
+ */
3459
+ eip158Block?: number;
3460
+ /**
3461
+ * Fee configuration
3462
+ */
3463
+ feeConfig?: EvmGenesisFeeConfigDto;
3464
+ /**
3465
+ * Homestead block number
3466
+ */
3467
+ homesteadBlock?: number;
3468
+ /**
3469
+ * Istanbul block number
3470
+ */
3471
+ istanbulBlock?: number;
3472
+ /**
3473
+ * London block number
3474
+ */
3475
+ londonBlock?: number;
3476
+ /**
3477
+ * Muir Glacier block number
3478
+ */
3479
+ muirGlacierBlock?: number;
3480
+ /**
3481
+ * Petersburg block number
3482
+ */
3483
+ petersburgBlock?: number;
3484
+ /**
3485
+ * Subnet EVM timestamp
3486
+ */
3487
+ subnetEVMTimestamp?: number;
3488
+ /**
3489
+ * Allow fee recipients
3490
+ */
3491
+ allowFeeRecipients?: boolean;
3492
+ /**
3493
+ * Warp configuration
3494
+ */
3495
+ warpConfig?: EvmGenesisWarpConfigDto;
3496
+ /**
3497
+ * Transaction allow list configuration
3498
+ */
3499
+ txAllowListConfig?: EvmGenesisAllowListConfigDto;
3500
+ /**
3501
+ * Contract deployer allow list configuration
3502
+ */
3503
+ contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
3504
+ /**
3505
+ * Contract native minter configuration
3506
+ */
3507
+ contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
3508
+ /**
3509
+ * Fee manager configuration
3510
+ */
3511
+ feeManagerConfig?: EvmGenesisAllowListConfigDto;
3512
+ /**
3513
+ * Reward manager configuration
3514
+ */
3515
+ rewardManagerConfig?: EvmGenesisAllowListConfigDto;
3516
+ };
3517
+
3518
+ type EvmGenesisDto = {
3519
+ /**
3520
+ * Airdrop amount
3521
+ */
3522
+ airdropAmount?: number | null;
3523
+ /**
3524
+ * Airdrop hash
3525
+ */
3526
+ airdropHash?: string;
3527
+ /**
3528
+ * Allocation of accounts and balances
3529
+ */
3530
+ alloc?: Record<string, EvmGenesisAllocDto>;
3531
+ /**
3532
+ * Base fee per gas
3533
+ */
3534
+ baseFeePerGas?: number | null;
3535
+ /**
3536
+ * Blob gas used
3537
+ */
3538
+ blobGasUsed?: string | null;
3539
+ /**
3540
+ * Coinbase address
3541
+ */
3542
+ coinbase?: string;
3543
+ /**
3544
+ * Genesis configuration
3545
+ */
3546
+ config?: EvmGenesisConfigDto;
3547
+ /**
3548
+ * Difficulty
3549
+ */
3550
+ difficulty?: string;
3551
+ /**
3552
+ * Excess blob gas
3553
+ */
3554
+ excessBlobGas?: string | null;
3555
+ /**
3556
+ * Extra data
3557
+ */
3558
+ extraData?: string;
3559
+ /**
3560
+ * Gas limit
3561
+ */
3562
+ gasLimit?: string;
3563
+ /**
3564
+ * Gas used
3565
+ */
3566
+ gasUsed?: string;
3567
+ /**
3568
+ * Mix hash
3569
+ */
3570
+ mixHash?: string;
3571
+ /**
3572
+ * Nonce
3573
+ */
3574
+ nonce?: string;
3575
+ /**
3576
+ * Block number
3577
+ */
3578
+ number?: string;
3579
+ /**
3580
+ * Parent hash
3581
+ */
3582
+ parentHash?: string;
3583
+ /**
3584
+ * Block timestamp
3585
+ */
3586
+ timestamp?: string;
3587
+ };
3588
+
3589
+ type Blockchain = {
3590
+ createBlockTimestamp: number;
3591
+ createBlockNumber: string;
3592
+ blockchainId: string;
3593
+ vmId: string;
3594
+ subnetId: string;
3595
+ blockchainName: string;
3596
+ /**
3597
+ * EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well.
3598
+ */
3599
+ evmChainId?: number;
3600
+ /**
3601
+ * The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
3602
+ */
3603
+ genesisData?: (EvmGenesisDto | string);
3604
+ };
2904
3605
 
2905
3606
  declare enum BlockchainIds {
2906
3607
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2907
3608
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2908
3609
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
2909
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2910
3610
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
2911
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
2912
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3611
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
2913
3612
  }
2914
3613
 
2915
3614
  type ChainAddressChainIdMap = {
@@ -2966,15 +3665,6 @@ type GetNetworkDetailsResponse = {
2966
3665
  delegatorDetails: DelegatorsDetails;
2967
3666
  };
2968
3667
 
2969
- type Blockchain = {
2970
- createBlockTimestamp: number;
2971
- createBlockNumber: string;
2972
- blockchainId: string;
2973
- vmId: string;
2974
- subnetId: string;
2975
- blockchainName: string;
2976
- };
2977
-
2978
3668
  type ListBlockchainsResponse = {
2979
3669
  /**
2980
3670
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -3070,6 +3760,10 @@ type L1ValidatorDetailsFull = {
3070
3760
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3071
3761
  */
3072
3762
  validationId: string;
3763
+ /**
3764
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3765
+ */
3766
+ validationIdHex: string;
3073
3767
  nodeId: string;
3074
3768
  subnetId: string;
3075
3769
  /**
@@ -3104,10 +3798,10 @@ type ListL1ValidatorsResponse = {
3104
3798
  * The list of L1 validations for the given Subnet ID, NodeId or validationId
3105
3799
  */
3106
3800
  validators: Array<L1ValidatorDetailsFull>;
3107
- };
3108
-
3109
- type BlockchainInfo = {
3110
- blockchainId: string;
3801
+ /**
3802
+ * Block height at which the L1 validator's remaining balance is calculated
3803
+ */
3804
+ blockHeight: string;
3111
3805
  };
3112
3806
 
3113
3807
  type L1ValidatorManagerDetails = {
@@ -3165,7 +3859,7 @@ type Subnet = {
3165
3859
  * L1 validator manager details.
3166
3860
  */
3167
3861
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3168
- blockchains: Array<BlockchainInfo>;
3862
+ blockchains: Array<Blockchain>;
3169
3863
  };
3170
3864
 
3171
3865
  type ListSubnetsResponse = {
@@ -3181,6 +3875,29 @@ type BlsCredentials = {
3181
3875
  proofOfPossession: string;
3182
3876
  };
3183
3877
 
3878
+ type Geolocation = {
3879
+ /**
3880
+ * The name of the validator node.
3881
+ */
3882
+ city: string;
3883
+ /**
3884
+ * The city of the validator node.
3885
+ */
3886
+ country: string;
3887
+ /**
3888
+ * The country code of the validator node.
3889
+ */
3890
+ countryCode: string;
3891
+ /**
3892
+ * The latitude of the validator node.
3893
+ */
3894
+ latitude: number;
3895
+ /**
3896
+ * The longitude of the validator node.
3897
+ */
3898
+ longitude: number;
3899
+ };
3900
+
3184
3901
  type Rewards = {
3185
3902
  validationRewardAmount: string;
3186
3903
  delegationRewardAmount: string;
@@ -3249,6 +3966,10 @@ type ActiveValidatorDetails = {
3249
3966
  potentialRewards: Rewards;
3250
3967
  validationStatus: ActiveValidatorDetails.validationStatus;
3251
3968
  validatorHealth: ValidatorHealthDetails;
3969
+ /**
3970
+ * The geographical location of the validator node, if available.
3971
+ */
3972
+ geolocation: Geolocation | null;
3252
3973
  };
3253
3974
  declare namespace ActiveValidatorDetails {
3254
3975
  enum validationStatus {
@@ -3406,7 +4127,6 @@ type XChainAssetDetails = {
3406
4127
  declare enum XChainId {
3407
4128
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3408
4129
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3409
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3410
4130
  X_CHAIN = "x-chain"
3411
4131
  }
3412
4132
 
@@ -3477,7 +4197,7 @@ declare class PrimaryNetworkService {
3477
4197
  */
3478
4198
  pageToken?: string;
3479
4199
  /**
3480
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4200
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3481
4201
  */
3482
4202
  pageSize?: number;
3483
4203
  /**
@@ -3485,6 +4205,22 @@ declare class PrimaryNetworkService {
3485
4205
  */
3486
4206
  sortOrder?: SortOrder;
3487
4207
  }): CancelablePromise<ListBlockchainsResponse>;
4208
+ /**
4209
+ * Get blockchain details by ID
4210
+ * Get details of the blockchain registered on the network.
4211
+ * @returns Blockchain Successful response
4212
+ * @throws ApiError
4213
+ */
4214
+ getBlockchainById({ blockchainId, network, }: {
4215
+ /**
4216
+ * The blockchain ID of the blockchain to retrieve.
4217
+ */
4218
+ blockchainId: string;
4219
+ /**
4220
+ * Either mainnet or testnet/fuji.
4221
+ */
4222
+ network: Network;
4223
+ }): CancelablePromise<Blockchain>;
3488
4224
  /**
3489
4225
  * List subnets
3490
4226
  * Lists all subnets registered on the network.
@@ -3501,7 +4237,7 @@ declare class PrimaryNetworkService {
3501
4237
  */
3502
4238
  pageToken?: string;
3503
4239
  /**
3504
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4240
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3505
4241
  */
3506
4242
  pageSize?: number;
3507
4243
  /**
@@ -3527,7 +4263,7 @@ declare class PrimaryNetworkService {
3527
4263
  }): CancelablePromise<Subnet>;
3528
4264
  /**
3529
4265
  * List validators
3530
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
4266
+ * Lists details for validators. By default, returns details for all validators. The nodeIds parameter supports substring matching. Filterable by validation status, delegation capacity, time remaining, fee percentage, uptime performance, and subnet id.
3531
4267
  * @returns ListValidatorDetailsResponse Successful response
3532
4268
  * @throws ApiError
3533
4269
  */
@@ -3545,7 +4281,7 @@ declare class PrimaryNetworkService {
3545
4281
  */
3546
4282
  pageSize?: number;
3547
4283
  /**
3548
- * A comma separated list of node ids to filter by.
4284
+ * A comma separated list of node ids to filter by. Supports substring matching.
3549
4285
  */
3550
4286
  nodeIds?: string;
3551
4287
  /**
@@ -3689,7 +4425,7 @@ declare class PrimaryNetworkService {
3689
4425
  /**
3690
4426
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3691
4427
  */
3692
- l1ValidationId?: any;
4428
+ l1ValidationId?: string;
3693
4429
  includeInactiveL1Validators?: boolean;
3694
4430
  /**
3695
4431
  * A valid node ID in format 'NodeID-HASH'.
@@ -3706,10 +4442,8 @@ declare enum BlockchainId {
3706
4442
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3707
4443
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3708
4444
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3709
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3710
4445
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3711
4446
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3712
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
3713
4447
  P_CHAIN = "p-chain",
3714
4448
  X_CHAIN = "x-chain",
3715
4449
  C_CHAIN = "c-chain"
@@ -4299,6 +5033,10 @@ type Utxo = {
4299
5033
  * UTXO ID for this output.
4300
5034
  */
4301
5035
  utxoId: string;
5036
+ /**
5037
+ * The bytes of the UTXO
5038
+ */
5039
+ utxoBytes?: string;
4302
5040
  /**
4303
5041
  * Unix timestamp in seconds at which this output was consumed.
4304
5042
  */
@@ -4467,11 +5205,24 @@ type ListCChainAtomicTransactionsResponse = {
4467
5205
  chainInfo: PrimaryNetworkChainInfo;
4468
5206
  };
4469
5207
 
5208
+ type BlockchainInfo = {
5209
+ chainName: string;
5210
+ vmId: string;
5211
+ /**
5212
+ * The genesis data of the blockchain. Present for CreateChainTx. EVM based chains will return the genesis data as an object. Non-EVM based chains will return the genesis data as an encoded string. The encoding depends on the VM
5213
+ */
5214
+ genesisData?: (EvmGenesisDto | string);
5215
+ };
5216
+
4470
5217
  type L1ValidatorDetailsTransaction = {
4471
5218
  /**
4472
5219
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4473
5220
  */
4474
5221
  validationId: string;
5222
+ /**
5223
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
5224
+ */
5225
+ validationIdHex: string;
4475
5226
  nodeId: string;
4476
5227
  subnetId: string;
4477
5228
  /**
@@ -4543,6 +5294,10 @@ type PChainUtxo = {
4543
5294
  * UTXO ID for this output.
4544
5295
  */
4545
5296
  utxoId: string;
5297
+ /**
5298
+ * The bytes of the UTXO
5299
+ */
5300
+ utxoBytes?: string;
4546
5301
  /**
4547
5302
  * @deprecated
4548
5303
  */
@@ -4601,7 +5356,7 @@ type PChainTransaction = {
4601
5356
  txHash: string;
4602
5357
  txType: PChainTransactionType;
4603
5358
  /**
4604
- * The block finality timestamp.
5359
+ * The block creation (proposal) timestamp in seconds
4605
5360
  */
4606
5361
  blockTimestamp: number;
4607
5362
  /**
@@ -4691,6 +5446,10 @@ type PChainTransaction = {
4691
5446
  * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4692
5447
  */
4693
5448
  blsCredentials?: BlsCredentials;
5449
+ /**
5450
+ * Details of the blockchain that was created in the CreateChainTx
5451
+ */
5452
+ blockchainInfo?: BlockchainInfo;
4694
5453
  };
4695
5454
 
4696
5455
  type ListPChainTransactionsResponse = {
@@ -5061,6 +5820,18 @@ type ListUtxosResponse = {
5061
5820
  chainInfo: PrimaryNetworkChainInfo;
5062
5821
  };
5063
5822
 
5823
+ type PrimaryNetworkAddressesBodyDto = {
5824
+ /**
5825
+ * Comma-separated list of primary network addresses
5826
+ */
5827
+ addresses: string;
5828
+ };
5829
+
5830
+ declare enum UtxosSortByOption {
5831
+ TIMESTAMP = "timestamp",
5832
+ AMOUNT = "amount"
5833
+ }
5834
+
5064
5835
  declare class PrimaryNetworkUtxOsService {
5065
5836
  readonly httpRequest: BaseHttpRequest;
5066
5837
  constructor(httpRequest: BaseHttpRequest);
@@ -5070,7 +5841,7 @@ declare class PrimaryNetworkUtxOsService {
5070
5841
  * @returns any Successful response
5071
5842
  * @throws ApiError
5072
5843
  */
5073
- getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
5844
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
5074
5845
  /**
5075
5846
  * A primary network blockchain id or alias.
5076
5847
  */
@@ -5095,10 +5866,63 @@ declare class PrimaryNetworkUtxOsService {
5095
5866
  * Asset ID for any asset (only applicable X-Chain)
5096
5867
  */
5097
5868
  assetId?: string;
5869
+ /**
5870
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5871
+ */
5872
+ minUtxoAmount?: number;
5873
+ /**
5874
+ * Boolean filter to include spent UTXOs.
5875
+ */
5876
+ includeSpent?: boolean;
5877
+ /**
5878
+ * Which property to sort by, in conjunction with sortOrder.
5879
+ */
5880
+ sortBy?: UtxosSortByOption;
5881
+ /**
5882
+ * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
5883
+ */
5884
+ sortOrder?: SortOrder;
5885
+ }): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
5886
+ /**
5887
+ * List UTXOs v2 - Supports querying for more addresses
5888
+ * Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
5889
+ * @returns any Successful response
5890
+ * @throws ApiError
5891
+ */
5892
+ getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
5893
+ /**
5894
+ * A primary network blockchain id or alias.
5895
+ */
5896
+ blockchainId: BlockchainId;
5897
+ /**
5898
+ * Either mainnet or testnet/fuji.
5899
+ */
5900
+ network: Network;
5901
+ requestBody: PrimaryNetworkAddressesBodyDto;
5902
+ /**
5903
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
5904
+ */
5905
+ pageToken?: string;
5906
+ /**
5907
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
5908
+ */
5909
+ pageSize?: number;
5910
+ /**
5911
+ * Asset ID for any asset (only applicable X-Chain)
5912
+ */
5913
+ assetId?: string;
5914
+ /**
5915
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5916
+ */
5917
+ minUtxoAmount?: number;
5098
5918
  /**
5099
5919
  * Boolean filter to include spent UTXOs.
5100
5920
  */
5101
5921
  includeSpent?: boolean;
5922
+ /**
5923
+ * Which property to sort by, in conjunction with sortOrder.
5924
+ */
5925
+ sortBy?: UtxosSortByOption;
5102
5926
  /**
5103
5927
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
5104
5928
  */
@@ -5212,10 +6036,30 @@ type SignatureAggregationResponse = {
5212
6036
  };
5213
6037
 
5214
6038
  type SignatureAggregatorRequest = {
5215
- message: string;
6039
+ /**
6040
+ * Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with "0x"
6041
+ */
6042
+ message?: string;
6043
+ /**
6044
+ * Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with "0x"
6045
+ */
5216
6046
  justification?: string;
6047
+ /**
6048
+ * Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.
6049
+ */
5217
6050
  signingSubnetId?: string;
6051
+ /**
6052
+ * Optional. Integer from 0 to 100 representing the percentage of the weight of the signing Subnet that is required to sign the message. Defaults to 67 if omitted.
6053
+ */
5218
6054
  quorumPercentage?: number;
6055
+ /**
6056
+ * Optional. Integer from 0 to 100 representing the additional percentage of weight of the signing Subnet that will be attempted to add to the signature. QuorumPercentage+QuorumPercentageBuffer must be less than or equal to 100. Obtaining signatures from more validators can take a longer time, but signatures representing a large percentage of the Subnet weight are less prone to become invalid due to validator weight changes. Defaults to 0 if omitted.
6057
+ */
6058
+ quorumPercentageBuffer?: number;
6059
+ /**
6060
+ * Optional P-Chain height for validator set selection. If 0 (default), validators at proposed height will be used. If non-zero, validators at the specified P-Chain height will be used for signature aggregation.
6061
+ */
6062
+ pChainHeight?: number;
5219
6063
  };
5220
6064
 
5221
6065
  declare class SignatureAggregatorService {
@@ -5234,6 +6078,22 @@ declare class SignatureAggregatorService {
5234
6078
  network: Network;
5235
6079
  requestBody: SignatureAggregatorRequest;
5236
6080
  }): CancelablePromise<SignatureAggregationResponse>;
6081
+ /**
6082
+ * Get Aggregated Signatures
6083
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
6084
+ * @returns SignatureAggregationResponse Successful response
6085
+ * @throws ApiError
6086
+ */
6087
+ getAggregatedSignatures({ network, txHash, }: {
6088
+ /**
6089
+ * Either mainnet or testnet/fuji.
6090
+ */
6091
+ network: Network;
6092
+ /**
6093
+ * A primary network (P or X chain) transaction hash.
6094
+ */
6095
+ txHash: string;
6096
+ }): CancelablePromise<SignatureAggregationResponse>;
5237
6097
  }
5238
6098
 
5239
6099
  type TeleporterDestinationTransaction = {
@@ -5367,15 +6227,17 @@ type ListTeleporterMessagesResponse = {
5367
6227
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5368
6228
  */
5369
6229
  nextPageToken?: string;
5370
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
6230
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
5371
6231
  };
5372
6232
 
5373
6233
  declare class TeleporterService {
5374
6234
  readonly httpRequest: BaseHttpRequest;
5375
6235
  constructor(httpRequest: BaseHttpRequest);
5376
6236
  /**
5377
- * Get a teleporter message
5378
- * Gets a teleporter message by message ID.
6237
+ * @deprecated
6238
+ * **[Deprecated]** Gets a teleporter message by message ID.
6239
+ *
6240
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
5379
6241
  * @returns any Successful response
5380
6242
  * @throws ApiError
5381
6243
  */
@@ -5386,8 +6248,10 @@ declare class TeleporterService {
5386
6248
  messageId: string;
5387
6249
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
5388
6250
  /**
5389
- * List teleporter messages
5390
- * Lists teleporter messages. Ordered by timestamp in descending order.
6251
+ * @deprecated
6252
+ * **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
6253
+ *
6254
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
5391
6255
  * @returns ListTeleporterMessagesResponse Successful response
5392
6256
  * @throws ApiError
5393
6257
  */
@@ -5426,8 +6290,10 @@ declare class TeleporterService {
5426
6290
  network?: Network;
5427
6291
  }): CancelablePromise<ListTeleporterMessagesResponse>;
5428
6292
  /**
5429
- * List teleporter messages by address
5430
- * Lists teleporter messages by address. Ordered by timestamp in descending order.
6293
+ * @deprecated
6294
+ * **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
6295
+ *
6296
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
5431
6297
  * @returns ListTeleporterMessagesResponse Successful response
5432
6298
  * @throws ApiError
5433
6299
  */
@@ -5460,68 +6326,212 @@ type AddressesChangeRequest = {
5460
6326
 
5461
6327
  type AddressActivityMetadata = {
5462
6328
  /**
5463
- * Ethereum address(es) for the address_activity event type
6329
+ * Array of hexadecimal strings of the event signatures.
6330
+ */
6331
+ eventSignatures?: Array<string>;
6332
+ /**
6333
+ * Ethereum address(es) for the address_activity event type. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
5464
6334
  */
5465
6335
  addresses: Array<string>;
6336
+ };
6337
+
6338
+ type EVMAddressActivityRequest = {
6339
+ eventType: EVMAddressActivityRequest.eventType;
6340
+ url: string;
6341
+ name?: string;
6342
+ description?: string;
6343
+ chainId: string;
6344
+ metadata: AddressActivityMetadata;
5466
6345
  /**
5467
- * Array of hexadecimal strings of the event signatures.
6346
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5468
6347
  */
5469
- eventSignatures?: Array<string>;
6348
+ includeInternalTxs?: boolean;
6349
+ /**
6350
+ * Whether to include logs in the webhook payload.
6351
+ */
6352
+ includeLogs?: boolean;
5470
6353
  };
6354
+ declare namespace EVMAddressActivityRequest {
6355
+ enum eventType {
6356
+ ADDRESS_ACTIVITY = "address_activity"
6357
+ }
6358
+ }
5471
6359
 
5472
- declare enum EventType {
6360
+ declare enum AddressActivityEventType {
5473
6361
  ADDRESS_ACTIVITY = "address_activity"
5474
6362
  }
5475
6363
 
5476
- type CreateWebhookRequest = {
6364
+ declare enum WebhookStatusType {
6365
+ ACTIVE = "active",
6366
+ INACTIVE = "inactive"
6367
+ }
6368
+
6369
+ type EVMAddressActivityResponse = {
6370
+ id: string;
5477
6371
  url: string;
5478
6372
  chainId: string;
5479
- eventType: EventType;
6373
+ status: WebhookStatusType;
6374
+ createdAt: number;
6375
+ name: string;
6376
+ description: string;
6377
+ eventType: AddressActivityEventType;
5480
6378
  metadata: AddressActivityMetadata;
5481
- name?: string;
5482
- description?: string;
5483
6379
  /**
5484
- * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6380
+ * Whether to include traces in the webhook payload.
6381
+ */
6382
+ includeInternalTxs?: boolean;
6383
+ /**
6384
+ * Whether to include logs in the webhook payload.
6385
+ */
6386
+ includeLogs?: boolean;
6387
+ };
6388
+
6389
+ type ListWebhookAddressesResponse = {
6390
+ /**
6391
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
6392
+ */
6393
+ nextPageToken?: string;
6394
+ addresses: Array<string>;
6395
+ totalAddresses: number;
6396
+ };
6397
+
6398
+ declare enum PrimaryNetworkAddressActivityEventType {
6399
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6400
+ }
6401
+
6402
+ /**
6403
+ * The type of key to monitor for the address activity event type.
6404
+ */
6405
+ declare enum PlatformAddressActivityKeyType {
6406
+ ADDRESSES = "addresses"
6407
+ }
6408
+
6409
+ /**
6410
+ * Array of address activity sub-event types
6411
+ */
6412
+ declare enum PrimaryNetworkAddressActivitySubEventType {
6413
+ BALANCE_CHANGE = "balance_change",
6414
+ BALANCE_THRESHOLD = "balance_threshold",
6415
+ REWARD_DISTRIBUTION = "reward_distribution"
6416
+ }
6417
+
6418
+ type PrimaryNetworkAddressActivitySubEvents = {
6419
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
6420
+ };
6421
+
6422
+ /**
6423
+ * Type of balance to monitor
6424
+ */
6425
+ declare enum CommonBalanceType {
6426
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
6427
+ UNLOCKED_STAKED = "unlockedStaked",
6428
+ LOCKED_PLATFORM = "lockedPlatform",
6429
+ LOCKED_STAKEABLE = "lockedStakeable",
6430
+ LOCKED_STAKED = "lockedStaked",
6431
+ PENDING_STAKED = "pendingStaked",
6432
+ UNLOCKED = "unlocked",
6433
+ LOCKED = "locked",
6434
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
6435
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
6436
+ }
6437
+
6438
+ type PrimaryNetworkBalanceThresholdFilter = {
6439
+ balanceType: CommonBalanceType;
6440
+ /**
6441
+ * Threshold for balance corresponding to balanceType in nAVAX
6442
+ */
6443
+ balanceThreshold: string;
6444
+ };
6445
+
6446
+ type PrimaryNetworkAddressActivityMetadata = {
6447
+ /**
6448
+ * Array of hexadecimal strings of the event signatures.
6449
+ */
6450
+ eventSignatures?: Array<string>;
6451
+ keyType: PlatformAddressActivityKeyType;
6452
+ /**
6453
+ * Array of keys like addresses corresponding to the keyType being monitored. For PrimaryNetworkAddressActivity event, an array of multiple addresses can be provided. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
6454
+ */
6455
+ keys: Array<string>;
6456
+ /**
6457
+ * Sub-events to monitor
6458
+ */
6459
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6460
+ /**
6461
+ * Balance threshold filter
6462
+ */
6463
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6464
+ };
6465
+
6466
+ type PrimaryNetworkAddressActivityResponse = {
6467
+ id: string;
6468
+ url: string;
6469
+ chainId: string;
6470
+ status: WebhookStatusType;
6471
+ createdAt: number;
6472
+ name: string;
6473
+ description: string;
6474
+ eventType: PrimaryNetworkAddressActivityEventType;
6475
+ metadata: PrimaryNetworkAddressActivityMetadata;
6476
+ };
6477
+
6478
+ declare enum ValidatorActivityEventType {
6479
+ VALIDATOR_ACTIVITY = "validator_activity"
6480
+ }
6481
+
6482
+ /**
6483
+ * The type of key to monitor for the validator activity event type.
6484
+ */
6485
+ declare enum ValidatorActivityKeyType {
6486
+ NODE_ID = "nodeId",
6487
+ SUBNET_ID = "subnetId"
6488
+ }
6489
+
6490
+ type ValidatorActivitySubEvents = {
6491
+ /**
6492
+ * Array of validator activity sub-event types
6493
+ */
6494
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6495
+ };
6496
+
6497
+ type ValidatorActivityMetadata = {
6498
+ /**
6499
+ * Array of hexadecimal strings of the event signatures.
6500
+ */
6501
+ eventSignatures?: Array<string>;
6502
+ keyType: ValidatorActivityKeyType;
6503
+ /**
6504
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
5485
6505
  */
5486
- includeInternalTxs?: boolean;
6506
+ keys: Array<string>;
5487
6507
  /**
5488
- * Whether to include logs in the webhook payload.
6508
+ * Sub-events to monitor
5489
6509
  */
5490
- includeLogs?: boolean;
5491
- };
5492
-
5493
- type ListWebhookAddressesResponse = {
6510
+ subEvents: ValidatorActivitySubEvents;
5494
6511
  /**
5495
- * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
6512
+ * Array of node IDs to filter the events
5496
6513
  */
5497
- nextPageToken?: string;
5498
- addresses: Array<string>;
5499
- totalAddresses: number;
5500
- };
5501
-
5502
- declare enum WebhookStatusType {
5503
- ACTIVE = "active",
5504
- INACTIVE = "inactive"
5505
- }
5506
-
5507
- type WebhookResponse = {
5508
- id: string;
5509
- eventType: EventType;
5510
- metadata: AddressActivityMetadata;
6514
+ nodeIds?: Array<string>;
5511
6515
  /**
5512
- * Whether to include traces in the webhook payload.
6516
+ * Array of subnet IDs to filter the events
5513
6517
  */
5514
- includeInternalTxs?: boolean;
6518
+ subnetIds?: Array<string>;
5515
6519
  /**
5516
- * Whether to include logs in the webhook payload.
6520
+ * L1 validator fee balance threshold in nAVAX
5517
6521
  */
5518
- includeLogs?: boolean;
6522
+ l1ValidatorFeeBalanceThreshold?: string;
6523
+ };
6524
+
6525
+ type ValidatorActivityResponse = {
6526
+ id: string;
5519
6527
  url: string;
5520
6528
  chainId: string;
5521
6529
  status: WebhookStatusType;
5522
6530
  createdAt: number;
5523
6531
  name: string;
5524
6532
  description: string;
6533
+ eventType: ValidatorActivityEventType;
6534
+ metadata: ValidatorActivityMetadata;
5525
6535
  };
5526
6536
 
5527
6537
  type ListWebhooksResponse = {
@@ -5529,8 +6539,31 @@ type ListWebhooksResponse = {
5529
6539
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5530
6540
  */
5531
6541
  nextPageToken?: string;
5532
- webhooks: Array<WebhookResponse>;
6542
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6543
+ };
6544
+
6545
+ declare enum PrimaryNetworkType {
6546
+ MAINNET = "mainnet",
6547
+ FUJI = "fuji"
6548
+ }
6549
+
6550
+ type PrimaryNetworkAddressActivityRequest = {
6551
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
6552
+ url: string;
6553
+ name?: string;
6554
+ description?: string;
6555
+ network: PrimaryNetworkType;
6556
+ chainId: string;
6557
+ /**
6558
+ * Metadata for platform address activity event
6559
+ */
6560
+ metadata: PrimaryNetworkAddressActivityMetadata;
5533
6561
  };
6562
+ declare namespace PrimaryNetworkAddressActivityRequest {
6563
+ enum eventType {
6564
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6565
+ }
6566
+ }
5534
6567
 
5535
6568
  type SharedSecretsResponse = {
5536
6569
  secret: string;
@@ -5548,6 +6581,23 @@ type UpdateWebhookRequest = {
5548
6581
  includeLogs?: boolean;
5549
6582
  };
5550
6583
 
6584
+ type ValidatorActivityRequest = {
6585
+ eventType: ValidatorActivityRequest.eventType;
6586
+ url: string;
6587
+ name?: string;
6588
+ description?: string;
6589
+ network: PrimaryNetworkType;
6590
+ /**
6591
+ * Metadata for platform validator activity event
6592
+ */
6593
+ metadata: ValidatorActivityMetadata;
6594
+ };
6595
+ declare namespace ValidatorActivityRequest {
6596
+ enum eventType {
6597
+ VALIDATOR_ACTIVITY = "validator_activity"
6598
+ }
6599
+ }
6600
+
5551
6601
  declare enum WebhookStatus {
5552
6602
  ACTIVE = "active",
5553
6603
  INACTIVE = "inactive"
@@ -5559,12 +6609,12 @@ declare class WebhooksService {
5559
6609
  /**
5560
6610
  * Create a webhook
5561
6611
  * Create a new webhook.
5562
- * @returns WebhookResponse Successful response
6612
+ * @returns any Successful response
5563
6613
  * @throws ApiError
5564
6614
  */
5565
6615
  createWebhook({ requestBody, }: {
5566
- requestBody: CreateWebhookRequest;
5567
- }): CancelablePromise<WebhookResponse>;
6616
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6617
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5568
6618
  /**
5569
6619
  * List webhooks
5570
6620
  * Lists webhooks for the user.
@@ -5588,7 +6638,7 @@ declare class WebhooksService {
5588
6638
  /**
5589
6639
  * Get a webhook by ID
5590
6640
  * Retrieves a webhook by ID.
5591
- * @returns WebhookResponse Successful response
6641
+ * @returns any Successful response
5592
6642
  * @throws ApiError
5593
6643
  */
5594
6644
  getWebhook({ id, }: {
@@ -5596,11 +6646,11 @@ declare class WebhooksService {
5596
6646
  * The webhook identifier.
5597
6647
  */
5598
6648
  id: string;
5599
- }): CancelablePromise<WebhookResponse>;
6649
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5600
6650
  /**
5601
6651
  * Deactivate a webhook
5602
6652
  * Deactivates a webhook by ID.
5603
- * @returns WebhookResponse Successful response
6653
+ * @returns any Successful response
5604
6654
  * @throws ApiError
5605
6655
  */
5606
6656
  deactivateWebhook({ id, }: {
@@ -5608,11 +6658,11 @@ declare class WebhooksService {
5608
6658
  * The webhook identifier.
5609
6659
  */
5610
6660
  id: string;
5611
- }): CancelablePromise<WebhookResponse>;
6661
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5612
6662
  /**
5613
6663
  * Update a webhook
5614
6664
  * Updates an existing webhook.
5615
- * @returns WebhookResponse Successful response
6665
+ * @returns any Successful response
5616
6666
  * @throws ApiError
5617
6667
  */
5618
6668
  updateWebhook({ id, requestBody, }: {
@@ -5621,14 +6671,14 @@ declare class WebhooksService {
5621
6671
  */
5622
6672
  id: string;
5623
6673
  requestBody: UpdateWebhookRequest;
5624
- }): CancelablePromise<WebhookResponse>;
6674
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5625
6675
  /**
5626
- * Generate a shared secret
5627
- * Generates a new shared secret.
6676
+ * Generate or rotate a shared secret
6677
+ * Generates a new shared secret or rotate an existing one.
5628
6678
  * @returns SharedSecretsResponse Successful response
5629
6679
  * @throws ApiError
5630
6680
  */
5631
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
6681
+ generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5632
6682
  /**
5633
6683
  * Get a shared secret
5634
6684
  * Get a previously generated shared secret.
@@ -5637,9 +6687,9 @@ declare class WebhooksService {
5637
6687
  */
5638
6688
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5639
6689
  /**
5640
- * Add addresses to webhook
5641
- * Add addresses to webhook.
5642
- * @returns WebhookResponse Successful response
6690
+ * Add addresses to EVM activity webhook
6691
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6692
+ * @returns EVMAddressActivityResponse Successful response
5643
6693
  * @throws ApiError
5644
6694
  */
5645
6695
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5648,11 +6698,11 @@ declare class WebhooksService {
5648
6698
  */
5649
6699
  id: string;
5650
6700
  requestBody: AddressesChangeRequest;
5651
- }): CancelablePromise<WebhookResponse>;
6701
+ }): CancelablePromise<EVMAddressActivityResponse>;
5652
6702
  /**
5653
- * Remove addresses from webhook
5654
- * Remove addresses from webhook.
5655
- * @returns WebhookResponse Successful response
6703
+ * Remove addresses from EVM activity webhook
6704
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6705
+ * @returns EVMAddressActivityResponse Successful response
5656
6706
  * @throws ApiError
5657
6707
  */
5658
6708
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5661,10 +6711,10 @@ declare class WebhooksService {
5661
6711
  */
5662
6712
  id: string;
5663
6713
  requestBody: AddressesChangeRequest;
5664
- }): CancelablePromise<WebhookResponse>;
6714
+ }): CancelablePromise<EVMAddressActivityResponse>;
5665
6715
  /**
5666
- * List adresses by webhook
5667
- * List adresses by webhook.
6716
+ * List adresses by EVM activity webhooks
6717
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5668
6718
  * @returns ListWebhookAddressesResponse Successful response
5669
6719
  * @throws ApiError
5670
6720
  */
@@ -5686,6 +6736,7 @@ declare class WebhooksService {
5686
6736
 
5687
6737
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
5688
6738
  declare class Glacier {
6739
+ readonly avaxSupply: AvaxSupplyService;
5689
6740
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
5690
6741
  readonly default: DefaultService;
5691
6742
  readonly evmBalances: EvmBalancesService;
@@ -5694,6 +6745,7 @@ declare class Glacier {
5694
6745
  readonly evmContracts: EvmContractsService;
5695
6746
  readonly evmTransactions: EvmTransactionsService;
5696
6747
  readonly healthCheck: HealthCheckService;
6748
+ readonly interchainMessaging: InterchainMessagingService;
5697
6749
  readonly nfTs: NfTsService;
5698
6750
  readonly notifications: NotificationsService;
5699
6751
  readonly operations: OperationsService;
@@ -5728,6 +6780,17 @@ declare class ApiError extends Error {
5728
6780
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
5729
6781
  }
5730
6782
 
6783
+ type AccessListData = {
6784
+ /**
6785
+ * Access Address
6786
+ */
6787
+ accessAddresses: string;
6788
+ /**
6789
+ * Storage keys
6790
+ */
6791
+ storageKeys: Array<string>;
6792
+ };
6793
+
5731
6794
  type BadGateway = {
5732
6795
  /**
5733
6796
  * The error message describing the reason for the exception
@@ -5762,6 +6825,76 @@ type DataListChainsResponse = {
5762
6825
  chains: Array<ChainInfo>;
5763
6826
  };
5764
6827
 
6828
+ type ERCToken = {
6829
+ /**
6830
+ * Token contract address
6831
+ */
6832
+ address: string;
6833
+ /**
6834
+ * Token name
6835
+ */
6836
+ name: string;
6837
+ /**
6838
+ * Token symbol
6839
+ */
6840
+ symbol: string;
6841
+ /**
6842
+ * Token decimals
6843
+ */
6844
+ decimals: number;
6845
+ /**
6846
+ * Value including decimals
6847
+ */
6848
+ valueWithDecimals: string;
6849
+ };
6850
+
6851
+ type ERCTransfer = {
6852
+ /**
6853
+ * Transaction hash
6854
+ */
6855
+ transactionHash: string;
6856
+ /**
6857
+ * Transfer type
6858
+ */
6859
+ type: string;
6860
+ /**
6861
+ * Sender address
6862
+ */
6863
+ from: string;
6864
+ /**
6865
+ * Recipient address
6866
+ */
6867
+ to: string;
6868
+ /**
6869
+ * Amount transferred
6870
+ */
6871
+ value: string;
6872
+ /**
6873
+ * Token Id
6874
+ */
6875
+ tokenId?: string;
6876
+ /**
6877
+ * Block timestamp
6878
+ */
6879
+ blockTimestamp: number;
6880
+ /**
6881
+ * Log index
6882
+ */
6883
+ logIndex: number;
6884
+ /**
6885
+ * erc20 Token details
6886
+ */
6887
+ erc20Token?: ERCToken;
6888
+ /**
6889
+ * erc721 Token details
6890
+ */
6891
+ erc721Token?: ERCToken;
6892
+ /**
6893
+ * erc1155 Token details
6894
+ */
6895
+ erc1155Token?: ERCToken;
6896
+ };
6897
+
5765
6898
  type Forbidden = {
5766
6899
  /**
5767
6900
  * The error message describing the reason for the exception
@@ -5792,6 +6925,64 @@ type InternalServerError = {
5792
6925
  error: string;
5793
6926
  };
5794
6927
 
6928
+ type Log = {
6929
+ /**
6930
+ * Contract address
6931
+ */
6932
+ address: string;
6933
+ /**
6934
+ * First topic
6935
+ */
6936
+ topic0: string;
6937
+ /**
6938
+ * Second topic (optional)
6939
+ */
6940
+ topic1?: string;
6941
+ /**
6942
+ * Third topic (optional)
6943
+ */
6944
+ topic2?: string;
6945
+ /**
6946
+ * Fourth topic (optional)
6947
+ */
6948
+ topic3?: string;
6949
+ /**
6950
+ * Event data
6951
+ */
6952
+ data: string;
6953
+ /**
6954
+ * Transaction index
6955
+ */
6956
+ transactionIndex: number;
6957
+ /**
6958
+ * Log index
6959
+ */
6960
+ logIndex: number;
6961
+ /**
6962
+ * Indicates if the log was removed
6963
+ */
6964
+ removed: boolean;
6965
+ };
6966
+
6967
+ type NetworkTokenInfo = {
6968
+ /**
6969
+ * Token name
6970
+ */
6971
+ tokenName?: string;
6972
+ /**
6973
+ * Token symbol
6974
+ */
6975
+ tokenSymbol?: string;
6976
+ /**
6977
+ * Token decimals
6978
+ */
6979
+ tokenDecimals?: number;
6980
+ /**
6981
+ * Value including decimals
6982
+ */
6983
+ valueWithDecimals?: string;
6984
+ };
6985
+
5795
6986
  type NextPageToken = {
5796
6987
  /**
5797
6988
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -5844,6 +7035,163 @@ type TooManyRequests = {
5844
7035
  error: string;
5845
7036
  };
5846
7037
 
7038
+ type WebhookInternalTransaction = {
7039
+ /**
7040
+ * Sender address
7041
+ */
7042
+ from: string;
7043
+ /**
7044
+ * Recipient address
7045
+ */
7046
+ to: string;
7047
+ /**
7048
+ * Internal transaction type
7049
+ */
7050
+ internalTxType: string;
7051
+ /**
7052
+ * Value transferred
7053
+ */
7054
+ value: string;
7055
+ /**
7056
+ * Gas used
7057
+ */
7058
+ gasUsed: string;
7059
+ /**
7060
+ * Gas limit
7061
+ */
7062
+ gasLimit: string;
7063
+ /**
7064
+ * Transaction hash
7065
+ */
7066
+ transactionHash: string;
7067
+ };
7068
+
7069
+ type Transaction = {
7070
+ /**
7071
+ * Block hash of the transaction
7072
+ */
7073
+ blockHash: string;
7074
+ /**
7075
+ * Block number of the transaction
7076
+ */
7077
+ blockNumber: string;
7078
+ /**
7079
+ * Sender address
7080
+ */
7081
+ from: string;
7082
+ /**
7083
+ * Gas limit for the transaction
7084
+ */
7085
+ gas: string;
7086
+ /**
7087
+ * Gas price used
7088
+ */
7089
+ gasPrice: string;
7090
+ /**
7091
+ * Maximum fee per gas
7092
+ */
7093
+ maxFeePerGas: string;
7094
+ /**
7095
+ * Maximum priority fee per gas
7096
+ */
7097
+ maxPriorityFeePerGas: string;
7098
+ /**
7099
+ * Transaction hash
7100
+ */
7101
+ txHash: string;
7102
+ /**
7103
+ * Transaction status
7104
+ */
7105
+ txStatus: string;
7106
+ /**
7107
+ * Input data
7108
+ */
7109
+ input: string;
7110
+ /**
7111
+ * Nonce value
7112
+ */
7113
+ nonce: string;
7114
+ /**
7115
+ * Recipient address
7116
+ */
7117
+ to: string;
7118
+ /**
7119
+ * Transaction index
7120
+ */
7121
+ transactionIndex: number;
7122
+ /**
7123
+ * Value transferred in the transaction
7124
+ */
7125
+ value: string;
7126
+ /**
7127
+ * Transaction type
7128
+ */
7129
+ type: number;
7130
+ /**
7131
+ * Chain ID of the network
7132
+ */
7133
+ chainId: string;
7134
+ /**
7135
+ * Cumulative gas used
7136
+ */
7137
+ receiptCumulativeGasUsed: string;
7138
+ /**
7139
+ * Gas used
7140
+ */
7141
+ receiptGasUsed: string;
7142
+ /**
7143
+ * Effective gas price
7144
+ */
7145
+ receiptEffectiveGasPrice: string;
7146
+ /**
7147
+ * Receipt root
7148
+ */
7149
+ receiptRoot: string;
7150
+ /**
7151
+ * Block timestamp
7152
+ */
7153
+ blockTimestamp: number;
7154
+ /**
7155
+ * Contract address (optional)
7156
+ */
7157
+ contractAddress?: string;
7158
+ /**
7159
+ * ERC20 transfers
7160
+ */
7161
+ erc20Transfers: Array<ERCTransfer>;
7162
+ /**
7163
+ * ERC721 transfers
7164
+ */
7165
+ erc721Transfers: Array<ERCTransfer>;
7166
+ /**
7167
+ * ERC1155 transfers
7168
+ */
7169
+ erc1155Transfers: Array<ERCTransfer>;
7170
+ /**
7171
+ * Internal transactions (optional)
7172
+ */
7173
+ internalTransactions?: Array<WebhookInternalTransaction>;
7174
+ /**
7175
+ * Access list (optional)
7176
+ */
7177
+ accessList?: Array<AccessListData>;
7178
+ /**
7179
+ * Network token info (optional)
7180
+ */
7181
+ networkToken?: NetworkTokenInfo;
7182
+ };
7183
+
7184
+ type TransactionEvent = {
7185
+ /**
7186
+ * Transaction details
7187
+ */
7188
+ transaction: Transaction;
7189
+ /**
7190
+ * Array of log events
7191
+ */
7192
+ logs?: Array<Log>;
7193
+ };
7194
+
5847
7195
  type Unauthorized = {
5848
7196
  /**
5849
7197
  * The error message describing the reason for the exception
@@ -5859,4 +7207,43 @@ type Unauthorized = {
5859
7207
  error: string;
5860
7208
  };
5861
7209
 
5862
- export { AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
7210
+ type WebhookAddressActivityResponse = {
7211
+ /**
7212
+ * Webhook ID
7213
+ */
7214
+ webhookId: string;
7215
+ /**
7216
+ * Event type
7217
+ */
7218
+ eventType: WebhookAddressActivityResponse.eventType;
7219
+ /**
7220
+ * Message ID
7221
+ */
7222
+ messageId: string;
7223
+ /**
7224
+ * Event details
7225
+ */
7226
+ event: TransactionEvent;
7227
+ };
7228
+ declare namespace WebhookAddressActivityResponse {
7229
+ /**
7230
+ * Event type
7231
+ */
7232
+ enum eventType {
7233
+ ADDRESS_ACTIVITY = "address_activity"
7234
+ }
7235
+ }
7236
+
7237
+ declare class FetchHttpRequest extends BaseHttpRequest {
7238
+ constructor(config: OpenAPIConfig);
7239
+ /**
7240
+ * Request method
7241
+ * @param options The request options from the service
7242
+ * @returns CancelablePromise<T>
7243
+ * @throws ApiError
7244
+ */
7245
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
7246
+ }
7247
+
7248
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, AvaxSupplyService, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CurrencyCode, DataApiUsageMetricsService, DefaultService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc721Contract, Erc721Token, Erc721TokenBalance, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, UtxosSortByOption, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
7249
+ export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, AvaxSupplyResponse, BadGateway, BadRequest, BalanceOwner, Blockchain, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmGenesisAllocDto, EvmGenesisAllowListConfigDto, EvmGenesisConfigDto, EvmGenesisDto, EvmGenesisFeeConfigDto, EvmGenesisWarpConfigDto, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PricingProviders, PrimaryNetworkAddressActivityMetadata, PrimaryNetworkAddressActivityResponse, PrimaryNetworkAddressActivitySubEvents, PrimaryNetworkAddressesBodyDto, PrimaryNetworkBalanceThresholdFilter, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorActivityMetadata, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };