@avalabs/glacier-sdk 3.1.0-canary.60ee0a4.0 → 3.1.0-canary.61bf17e.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 (270) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +1339 -177
  3. package/esm/generated/Glacier.d.ts +6 -0
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
  6. package/esm/generated/core/ApiResult.d.ts +1 -1
  7. package/esm/generated/core/CancelablePromise.d.ts +2 -1
  8. package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
  9. package/esm/generated/core/OpenAPI.d.ts +2 -1
  10. package/esm/generated/core/OpenAPI.js +1 -1
  11. package/esm/generated/models/AccessListData.d.ts +12 -0
  12. package/esm/generated/models/AccessRequest.d.ts +12 -0
  13. package/esm/generated/models/ActiveValidatorDetails.d.ts +26 -0
  14. package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
  15. package/esm/generated/models/{EventType.js → AddressActivityEventType.js} +1 -1
  16. package/esm/generated/models/AddressActivityMetadata.d.ts +5 -5
  17. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  18. package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
  19. package/esm/generated/models/AssetAmount.d.ts +1 -1
  20. package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
  21. package/esm/generated/models/BadGateway.d.ts +1 -1
  22. package/esm/generated/models/BadRequest.d.ts +1 -1
  23. package/esm/generated/models/BalanceOwner.d.ts +1 -1
  24. package/esm/generated/models/Blockchain.d.ts +9 -1
  25. package/esm/generated/models/BlockchainId.d.ts +0 -2
  26. package/esm/generated/models/BlockchainId.js +1 -1
  27. package/esm/generated/models/BlockchainIds.d.ts +1 -3
  28. package/esm/generated/models/BlockchainIds.js +1 -1
  29. package/esm/generated/models/BlockchainInfo.d.ts +7 -2
  30. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  31. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  32. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  33. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  34. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  35. package/esm/generated/models/ChainInfo.d.ts +1 -1
  36. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  37. package/esm/generated/models/CommonBalanceType.js +1 -0
  38. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  39. package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
  40. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  41. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  42. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  43. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  44. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  45. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  46. package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
  47. package/esm/generated/models/DeliveredIcmMessage.js +1 -0
  48. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
  49. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
  50. package/esm/generated/models/ERCToken.d.ts +24 -0
  51. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  52. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +10 -6
  53. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  54. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +10 -10
  55. package/esm/generated/models/EVMInput.d.ts +1 -1
  56. package/esm/generated/models/EVMOutput.d.ts +1 -1
  57. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  58. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  59. package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
  60. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  61. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  62. package/esm/generated/models/Erc20TokenBalance.d.ts +3 -3
  63. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  64. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  65. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  66. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  67. package/esm/generated/models/Erc721Transfer.d.ts +1 -1
  68. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  69. package/esm/generated/models/EvmBlock.d.ts +1 -1
  70. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  71. package/esm/generated/models/Forbidden.d.ts +1 -1
  72. package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
  73. package/esm/generated/models/Geolocation.d.ts +24 -0
  74. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  75. package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
  76. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  77. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  78. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  79. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  80. package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
  81. package/esm/generated/models/HealthCheckResultDto.js +1 -0
  82. package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
  83. package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
  84. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  85. package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
  86. package/esm/generated/models/IcmReceipt.d.ts +6 -0
  87. package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
  88. package/esm/generated/models/IcmRewardDetails.js +1 -0
  89. package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
  90. package/esm/generated/models/ImageAsset.d.ts +1 -1
  91. package/esm/generated/models/InternalServerError.d.ts +1 -1
  92. package/esm/generated/models/InternalTransaction.d.ts +1 -1
  93. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  94. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  95. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  96. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
  97. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +6 -2
  98. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  99. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  100. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  101. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  102. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  103. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  104. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  105. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  106. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  107. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  108. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  109. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  110. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  111. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  112. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  113. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  114. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  115. package/esm/generated/models/ListIcmMessagesResponse.d.ts +13 -0
  116. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  117. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
  118. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  119. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  120. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  121. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  122. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  123. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  124. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  125. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  126. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  127. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  128. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  129. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  130. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  131. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  132. package/esm/generated/models/ListWebhooksResponse.d.ts +5 -3
  133. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  134. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  135. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  136. package/esm/generated/models/Log.d.ts +40 -0
  137. package/esm/generated/models/LogsFormat.d.ts +1 -1
  138. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  139. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  140. package/esm/generated/models/Method.d.ts +1 -1
  141. package/esm/generated/models/Metric.d.ts +1 -1
  142. package/esm/generated/models/Money.d.ts +1 -1
  143. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  144. package/esm/generated/models/NativeTransaction.d.ts +1 -1
  145. package/esm/generated/models/Network.d.ts +1 -2
  146. package/esm/generated/models/Network.js +1 -1
  147. package/esm/generated/models/NetworkToken.d.ts +1 -1
  148. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  149. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  150. package/esm/generated/models/NextPageToken.d.ts +1 -1
  151. package/esm/generated/models/NotFound.d.ts +1 -1
  152. package/esm/generated/models/NotificationsResponse.d.ts +5 -0
  153. package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
  154. package/esm/generated/models/PChainBalance.d.ts +1 -1
  155. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  156. package/esm/generated/models/PChainTransaction.d.ts +26 -9
  157. package/esm/generated/models/PChainUtxo.d.ts +32 -1
  158. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  159. package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
  160. package/esm/generated/models/PendingIcmMessage.js +1 -0
  161. package/esm/generated/models/PendingReward.d.ts +1 -1
  162. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  163. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  164. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  165. package/esm/generated/models/PricingProviders.d.ts +1 -1
  166. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  167. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  168. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  169. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  170. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  171. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  172. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  173. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  174. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  175. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
  176. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  177. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  178. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  179. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +1 -0
  180. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -1
  181. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
  182. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
  183. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
  184. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
  185. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  186. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  187. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  188. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  189. package/esm/generated/models/ResourceLink.d.ts +1 -1
  190. package/esm/generated/models/Rewards.d.ts +1 -1
  191. package/esm/generated/models/RichAddress.d.ts +1 -1
  192. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  193. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
  194. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
  195. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  196. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  197. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  198. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
  199. package/esm/generated/models/StakingDistribution.d.ts +10 -1
  200. package/esm/generated/models/Subnet.d.ts +3 -3
  201. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  202. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  203. package/esm/generated/models/SubscribeRequest.d.ts +16 -0
  204. package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
  205. package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
  206. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  207. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  208. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  209. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  210. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  211. package/esm/generated/models/Transaction.d.ts +121 -0
  212. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  213. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  214. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  215. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  216. package/esm/generated/models/Unauthorized.d.ts +1 -1
  217. package/esm/generated/models/UnknownContract.d.ts +1 -1
  218. package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
  219. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  220. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  221. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  222. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  223. package/esm/generated/models/Utxo.d.ts +5 -1
  224. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  225. package/esm/generated/models/UtxoType.d.ts +3 -0
  226. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  227. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  228. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  229. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  230. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  231. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  232. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  233. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  234. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  235. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  236. package/esm/generated/models/ValidatorsDetails.d.ts +7 -1
  237. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  238. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  239. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  240. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  241. package/esm/generated/models/XChainBalances.d.ts +1 -1
  242. package/esm/generated/models/XChainId.d.ts +0 -1
  243. package/esm/generated/models/XChainId.js +1 -1
  244. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  245. package/esm/generated/models/XChainVertex.d.ts +1 -1
  246. package/esm/generated/services/AvaxSupplyService.d.ts +16 -0
  247. package/esm/generated/services/AvaxSupplyService.js +1 -0
  248. package/esm/generated/services/DataApiUsageMetricsService.d.ts +55 -6
  249. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  250. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  251. package/esm/generated/services/EvmChainsService.d.ts +2 -2
  252. package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
  253. package/esm/generated/services/HealthCheckService.d.ts +4 -7
  254. package/esm/generated/services/HealthCheckService.js +1 -1
  255. package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
  256. package/esm/generated/services/InterchainMessagingService.js +1 -0
  257. package/esm/generated/services/NotificationsService.d.ts +51 -0
  258. package/esm/generated/services/NotificationsService.js +1 -0
  259. package/esm/generated/services/PrimaryNetworkService.d.ts +22 -5
  260. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  261. package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
  262. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  263. package/esm/generated/services/TeleporterService.d.ts +12 -6
  264. package/esm/generated/services/WebhooksService.d.ts +28 -24
  265. package/esm/generated/services/WebhooksService.js +1 -1
  266. package/esm/index.d.ts +52 -3
  267. package/esm/index.js +1 -1
  268. package/package.json +13 -4
  269. package/dist/index.js +0 -1
  270. package/esm/generated/models/EventType.d.ts +0 -5
package/dist/index.d.ts CHANGED
@@ -54,6 +54,18 @@ declare abstract class BaseHttpRequest {
54
54
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
55
55
  }
56
56
 
57
+ declare class AvaxSupplyService {
58
+ readonly httpRequest: BaseHttpRequest;
59
+ constructor(httpRequest: BaseHttpRequest);
60
+ /**
61
+ * Get AVAX supply information
62
+ * 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.
63
+ * @returns void
64
+ * @throws ApiError
65
+ */
66
+ getAvaxSupply(): CancelablePromise<void>;
67
+ }
68
+
57
69
  type LogsFormatMetadata = {
58
70
  /**
59
71
  * The IP address of the client that made the request.
@@ -151,11 +163,11 @@ type LogsResponseDTO = {
151
163
  declare enum Network {
152
164
  MAINNET = "mainnet",
153
165
  FUJI = "fuji",
154
- TESTNET = "testnet",
155
- DEVNET = "devnet"
166
+ TESTNET = "testnet"
156
167
  }
157
168
 
158
169
  declare enum PrimaryNetworkRpcMetricsGroupByEnum {
170
+ RPC_METHOD = "rpcMethod",
159
171
  REQUEST_PATH = "requestPath",
160
172
  RESPONSE_CODE = "responseCode",
161
173
  COUNTRY = "country",
@@ -163,13 +175,7 @@ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
163
175
  USER_AGENT = "userAgent"
164
176
  }
165
177
 
166
- declare enum RpcUsageMetricsGroupByEnum {
167
- RPC_METHOD = "rpcMethod",
168
- RESPONSE_CODE = "responseCode",
169
- RL_BYPASS_TOKEN = "rlBypassToken"
170
- }
171
-
172
- declare enum SubnetRpcTimeIntervalGranularity {
178
+ declare enum PrimaryNetworkRpcTimeIntervalGranularity {
173
179
  HOURLY = "hourly",
174
180
  DAILY = "daily",
175
181
  WEEKLY = "weekly",
@@ -222,6 +228,10 @@ declare namespace RpcUsageMetricsValueAggregated {
222
228
  RPC_METHOD = "rpcMethod",
223
229
  RESPONSE_CODE = "responseCode",
224
230
  RL_BYPASS_TOKEN = "rlBypassToken",
231
+ REQUEST_PATH = "requestPath",
232
+ COUNTRY = "country",
233
+ CONTINENT = "continent",
234
+ USER_AGENT = "userAgent",
225
235
  NONE = "None"
226
236
  }
227
237
  }
@@ -237,6 +247,43 @@ type RpcMetrics = {
237
247
  values: Array<RpcUsageMetricsValueAggregated>;
238
248
  };
239
249
 
250
+ type PrimaryNetworkRpcUsageMetricsResponseDTO = {
251
+ /**
252
+ * Duration in which the metrics value is aggregated
253
+ */
254
+ aggregateDuration: string;
255
+ /**
256
+ * Metrics values
257
+ */
258
+ metrics: Array<RpcMetrics>;
259
+ /**
260
+ * Network type for which the metrics are aggregated
261
+ */
262
+ network: PrimaryNetworkRpcUsageMetricsResponseDTO.network;
263
+ };
264
+ declare namespace PrimaryNetworkRpcUsageMetricsResponseDTO {
265
+ /**
266
+ * Network type for which the metrics are aggregated
267
+ */
268
+ enum network {
269
+ MAINNET = "mainnet",
270
+ TESTNET = "testnet"
271
+ }
272
+ }
273
+
274
+ declare enum RpcUsageMetricsGroupByEnum {
275
+ RPC_METHOD = "rpcMethod",
276
+ RESPONSE_CODE = "responseCode",
277
+ RL_BYPASS_TOKEN = "rlBypassToken"
278
+ }
279
+
280
+ declare enum SubnetRpcTimeIntervalGranularity {
281
+ HOURLY = "hourly",
282
+ DAILY = "daily",
283
+ WEEKLY = "weekly",
284
+ MONTHLY = "monthly"
285
+ }
286
+
240
287
  type SubnetRpcUsageMetricsResponseDTO = {
241
288
  /**
242
289
  * Duration in which the metrics value is aggregated
@@ -451,6 +498,49 @@ declare class DataApiUsageMetricsService {
451
498
  * @returns SubnetRpcUsageMetricsResponseDTO Successful response
452
499
  * @throws ApiError
453
500
  */
501
+ getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
502
+ /**
503
+ * Time interval granularity for data aggregation for subnet
504
+ * rpc metrics
505
+ */
506
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
507
+ /**
508
+ * 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.
509
+ */
510
+ startTimestamp?: number;
511
+ /**
512
+ * 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.
513
+ */
514
+ endTimestamp?: number;
515
+ /**
516
+ * Query param for the criterion used for grouping metrics
517
+ */
518
+ groupBy?: RpcUsageMetricsGroupByEnum;
519
+ /**
520
+ * Filter data by chain ID.
521
+ */
522
+ chainId?: string;
523
+ /**
524
+ * Filter data by response status code.
525
+ */
526
+ responseCode?: string;
527
+ /**
528
+ * Filter data by RPC method.
529
+ */
530
+ rpcMethod?: string;
531
+ /**
532
+ * Filter data by Rl Bypass API Token.
533
+ */
534
+ rlBypassApiToken?: string;
535
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
536
+ /**
537
+ * @deprecated
538
+ * **[Deprecated]** Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
539
+ *
540
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/subnetRpcUsageMetrics endpoint instead**.
541
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
542
+ * @throws ApiError
543
+ */
454
544
  getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
455
545
  /**
456
546
  * Time interval granularity for data aggregation for subnet
@@ -489,10 +579,10 @@ declare class DataApiUsageMetricsService {
489
579
  /**
490
580
  * Get usage metrics for the Primary Network RPC
491
581
  * 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
582
+ * @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
493
583
  * @throws ApiError
494
584
  */
495
- getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, }: {
585
+ getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
496
586
  /**
497
587
  * Either mainnet or testnet/fuji.
498
588
  */
@@ -501,7 +591,7 @@ declare class DataApiUsageMetricsService {
501
591
  * Time interval granularity for data aggregation for subnet
502
592
  * rpc metrics
503
593
  */
504
- timeInterval?: SubnetRpcTimeIntervalGranularity;
594
+ timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
505
595
  /**
506
596
  * 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
597
  */
@@ -523,18 +613,22 @@ declare class DataApiUsageMetricsService {
523
613
  */
524
614
  requestPath?: string;
525
615
  /**
526
- * Filter data by Country.
616
+ * 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
617
  */
528
618
  country?: string;
529
619
  /**
530
- * Filter data by Continent.
620
+ * Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
531
621
  */
532
622
  continent?: string;
533
623
  /**
534
624
  * Filter data by User Agent.
535
625
  */
536
626
  userAgent?: string;
537
- }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
627
+ /**
628
+ * Filter data by RPC method.
629
+ */
630
+ rpcMethod?: string;
631
+ }): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
538
632
  }
539
633
 
540
634
  declare class DefaultService {
@@ -782,16 +876,16 @@ type Erc20TokenBalance = {
782
876
  */
783
877
  balanceValue?: Money;
784
878
  /**
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.
879
+ * 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
880
  */
787
- tokenReputation: Erc20TokenBalance.tokenReputation | null;
881
+ tokenReputation: Erc20TokenBalance.tokenReputation;
788
882
  };
789
883
  declare namespace Erc20TokenBalance {
790
884
  enum ercType {
791
885
  ERC_20 = "ERC-20"
792
886
  }
793
887
  /**
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.
888
+ * 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
889
  */
796
890
  enum tokenReputation {
797
891
  MALICIOUS = "Malicious",
@@ -886,7 +980,7 @@ declare class EvmBalancesService {
886
980
  */
887
981
  pageToken?: string;
888
982
  /**
889
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
983
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
890
984
  */
891
985
  pageSize?: number;
892
986
  /**
@@ -924,7 +1018,7 @@ declare class EvmBalancesService {
924
1018
  */
925
1019
  pageToken?: string;
926
1020
  /**
927
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1021
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
928
1022
  */
929
1023
  pageSize?: number;
930
1024
  /**
@@ -960,7 +1054,7 @@ declare class EvmBalancesService {
960
1054
  */
961
1055
  pageToken?: string;
962
1056
  /**
963
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1057
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
964
1058
  */
965
1059
  pageSize?: number;
966
1060
  /**
@@ -990,7 +1084,7 @@ declare class EvmBalancesService {
990
1084
  */
991
1085
  pageToken?: string;
992
1086
  /**
993
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1087
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
994
1088
  */
995
1089
  pageSize?: number;
996
1090
  /**
@@ -1387,7 +1481,7 @@ declare class EvmChainsService {
1387
1481
  }): CancelablePromise<ListAddressChainsResponse>;
1388
1482
  /**
1389
1483
  * List chains
1390
- * Lists the supported EVM-compatible chains. Filterable by network.
1484
+ * Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
1391
1485
  * @returns ListChainsResponse Successful response
1392
1486
  * @throws ApiError
1393
1487
  */
@@ -1403,7 +1497,7 @@ declare class EvmChainsService {
1403
1497
  }): CancelablePromise<ListChainsResponse>;
1404
1498
  /**
1405
1499
  * Get chain information
1406
- * Gets chain information for the EVM-compatible chain if supported by the api.
1500
+ * Gets chain information for the EVM-compatible chain if supported by AvaCloud.
1407
1501
  * @returns GetChainResponse Successful response
1408
1502
  * @throws ApiError
1409
1503
  */
@@ -1646,7 +1740,7 @@ type Erc1155Contract = {
1646
1740
  * A wallet or contract address in mixed-case checksum encoding.
1647
1741
  */
1648
1742
  address: string;
1649
- deploymentDetails: ContractDeploymentDetails;
1743
+ deploymentDetails?: ContractDeploymentDetails;
1650
1744
  ercType: Erc1155Contract.ercType;
1651
1745
  /**
1652
1746
  * The contract symbol.
@@ -1677,7 +1771,7 @@ type Erc20Contract = {
1677
1771
  * A wallet or contract address in mixed-case checksum encoding.
1678
1772
  */
1679
1773
  address: string;
1680
- deploymentDetails: ContractDeploymentDetails;
1774
+ deploymentDetails?: ContractDeploymentDetails;
1681
1775
  ercType: Erc20Contract.ercType;
1682
1776
  /**
1683
1777
  * The contract symbol.
@@ -1712,7 +1806,7 @@ type Erc721Contract = {
1712
1806
  * A wallet or contract address in mixed-case checksum encoding.
1713
1807
  */
1714
1808
  address: string;
1715
- deploymentDetails: ContractDeploymentDetails;
1809
+ deploymentDetails?: ContractDeploymentDetails;
1716
1810
  ercType: Erc721Contract.ercType;
1717
1811
  /**
1718
1812
  * The contract symbol.
@@ -1742,7 +1836,7 @@ type UnknownContract = {
1742
1836
  * A wallet or contract address in mixed-case checksum encoding.
1743
1837
  */
1744
1838
  address: string;
1745
- deploymentDetails: ContractDeploymentDetails;
1839
+ deploymentDetails?: ContractDeploymentDetails;
1746
1840
  ercType: UnknownContract.ercType;
1747
1841
  };
1748
1842
  declare namespace UnknownContract {
@@ -1960,6 +2054,7 @@ declare enum InternalTransactionOpCall {
1960
2054
  CALL = "CALL",
1961
2055
  CREATE = "CREATE",
1962
2056
  CREATE2 = "CREATE2",
2057
+ CREATE3 = "CREATE3",
1963
2058
  CALLCODE = "CALLCODE",
1964
2059
  DELEGATECALL = "DELEGATECALL",
1965
2060
  STATICCALL = "STATICCALL"
@@ -2001,11 +2096,11 @@ type TeleporterMessageInfo = {
2001
2096
  /**
2002
2097
  * chain id of the source chain. valid only for destination transactions
2003
2098
  */
2004
- sourceChainId?: Record<string, any>;
2099
+ sourceChainId?: string;
2005
2100
  /**
2006
2101
  * chain id of the destination chain. valid only for source transactions
2007
2102
  */
2008
- destinationChainId?: Record<string, any>;
2103
+ destinationChainId?: string;
2009
2104
  };
2010
2105
 
2011
2106
  type GetTransactionResponse = {
@@ -2022,7 +2117,7 @@ type GetTransactionResponse = {
2022
2117
  */
2023
2118
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2024
2119
  /**
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.
2120
+ * 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
2121
  */
2027
2122
  internalTransactions?: Array<InternalTransactionDetails>;
2028
2123
  networkTokenDetails: NetworkTokenDetails;
@@ -2191,7 +2286,7 @@ type TransactionDetails = {
2191
2286
  */
2192
2287
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2193
2288
  /**
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.
2289
+ * 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
2290
  */
2196
2291
  internalTransactions?: Array<InternalTransactionDetails>;
2197
2292
  };
@@ -2490,7 +2585,7 @@ declare class EvmTransactionsService {
2490
2585
  * List internal transactions
2491
2586
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2492
2587
  *
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.
2588
+ * 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
2589
  * @returns ListInternalTransactionsResponse Successful response
2495
2590
  * @throws ApiError
2496
2591
  */
@@ -2586,68 +2681,204 @@ declare class EvmTransactionsService {
2586
2681
  }): CancelablePromise<ListNativeTransactionsResponse>;
2587
2682
  }
2588
2683
 
2684
+ type HealthIndicatorResultDto = {
2685
+ /**
2686
+ * Status of the health indicator.
2687
+ */
2688
+ status?: HealthIndicatorResultDto.status;
2689
+ };
2690
+ declare namespace HealthIndicatorResultDto {
2691
+ /**
2692
+ * Status of the health indicator.
2693
+ */
2694
+ enum status {
2695
+ UP = "up",
2696
+ DOWN = "down"
2697
+ }
2698
+ }
2699
+
2700
+ type HealthCheckResultDto = {
2701
+ status?: HealthCheckResultDto.status;
2702
+ info?: any | null;
2703
+ error?: any | null;
2704
+ details?: Record<string, HealthIndicatorResultDto>;
2705
+ };
2706
+ declare namespace HealthCheckResultDto {
2707
+ enum status {
2708
+ ERROR = "error",
2709
+ OK = "ok",
2710
+ SHUTTING_DOWN = "shutting_down"
2711
+ }
2712
+ }
2713
+
2589
2714
  declare class HealthCheckService {
2590
2715
  readonly httpRequest: BaseHttpRequest;
2591
2716
  constructor(httpRequest: BaseHttpRequest);
2592
2717
  /**
2593
2718
  * Get the health of the service
2594
- * @returns any The Health Check is successful
2719
+ * Check the health of the service.
2720
+ * @returns HealthCheckResultDto The health of the service
2595
2721
  * @throws ApiError
2596
2722
  */
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
- }>;
2723
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2603
2724
  }
2604
2725
 
2605
- type ListNftTokens = {
2726
+ type IcmDestinationTransaction = {
2727
+ txHash: string;
2728
+ timestamp: number;
2729
+ gasSpent: string;
2730
+ rewardRedeemer: string;
2731
+ delivererAddress: string;
2732
+ };
2733
+
2734
+ type IcmReceipt = {
2735
+ receivedMessageNonce: string;
2736
+ relayerRewardAddress: string;
2737
+ };
2738
+
2739
+ type IcmRewardDetails = {
2740
+ /**
2741
+ * A wallet or contract address in mixed-case checksum encoding.
2742
+ */
2743
+ address: string;
2744
+ /**
2745
+ * The contract name.
2746
+ */
2747
+ name: string;
2748
+ /**
2749
+ * The contract symbol.
2750
+ */
2751
+ symbol: string;
2752
+ /**
2753
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
2754
+ */
2755
+ decimals: number;
2756
+ /**
2757
+ * The logo uri for the address.
2758
+ */
2759
+ logoUri?: string;
2760
+ ercType: IcmRewardDetails.ercType;
2761
+ /**
2762
+ * The token price, if available.
2763
+ */
2764
+ price?: Money;
2765
+ value: string;
2766
+ };
2767
+ declare namespace IcmRewardDetails {
2768
+ enum ercType {
2769
+ ERC_20 = "ERC-20"
2770
+ }
2771
+ }
2772
+
2773
+ type IcmSourceTransaction = {
2774
+ txHash: string;
2775
+ timestamp: number;
2776
+ gasSpent: string;
2777
+ };
2778
+
2779
+ type DeliveredIcmMessage = {
2780
+ messageId: string;
2781
+ icmContractAddress: string;
2782
+ sourceBlockchainId: string;
2783
+ destinationBlockchainId: string;
2784
+ sourceEvmChainId: string;
2785
+ destinationEvmChainId: string;
2786
+ messageNonce: string;
2787
+ from: string;
2788
+ to: string;
2789
+ data?: string;
2790
+ messageExecuted: boolean;
2791
+ receipts: Array<IcmReceipt>;
2792
+ receiptDelivered: boolean;
2793
+ rewardDetails: IcmRewardDetails;
2794
+ sourceTransaction: IcmSourceTransaction;
2795
+ destinationTransaction: IcmDestinationTransaction;
2796
+ status: DeliveredIcmMessage.status;
2797
+ };
2798
+ declare namespace DeliveredIcmMessage {
2799
+ enum status {
2800
+ DELIVERED = "delivered"
2801
+ }
2802
+ }
2803
+
2804
+ type DeliveredSourceNotIndexedIcmMessage = {
2805
+ messageId: string;
2806
+ icmContractAddress: string;
2807
+ sourceBlockchainId: string;
2808
+ destinationBlockchainId: string;
2809
+ sourceEvmChainId: string;
2810
+ destinationEvmChainId: string;
2811
+ messageNonce: string;
2812
+ from: string;
2813
+ to: string;
2814
+ data?: string;
2815
+ messageExecuted: boolean;
2816
+ receipts: Array<IcmReceipt>;
2817
+ receiptDelivered: boolean;
2818
+ rewardDetails: IcmRewardDetails;
2819
+ destinationTransaction: IcmDestinationTransaction;
2820
+ status: DeliveredSourceNotIndexedIcmMessage.status;
2821
+ };
2822
+ declare namespace DeliveredSourceNotIndexedIcmMessage {
2823
+ enum status {
2824
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
2825
+ }
2826
+ }
2827
+
2828
+ type PendingIcmMessage = {
2829
+ messageId: string;
2830
+ icmContractAddress: string;
2831
+ sourceBlockchainId: string;
2832
+ destinationBlockchainId: string;
2833
+ sourceEvmChainId: string;
2834
+ destinationEvmChainId: string;
2835
+ messageNonce: string;
2836
+ from: string;
2837
+ to: string;
2838
+ data?: string;
2839
+ messageExecuted: boolean;
2840
+ receipts: Array<IcmReceipt>;
2841
+ receiptDelivered: boolean;
2842
+ rewardDetails: IcmRewardDetails;
2843
+ sourceTransaction: IcmSourceTransaction;
2844
+ status: PendingIcmMessage.status;
2845
+ };
2846
+ declare namespace PendingIcmMessage {
2847
+ enum status {
2848
+ PENDING = "pending"
2849
+ }
2850
+ }
2851
+
2852
+ type ListIcmMessagesResponse = {
2606
2853
  /**
2607
2854
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2608
2855
  */
2609
2856
  nextPageToken?: string;
2610
- tokens: Array<(Erc721Token | Erc1155Token)>;
2857
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2611
2858
  };
2612
2859
 
2613
- declare class NfTsService {
2860
+ declare class InterchainMessagingService {
2614
2861
  readonly httpRequest: BaseHttpRequest;
2615
2862
  constructor(httpRequest: BaseHttpRequest);
2616
2863
  /**
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.
2864
+ * Get an ICM message
2865
+ * Gets an ICM message by teleporter message ID.
2619
2866
  * @returns any Successful response
2620
2867
  * @throws ApiError
2621
2868
  */
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;
2869
+ getIcmMessage({ messageId, }: {
2631
2870
  /**
2632
- * TokenId on the contract
2871
+ * The teleporter message ID of the ICM message.
2633
2872
  */
2634
- tokenId: string;
2635
- }): CancelablePromise<any>;
2873
+ messageId: string;
2874
+ }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2636
2875
  /**
2637
- * List tokens
2638
- * Lists tokens for an NFT contract.
2639
- * @returns ListNftTokens Successful response
2876
+ * List ICM messages
2877
+ * Lists ICM messages. Ordered by timestamp in descending order.
2878
+ * @returns ListIcmMessagesResponse Successful response
2640
2879
  * @throws ApiError
2641
2880
  */
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;
2881
+ listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
2651
2882
  /**
2652
2883
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2653
2884
  */
@@ -2656,27 +2887,234 @@ declare class NfTsService {
2656
2887
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2657
2888
  */
2658
2889
  pageSize?: number;
2659
- }): CancelablePromise<ListNftTokens>;
2660
- /**
2661
- * Get token details
2662
- * Gets token details for a specific token of an NFT contract.
2663
- * @returns any Successful response
2664
- * @throws ApiError
2665
- */
2666
- getTokenDetails({ chainId, address, tokenId, }: {
2667
2890
  /**
2668
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2891
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
2669
2892
  */
2670
- chainId: string;
2893
+ sourceBlockchainId?: string;
2671
2894
  /**
2672
- * Contract address on the relevant chain.
2895
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
2673
2896
  */
2674
- address: string;
2897
+ destinationBlockchainId?: string;
2675
2898
  /**
2676
- * TokenId on the contract
2899
+ * The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
2677
2900
  */
2678
- tokenId: string;
2679
- }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2901
+ blockchainId?: string;
2902
+ /**
2903
+ * The address of the recipient of the ICM message.
2904
+ */
2905
+ to?: string;
2906
+ /**
2907
+ * The address of the sender of the ICM message.
2908
+ */
2909
+ from?: string;
2910
+ /**
2911
+ * Either mainnet or testnet/fuji.
2912
+ */
2913
+ network?: Network;
2914
+ }): CancelablePromise<ListIcmMessagesResponse>;
2915
+ /**
2916
+ * List ICM messages by address
2917
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
2918
+ * @returns ListIcmMessagesResponse Successful response
2919
+ * @throws ApiError
2920
+ */
2921
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
2922
+ /**
2923
+ * An EVM address.
2924
+ */
2925
+ address: string;
2926
+ /**
2927
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2928
+ */
2929
+ pageToken?: string;
2930
+ /**
2931
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2932
+ */
2933
+ pageSize?: number;
2934
+ /**
2935
+ * Either mainnet or testnet/fuji.
2936
+ */
2937
+ network?: Network;
2938
+ }): CancelablePromise<ListIcmMessagesResponse>;
2939
+ }
2940
+
2941
+ type ListNftTokens = {
2942
+ /**
2943
+ * 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.
2944
+ */
2945
+ nextPageToken?: string;
2946
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2947
+ };
2948
+
2949
+ declare class NfTsService {
2950
+ readonly httpRequest: BaseHttpRequest;
2951
+ constructor(httpRequest: BaseHttpRequest);
2952
+ /**
2953
+ * Reindex NFT metadata
2954
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2955
+ * @returns any Successful response
2956
+ * @throws ApiError
2957
+ */
2958
+ reindexNft({ chainId, address, tokenId, }: {
2959
+ /**
2960
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2961
+ */
2962
+ chainId: string;
2963
+ /**
2964
+ * Contract address on the relevant chain.
2965
+ */
2966
+ address: string;
2967
+ /**
2968
+ * TokenId on the contract
2969
+ */
2970
+ tokenId: string;
2971
+ }): CancelablePromise<any>;
2972
+ /**
2973
+ * List tokens
2974
+ * Lists tokens for an NFT contract.
2975
+ * @returns ListNftTokens Successful response
2976
+ * @throws ApiError
2977
+ */
2978
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2979
+ /**
2980
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2981
+ */
2982
+ chainId: string;
2983
+ /**
2984
+ * Contract address on the relevant chain.
2985
+ */
2986
+ address: string;
2987
+ /**
2988
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2989
+ */
2990
+ pageToken?: string;
2991
+ /**
2992
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2993
+ */
2994
+ pageSize?: number;
2995
+ }): CancelablePromise<ListNftTokens>;
2996
+ /**
2997
+ * Get token details
2998
+ * Gets token details for a specific token of an NFT contract.
2999
+ * @returns any Successful response
3000
+ * @throws ApiError
3001
+ */
3002
+ getTokenDetails({ chainId, address, tokenId, }: {
3003
+ /**
3004
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
3005
+ */
3006
+ chainId: string;
3007
+ /**
3008
+ * Contract address on the relevant chain.
3009
+ */
3010
+ address: string;
3011
+ /**
3012
+ * TokenId on the contract
3013
+ */
3014
+ tokenId: string;
3015
+ }): CancelablePromise<(Erc721Token | Erc1155Token)>;
3016
+ }
3017
+
3018
+ type AccessRequest = {
3019
+ /**
3020
+ * The email address to send the access token to
3021
+ */
3022
+ email: string;
3023
+ /**
3024
+ * The captcha to verify the user
3025
+ */
3026
+ captcha: string;
3027
+ };
3028
+
3029
+ type NotificationsResponse = {
3030
+ message: string;
3031
+ };
3032
+
3033
+ type SubscribeRequest = {
3034
+ /**
3035
+ * The access token to use for authentication
3036
+ */
3037
+ accessToken: string;
3038
+ /**
3039
+ * The node ID to subscribe to
3040
+ */
3041
+ nodeId: string;
3042
+ /**
3043
+ * The notification types to subscribe to. If not provided, all notification types will be subscribed to
3044
+ */
3045
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3046
+ };
3047
+
3048
+ type SubscriptionsRequest = {
3049
+ /**
3050
+ * The access token to use for authentication
3051
+ */
3052
+ accessToken: string;
3053
+ };
3054
+
3055
+ type SubscriptionsResponse = {
3056
+ /**
3057
+ * The email address of the user
3058
+ */
3059
+ email: string;
3060
+ /**
3061
+ * The subscriptions of the user
3062
+ */
3063
+ subscriptions: Record<string, {
3064
+ notifications?: Array<'connectivity' | 'ports' | 'version'>;
3065
+ }>;
3066
+ };
3067
+
3068
+ type UnsubscribeRequest = {
3069
+ /**
3070
+ * The access token to use for authentication
3071
+ */
3072
+ accessToken: string;
3073
+ /**
3074
+ * The node ID to subscribe to
3075
+ */
3076
+ nodeId: string;
3077
+ };
3078
+
3079
+ declare class NotificationsService {
3080
+ readonly httpRequest: BaseHttpRequest;
3081
+ constructor(httpRequest: BaseHttpRequest);
3082
+ /**
3083
+ * Access Notifications
3084
+ * Access notifications.
3085
+ * @returns NotificationsResponse Successful response
3086
+ * @throws ApiError
3087
+ */
3088
+ access({ requestBody, }: {
3089
+ requestBody: AccessRequest;
3090
+ }): CancelablePromise<NotificationsResponse>;
3091
+ /**
3092
+ * Subscribe to Notifications
3093
+ * Subscribe to receive notifications.
3094
+ * @returns NotificationsResponse Successful response
3095
+ * @throws ApiError
3096
+ */
3097
+ subscribe({ requestBody, }: {
3098
+ requestBody: SubscribeRequest;
3099
+ }): CancelablePromise<NotificationsResponse>;
3100
+ /**
3101
+ * Unsubscribe from Notifications
3102
+ * Unsubscribe from receiving notifications.
3103
+ * @returns NotificationsResponse Successful response
3104
+ * @throws ApiError
3105
+ */
3106
+ unsubscribe({ requestBody, }: {
3107
+ requestBody: UnsubscribeRequest;
3108
+ }): CancelablePromise<NotificationsResponse>;
3109
+ /**
3110
+ * Get Subscriptions
3111
+ * Get subscriptions.
3112
+ * @returns SubscriptionsResponse Successful response
3113
+ * @throws ApiError
3114
+ */
3115
+ subscriptions({ requestBody, }: {
3116
+ requestBody: SubscriptionsRequest;
3117
+ }): CancelablePromise<SubscriptionsResponse>;
2680
3118
  }
2681
3119
 
2682
3120
  type EvmNetworkOptions = {
@@ -2712,7 +3150,7 @@ declare enum PrimaryNetworkOperationType {
2712
3150
  type PrimaryNetworkOptions = {
2713
3151
  addresses?: Array<string>;
2714
3152
  cChainEvmAddresses?: Array<string>;
2715
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
3153
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2716
3154
  };
2717
3155
 
2718
3156
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -2767,7 +3205,7 @@ type OperationStatusResponse = {
2767
3205
  operationType: OperationType;
2768
3206
  operationStatus: OperationStatus;
2769
3207
  message?: string;
2770
- metadata: TransactionExportMetadata;
3208
+ metadata?: TransactionExportMetadata;
2771
3209
  createdAtTimestamp: number;
2772
3210
  updatedAtTimestamp: number;
2773
3211
  };
@@ -2800,14 +3238,29 @@ declare class OperationsService {
2800
3238
  }): CancelablePromise<OperationStatusResponse>;
2801
3239
  }
2802
3240
 
3241
+ type Blockchain = {
3242
+ createBlockTimestamp: number;
3243
+ createBlockNumber: string;
3244
+ blockchainId: string;
3245
+ vmId: string;
3246
+ subnetId: string;
3247
+ blockchainName: string;
3248
+ /**
3249
+ * 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.
3250
+ */
3251
+ evmChainId: number;
3252
+ /**
3253
+ * The genesis data of the blockchain.
3254
+ */
3255
+ genesisData?: Record<string, any>;
3256
+ };
3257
+
2803
3258
  declare enum BlockchainIds {
2804
3259
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
2805
3260
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
2806
3261
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
2807
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
2808
3262
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
2809
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
2810
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3263
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
2811
3264
  }
2812
3265
 
2813
3266
  type ChainAddressChainIdMap = {
@@ -2831,16 +3284,31 @@ type DelegatorsDetails = {
2831
3284
  };
2832
3285
 
2833
3286
  type StakingDistribution = {
3287
+ /**
3288
+ * AvalancheGo version for the validator node.
3289
+ */
2834
3290
  version: string;
3291
+ /**
3292
+ * The total amount staked by validators using this version.
3293
+ */
2835
3294
  amountStaked: string;
3295
+ /**
3296
+ * The number of validators using this version.
3297
+ */
2836
3298
  validatorCount: number;
2837
3299
  };
2838
3300
 
2839
3301
  type ValidatorsDetails = {
2840
3302
  validatorCount: number;
2841
3303
  totalAmountStaked: string;
3304
+ /**
3305
+ * Total potential rewards from currently active validations and delegations.
3306
+ */
2842
3307
  estimatedAnnualStakingReward: string;
2843
3308
  stakingDistributionByVersion: Array<StakingDistribution>;
3309
+ /**
3310
+ * Ratio of total active stake amount to the current supply.
3311
+ */
2844
3312
  stakingRatio: string;
2845
3313
  };
2846
3314
 
@@ -2849,15 +3317,6 @@ type GetNetworkDetailsResponse = {
2849
3317
  delegatorDetails: DelegatorsDetails;
2850
3318
  };
2851
3319
 
2852
- type Blockchain = {
2853
- createBlockTimestamp: number;
2854
- createBlockNumber: string;
2855
- blockchainId: string;
2856
- vmId: string;
2857
- subnetId: string;
2858
- blockchainName: string;
2859
- };
2860
-
2861
3320
  type ListBlockchainsResponse = {
2862
3321
  /**
2863
3322
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -2892,7 +3351,13 @@ type CompletedDelegatorDetails = {
2892
3351
  delegationFee: string;
2893
3352
  startTimestamp: number;
2894
3353
  endTimestamp: number;
3354
+ /**
3355
+ * Total rewards distributed for the successful delegation.
3356
+ */
2895
3357
  grossReward: string;
3358
+ /**
3359
+ * Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3360
+ */
2896
3361
  netReward: string;
2897
3362
  delegationStatus: CompletedDelegatorDetails.delegationStatus;
2898
3363
  };
@@ -2910,7 +3375,13 @@ type PendingDelegatorDetails = {
2910
3375
  delegationFee: string;
2911
3376
  startTimestamp: number;
2912
3377
  endTimestamp: number;
3378
+ /**
3379
+ * Estimated total rewards that will be distributed for the successful delegation.
3380
+ */
2913
3381
  estimatedGrossReward: string;
3382
+ /**
3383
+ * Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
3384
+ */
2914
3385
  estimatedNetReward: string;
2915
3386
  delegationStatus: PendingDelegatorDetails.delegationStatus;
2916
3387
  };
@@ -2941,6 +3412,10 @@ type L1ValidatorDetailsFull = {
2941
3412
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
2942
3413
  */
2943
3414
  validationId: string;
3415
+ /**
3416
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3417
+ */
3418
+ validationIdHex: string;
2944
3419
  nodeId: string;
2945
3420
  subnetId: string;
2946
3421
  /**
@@ -2975,10 +3450,10 @@ type ListL1ValidatorsResponse = {
2975
3450
  * The list of L1 validations for the given Subnet ID, NodeId or validationId
2976
3451
  */
2977
3452
  validators: Array<L1ValidatorDetailsFull>;
2978
- };
2979
-
2980
- type BlockchainInfo = {
2981
- blockchainId: string;
3453
+ /**
3454
+ * Block height at which the L1 validator's remaining balance is calculated
3455
+ */
3456
+ blockHeight: string;
2982
3457
  };
2983
3458
 
2984
3459
  type L1ValidatorManagerDetails = {
@@ -3036,7 +3511,7 @@ type Subnet = {
3036
3511
  * L1 validator manager details.
3037
3512
  */
3038
3513
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3039
- blockchains: Array<BlockchainInfo>;
3514
+ blockchains: Array<Blockchain>;
3040
3515
  };
3041
3516
 
3042
3517
  type ListSubnetsResponse = {
@@ -3052,6 +3527,29 @@ type BlsCredentials = {
3052
3527
  proofOfPossession: string;
3053
3528
  };
3054
3529
 
3530
+ type Geolocation = {
3531
+ /**
3532
+ * The name of the validator node.
3533
+ */
3534
+ city: string;
3535
+ /**
3536
+ * The city of the validator node.
3537
+ */
3538
+ country: string;
3539
+ /**
3540
+ * The country code of the validator node.
3541
+ */
3542
+ countryCode: string;
3543
+ /**
3544
+ * The latitude of the validator node.
3545
+ */
3546
+ latitude: number;
3547
+ /**
3548
+ * The longitude of the validator node.
3549
+ */
3550
+ longitude: number;
3551
+ };
3552
+
3055
3553
  type Rewards = {
3056
3554
  validationRewardAmount: string;
3057
3555
  delegationRewardAmount: string;
@@ -3083,6 +3581,9 @@ type ActiveValidatorDetails = {
3083
3581
  nodeId: string;
3084
3582
  subnetId: string;
3085
3583
  amountStaked: string;
3584
+ /**
3585
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3586
+ */
3086
3587
  delegationFee?: string;
3087
3588
  startTimestamp: number;
3088
3589
  endTimestamp: number;
@@ -3090,15 +3591,37 @@ type ActiveValidatorDetails = {
3090
3591
  * Present for AddPermissionlessValidatorTx
3091
3592
  */
3092
3593
  blsCredentials?: BlsCredentials;
3594
+ /**
3595
+ * The percentage of this validator's stake amount to the total active stake.
3596
+ */
3093
3597
  stakePercentage: number;
3598
+ /**
3599
+ * The number of delegators linked to the validator.
3600
+ */
3094
3601
  delegatorCount: number;
3602
+ /**
3603
+ * The total amount in nAVAX delegated to the validator.
3604
+ */
3095
3605
  amountDelegated?: string;
3606
+ /**
3607
+ * The validator's uptime percentage, as observed by our internal node and measured over time.
3608
+ */
3096
3609
  uptimePerformance: number;
3097
3610
  avalancheGoVersion?: string;
3611
+ /**
3612
+ * The amount of stake in nAVAX that can be delegated to this validator.
3613
+ */
3098
3614
  delegationCapacity?: string;
3615
+ /**
3616
+ * Estimated rewards for the validator if the validation is successful.
3617
+ */
3099
3618
  potentialRewards: Rewards;
3100
3619
  validationStatus: ActiveValidatorDetails.validationStatus;
3101
3620
  validatorHealth: ValidatorHealthDetails;
3621
+ /**
3622
+ * The geographical location of the validator node, if available.
3623
+ */
3624
+ geolocation: Geolocation | null;
3102
3625
  };
3103
3626
  declare namespace ActiveValidatorDetails {
3104
3627
  enum validationStatus {
@@ -3111,6 +3634,9 @@ type CompletedValidatorDetails = {
3111
3634
  nodeId: string;
3112
3635
  subnetId: string;
3113
3636
  amountStaked: string;
3637
+ /**
3638
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3639
+ */
3114
3640
  delegationFee?: string;
3115
3641
  startTimestamp: number;
3116
3642
  endTimestamp: number;
@@ -3134,6 +3660,9 @@ type PendingValidatorDetails = {
3134
3660
  nodeId: string;
3135
3661
  subnetId: string;
3136
3662
  amountStaked: string;
3663
+ /**
3664
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3665
+ */
3137
3666
  delegationFee?: string;
3138
3667
  startTimestamp: number;
3139
3668
  endTimestamp: number;
@@ -3154,6 +3683,9 @@ type RemovedValidatorDetails = {
3154
3683
  nodeId: string;
3155
3684
  subnetId: string;
3156
3685
  amountStaked: string;
3686
+ /**
3687
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3688
+ */
3157
3689
  delegationFee?: string;
3158
3690
  startTimestamp: number;
3159
3691
  endTimestamp: number;
@@ -3161,7 +3693,13 @@ type RemovedValidatorDetails = {
3161
3693
  * Present for AddPermissionlessValidatorTx
3162
3694
  */
3163
3695
  blsCredentials?: BlsCredentials;
3696
+ /**
3697
+ * The transaction hash that removed the permissioned subnet validator.
3698
+ */
3164
3699
  removeTxHash: string;
3700
+ /**
3701
+ * The timestamp of the transaction that removed the permissioned subnet validator.
3702
+ */
3165
3703
  removeTimestamp: number;
3166
3704
  validationStatus: RemovedValidatorDetails.validationStatus;
3167
3705
  };
@@ -3241,7 +3779,6 @@ type XChainAssetDetails = {
3241
3779
  declare enum XChainId {
3242
3780
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3243
3781
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3244
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3245
3782
  X_CHAIN = "x-chain"
3246
3783
  }
3247
3784
 
@@ -3312,7 +3849,7 @@ declare class PrimaryNetworkService {
3312
3849
  */
3313
3850
  pageToken?: string;
3314
3851
  /**
3315
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3852
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3316
3853
  */
3317
3854
  pageSize?: number;
3318
3855
  /**
@@ -3321,22 +3858,38 @@ declare class PrimaryNetworkService {
3321
3858
  sortOrder?: SortOrder;
3322
3859
  }): CancelablePromise<ListBlockchainsResponse>;
3323
3860
  /**
3324
- * List subnets
3325
- * Lists all subnets registered on the network.
3326
- * @returns ListSubnetsResponse Successful response
3861
+ * Get blockchain details by ID
3862
+ * Get details of the blockchain registered on the network.
3863
+ * @returns Blockchain Successful response
3327
3864
  * @throws ApiError
3328
3865
  */
3329
- listSubnets({ network, pageToken, pageSize, sortOrder, }: {
3866
+ getBlockchainById({ blockchainId, network, }: {
3330
3867
  /**
3331
- * Either mainnet or testnet/fuji.
3868
+ * The blockchain ID of the blockchain to retrieve.
3332
3869
  */
3333
- network: Network;
3870
+ blockchainId: string;
3334
3871
  /**
3335
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3872
+ * Either mainnet or testnet/fuji.
3873
+ */
3874
+ network: Network;
3875
+ }): CancelablePromise<Blockchain>;
3876
+ /**
3877
+ * List subnets
3878
+ * Lists all subnets registered on the network.
3879
+ * @returns ListSubnetsResponse Successful response
3880
+ * @throws ApiError
3881
+ */
3882
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
3883
+ /**
3884
+ * Either mainnet or testnet/fuji.
3885
+ */
3886
+ network: Network;
3887
+ /**
3888
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3336
3889
  */
3337
3890
  pageToken?: string;
3338
3891
  /**
3339
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3892
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3340
3893
  */
3341
3894
  pageSize?: number;
3342
3895
  /**
@@ -3362,7 +3915,7 @@ declare class PrimaryNetworkService {
3362
3915
  }): CancelablePromise<Subnet>;
3363
3916
  /**
3364
3917
  * List validators
3365
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
3918
+ * Lists details for validators. By default, returns details for all validators. The nodeIds parameter supports substring matching. Filterable by validation status, delegation capacity, time remaining, fee percentage, uptime performance, and subnet id.
3366
3919
  * @returns ListValidatorDetailsResponse Successful response
3367
3920
  * @throws ApiError
3368
3921
  */
@@ -3380,7 +3933,7 @@ declare class PrimaryNetworkService {
3380
3933
  */
3381
3934
  pageSize?: number;
3382
3935
  /**
3383
- * A comma separated list of node ids to filter by.
3936
+ * A comma separated list of node ids to filter by. Supports substring matching.
3384
3937
  */
3385
3938
  nodeIds?: string;
3386
3939
  /**
@@ -3524,7 +4077,7 @@ declare class PrimaryNetworkService {
3524
4077
  /**
3525
4078
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3526
4079
  */
3527
- l1ValidationId?: any;
4080
+ l1ValidationId?: string;
3528
4081
  includeInactiveL1Validators?: boolean;
3529
4082
  /**
3530
4083
  * A valid node ID in format 'NodeID-HASH'.
@@ -3541,10 +4094,8 @@ declare enum BlockchainId {
3541
4094
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3542
4095
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3543
4096
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3544
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3545
4097
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3546
4098
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3547
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
3548
4099
  P_CHAIN = "p-chain",
3549
4100
  X_CHAIN = "x-chain",
3550
4101
  C_CHAIN = "c-chain"
@@ -4134,6 +4685,10 @@ type Utxo = {
4134
4685
  * UTXO ID for this output.
4135
4686
  */
4136
4687
  utxoId: string;
4688
+ /**
4689
+ * The bytes of the UTXO
4690
+ */
4691
+ utxoBytes?: string;
4137
4692
  /**
4138
4693
  * Unix timestamp in seconds at which this output was consumed.
4139
4694
  */
@@ -4302,11 +4857,24 @@ type ListCChainAtomicTransactionsResponse = {
4302
4857
  chainInfo: PrimaryNetworkChainInfo;
4303
4858
  };
4304
4859
 
4860
+ type BlockchainInfo = {
4861
+ chainName: string;
4862
+ vmId: string;
4863
+ /**
4864
+ * 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
4865
+ */
4866
+ genesisData?: Record<string, any>;
4867
+ };
4868
+
4305
4869
  type L1ValidatorDetailsTransaction = {
4306
4870
  /**
4307
4871
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4308
4872
  */
4309
4873
  validationId: string;
4874
+ /**
4875
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
4876
+ */
4877
+ validationIdHex: string;
4310
4878
  nodeId: string;
4311
4879
  subnetId: string;
4312
4880
  /**
@@ -4318,7 +4886,7 @@ type L1ValidatorDetailsTransaction = {
4318
4886
  */
4319
4887
  remainingBalance: number;
4320
4888
  /**
4321
- * The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4889
+ * The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4322
4890
  */
4323
4891
  balanceChange?: number;
4324
4892
  blsCredentials?: Record<string, any>;
@@ -4348,6 +4916,9 @@ declare enum PChainTransactionType {
4348
4916
  UNKNOWN = "UNKNOWN"
4349
4917
  }
4350
4918
 
4919
+ /**
4920
+ * Indicates whether the UTXO is staked or transferable
4921
+ */
4351
4922
  declare enum UtxoType {
4352
4923
  STAKE = "STAKE",
4353
4924
  TRANSFER = "TRANSFER"
@@ -4375,6 +4946,10 @@ type PChainUtxo = {
4375
4946
  * UTXO ID for this output.
4376
4947
  */
4377
4948
  utxoId: string;
4949
+ /**
4950
+ * The bytes of the UTXO
4951
+ */
4952
+ utxoBytes?: string;
4378
4953
  /**
4379
4954
  * @deprecated
4380
4955
  */
@@ -4385,16 +4960,43 @@ type PChainUtxo = {
4385
4960
  assetId: string;
4386
4961
  blockNumber: string;
4387
4962
  blockTimestamp: number;
4963
+ /**
4964
+ * Block height in which the transaction consuming this UTXO was included
4965
+ */
4388
4966
  consumingBlockNumber?: string;
4967
+ /**
4968
+ * Timestamp in seconds at which this UTXO is used in a consuming transaction
4969
+ */
4389
4970
  consumingBlockTimestamp?: number;
4971
+ /**
4972
+ * Timestamp in seconds after which this UTXO can be consumed
4973
+ */
4390
4974
  platformLocktime?: number;
4975
+ /**
4976
+ * The index of the UTXO in the transaction
4977
+ */
4391
4978
  outputIndex: number;
4392
4979
  rewardType?: RewardType;
4980
+ /**
4981
+ * Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
4982
+ */
4393
4983
  stakeableLocktime?: number;
4394
4984
  staked?: boolean;
4985
+ /**
4986
+ * The minimum number of signatures required to spend this UTXO
4987
+ */
4395
4988
  threshold?: number;
4989
+ /**
4990
+ * The hash of the transaction that created this UTXO
4991
+ */
4396
4992
  txHash: string;
4993
+ /**
4994
+ * Timestamp in seconds after which the staked UTXO will be unlocked.
4995
+ */
4397
4996
  utxoEndTimestamp?: number;
4997
+ /**
4998
+ * Timestamp in seconds at which the staked UTXO was locked.
4999
+ */
4398
5000
  utxoStartTimestamp?: number;
4399
5001
  utxoType: UtxoType;
4400
5002
  };
@@ -4409,9 +5011,18 @@ type PChainTransaction = {
4409
5011
  * The block finality timestamp.
4410
5012
  */
4411
5013
  blockTimestamp: number;
5014
+ /**
5015
+ * The height of the block in which the transaction was included
5016
+ */
4412
5017
  blockNumber: string;
4413
5018
  blockHash: string;
5019
+ /**
5020
+ * The consumed UTXOs of the transaction
5021
+ */
4414
5022
  consumedUtxos: Array<PChainUtxo>;
5023
+ /**
5024
+ * The newly created UTXOs of the transaction
5025
+ */
4415
5026
  emittedUtxos: Array<PChainUtxo>;
4416
5027
  /**
4417
5028
  * Source chain for an atomic transaction.
@@ -4422,11 +5033,11 @@ type PChainTransaction = {
4422
5033
  */
4423
5034
  destinationChain?: string;
4424
5035
  /**
4425
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5036
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction
4426
5037
  */
4427
5038
  value: Array<AssetAmount>;
4428
5039
  /**
4429
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5040
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee
4430
5041
  */
4431
5042
  amountBurned: Array<AssetAmount>;
4432
5043
  /**
@@ -4434,7 +5045,7 @@ type PChainTransaction = {
4434
5045
  */
4435
5046
  amountStaked: Array<AssetAmount>;
4436
5047
  /**
4437
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
5048
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.
4438
5049
  */
4439
5050
  amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4440
5051
  /**
@@ -4446,11 +5057,11 @@ type PChainTransaction = {
4446
5057
  */
4447
5058
  endTimestamp?: number;
4448
5059
  /**
4449
- * Present for AddValidatorTx, AddPermissionlessValidatorTx
5060
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
4450
5061
  */
4451
5062
  delegationFeePercent?: string;
4452
5063
  /**
4453
- * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5064
+ * The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4454
5065
  */
4455
5066
  nodeId?: string;
4456
5067
  /**
@@ -4466,14 +5077,17 @@ type PChainTransaction = {
4466
5077
  */
4467
5078
  l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
4468
5079
  /**
4469
- * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
5080
+ * Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4470
5081
  */
4471
5082
  estimatedReward?: string;
5083
+ /**
5084
+ * Reward transaction hash for the completed validations or delegations
5085
+ */
4472
5086
  rewardTxHash?: string;
4473
5087
  rewardAddresses?: Array<string>;
4474
5088
  memo?: string;
4475
5089
  /**
4476
- * Present for RewardValidatorTx
5090
+ * Staking transaction corresponding to the RewardValidatorTx
4477
5091
  */
4478
5092
  stakingTxHash?: string;
4479
5093
  /**
@@ -4481,9 +5095,13 @@ type PChainTransaction = {
4481
5095
  */
4482
5096
  subnetOwnershipInfo?: SubnetOwnershipInfo;
4483
5097
  /**
4484
- * Present for AddPermissionlessValidatorTx
5098
+ * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4485
5099
  */
4486
5100
  blsCredentials?: BlsCredentials;
5101
+ /**
5102
+ * Details of the blockchain that was created in the CreateChainTx
5103
+ */
5104
+ blockchainInfo?: BlockchainInfo;
4487
5105
  };
4488
5106
 
4489
5107
  type ListPChainTransactionsResponse = {
@@ -5027,6 +5645,22 @@ declare class SignatureAggregatorService {
5027
5645
  network: Network;
5028
5646
  requestBody: SignatureAggregatorRequest;
5029
5647
  }): CancelablePromise<SignatureAggregationResponse>;
5648
+ /**
5649
+ * Get Aggregated Signatures
5650
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
5651
+ * @returns SignatureAggregationResponse Successful response
5652
+ * @throws ApiError
5653
+ */
5654
+ getAggregatedSignatures({ network, txHash, }: {
5655
+ /**
5656
+ * Either mainnet or testnet/fuji.
5657
+ */
5658
+ network: Network;
5659
+ /**
5660
+ * A primary network (P or X chain) transaction hash.
5661
+ */
5662
+ txHash: string;
5663
+ }): CancelablePromise<SignatureAggregationResponse>;
5030
5664
  }
5031
5665
 
5032
5666
  type TeleporterDestinationTransaction = {
@@ -5160,15 +5794,17 @@ type ListTeleporterMessagesResponse = {
5160
5794
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5161
5795
  */
5162
5796
  nextPageToken?: string;
5163
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
5797
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
5164
5798
  };
5165
5799
 
5166
5800
  declare class TeleporterService {
5167
5801
  readonly httpRequest: BaseHttpRequest;
5168
5802
  constructor(httpRequest: BaseHttpRequest);
5169
5803
  /**
5170
- * Get a teleporter message
5171
- * Gets a teleporter message by message ID.
5804
+ * @deprecated
5805
+ * **[Deprecated]** Gets a teleporter message by message ID.
5806
+ *
5807
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
5172
5808
  * @returns any Successful response
5173
5809
  * @throws ApiError
5174
5810
  */
@@ -5179,8 +5815,10 @@ declare class TeleporterService {
5179
5815
  messageId: string;
5180
5816
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
5181
5817
  /**
5182
- * List teleporter messages
5183
- * Lists teleporter messages. Ordered by timestamp in descending order.
5818
+ * @deprecated
5819
+ * **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
5820
+ *
5821
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
5184
5822
  * @returns ListTeleporterMessagesResponse Successful response
5185
5823
  * @throws ApiError
5186
5824
  */
@@ -5219,8 +5857,10 @@ declare class TeleporterService {
5219
5857
  network?: Network;
5220
5858
  }): CancelablePromise<ListTeleporterMessagesResponse>;
5221
5859
  /**
5222
- * List teleporter messages by address
5223
- * Lists teleporter messages by address. Ordered by timestamp in descending order.
5860
+ * @deprecated
5861
+ * **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
5862
+ *
5863
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
5224
5864
  * @returns ListTeleporterMessagesResponse Successful response
5225
5865
  * @throws ApiError
5226
5866
  */
@@ -5253,28 +5893,58 @@ type AddressesChangeRequest = {
5253
5893
 
5254
5894
  type AddressActivityMetadata = {
5255
5895
  /**
5256
- * Ethereum address(es) for the address_activity event type
5896
+ * Array of hexadecimal strings of the event signatures.
5897
+ */
5898
+ eventSignatures?: Array<string>;
5899
+ /**
5900
+ * Ethereum address(es) for the address_activity event type. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
5257
5901
  */
5258
5902
  addresses: Array<string>;
5903
+ };
5904
+
5905
+ type EVMAddressActivityRequest = {
5906
+ eventType: EVMAddressActivityRequest.eventType;
5907
+ url: string;
5908
+ name?: string;
5909
+ description?: string;
5910
+ chainId: string;
5911
+ metadata: AddressActivityMetadata;
5259
5912
  /**
5260
- * Array of hexadecimal strings of the event signatures.
5913
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5261
5914
  */
5262
- eventSignatures?: Array<string>;
5915
+ includeInternalTxs?: boolean;
5916
+ /**
5917
+ * Whether to include logs in the webhook payload.
5918
+ */
5919
+ includeLogs?: boolean;
5263
5920
  };
5921
+ declare namespace EVMAddressActivityRequest {
5922
+ enum eventType {
5923
+ ADDRESS_ACTIVITY = "address_activity"
5924
+ }
5925
+ }
5264
5926
 
5265
- declare enum EventType {
5927
+ declare enum AddressActivityEventType {
5266
5928
  ADDRESS_ACTIVITY = "address_activity"
5267
5929
  }
5268
5930
 
5269
- type CreateWebhookRequest = {
5931
+ declare enum WebhookStatusType {
5932
+ ACTIVE = "active",
5933
+ INACTIVE = "inactive"
5934
+ }
5935
+
5936
+ type EVMAddressActivityResponse = {
5937
+ id: string;
5270
5938
  url: string;
5271
5939
  chainId: string;
5272
- eventType: EventType;
5940
+ status: WebhookStatusType;
5941
+ createdAt: number;
5942
+ name: string;
5943
+ description: string;
5944
+ eventType: AddressActivityEventType;
5273
5945
  metadata: AddressActivityMetadata;
5274
- name?: string;
5275
- description?: string;
5276
5946
  /**
5277
- * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5947
+ * Whether to include traces in the webhook payload.
5278
5948
  */
5279
5949
  includeInternalTxs?: boolean;
5280
5950
  /**
@@ -5292,29 +5962,143 @@ type ListWebhookAddressesResponse = {
5292
5962
  totalAddresses: number;
5293
5963
  };
5294
5964
 
5295
- declare enum WebhookStatusType {
5296
- ACTIVE = "active",
5297
- INACTIVE = "inactive"
5965
+ declare enum PrimaryNetworkAddressActivityEventType {
5966
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
5967
+ }
5968
+
5969
+ /**
5970
+ * The type of key to monitor for the address activity event type.
5971
+ */
5972
+ declare enum PlatformAddressActivityKeyType {
5973
+ ADDRESSES = "addresses"
5974
+ }
5975
+
5976
+ /**
5977
+ * Array of address activity sub-event types
5978
+ */
5979
+ declare enum PrimaryNetworkAddressActivitySubEventType {
5980
+ BALANCE_CHANGE = "balance_change",
5981
+ BALANCE_THRESHOLD = "balance_threshold",
5982
+ REWARD_DISTRIBUTION = "reward_distribution"
5983
+ }
5984
+
5985
+ type PrimaryNetworkAddressActivitySubEvents = {
5986
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
5987
+ };
5988
+
5989
+ /**
5990
+ * Type of balance to monitor
5991
+ */
5992
+ declare enum CommonBalanceType {
5993
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
5994
+ UNLOCKED_STAKED = "unlockedStaked",
5995
+ LOCKED_PLATFORM = "lockedPlatform",
5996
+ LOCKED_STAKEABLE = "lockedStakeable",
5997
+ LOCKED_STAKED = "lockedStaked",
5998
+ PENDING_STAKED = "pendingStaked",
5999
+ UNLOCKED = "unlocked",
6000
+ LOCKED = "locked",
6001
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
6002
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5298
6003
  }
5299
6004
 
5300
- type WebhookResponse = {
6005
+ type PrimaryNetworkBalanceThresholdFilter = {
6006
+ balanceType: CommonBalanceType;
6007
+ /**
6008
+ * Threshold for balance corresponding to balanceType in nAVAX
6009
+ */
6010
+ balanceThreshold: string;
6011
+ };
6012
+
6013
+ type PrimaryNetworkAddressActivityMetadata = {
6014
+ /**
6015
+ * Array of hexadecimal strings of the event signatures.
6016
+ */
6017
+ eventSignatures?: Array<string>;
6018
+ keyType: PlatformAddressActivityKeyType;
6019
+ /**
6020
+ * 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.
6021
+ */
6022
+ keys: Array<string>;
6023
+ /**
6024
+ * Sub-events to monitor
6025
+ */
6026
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6027
+ /**
6028
+ * Balance threshold filter
6029
+ */
6030
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6031
+ };
6032
+
6033
+ type PrimaryNetworkAddressActivityResponse = {
5301
6034
  id: string;
5302
- eventType: EventType;
5303
- metadata: AddressActivityMetadata;
6035
+ url: string;
6036
+ chainId: string;
6037
+ status: WebhookStatusType;
6038
+ createdAt: number;
6039
+ name: string;
6040
+ description: string;
6041
+ eventType: PrimaryNetworkAddressActivityEventType;
6042
+ metadata: PrimaryNetworkAddressActivityMetadata;
6043
+ };
6044
+
6045
+ declare enum ValidatorActivityEventType {
6046
+ VALIDATOR_ACTIVITY = "validator_activity"
6047
+ }
6048
+
6049
+ /**
6050
+ * The type of key to monitor for the validator activity event type.
6051
+ */
6052
+ declare enum ValidatorActivityKeyType {
6053
+ NODE_ID = "nodeId",
6054
+ SUBNET_ID = "subnetId"
6055
+ }
6056
+
6057
+ type ValidatorActivitySubEvents = {
5304
6058
  /**
5305
- * Whether to include traces in the webhook payload.
6059
+ * Array of validator activity sub-event types
5306
6060
  */
5307
- includeInternalTxs?: boolean;
6061
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6062
+ };
6063
+
6064
+ type ValidatorActivityMetadata = {
5308
6065
  /**
5309
- * Whether to include logs in the webhook payload.
6066
+ * Array of hexadecimal strings of the event signatures.
5310
6067
  */
5311
- includeLogs?: boolean;
6068
+ eventSignatures?: Array<string>;
6069
+ keyType: ValidatorActivityKeyType;
6070
+ /**
6071
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
6072
+ */
6073
+ keys: Array<string>;
6074
+ /**
6075
+ * Sub-events to monitor
6076
+ */
6077
+ subEvents: ValidatorActivitySubEvents;
6078
+ /**
6079
+ * Array of node IDs to filter the events
6080
+ */
6081
+ nodeIds?: Array<string>;
6082
+ /**
6083
+ * Array of subnet IDs to filter the events
6084
+ */
6085
+ subnetIds?: Array<string>;
6086
+ /**
6087
+ * L1 validator fee balance threshold in nAVAX
6088
+ */
6089
+ l1ValidatorFeeBalanceThreshold?: string;
6090
+ };
6091
+
6092
+ type ValidatorActivityResponse = {
6093
+ id: string;
5312
6094
  url: string;
5313
6095
  chainId: string;
5314
6096
  status: WebhookStatusType;
5315
6097
  createdAt: number;
5316
6098
  name: string;
5317
6099
  description: string;
6100
+ eventType: ValidatorActivityEventType;
6101
+ metadata: ValidatorActivityMetadata;
5318
6102
  };
5319
6103
 
5320
6104
  type ListWebhooksResponse = {
@@ -5322,9 +6106,32 @@ type ListWebhooksResponse = {
5322
6106
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5323
6107
  */
5324
6108
  nextPageToken?: string;
5325
- webhooks: Array<WebhookResponse>;
6109
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5326
6110
  };
5327
6111
 
6112
+ declare enum PrimaryNetworkType {
6113
+ MAINNET = "mainnet",
6114
+ FUJI = "fuji"
6115
+ }
6116
+
6117
+ type PrimaryNetworkAddressActivityRequest = {
6118
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
6119
+ url: string;
6120
+ name?: string;
6121
+ description?: string;
6122
+ network: PrimaryNetworkType;
6123
+ chainId: string;
6124
+ /**
6125
+ * Metadata for platform address activity event
6126
+ */
6127
+ metadata: PrimaryNetworkAddressActivityMetadata;
6128
+ };
6129
+ declare namespace PrimaryNetworkAddressActivityRequest {
6130
+ enum eventType {
6131
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6132
+ }
6133
+ }
6134
+
5328
6135
  type SharedSecretsResponse = {
5329
6136
  secret: string;
5330
6137
  };
@@ -5341,6 +6148,23 @@ type UpdateWebhookRequest = {
5341
6148
  includeLogs?: boolean;
5342
6149
  };
5343
6150
 
6151
+ type ValidatorActivityRequest = {
6152
+ eventType: ValidatorActivityRequest.eventType;
6153
+ url: string;
6154
+ name?: string;
6155
+ description?: string;
6156
+ network: PrimaryNetworkType;
6157
+ /**
6158
+ * Metadata for platform validator activity event
6159
+ */
6160
+ metadata: ValidatorActivityMetadata;
6161
+ };
6162
+ declare namespace ValidatorActivityRequest {
6163
+ enum eventType {
6164
+ VALIDATOR_ACTIVITY = "validator_activity"
6165
+ }
6166
+ }
6167
+
5344
6168
  declare enum WebhookStatus {
5345
6169
  ACTIVE = "active",
5346
6170
  INACTIVE = "inactive"
@@ -5352,12 +6176,12 @@ declare class WebhooksService {
5352
6176
  /**
5353
6177
  * Create a webhook
5354
6178
  * Create a new webhook.
5355
- * @returns WebhookResponse Successful response
6179
+ * @returns any Successful response
5356
6180
  * @throws ApiError
5357
6181
  */
5358
6182
  createWebhook({ requestBody, }: {
5359
- requestBody: CreateWebhookRequest;
5360
- }): CancelablePromise<WebhookResponse>;
6183
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6184
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5361
6185
  /**
5362
6186
  * List webhooks
5363
6187
  * Lists webhooks for the user.
@@ -5381,7 +6205,7 @@ declare class WebhooksService {
5381
6205
  /**
5382
6206
  * Get a webhook by ID
5383
6207
  * Retrieves a webhook by ID.
5384
- * @returns WebhookResponse Successful response
6208
+ * @returns any Successful response
5385
6209
  * @throws ApiError
5386
6210
  */
5387
6211
  getWebhook({ id, }: {
@@ -5389,11 +6213,11 @@ declare class WebhooksService {
5389
6213
  * The webhook identifier.
5390
6214
  */
5391
6215
  id: string;
5392
- }): CancelablePromise<WebhookResponse>;
6216
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5393
6217
  /**
5394
6218
  * Deactivate a webhook
5395
6219
  * Deactivates a webhook by ID.
5396
- * @returns WebhookResponse Successful response
6220
+ * @returns any Successful response
5397
6221
  * @throws ApiError
5398
6222
  */
5399
6223
  deactivateWebhook({ id, }: {
@@ -5401,11 +6225,11 @@ declare class WebhooksService {
5401
6225
  * The webhook identifier.
5402
6226
  */
5403
6227
  id: string;
5404
- }): CancelablePromise<WebhookResponse>;
6228
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5405
6229
  /**
5406
6230
  * Update a webhook
5407
6231
  * Updates an existing webhook.
5408
- * @returns WebhookResponse Successful response
6232
+ * @returns any Successful response
5409
6233
  * @throws ApiError
5410
6234
  */
5411
6235
  updateWebhook({ id, requestBody, }: {
@@ -5414,14 +6238,14 @@ declare class WebhooksService {
5414
6238
  */
5415
6239
  id: string;
5416
6240
  requestBody: UpdateWebhookRequest;
5417
- }): CancelablePromise<WebhookResponse>;
6241
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5418
6242
  /**
5419
- * Generate a shared secret
5420
- * Generates a new shared secret.
6243
+ * Generate or rotate a shared secret
6244
+ * Generates a new shared secret or rotate an existing one.
5421
6245
  * @returns SharedSecretsResponse Successful response
5422
6246
  * @throws ApiError
5423
6247
  */
5424
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
6248
+ generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5425
6249
  /**
5426
6250
  * Get a shared secret
5427
6251
  * Get a previously generated shared secret.
@@ -5430,9 +6254,9 @@ declare class WebhooksService {
5430
6254
  */
5431
6255
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5432
6256
  /**
5433
- * Add addresses to webhook
5434
- * Add addresses to webhook.
5435
- * @returns WebhookResponse Successful response
6257
+ * Add addresses to EVM activity webhook
6258
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6259
+ * @returns EVMAddressActivityResponse Successful response
5436
6260
  * @throws ApiError
5437
6261
  */
5438
6262
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5441,11 +6265,11 @@ declare class WebhooksService {
5441
6265
  */
5442
6266
  id: string;
5443
6267
  requestBody: AddressesChangeRequest;
5444
- }): CancelablePromise<WebhookResponse>;
6268
+ }): CancelablePromise<EVMAddressActivityResponse>;
5445
6269
  /**
5446
- * Remove addresses from webhook
5447
- * Remove addresses from webhook.
5448
- * @returns WebhookResponse Successful response
6270
+ * Remove addresses from EVM activity webhook
6271
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6272
+ * @returns EVMAddressActivityResponse Successful response
5449
6273
  * @throws ApiError
5450
6274
  */
5451
6275
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5454,10 +6278,10 @@ declare class WebhooksService {
5454
6278
  */
5455
6279
  id: string;
5456
6280
  requestBody: AddressesChangeRequest;
5457
- }): CancelablePromise<WebhookResponse>;
6281
+ }): CancelablePromise<EVMAddressActivityResponse>;
5458
6282
  /**
5459
- * List adresses by webhook
5460
- * List adresses by webhook.
6283
+ * List adresses by EVM activity webhooks
6284
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5461
6285
  * @returns ListWebhookAddressesResponse Successful response
5462
6286
  * @throws ApiError
5463
6287
  */
@@ -5479,6 +6303,7 @@ declare class WebhooksService {
5479
6303
 
5480
6304
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
5481
6305
  declare class Glacier {
6306
+ readonly avaxSupply: AvaxSupplyService;
5482
6307
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
5483
6308
  readonly default: DefaultService;
5484
6309
  readonly evmBalances: EvmBalancesService;
@@ -5487,7 +6312,9 @@ declare class Glacier {
5487
6312
  readonly evmContracts: EvmContractsService;
5488
6313
  readonly evmTransactions: EvmTransactionsService;
5489
6314
  readonly healthCheck: HealthCheckService;
6315
+ readonly interchainMessaging: InterchainMessagingService;
5490
6316
  readonly nfTs: NfTsService;
6317
+ readonly notifications: NotificationsService;
5491
6318
  readonly operations: OperationsService;
5492
6319
  readonly primaryNetwork: PrimaryNetworkService;
5493
6320
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -5520,6 +6347,17 @@ declare class ApiError extends Error {
5520
6347
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
5521
6348
  }
5522
6349
 
6350
+ type AccessListData = {
6351
+ /**
6352
+ * Access Address
6353
+ */
6354
+ accessAddresses: string;
6355
+ /**
6356
+ * Storage keys
6357
+ */
6358
+ storageKeys: Array<string>;
6359
+ };
6360
+
5523
6361
  type BadGateway = {
5524
6362
  /**
5525
6363
  * The error message describing the reason for the exception
@@ -5554,6 +6392,76 @@ type DataListChainsResponse = {
5554
6392
  chains: Array<ChainInfo>;
5555
6393
  };
5556
6394
 
6395
+ type ERCToken = {
6396
+ /**
6397
+ * Token contract address
6398
+ */
6399
+ address: string;
6400
+ /**
6401
+ * Token name
6402
+ */
6403
+ name: string;
6404
+ /**
6405
+ * Token symbol
6406
+ */
6407
+ symbol: string;
6408
+ /**
6409
+ * Token decimals
6410
+ */
6411
+ decimals: number;
6412
+ /**
6413
+ * Value including decimals
6414
+ */
6415
+ valueWithDecimals: string;
6416
+ };
6417
+
6418
+ type ERCTransfer = {
6419
+ /**
6420
+ * Transaction hash
6421
+ */
6422
+ transactionHash: string;
6423
+ /**
6424
+ * Transfer type
6425
+ */
6426
+ type: string;
6427
+ /**
6428
+ * Sender address
6429
+ */
6430
+ from: string;
6431
+ /**
6432
+ * Recipient address
6433
+ */
6434
+ to: string;
6435
+ /**
6436
+ * Amount transferred
6437
+ */
6438
+ value: string;
6439
+ /**
6440
+ * Token Id
6441
+ */
6442
+ tokenId?: string;
6443
+ /**
6444
+ * Block timestamp
6445
+ */
6446
+ blockTimestamp: number;
6447
+ /**
6448
+ * Log index
6449
+ */
6450
+ logIndex: number;
6451
+ /**
6452
+ * erc20 Token details
6453
+ */
6454
+ erc20Token?: ERCToken;
6455
+ /**
6456
+ * erc721 Token details
6457
+ */
6458
+ erc721Token?: ERCToken;
6459
+ /**
6460
+ * erc1155 Token details
6461
+ */
6462
+ erc1155Token?: ERCToken;
6463
+ };
6464
+
5557
6465
  type Forbidden = {
5558
6466
  /**
5559
6467
  * The error message describing the reason for the exception
@@ -5584,6 +6492,64 @@ type InternalServerError = {
5584
6492
  error: string;
5585
6493
  };
5586
6494
 
6495
+ type Log = {
6496
+ /**
6497
+ * Contract address
6498
+ */
6499
+ address: string;
6500
+ /**
6501
+ * First topic
6502
+ */
6503
+ topic0: string;
6504
+ /**
6505
+ * Second topic (optional)
6506
+ */
6507
+ topic1?: string;
6508
+ /**
6509
+ * Third topic (optional)
6510
+ */
6511
+ topic2?: string;
6512
+ /**
6513
+ * Fourth topic (optional)
6514
+ */
6515
+ topic3?: string;
6516
+ /**
6517
+ * Event data
6518
+ */
6519
+ data: string;
6520
+ /**
6521
+ * Transaction index
6522
+ */
6523
+ transactionIndex: number;
6524
+ /**
6525
+ * Log index
6526
+ */
6527
+ logIndex: number;
6528
+ /**
6529
+ * Indicates if the log was removed
6530
+ */
6531
+ removed: boolean;
6532
+ };
6533
+
6534
+ type NetworkTokenInfo = {
6535
+ /**
6536
+ * Token name
6537
+ */
6538
+ tokenName?: string;
6539
+ /**
6540
+ * Token symbol
6541
+ */
6542
+ tokenSymbol?: string;
6543
+ /**
6544
+ * Token decimals
6545
+ */
6546
+ tokenDecimals?: number;
6547
+ /**
6548
+ * Value including decimals
6549
+ */
6550
+ valueWithDecimals?: string;
6551
+ };
6552
+
5587
6553
  type NextPageToken = {
5588
6554
  /**
5589
6555
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -5636,6 +6602,163 @@ type TooManyRequests = {
5636
6602
  error: string;
5637
6603
  };
5638
6604
 
6605
+ type WebhookInternalTransaction = {
6606
+ /**
6607
+ * Sender address
6608
+ */
6609
+ from: string;
6610
+ /**
6611
+ * Recipient address
6612
+ */
6613
+ to: string;
6614
+ /**
6615
+ * Internal transaction type
6616
+ */
6617
+ internalTxType: string;
6618
+ /**
6619
+ * Value transferred
6620
+ */
6621
+ value: string;
6622
+ /**
6623
+ * Gas used
6624
+ */
6625
+ gasUsed: string;
6626
+ /**
6627
+ * Gas limit
6628
+ */
6629
+ gasLimit: string;
6630
+ /**
6631
+ * Transaction hash
6632
+ */
6633
+ transactionHash: string;
6634
+ };
6635
+
6636
+ type Transaction = {
6637
+ /**
6638
+ * Block hash of the transaction
6639
+ */
6640
+ blockHash: string;
6641
+ /**
6642
+ * Block number of the transaction
6643
+ */
6644
+ blockNumber: string;
6645
+ /**
6646
+ * Sender address
6647
+ */
6648
+ from: string;
6649
+ /**
6650
+ * Gas limit for the transaction
6651
+ */
6652
+ gas: string;
6653
+ /**
6654
+ * Gas price used
6655
+ */
6656
+ gasPrice: string;
6657
+ /**
6658
+ * Maximum fee per gas
6659
+ */
6660
+ maxFeePerGas: string;
6661
+ /**
6662
+ * Maximum priority fee per gas
6663
+ */
6664
+ maxPriorityFeePerGas: string;
6665
+ /**
6666
+ * Transaction hash
6667
+ */
6668
+ txHash: string;
6669
+ /**
6670
+ * Transaction status
6671
+ */
6672
+ txStatus: string;
6673
+ /**
6674
+ * Input data
6675
+ */
6676
+ input: string;
6677
+ /**
6678
+ * Nonce value
6679
+ */
6680
+ nonce: string;
6681
+ /**
6682
+ * Recipient address
6683
+ */
6684
+ to: string;
6685
+ /**
6686
+ * Transaction index
6687
+ */
6688
+ transactionIndex: number;
6689
+ /**
6690
+ * Value transferred in the transaction
6691
+ */
6692
+ value: string;
6693
+ /**
6694
+ * Transaction type
6695
+ */
6696
+ type: number;
6697
+ /**
6698
+ * Chain ID of the network
6699
+ */
6700
+ chainId: string;
6701
+ /**
6702
+ * Cumulative gas used
6703
+ */
6704
+ receiptCumulativeGasUsed: string;
6705
+ /**
6706
+ * Gas used
6707
+ */
6708
+ receiptGasUsed: string;
6709
+ /**
6710
+ * Effective gas price
6711
+ */
6712
+ receiptEffectiveGasPrice: string;
6713
+ /**
6714
+ * Receipt root
6715
+ */
6716
+ receiptRoot: string;
6717
+ /**
6718
+ * Block timestamp
6719
+ */
6720
+ blockTimestamp: number;
6721
+ /**
6722
+ * Contract address (optional)
6723
+ */
6724
+ contractAddress?: string;
6725
+ /**
6726
+ * ERC20 transfers
6727
+ */
6728
+ erc20Transfers: Array<ERCTransfer>;
6729
+ /**
6730
+ * ERC721 transfers
6731
+ */
6732
+ erc721Transfers: Array<ERCTransfer>;
6733
+ /**
6734
+ * ERC1155 transfers
6735
+ */
6736
+ erc1155Transfers: Array<ERCTransfer>;
6737
+ /**
6738
+ * Internal transactions (optional)
6739
+ */
6740
+ internalTransactions?: Array<WebhookInternalTransaction>;
6741
+ /**
6742
+ * Access list (optional)
6743
+ */
6744
+ accessList?: Array<AccessListData>;
6745
+ /**
6746
+ * Network token info (optional)
6747
+ */
6748
+ networkToken?: NetworkTokenInfo;
6749
+ };
6750
+
6751
+ type TransactionEvent = {
6752
+ /**
6753
+ * Transaction details
6754
+ */
6755
+ transaction: Transaction;
6756
+ /**
6757
+ * Array of log events
6758
+ */
6759
+ logs?: Array<Log>;
6760
+ };
6761
+
5639
6762
  type Unauthorized = {
5640
6763
  /**
5641
6764
  * The error message describing the reason for the exception
@@ -5651,4 +6774,43 @@ type Unauthorized = {
5651
6774
  error: string;
5652
6775
  };
5653
6776
 
5654
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
6777
+ type WebhookAddressActivityResponse = {
6778
+ /**
6779
+ * Webhook ID
6780
+ */
6781
+ webhookId: string;
6782
+ /**
6783
+ * Event type
6784
+ */
6785
+ eventType: WebhookAddressActivityResponse.eventType;
6786
+ /**
6787
+ * Message ID
6788
+ */
6789
+ messageId: string;
6790
+ /**
6791
+ * Event details
6792
+ */
6793
+ event: TransactionEvent;
6794
+ };
6795
+ declare namespace WebhookAddressActivityResponse {
6796
+ /**
6797
+ * Event type
6798
+ */
6799
+ enum eventType {
6800
+ ADDRESS_ACTIVITY = "address_activity"
6801
+ }
6802
+ }
6803
+
6804
+ declare class FetchHttpRequest extends BaseHttpRequest {
6805
+ constructor(config: OpenAPIConfig);
6806
+ /**
6807
+ * Request method
6808
+ * @param options The request options from the service
6809
+ * @returns CancelablePromise<T>
6810
+ * @throws ApiError
6811
+ */
6812
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
6813
+ }
6814
+
6815
+ 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, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
6816
+ export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, Blockchain, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PricingProviders, PrimaryNetworkAddressActivityMetadata, PrimaryNetworkAddressActivityResponse, PrimaryNetworkAddressActivitySubEvents, PrimaryNetworkBalanceThresholdFilter, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorActivityMetadata, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };