@avalabs/glacier-sdk 3.1.0-canary.2630dc5.0 → 3.1.0-canary.2be3181.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 (233) hide show
  1. package/dist/{index.js → index.cjs} +1 -1
  2. package/dist/index.d.ts +564 -108
  3. package/esm/generated/Glacier.js +1 -1
  4. package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
  5. package/esm/generated/core/ApiResult.d.ts +1 -1
  6. package/esm/generated/core/CancelablePromise.d.ts +2 -1
  7. package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
  8. package/esm/generated/core/OpenAPI.d.ts +2 -1
  9. package/esm/generated/core/OpenAPI.js +1 -1
  10. package/esm/generated/models/AccessListData.d.ts +12 -0
  11. package/esm/generated/models/AccessRequest.d.ts +1 -1
  12. package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
  13. package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
  14. package/esm/generated/models/AddressActivityEventType.js +1 -0
  15. package/esm/generated/models/AddressActivityMetadata.d.ts +5 -5
  16. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  17. package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
  18. package/esm/generated/models/AssetAmount.d.ts +1 -1
  19. package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
  20. package/esm/generated/models/BadGateway.d.ts +1 -1
  21. package/esm/generated/models/BadRequest.d.ts +1 -1
  22. package/esm/generated/models/BalanceOwner.d.ts +1 -1
  23. package/esm/generated/models/Blockchain.d.ts +9 -1
  24. package/esm/generated/models/BlockchainId.d.ts +0 -2
  25. package/esm/generated/models/BlockchainId.js +1 -1
  26. package/esm/generated/models/BlockchainIds.d.ts +1 -3
  27. package/esm/generated/models/BlockchainIds.js +1 -1
  28. package/esm/generated/models/BlockchainInfo.d.ts +7 -2
  29. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  30. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  31. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  32. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  33. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  34. package/esm/generated/models/ChainInfo.d.ts +1 -1
  35. package/esm/generated/models/{PChainBalanceType.d.ts → CommonBalanceType.d.ts} +4 -2
  36. package/esm/generated/models/CommonBalanceType.js +1 -0
  37. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  38. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  39. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  40. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  41. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  42. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  43. package/esm/generated/models/ERCToken.d.ts +24 -0
  44. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  45. package/esm/generated/models/EVMAddressActivityRequest.d.ts +2 -4
  46. package/esm/generated/models/EVMAddressActivityResponse.d.ts +3 -3
  47. package/esm/generated/models/EVMInput.d.ts +1 -1
  48. package/esm/generated/models/EVMOutput.d.ts +1 -1
  49. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  50. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  51. package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
  52. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  53. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  54. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  55. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  56. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  57. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  58. package/esm/generated/models/Erc721Transfer.d.ts +1 -1
  59. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  60. package/esm/generated/models/EvmBlock.d.ts +1 -1
  61. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  62. package/esm/generated/models/Forbidden.d.ts +1 -1
  63. package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
  64. package/esm/generated/models/Geolocation.d.ts +24 -0
  65. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  66. package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
  67. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  68. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  69. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  70. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  71. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  72. package/esm/generated/models/IcmDestinationTransaction.d.ts +1 -1
  73. package/esm/generated/models/IcmReceipt.d.ts +1 -1
  74. package/esm/generated/models/IcmSourceTransaction.d.ts +1 -1
  75. package/esm/generated/models/ImageAsset.d.ts +1 -1
  76. package/esm/generated/models/InternalServerError.d.ts +1 -1
  77. package/esm/generated/models/InternalTransaction.d.ts +1 -1
  78. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  79. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  80. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  81. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
  82. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +5 -1
  83. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  84. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  85. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  86. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  87. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  88. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  89. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  90. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  91. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  92. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  93. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  94. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  95. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  96. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  97. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  98. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  99. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  100. package/esm/generated/models/ListIcmMessagesResponse.d.ts +3 -2
  101. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  102. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
  103. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  104. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  105. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  106. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  107. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  108. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  109. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  110. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  111. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  112. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  113. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  114. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  115. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  116. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  117. package/esm/generated/models/ListWebhooksResponse.d.ts +4 -3
  118. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  119. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  120. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  121. package/esm/generated/models/Log.d.ts +40 -0
  122. package/esm/generated/models/LogsFormat.d.ts +1 -1
  123. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  124. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  125. package/esm/generated/models/Method.d.ts +1 -1
  126. package/esm/generated/models/Metric.d.ts +1 -1
  127. package/esm/generated/models/Money.d.ts +1 -1
  128. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  129. package/esm/generated/models/NativeTransaction.d.ts +1 -1
  130. package/esm/generated/models/NetworkToken.d.ts +1 -1
  131. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  132. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  133. package/esm/generated/models/NextPageToken.d.ts +1 -1
  134. package/esm/generated/models/NotFound.d.ts +1 -1
  135. package/esm/generated/models/NotificationsResponse.d.ts +1 -1
  136. package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
  137. package/esm/generated/models/PChainBalance.d.ts +1 -1
  138. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  139. package/esm/generated/models/PChainTransaction.d.ts +6 -1
  140. package/esm/generated/models/PChainUtxo.d.ts +1 -1
  141. package/esm/generated/models/PendingReward.d.ts +1 -1
  142. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  143. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  144. package/esm/generated/models/PricingProviders.d.ts +1 -1
  145. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  146. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  147. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  148. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  149. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  150. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  151. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  152. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  153. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  154. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
  155. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  156. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  157. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  158. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  159. package/esm/generated/models/ResourceLink.d.ts +1 -1
  160. package/esm/generated/models/Rewards.d.ts +1 -1
  161. package/esm/generated/models/RichAddress.d.ts +1 -1
  162. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  163. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  164. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  165. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  166. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
  167. package/esm/generated/models/StakingDistribution.d.ts +1 -1
  168. package/esm/generated/models/Subnet.d.ts +3 -3
  169. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  170. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  171. package/esm/generated/models/SubscribeRequest.d.ts +1 -1
  172. package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
  173. package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
  174. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  175. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  176. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  177. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  178. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  179. package/esm/generated/models/Transaction.d.ts +121 -0
  180. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  181. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  182. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  183. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  184. package/esm/generated/models/Unauthorized.d.ts +1 -1
  185. package/esm/generated/models/UnknownContract.d.ts +1 -1
  186. package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
  187. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  188. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  189. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  190. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  191. package/esm/generated/models/Utxo.d.ts +1 -1
  192. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  193. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  194. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  195. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  196. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  197. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  198. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  199. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  200. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  201. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  202. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  203. package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
  204. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  205. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  206. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  207. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  208. package/esm/generated/models/XChainBalances.d.ts +1 -1
  209. package/esm/generated/models/XChainId.d.ts +0 -1
  210. package/esm/generated/models/XChainId.js +1 -1
  211. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  212. package/esm/generated/models/XChainVertex.d.ts +1 -1
  213. package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
  214. package/esm/generated/services/InterchainMessagingService.d.ts +2 -2
  215. package/esm/generated/services/PrimaryNetworkService.d.ts +22 -5
  216. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  217. package/esm/generated/services/WebhooksService.d.ts +9 -7
  218. package/esm/index.d.ts +28 -9
  219. package/esm/index.js +1 -1
  220. package/package.json +13 -4
  221. package/esm/generated/models/EventType.d.ts +0 -7
  222. package/esm/generated/models/EventType.js +0 -1
  223. package/esm/generated/models/PChainBalanceType.js +0 -1
  224. package/esm/generated/models/PlatformActivityKeyType.d.ts +0 -10
  225. package/esm/generated/models/PlatformActivityKeyType.js +0 -1
  226. package/esm/generated/models/PlatformActivityMetadata.d.ts +0 -37
  227. package/esm/generated/models/PlatformActivityRequest.d.ts +0 -31
  228. package/esm/generated/models/PlatformActivityRequest.js +0 -1
  229. package/esm/generated/models/PlatformActivityResponse.d.ts +0 -17
  230. package/esm/generated/models/PlatformActivitySubEvents.d.ts +0 -11
  231. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +0 -9
  232. package/esm/generated/models/PlatformAddressActivitySubEventType.js +0 -1
  233. package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +0 -11
package/dist/index.d.ts CHANGED
@@ -1728,7 +1728,7 @@ type Erc1155Contract = {
1728
1728
  * A wallet or contract address in mixed-case checksum encoding.
1729
1729
  */
1730
1730
  address: string;
1731
- deploymentDetails: ContractDeploymentDetails;
1731
+ deploymentDetails?: ContractDeploymentDetails;
1732
1732
  ercType: Erc1155Contract.ercType;
1733
1733
  /**
1734
1734
  * The contract symbol.
@@ -1759,7 +1759,7 @@ type Erc20Contract = {
1759
1759
  * A wallet or contract address in mixed-case checksum encoding.
1760
1760
  */
1761
1761
  address: string;
1762
- deploymentDetails: ContractDeploymentDetails;
1762
+ deploymentDetails?: ContractDeploymentDetails;
1763
1763
  ercType: Erc20Contract.ercType;
1764
1764
  /**
1765
1765
  * The contract symbol.
@@ -1794,7 +1794,7 @@ type Erc721Contract = {
1794
1794
  * A wallet or contract address in mixed-case checksum encoding.
1795
1795
  */
1796
1796
  address: string;
1797
- deploymentDetails: ContractDeploymentDetails;
1797
+ deploymentDetails?: ContractDeploymentDetails;
1798
1798
  ercType: Erc721Contract.ercType;
1799
1799
  /**
1800
1800
  * The contract symbol.
@@ -1824,7 +1824,7 @@ type UnknownContract = {
1824
1824
  * A wallet or contract address in mixed-case checksum encoding.
1825
1825
  */
1826
1826
  address: string;
1827
- deploymentDetails: ContractDeploymentDetails;
1827
+ deploymentDetails?: ContractDeploymentDetails;
1828
1828
  ercType: UnknownContract.ercType;
1829
1829
  };
1830
1830
  declare namespace UnknownContract {
@@ -2042,6 +2042,7 @@ declare enum InternalTransactionOpCall {
2042
2042
  CALL = "CALL",
2043
2043
  CREATE = "CREATE",
2044
2044
  CREATE2 = "CREATE2",
2045
+ CREATE3 = "CREATE3",
2045
2046
  CALLCODE = "CALLCODE",
2046
2047
  DELEGATECALL = "DELEGATECALL",
2047
2048
  STATICCALL = "STATICCALL"
@@ -2083,11 +2084,11 @@ type TeleporterMessageInfo = {
2083
2084
  /**
2084
2085
  * chain id of the source chain. valid only for destination transactions
2085
2086
  */
2086
- sourceChainId?: Record<string, any>;
2087
+ sourceChainId?: string;
2087
2088
  /**
2088
2089
  * chain id of the destination chain. valid only for source transactions
2089
2090
  */
2090
- destinationChainId?: Record<string, any>;
2091
+ destinationChainId?: string;
2091
2092
  };
2092
2093
 
2093
2094
  type GetTransactionResponse = {
@@ -2104,7 +2105,7 @@ type GetTransactionResponse = {
2104
2105
  */
2105
2106
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2106
2107
  /**
2107
- * 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.
2108
+ * 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.
2108
2109
  */
2109
2110
  internalTransactions?: Array<InternalTransactionDetails>;
2110
2111
  networkTokenDetails: NetworkTokenDetails;
@@ -2273,7 +2274,7 @@ type TransactionDetails = {
2273
2274
  */
2274
2275
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2275
2276
  /**
2276
- * 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.
2277
+ * 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.
2277
2278
  */
2278
2279
  internalTransactions?: Array<InternalTransactionDetails>;
2279
2280
  };
@@ -2572,7 +2573,7 @@ declare class EvmTransactionsService {
2572
2573
  * List internal transactions
2573
2574
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2574
2575
  *
2575
- * 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.
2576
+ * 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.
2576
2577
  * @returns ListInternalTransactionsResponse Successful response
2577
2578
  * @throws ApiError
2578
2579
  */
@@ -2841,7 +2842,7 @@ type ListIcmMessagesResponse = {
2841
2842
  * 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.
2842
2843
  */
2843
2844
  nextPageToken?: string;
2844
- messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
2845
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2845
2846
  };
2846
2847
 
2847
2848
  declare class InterchainMessagingService {
@@ -2849,13 +2850,13 @@ declare class InterchainMessagingService {
2849
2850
  constructor(httpRequest: BaseHttpRequest);
2850
2851
  /**
2851
2852
  * Get an ICM message
2852
- * Gets an ICM message by message ID.
2853
+ * Gets an ICM message by teleporter message ID.
2853
2854
  * @returns any Successful response
2854
2855
  * @throws ApiError
2855
2856
  */
2856
2857
  getIcmMessage({ messageId, }: {
2857
2858
  /**
2858
- * The message ID of the ICM message.
2859
+ * The teleporter message ID of the ICM message.
2859
2860
  */
2860
2861
  messageId: string;
2861
2862
  }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
@@ -3137,7 +3138,7 @@ declare enum PrimaryNetworkOperationType {
3137
3138
  type PrimaryNetworkOptions = {
3138
3139
  addresses?: Array<string>;
3139
3140
  cChainEvmAddresses?: Array<string>;
3140
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
3141
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
3141
3142
  };
3142
3143
 
3143
3144
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -3225,14 +3226,29 @@ declare class OperationsService {
3225
3226
  }): CancelablePromise<OperationStatusResponse>;
3226
3227
  }
3227
3228
 
3229
+ type Blockchain = {
3230
+ createBlockTimestamp: number;
3231
+ createBlockNumber: string;
3232
+ blockchainId: string;
3233
+ vmId: string;
3234
+ subnetId: string;
3235
+ blockchainName: string;
3236
+ /**
3237
+ * 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.
3238
+ */
3239
+ evmChainId: number;
3240
+ /**
3241
+ * The genesis data of the blockchain.
3242
+ */
3243
+ genesisData?: Record<string, any>;
3244
+ };
3245
+
3228
3246
  declare enum BlockchainIds {
3229
3247
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3230
3248
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3231
3249
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3232
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3233
3250
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3234
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3235
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3251
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
3236
3252
  }
3237
3253
 
3238
3254
  type ChainAddressChainIdMap = {
@@ -3289,15 +3305,6 @@ type GetNetworkDetailsResponse = {
3289
3305
  delegatorDetails: DelegatorsDetails;
3290
3306
  };
3291
3307
 
3292
- type Blockchain = {
3293
- createBlockTimestamp: number;
3294
- createBlockNumber: string;
3295
- blockchainId: string;
3296
- vmId: string;
3297
- subnetId: string;
3298
- blockchainName: string;
3299
- };
3300
-
3301
3308
  type ListBlockchainsResponse = {
3302
3309
  /**
3303
3310
  * 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.
@@ -3393,6 +3400,10 @@ type L1ValidatorDetailsFull = {
3393
3400
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3394
3401
  */
3395
3402
  validationId: string;
3403
+ /**
3404
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3405
+ */
3406
+ validationIdHex: string;
3396
3407
  nodeId: string;
3397
3408
  subnetId: string;
3398
3409
  /**
@@ -3427,10 +3438,10 @@ type ListL1ValidatorsResponse = {
3427
3438
  * The list of L1 validations for the given Subnet ID, NodeId or validationId
3428
3439
  */
3429
3440
  validators: Array<L1ValidatorDetailsFull>;
3430
- };
3431
-
3432
- type BlockchainInfo = {
3433
- blockchainId: string;
3441
+ /**
3442
+ * Block height at which the L1 validator's remaining balance is calculated
3443
+ */
3444
+ blockHeight: string;
3434
3445
  };
3435
3446
 
3436
3447
  type L1ValidatorManagerDetails = {
@@ -3488,7 +3499,7 @@ type Subnet = {
3488
3499
  * L1 validator manager details.
3489
3500
  */
3490
3501
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3491
- blockchains: Array<BlockchainInfo>;
3502
+ blockchains: Array<Blockchain>;
3492
3503
  };
3493
3504
 
3494
3505
  type ListSubnetsResponse = {
@@ -3504,6 +3515,29 @@ type BlsCredentials = {
3504
3515
  proofOfPossession: string;
3505
3516
  };
3506
3517
 
3518
+ type Geolocation = {
3519
+ /**
3520
+ * The name of the validator node.
3521
+ */
3522
+ city: string;
3523
+ /**
3524
+ * The city of the validator node.
3525
+ */
3526
+ country: string;
3527
+ /**
3528
+ * The country code of the validator node.
3529
+ */
3530
+ countryCode: string;
3531
+ /**
3532
+ * The latitude of the validator node.
3533
+ */
3534
+ latitude: number;
3535
+ /**
3536
+ * The longitude of the validator node.
3537
+ */
3538
+ longitude: number;
3539
+ };
3540
+
3507
3541
  type Rewards = {
3508
3542
  validationRewardAmount: string;
3509
3543
  delegationRewardAmount: string;
@@ -3572,6 +3606,10 @@ type ActiveValidatorDetails = {
3572
3606
  potentialRewards: Rewards;
3573
3607
  validationStatus: ActiveValidatorDetails.validationStatus;
3574
3608
  validatorHealth: ValidatorHealthDetails;
3609
+ /**
3610
+ * The geographical location of the validator node, if available.
3611
+ */
3612
+ geolocation: Geolocation | null;
3575
3613
  };
3576
3614
  declare namespace ActiveValidatorDetails {
3577
3615
  enum validationStatus {
@@ -3729,7 +3767,6 @@ type XChainAssetDetails = {
3729
3767
  declare enum XChainId {
3730
3768
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3731
3769
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3732
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3733
3770
  X_CHAIN = "x-chain"
3734
3771
  }
3735
3772
 
@@ -3800,7 +3837,7 @@ declare class PrimaryNetworkService {
3800
3837
  */
3801
3838
  pageToken?: string;
3802
3839
  /**
3803
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3840
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3804
3841
  */
3805
3842
  pageSize?: number;
3806
3843
  /**
@@ -3808,6 +3845,22 @@ declare class PrimaryNetworkService {
3808
3845
  */
3809
3846
  sortOrder?: SortOrder;
3810
3847
  }): CancelablePromise<ListBlockchainsResponse>;
3848
+ /**
3849
+ * Get blockchain details by ID
3850
+ * Get details of the blockchain registered on the network.
3851
+ * @returns Blockchain Successful response
3852
+ * @throws ApiError
3853
+ */
3854
+ getBlockchainById({ blockchainId, network, }: {
3855
+ /**
3856
+ * The blockchain ID of the blockchain to retrieve.
3857
+ */
3858
+ blockchainId: string;
3859
+ /**
3860
+ * Either mainnet or testnet/fuji.
3861
+ */
3862
+ network: Network;
3863
+ }): CancelablePromise<Blockchain>;
3811
3864
  /**
3812
3865
  * List subnets
3813
3866
  * Lists all subnets registered on the network.
@@ -3824,7 +3877,7 @@ declare class PrimaryNetworkService {
3824
3877
  */
3825
3878
  pageToken?: string;
3826
3879
  /**
3827
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3880
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3828
3881
  */
3829
3882
  pageSize?: number;
3830
3883
  /**
@@ -3850,7 +3903,7 @@ declare class PrimaryNetworkService {
3850
3903
  }): CancelablePromise<Subnet>;
3851
3904
  /**
3852
3905
  * List validators
3853
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
3906
+ * 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.
3854
3907
  * @returns ListValidatorDetailsResponse Successful response
3855
3908
  * @throws ApiError
3856
3909
  */
@@ -3868,7 +3921,7 @@ declare class PrimaryNetworkService {
3868
3921
  */
3869
3922
  pageSize?: number;
3870
3923
  /**
3871
- * A comma separated list of node ids to filter by.
3924
+ * A comma separated list of node ids to filter by. Supports substring matching.
3872
3925
  */
3873
3926
  nodeIds?: string;
3874
3927
  /**
@@ -4012,7 +4065,7 @@ declare class PrimaryNetworkService {
4012
4065
  /**
4013
4066
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
4014
4067
  */
4015
- l1ValidationId?: any;
4068
+ l1ValidationId?: string;
4016
4069
  includeInactiveL1Validators?: boolean;
4017
4070
  /**
4018
4071
  * A valid node ID in format 'NodeID-HASH'.
@@ -4029,10 +4082,8 @@ declare enum BlockchainId {
4029
4082
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
4030
4083
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4031
4084
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
4032
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
4033
4085
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
4034
4086
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
4035
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
4036
4087
  P_CHAIN = "p-chain",
4037
4088
  X_CHAIN = "x-chain",
4038
4089
  C_CHAIN = "c-chain"
@@ -4790,11 +4841,24 @@ type ListCChainAtomicTransactionsResponse = {
4790
4841
  chainInfo: PrimaryNetworkChainInfo;
4791
4842
  };
4792
4843
 
4844
+ type BlockchainInfo = {
4845
+ chainName: string;
4846
+ vmId: string;
4847
+ /**
4848
+ * 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
4849
+ */
4850
+ genesisData?: Record<string, any>;
4851
+ };
4852
+
4793
4853
  type L1ValidatorDetailsTransaction = {
4794
4854
  /**
4795
4855
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4796
4856
  */
4797
4857
  validationId: string;
4858
+ /**
4859
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
4860
+ */
4861
+ validationIdHex: string;
4798
4862
  nodeId: string;
4799
4863
  subnetId: string;
4800
4864
  /**
@@ -5014,6 +5078,10 @@ type PChainTransaction = {
5014
5078
  * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
5015
5079
  */
5016
5080
  blsCredentials?: BlsCredentials;
5081
+ /**
5082
+ * Details of the blockchain that was created in the CreateChainTx
5083
+ */
5084
+ blockchainInfo?: BlockchainInfo;
5017
5085
  };
5018
5086
 
5019
5087
  type ListPChainTransactionsResponse = {
@@ -5706,7 +5774,7 @@ type ListTeleporterMessagesResponse = {
5706
5774
  * 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.
5707
5775
  */
5708
5776
  nextPageToken?: string;
5709
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
5777
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
5710
5778
  };
5711
5779
 
5712
5780
  declare class TeleporterService {
@@ -5804,28 +5872,23 @@ type AddressesChangeRequest = {
5804
5872
  };
5805
5873
 
5806
5874
  type AddressActivityMetadata = {
5807
- /**
5808
- * Ethereum address(es) for the address_activity event type
5809
- */
5810
- addresses: Array<string>;
5811
5875
  /**
5812
5876
  * Array of hexadecimal strings of the event signatures.
5813
5877
  */
5814
5878
  eventSignatures?: Array<string>;
5879
+ /**
5880
+ * 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.
5881
+ */
5882
+ addresses: Array<string>;
5815
5883
  };
5816
5884
 
5817
- declare enum PrimaryNetworkType {
5818
- MAINNET = "mainnet",
5819
- FUJI = "fuji"
5820
- }
5821
-
5822
5885
  type EVMAddressActivityRequest = {
5823
5886
  eventType: EVMAddressActivityRequest.eventType;
5824
5887
  url: string;
5825
- chainId: string;
5826
- network?: PrimaryNetworkType;
5827
5888
  name?: string;
5828
5889
  description?: string;
5890
+ chainId: string;
5891
+ metadata: AddressActivityMetadata;
5829
5892
  /**
5830
5893
  * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5831
5894
  */
@@ -5834,7 +5897,6 @@ type EVMAddressActivityRequest = {
5834
5897
  * Whether to include logs in the webhook payload.
5835
5898
  */
5836
5899
  includeLogs?: boolean;
5837
- metadata: AddressActivityMetadata;
5838
5900
  };
5839
5901
  declare namespace EVMAddressActivityRequest {
5840
5902
  enum eventType {
@@ -5842,10 +5904,8 @@ declare namespace EVMAddressActivityRequest {
5842
5904
  }
5843
5905
  }
5844
5906
 
5845
- declare enum EventType {
5846
- ADDRESS_ACTIVITY = "address_activity",
5847
- PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
5848
- VALIDATOR_ACTIVITY = "validator_activity"
5907
+ declare enum AddressActivityEventType {
5908
+ ADDRESS_ACTIVITY = "address_activity"
5849
5909
  }
5850
5910
 
5851
5911
  declare enum WebhookStatusType {
@@ -5855,13 +5915,13 @@ declare enum WebhookStatusType {
5855
5915
 
5856
5916
  type EVMAddressActivityResponse = {
5857
5917
  id: string;
5858
- eventType: EventType;
5859
5918
  url: string;
5860
5919
  chainId: string;
5861
5920
  status: WebhookStatusType;
5862
5921
  createdAt: number;
5863
5922
  name: string;
5864
5923
  description: string;
5924
+ eventType: AddressActivityEventType;
5865
5925
  metadata: AddressActivityMetadata;
5866
5926
  /**
5867
5927
  * Whether to include traces in the webhook payload.
@@ -5882,67 +5942,119 @@ type ListWebhookAddressesResponse = {
5882
5942
  totalAddresses: number;
5883
5943
  };
5884
5944
 
5945
+ declare enum PrimaryNetworkAddressActivityEventType {
5946
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
5947
+ }
5948
+
5885
5949
  /**
5886
- * The type of key for platform activity depending on the event type
5950
+ * The type of key to monitor for the address activity event type.
5887
5951
  */
5888
- declare enum PlatformActivityKeyType {
5889
- ADDRESSES = "addresses",
5890
- NODE_ID = "nodeId",
5891
- SUBNET_ID = "subnetId"
5952
+ declare enum PlatformAddressActivityKeyType {
5953
+ ADDRESSES = "addresses"
5892
5954
  }
5893
5955
 
5894
5956
  /**
5895
5957
  * Array of address activity sub-event types
5896
5958
  */
5897
- declare enum PlatformAddressActivitySubEventType {
5898
- BALANCE_CHANGE_PLATFORM = "balance_change_platform",
5899
- BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform"
5959
+ declare enum PrimaryNetworkAddressActivitySubEventType {
5960
+ BALANCE_CHANGE = "balance_change",
5961
+ BALANCE_THRESHOLD = "balance_threshold",
5962
+ REWARD_DISTRIBUTION = "reward_distribution"
5900
5963
  }
5901
5964
 
5902
- type PlatformActivitySubEvents = {
5903
- /**
5904
- * Array of validator activity sub-event types
5905
- */
5906
- validatorActivitySubEvents?: Array<'validator_registration' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
5907
- addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
5965
+ type PrimaryNetworkAddressActivitySubEvents = {
5966
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
5908
5967
  };
5909
5968
 
5910
5969
  /**
5911
5970
  * Type of balance to monitor
5912
5971
  */
5913
- declare enum PChainBalanceType {
5972
+ declare enum CommonBalanceType {
5914
5973
  UNLOCKED_UNSTAKED = "unlockedUnstaked",
5915
5974
  UNLOCKED_STAKED = "unlockedStaked",
5916
5975
  LOCKED_PLATFORM = "lockedPlatform",
5917
5976
  LOCKED_STAKEABLE = "lockedStakeable",
5918
5977
  LOCKED_STAKED = "lockedStaked",
5919
5978
  PENDING_STAKED = "pendingStaked",
5979
+ UNLOCKED = "unlocked",
5980
+ LOCKED = "locked",
5920
5981
  ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
5921
5982
  ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5922
5983
  }
5923
5984
 
5924
- type PlatformBalanceThresholdFilter = {
5925
- balanceType: PChainBalanceType;
5985
+ type PrimaryNetworkBalanceThresholdFilter = {
5986
+ balanceType: CommonBalanceType;
5926
5987
  /**
5927
5988
  * Threshold for balance corresponding to balanceType in nAVAX
5928
5989
  */
5929
5990
  balanceThreshold: string;
5930
5991
  };
5931
5992
 
5932
- type PlatformActivityMetadata = {
5933
- keyType: PlatformActivityKeyType;
5993
+ type PrimaryNetworkAddressActivityMetadata = {
5994
+ /**
5995
+ * Array of hexadecimal strings of the event signatures.
5996
+ */
5997
+ eventSignatures?: Array<string>;
5998
+ keyType: PlatformAddressActivityKeyType;
5934
5999
  /**
5935
- * Array of keys like addresses, NodeID or SubnetID corresponding to the keyType being monitored. For PlatformAddressActivity event, an array of multiple addresses can be provided. ValidatorActivity event will only accept a single key
6000
+ * 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.
5936
6001
  */
5937
6002
  keys: Array<string>;
5938
6003
  /**
5939
6004
  * Sub-events to monitor
5940
6005
  */
5941
- subEvents?: PlatformActivitySubEvents;
6006
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6007
+ /**
6008
+ * Balance threshold filter
6009
+ */
6010
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6011
+ };
6012
+
6013
+ type PrimaryNetworkAddressActivityResponse = {
6014
+ id: string;
6015
+ url: string;
6016
+ chainId: string;
6017
+ status: WebhookStatusType;
6018
+ createdAt: number;
6019
+ name: string;
6020
+ description: string;
6021
+ eventType: PrimaryNetworkAddressActivityEventType;
6022
+ metadata: PrimaryNetworkAddressActivityMetadata;
6023
+ };
6024
+
6025
+ declare enum ValidatorActivityEventType {
6026
+ VALIDATOR_ACTIVITY = "validator_activity"
6027
+ }
6028
+
6029
+ /**
6030
+ * The type of key to monitor for the validator activity event type.
6031
+ */
6032
+ declare enum ValidatorActivityKeyType {
6033
+ NODE_ID = "nodeId",
6034
+ SUBNET_ID = "subnetId"
6035
+ }
6036
+
6037
+ type ValidatorActivitySubEvents = {
6038
+ /**
6039
+ * Array of validator activity sub-event types
6040
+ */
6041
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6042
+ };
6043
+
6044
+ type ValidatorActivityMetadata = {
5942
6045
  /**
5943
6046
  * Array of hexadecimal strings of the event signatures.
5944
6047
  */
5945
6048
  eventSignatures?: Array<string>;
6049
+ keyType: ValidatorActivityKeyType;
6050
+ /**
6051
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
6052
+ */
6053
+ keys: Array<string>;
6054
+ /**
6055
+ * Sub-events to monitor
6056
+ */
6057
+ subEvents: ValidatorActivitySubEvents;
5946
6058
  /**
5947
6059
  * Array of node IDs to filter the events
5948
6060
  */
@@ -5951,26 +6063,22 @@ type PlatformActivityMetadata = {
5951
6063
  * Array of subnet IDs to filter the events
5952
6064
  */
5953
6065
  subnetIds?: Array<string>;
5954
- /**
5955
- * Balance threshold filter
5956
- */
5957
- balanceThresholdFilter?: PlatformBalanceThresholdFilter;
5958
6066
  /**
5959
6067
  * L1 validator fee balance threshold in nAVAX
5960
6068
  */
5961
6069
  l1ValidatorFeeBalanceThreshold?: string;
5962
6070
  };
5963
6071
 
5964
- type PlatformActivityResponse = {
6072
+ type ValidatorActivityResponse = {
5965
6073
  id: string;
5966
- eventType: EventType;
5967
6074
  url: string;
5968
6075
  chainId: string;
5969
6076
  status: WebhookStatusType;
5970
6077
  createdAt: number;
5971
6078
  name: string;
5972
6079
  description: string;
5973
- metadata: PlatformActivityMetadata;
6080
+ eventType: ValidatorActivityEventType;
6081
+ metadata: ValidatorActivityMetadata;
5974
6082
  };
5975
6083
 
5976
6084
  type ListWebhooksResponse = {
@@ -5978,33 +6086,29 @@ type ListWebhooksResponse = {
5978
6086
  * 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.
5979
6087
  */
5980
6088
  nextPageToken?: string;
5981
- webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6089
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5982
6090
  };
5983
6091
 
5984
- type PlatformActivityRequest = {
5985
- eventType: PlatformActivityRequest.eventType;
6092
+ declare enum PrimaryNetworkType {
6093
+ MAINNET = "mainnet",
6094
+ FUJI = "fuji"
6095
+ }
6096
+
6097
+ type PrimaryNetworkAddressActivityRequest = {
6098
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
5986
6099
  url: string;
5987
- chainId: string;
5988
- network?: PrimaryNetworkType;
5989
6100
  name?: string;
5990
6101
  description?: string;
6102
+ network: PrimaryNetworkType;
6103
+ chainId: string;
5991
6104
  /**
5992
- * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5993
- */
5994
- includeInternalTxs?: boolean;
5995
- /**
5996
- * Whether to include logs in the webhook payload.
5997
- */
5998
- includeLogs?: boolean;
5999
- /**
6000
- * Metadata for platform activity
6105
+ * Metadata for platform address activity event
6001
6106
  */
6002
- metadata: PlatformActivityMetadata;
6107
+ metadata: PrimaryNetworkAddressActivityMetadata;
6003
6108
  };
6004
- declare namespace PlatformActivityRequest {
6109
+ declare namespace PrimaryNetworkAddressActivityRequest {
6005
6110
  enum eventType {
6006
- PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
6007
- VALIDATOR_ACTIVITY = "validator_activity"
6111
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6008
6112
  }
6009
6113
  }
6010
6114
 
@@ -6024,6 +6128,23 @@ type UpdateWebhookRequest = {
6024
6128
  includeLogs?: boolean;
6025
6129
  };
6026
6130
 
6131
+ type ValidatorActivityRequest = {
6132
+ eventType: ValidatorActivityRequest.eventType;
6133
+ url: string;
6134
+ name?: string;
6135
+ description?: string;
6136
+ network: PrimaryNetworkType;
6137
+ /**
6138
+ * Metadata for platform validator activity event
6139
+ */
6140
+ metadata: ValidatorActivityMetadata;
6141
+ };
6142
+ declare namespace ValidatorActivityRequest {
6143
+ enum eventType {
6144
+ VALIDATOR_ACTIVITY = "validator_activity"
6145
+ }
6146
+ }
6147
+
6027
6148
  declare enum WebhookStatus {
6028
6149
  ACTIVE = "active",
6029
6150
  INACTIVE = "inactive"
@@ -6039,8 +6160,8 @@ declare class WebhooksService {
6039
6160
  * @throws ApiError
6040
6161
  */
6041
6162
  createWebhook({ requestBody, }: {
6042
- requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
6043
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6163
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6164
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6044
6165
  /**
6045
6166
  * List webhooks
6046
6167
  * Lists webhooks for the user.
@@ -6072,7 +6193,7 @@ declare class WebhooksService {
6072
6193
  * The webhook identifier.
6073
6194
  */
6074
6195
  id: string;
6075
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6196
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6076
6197
  /**
6077
6198
  * Deactivate a webhook
6078
6199
  * Deactivates a webhook by ID.
@@ -6084,7 +6205,7 @@ declare class WebhooksService {
6084
6205
  * The webhook identifier.
6085
6206
  */
6086
6207
  id: string;
6087
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6208
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6088
6209
  /**
6089
6210
  * Update a webhook
6090
6211
  * Updates an existing webhook.
@@ -6097,7 +6218,7 @@ declare class WebhooksService {
6097
6218
  */
6098
6219
  id: string;
6099
6220
  requestBody: UpdateWebhookRequest;
6100
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6221
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6101
6222
  /**
6102
6223
  * Generate or rotate a shared secret
6103
6224
  * Generates a new shared secret or rotate an existing one.
@@ -6205,6 +6326,17 @@ declare class ApiError extends Error {
6205
6326
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
6206
6327
  }
6207
6328
 
6329
+ type AccessListData = {
6330
+ /**
6331
+ * Access Address
6332
+ */
6333
+ accessAddresses: string;
6334
+ /**
6335
+ * Storage keys
6336
+ */
6337
+ storageKeys: Array<string>;
6338
+ };
6339
+
6208
6340
  type BadGateway = {
6209
6341
  /**
6210
6342
  * The error message describing the reason for the exception
@@ -6239,6 +6371,76 @@ type DataListChainsResponse = {
6239
6371
  chains: Array<ChainInfo>;
6240
6372
  };
6241
6373
 
6374
+ type ERCToken = {
6375
+ /**
6376
+ * Token contract address
6377
+ */
6378
+ address: string;
6379
+ /**
6380
+ * Token name
6381
+ */
6382
+ name: string;
6383
+ /**
6384
+ * Token symbol
6385
+ */
6386
+ symbol: string;
6387
+ /**
6388
+ * Token decimals
6389
+ */
6390
+ decimals: number;
6391
+ /**
6392
+ * Value including decimals
6393
+ */
6394
+ valueWithDecimals: string;
6395
+ };
6396
+
6397
+ type ERCTransfer = {
6398
+ /**
6399
+ * Transaction hash
6400
+ */
6401
+ transactionHash: string;
6402
+ /**
6403
+ * Transfer type
6404
+ */
6405
+ type: string;
6406
+ /**
6407
+ * Sender address
6408
+ */
6409
+ from: string;
6410
+ /**
6411
+ * Recipient address
6412
+ */
6413
+ to: string;
6414
+ /**
6415
+ * Amount transferred
6416
+ */
6417
+ value: string;
6418
+ /**
6419
+ * Token Id
6420
+ */
6421
+ tokenId?: string;
6422
+ /**
6423
+ * Block timestamp
6424
+ */
6425
+ blockTimestamp: number;
6426
+ /**
6427
+ * Log index
6428
+ */
6429
+ logIndex: number;
6430
+ /**
6431
+ * erc20 Token details
6432
+ */
6433
+ erc20Token?: ERCToken;
6434
+ /**
6435
+ * erc721 Token details
6436
+ */
6437
+ erc721Token?: ERCToken;
6438
+ /**
6439
+ * erc1155 Token details
6440
+ */
6441
+ erc1155Token?: ERCToken;
6442
+ };
6443
+
6242
6444
  type Forbidden = {
6243
6445
  /**
6244
6446
  * The error message describing the reason for the exception
@@ -6269,6 +6471,64 @@ type InternalServerError = {
6269
6471
  error: string;
6270
6472
  };
6271
6473
 
6474
+ type Log = {
6475
+ /**
6476
+ * Contract address
6477
+ */
6478
+ address: string;
6479
+ /**
6480
+ * First topic
6481
+ */
6482
+ topic0: string;
6483
+ /**
6484
+ * Second topic (optional)
6485
+ */
6486
+ topic1?: string;
6487
+ /**
6488
+ * Third topic (optional)
6489
+ */
6490
+ topic2?: string;
6491
+ /**
6492
+ * Fourth topic (optional)
6493
+ */
6494
+ topic3?: string;
6495
+ /**
6496
+ * Event data
6497
+ */
6498
+ data: string;
6499
+ /**
6500
+ * Transaction index
6501
+ */
6502
+ transactionIndex: number;
6503
+ /**
6504
+ * Log index
6505
+ */
6506
+ logIndex: number;
6507
+ /**
6508
+ * Indicates if the log was removed
6509
+ */
6510
+ removed: boolean;
6511
+ };
6512
+
6513
+ type NetworkTokenInfo = {
6514
+ /**
6515
+ * Token name
6516
+ */
6517
+ tokenName?: string;
6518
+ /**
6519
+ * Token symbol
6520
+ */
6521
+ tokenSymbol?: string;
6522
+ /**
6523
+ * Token decimals
6524
+ */
6525
+ tokenDecimals?: number;
6526
+ /**
6527
+ * Value including decimals
6528
+ */
6529
+ valueWithDecimals?: string;
6530
+ };
6531
+
6272
6532
  type NextPageToken = {
6273
6533
  /**
6274
6534
  * 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.
@@ -6321,6 +6581,163 @@ type TooManyRequests = {
6321
6581
  error: string;
6322
6582
  };
6323
6583
 
6584
+ type WebhookInternalTransaction = {
6585
+ /**
6586
+ * Sender address
6587
+ */
6588
+ from: string;
6589
+ /**
6590
+ * Recipient address
6591
+ */
6592
+ to: string;
6593
+ /**
6594
+ * Internal transaction type
6595
+ */
6596
+ internalTxType: string;
6597
+ /**
6598
+ * Value transferred
6599
+ */
6600
+ value: string;
6601
+ /**
6602
+ * Gas used
6603
+ */
6604
+ gasUsed: string;
6605
+ /**
6606
+ * Gas limit
6607
+ */
6608
+ gasLimit: string;
6609
+ /**
6610
+ * Transaction hash
6611
+ */
6612
+ transactionHash: string;
6613
+ };
6614
+
6615
+ type Transaction = {
6616
+ /**
6617
+ * Block hash of the transaction
6618
+ */
6619
+ blockHash: string;
6620
+ /**
6621
+ * Block number of the transaction
6622
+ */
6623
+ blockNumber: string;
6624
+ /**
6625
+ * Sender address
6626
+ */
6627
+ from: string;
6628
+ /**
6629
+ * Gas limit for the transaction
6630
+ */
6631
+ gas: string;
6632
+ /**
6633
+ * Gas price used
6634
+ */
6635
+ gasPrice: string;
6636
+ /**
6637
+ * Maximum fee per gas
6638
+ */
6639
+ maxFeePerGas: string;
6640
+ /**
6641
+ * Maximum priority fee per gas
6642
+ */
6643
+ maxPriorityFeePerGas: string;
6644
+ /**
6645
+ * Transaction hash
6646
+ */
6647
+ txHash: string;
6648
+ /**
6649
+ * Transaction status
6650
+ */
6651
+ txStatus: string;
6652
+ /**
6653
+ * Input data
6654
+ */
6655
+ input: string;
6656
+ /**
6657
+ * Nonce value
6658
+ */
6659
+ nonce: string;
6660
+ /**
6661
+ * Recipient address
6662
+ */
6663
+ to: string;
6664
+ /**
6665
+ * Transaction index
6666
+ */
6667
+ transactionIndex: number;
6668
+ /**
6669
+ * Value transferred in the transaction
6670
+ */
6671
+ value: string;
6672
+ /**
6673
+ * Transaction type
6674
+ */
6675
+ type: number;
6676
+ /**
6677
+ * Chain ID of the network
6678
+ */
6679
+ chainId: string;
6680
+ /**
6681
+ * Cumulative gas used
6682
+ */
6683
+ receiptCumulativeGasUsed: string;
6684
+ /**
6685
+ * Gas used
6686
+ */
6687
+ receiptGasUsed: string;
6688
+ /**
6689
+ * Effective gas price
6690
+ */
6691
+ receiptEffectiveGasPrice: string;
6692
+ /**
6693
+ * Receipt root
6694
+ */
6695
+ receiptRoot: string;
6696
+ /**
6697
+ * Block timestamp
6698
+ */
6699
+ blockTimestamp: number;
6700
+ /**
6701
+ * Contract address (optional)
6702
+ */
6703
+ contractAddress?: string;
6704
+ /**
6705
+ * ERC20 transfers
6706
+ */
6707
+ erc20Transfers: Array<ERCTransfer>;
6708
+ /**
6709
+ * ERC721 transfers
6710
+ */
6711
+ erc721Transfers: Array<ERCTransfer>;
6712
+ /**
6713
+ * ERC1155 transfers
6714
+ */
6715
+ erc1155Transfers: Array<ERCTransfer>;
6716
+ /**
6717
+ * Internal transactions (optional)
6718
+ */
6719
+ internalTransactions?: Array<WebhookInternalTransaction>;
6720
+ /**
6721
+ * Access list (optional)
6722
+ */
6723
+ accessList?: Array<AccessListData>;
6724
+ /**
6725
+ * Network token info (optional)
6726
+ */
6727
+ networkToken?: NetworkTokenInfo;
6728
+ };
6729
+
6730
+ type TransactionEvent = {
6731
+ /**
6732
+ * Transaction details
6733
+ */
6734
+ transaction: Transaction;
6735
+ /**
6736
+ * Array of log events
6737
+ */
6738
+ logs?: Array<Log>;
6739
+ };
6740
+
6324
6741
  type Unauthorized = {
6325
6742
  /**
6326
6743
  * The error message describing the reason for the exception
@@ -6336,4 +6753,43 @@ type Unauthorized = {
6336
6753
  error: string;
6337
6754
  };
6338
6755
 
6339
- export { AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMAddressActivityResponse, 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, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmRewardDetails, IcmSourceTransaction, ImageAsset, InterchainMessagingService, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, 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, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainBalanceType, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PlatformActivityKeyType, PlatformActivityMetadata, PlatformActivityRequest, PlatformActivityResponse, PlatformActivitySubEvents, PlatformAddressActivitySubEventType, PlatformBalanceThresholdFilter, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
6756
+ type WebhookAddressActivityResponse = {
6757
+ /**
6758
+ * Webhook ID
6759
+ */
6760
+ webhookId: string;
6761
+ /**
6762
+ * Event type
6763
+ */
6764
+ eventType: WebhookAddressActivityResponse.eventType;
6765
+ /**
6766
+ * Message ID
6767
+ */
6768
+ messageId: string;
6769
+ /**
6770
+ * Event details
6771
+ */
6772
+ event: TransactionEvent;
6773
+ };
6774
+ declare namespace WebhookAddressActivityResponse {
6775
+ /**
6776
+ * Event type
6777
+ */
6778
+ enum eventType {
6779
+ ADDRESS_ACTIVITY = "address_activity"
6780
+ }
6781
+ }
6782
+
6783
+ declare class FetchHttpRequest extends BaseHttpRequest {
6784
+ constructor(config: OpenAPIConfig);
6785
+ /**
6786
+ * Request method
6787
+ * @param options The request options from the service
6788
+ * @returns CancelablePromise<T>
6789
+ * @throws ApiError
6790
+ */
6791
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
6792
+ }
6793
+
6794
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, 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 };
6795
+ 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 };