@avalabs/glacier-sdk 3.1.0-canary.0d842e8.0 → 3.1.0-canary.101f0bc.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 (242) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +643 -109
  3. package/esm/generated/Glacier.d.ts +2 -0
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
  6. package/esm/generated/core/ApiResult.d.ts +1 -1
  7. package/esm/generated/core/CancelablePromise.d.ts +2 -1
  8. package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
  9. package/esm/generated/core/OpenAPI.d.ts +2 -1
  10. package/esm/generated/core/OpenAPI.js +1 -1
  11. package/esm/generated/models/AccessListData.d.ts +12 -0
  12. package/esm/generated/models/AccessRequest.d.ts +1 -1
  13. package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
  14. package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
  15. package/esm/generated/models/AddressActivityEventType.js +1 -0
  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/{PChainBalanceType.d.ts → CommonBalanceType.d.ts} +4 -2
  37. package/esm/generated/models/CommonBalanceType.js +1 -0
  38. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  39. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  40. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  41. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  42. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  43. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  44. package/esm/generated/models/ERCToken.d.ts +24 -0
  45. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  46. package/esm/generated/models/EVMAddressActivityRequest.d.ts +2 -4
  47. package/esm/generated/models/EVMAddressActivityResponse.d.ts +3 -3
  48. package/esm/generated/models/EVMInput.d.ts +1 -1
  49. package/esm/generated/models/EVMOutput.d.ts +1 -1
  50. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  51. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  52. package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
  53. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  54. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  55. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  56. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  57. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  58. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  59. package/esm/generated/models/Erc721Transfer.d.ts +1 -1
  60. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  61. package/esm/generated/models/EvmBlock.d.ts +1 -1
  62. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  63. package/esm/generated/models/Forbidden.d.ts +1 -1
  64. package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
  65. package/esm/generated/models/Geolocation.d.ts +24 -0
  66. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  67. package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
  68. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  69. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  70. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  71. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  72. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  73. package/esm/generated/models/IcmDestinationTransaction.d.ts +1 -1
  74. package/esm/generated/models/IcmReceipt.d.ts +1 -1
  75. package/esm/generated/models/IcmSourceTransaction.d.ts +1 -1
  76. package/esm/generated/models/ImageAsset.d.ts +1 -1
  77. package/esm/generated/models/InternalServerError.d.ts +1 -1
  78. package/esm/generated/models/InternalTransaction.d.ts +1 -1
  79. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  80. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  81. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  82. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
  83. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +5 -1
  84. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  85. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  86. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  87. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  88. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  89. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  90. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  91. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  92. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  93. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  94. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  95. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  96. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  97. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  98. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  99. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  100. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  101. package/esm/generated/models/ListIcmMessagesResponse.d.ts +3 -2
  102. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  103. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
  104. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  105. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  106. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  107. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  108. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  109. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  110. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  111. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  112. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  113. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  114. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  115. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  116. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  117. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  118. package/esm/generated/models/ListWebhooksResponse.d.ts +4 -3
  119. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  120. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  121. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  122. package/esm/generated/models/Log.d.ts +40 -0
  123. package/esm/generated/models/LogsFormat.d.ts +1 -1
  124. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  125. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  126. package/esm/generated/models/Method.d.ts +1 -1
  127. package/esm/generated/models/Metric.d.ts +1 -1
  128. package/esm/generated/models/Money.d.ts +1 -1
  129. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  130. package/esm/generated/models/NativeTransaction.d.ts +1 -1
  131. package/esm/generated/models/NetworkToken.d.ts +1 -1
  132. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  133. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  134. package/esm/generated/models/NextPageToken.d.ts +1 -1
  135. package/esm/generated/models/NotFound.d.ts +1 -1
  136. package/esm/generated/models/NotificationsResponse.d.ts +1 -1
  137. package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
  138. package/esm/generated/models/PChainBalance.d.ts +1 -1
  139. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  140. package/esm/generated/models/PChainTransaction.d.ts +6 -1
  141. package/esm/generated/models/PChainUtxo.d.ts +5 -1
  142. package/esm/generated/models/PendingReward.d.ts +1 -1
  143. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  144. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  145. package/esm/generated/models/PricingProviders.d.ts +1 -1
  146. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  147. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  148. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  149. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  150. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  151. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  152. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  153. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  154. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  155. package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
  156. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
  157. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  158. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  159. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  160. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  161. package/esm/generated/models/ResourceLink.d.ts +1 -1
  162. package/esm/generated/models/Rewards.d.ts +1 -1
  163. package/esm/generated/models/RichAddress.d.ts +1 -1
  164. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  165. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  166. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  167. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  168. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
  169. package/esm/generated/models/StakingDistribution.d.ts +1 -1
  170. package/esm/generated/models/Subnet.d.ts +3 -3
  171. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  172. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  173. package/esm/generated/models/SubscribeRequest.d.ts +1 -1
  174. package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
  175. package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
  176. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  177. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  178. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  179. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  180. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  181. package/esm/generated/models/Transaction.d.ts +121 -0
  182. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  183. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  184. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  185. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  186. package/esm/generated/models/Unauthorized.d.ts +1 -1
  187. package/esm/generated/models/UnknownContract.d.ts +1 -1
  188. package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
  189. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  190. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  191. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  192. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  193. package/esm/generated/models/Utxo.d.ts +5 -1
  194. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  195. package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
  196. package/esm/generated/models/UtxosSortByOption.js +1 -0
  197. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  198. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  199. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  200. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  201. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  202. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  203. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  204. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  205. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  206. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  207. package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
  208. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  209. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  210. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  211. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  212. package/esm/generated/models/XChainBalances.d.ts +1 -1
  213. package/esm/generated/models/XChainId.d.ts +0 -1
  214. package/esm/generated/models/XChainId.js +1 -1
  215. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  216. package/esm/generated/models/XChainVertex.d.ts +1 -1
  217. package/esm/generated/services/AvaxSupplyService.d.ts +16 -0
  218. package/esm/generated/services/AvaxSupplyService.js +1 -0
  219. package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
  220. package/esm/generated/services/InterchainMessagingService.d.ts +2 -2
  221. package/esm/generated/services/PrimaryNetworkService.d.ts +22 -5
  222. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  223. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +48 -1
  224. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  225. package/esm/generated/services/WebhooksService.d.ts +9 -7
  226. package/esm/index.d.ts +31 -9
  227. package/esm/index.js +1 -1
  228. package/package.json +13 -4
  229. package/dist/index.js +0 -1
  230. package/esm/generated/models/EventType.d.ts +0 -7
  231. package/esm/generated/models/EventType.js +0 -1
  232. package/esm/generated/models/PChainBalanceType.js +0 -1
  233. package/esm/generated/models/PlatformActivityKeyType.d.ts +0 -10
  234. package/esm/generated/models/PlatformActivityKeyType.js +0 -1
  235. package/esm/generated/models/PlatformActivityMetadata.d.ts +0 -37
  236. package/esm/generated/models/PlatformActivityRequest.d.ts +0 -31
  237. package/esm/generated/models/PlatformActivityRequest.js +0 -1
  238. package/esm/generated/models/PlatformActivityResponse.d.ts +0 -17
  239. package/esm/generated/models/PlatformActivitySubEvents.d.ts +0 -11
  240. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +0 -9
  241. package/esm/generated/models/PlatformAddressActivitySubEventType.js +0 -1
  242. package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +0 -11
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.
@@ -1728,7 +1740,7 @@ type Erc1155Contract = {
1728
1740
  * A wallet or contract address in mixed-case checksum encoding.
1729
1741
  */
1730
1742
  address: string;
1731
- deploymentDetails: ContractDeploymentDetails;
1743
+ deploymentDetails?: ContractDeploymentDetails;
1732
1744
  ercType: Erc1155Contract.ercType;
1733
1745
  /**
1734
1746
  * The contract symbol.
@@ -1759,7 +1771,7 @@ type Erc20Contract = {
1759
1771
  * A wallet or contract address in mixed-case checksum encoding.
1760
1772
  */
1761
1773
  address: string;
1762
- deploymentDetails: ContractDeploymentDetails;
1774
+ deploymentDetails?: ContractDeploymentDetails;
1763
1775
  ercType: Erc20Contract.ercType;
1764
1776
  /**
1765
1777
  * The contract symbol.
@@ -1794,7 +1806,7 @@ type Erc721Contract = {
1794
1806
  * A wallet or contract address in mixed-case checksum encoding.
1795
1807
  */
1796
1808
  address: string;
1797
- deploymentDetails: ContractDeploymentDetails;
1809
+ deploymentDetails?: ContractDeploymentDetails;
1798
1810
  ercType: Erc721Contract.ercType;
1799
1811
  /**
1800
1812
  * The contract symbol.
@@ -1824,7 +1836,7 @@ type UnknownContract = {
1824
1836
  * A wallet or contract address in mixed-case checksum encoding.
1825
1837
  */
1826
1838
  address: string;
1827
- deploymentDetails: ContractDeploymentDetails;
1839
+ deploymentDetails?: ContractDeploymentDetails;
1828
1840
  ercType: UnknownContract.ercType;
1829
1841
  };
1830
1842
  declare namespace UnknownContract {
@@ -2042,6 +2054,7 @@ declare enum InternalTransactionOpCall {
2042
2054
  CALL = "CALL",
2043
2055
  CREATE = "CREATE",
2044
2056
  CREATE2 = "CREATE2",
2057
+ CREATE3 = "CREATE3",
2045
2058
  CALLCODE = "CALLCODE",
2046
2059
  DELEGATECALL = "DELEGATECALL",
2047
2060
  STATICCALL = "STATICCALL"
@@ -2083,11 +2096,11 @@ type TeleporterMessageInfo = {
2083
2096
  /**
2084
2097
  * chain id of the source chain. valid only for destination transactions
2085
2098
  */
2086
- sourceChainId?: Record<string, any>;
2099
+ sourceChainId?: string;
2087
2100
  /**
2088
2101
  * chain id of the destination chain. valid only for source transactions
2089
2102
  */
2090
- destinationChainId?: Record<string, any>;
2103
+ destinationChainId?: string;
2091
2104
  };
2092
2105
 
2093
2106
  type GetTransactionResponse = {
@@ -2104,7 +2117,7 @@ type GetTransactionResponse = {
2104
2117
  */
2105
2118
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2106
2119
  /**
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.
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.
2108
2121
  */
2109
2122
  internalTransactions?: Array<InternalTransactionDetails>;
2110
2123
  networkTokenDetails: NetworkTokenDetails;
@@ -2273,7 +2286,7 @@ type TransactionDetails = {
2273
2286
  */
2274
2287
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2275
2288
  /**
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.
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.
2277
2290
  */
2278
2291
  internalTransactions?: Array<InternalTransactionDetails>;
2279
2292
  };
@@ -2572,7 +2585,7 @@ declare class EvmTransactionsService {
2572
2585
  * List internal transactions
2573
2586
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2574
2587
  *
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.
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.
2576
2589
  * @returns ListInternalTransactionsResponse Successful response
2577
2590
  * @throws ApiError
2578
2591
  */
@@ -2841,7 +2854,7 @@ type ListIcmMessagesResponse = {
2841
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.
2842
2855
  */
2843
2856
  nextPageToken?: string;
2844
- messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
2857
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2845
2858
  };
2846
2859
 
2847
2860
  declare class InterchainMessagingService {
@@ -2849,13 +2862,13 @@ declare class InterchainMessagingService {
2849
2862
  constructor(httpRequest: BaseHttpRequest);
2850
2863
  /**
2851
2864
  * Get an ICM message
2852
- * Gets an ICM message by message ID.
2865
+ * Gets an ICM message by teleporter message ID.
2853
2866
  * @returns any Successful response
2854
2867
  * @throws ApiError
2855
2868
  */
2856
2869
  getIcmMessage({ messageId, }: {
2857
2870
  /**
2858
- * The message ID of the ICM message.
2871
+ * The teleporter message ID of the ICM message.
2859
2872
  */
2860
2873
  messageId: string;
2861
2874
  }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
@@ -3137,7 +3150,7 @@ declare enum PrimaryNetworkOperationType {
3137
3150
  type PrimaryNetworkOptions = {
3138
3151
  addresses?: Array<string>;
3139
3152
  cChainEvmAddresses?: Array<string>;
3140
- 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'>;
3141
3154
  };
3142
3155
 
3143
3156
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -3225,14 +3238,29 @@ declare class OperationsService {
3225
3238
  }): CancelablePromise<OperationStatusResponse>;
3226
3239
  }
3227
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
+
3228
3258
  declare enum BlockchainIds {
3229
3259
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3230
3260
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3231
3261
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3232
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3233
3262
  _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"
3263
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
3236
3264
  }
3237
3265
 
3238
3266
  type ChainAddressChainIdMap = {
@@ -3289,15 +3317,6 @@ type GetNetworkDetailsResponse = {
3289
3317
  delegatorDetails: DelegatorsDetails;
3290
3318
  };
3291
3319
 
3292
- type Blockchain = {
3293
- createBlockTimestamp: number;
3294
- createBlockNumber: string;
3295
- blockchainId: string;
3296
- vmId: string;
3297
- subnetId: string;
3298
- blockchainName: string;
3299
- };
3300
-
3301
3320
  type ListBlockchainsResponse = {
3302
3321
  /**
3303
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.
@@ -3393,6 +3412,10 @@ type L1ValidatorDetailsFull = {
3393
3412
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3394
3413
  */
3395
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;
3396
3419
  nodeId: string;
3397
3420
  subnetId: string;
3398
3421
  /**
@@ -3427,10 +3450,10 @@ type ListL1ValidatorsResponse = {
3427
3450
  * The list of L1 validations for the given Subnet ID, NodeId or validationId
3428
3451
  */
3429
3452
  validators: Array<L1ValidatorDetailsFull>;
3430
- };
3431
-
3432
- type BlockchainInfo = {
3433
- blockchainId: string;
3453
+ /**
3454
+ * Block height at which the L1 validator's remaining balance is calculated
3455
+ */
3456
+ blockHeight: string;
3434
3457
  };
3435
3458
 
3436
3459
  type L1ValidatorManagerDetails = {
@@ -3488,7 +3511,7 @@ type Subnet = {
3488
3511
  * L1 validator manager details.
3489
3512
  */
3490
3513
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3491
- blockchains: Array<BlockchainInfo>;
3514
+ blockchains: Array<Blockchain>;
3492
3515
  };
3493
3516
 
3494
3517
  type ListSubnetsResponse = {
@@ -3504,6 +3527,29 @@ type BlsCredentials = {
3504
3527
  proofOfPossession: string;
3505
3528
  };
3506
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
+
3507
3553
  type Rewards = {
3508
3554
  validationRewardAmount: string;
3509
3555
  delegationRewardAmount: string;
@@ -3572,6 +3618,10 @@ type ActiveValidatorDetails = {
3572
3618
  potentialRewards: Rewards;
3573
3619
  validationStatus: ActiveValidatorDetails.validationStatus;
3574
3620
  validatorHealth: ValidatorHealthDetails;
3621
+ /**
3622
+ * The geographical location of the validator node, if available.
3623
+ */
3624
+ geolocation: Geolocation | null;
3575
3625
  };
3576
3626
  declare namespace ActiveValidatorDetails {
3577
3627
  enum validationStatus {
@@ -3729,7 +3779,6 @@ type XChainAssetDetails = {
3729
3779
  declare enum XChainId {
3730
3780
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3731
3781
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3732
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3733
3782
  X_CHAIN = "x-chain"
3734
3783
  }
3735
3784
 
@@ -3800,7 +3849,7 @@ declare class PrimaryNetworkService {
3800
3849
  */
3801
3850
  pageToken?: string;
3802
3851
  /**
3803
- * 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.
3804
3853
  */
3805
3854
  pageSize?: number;
3806
3855
  /**
@@ -3808,6 +3857,22 @@ declare class PrimaryNetworkService {
3808
3857
  */
3809
3858
  sortOrder?: SortOrder;
3810
3859
  }): CancelablePromise<ListBlockchainsResponse>;
3860
+ /**
3861
+ * Get blockchain details by ID
3862
+ * Get details of the blockchain registered on the network.
3863
+ * @returns Blockchain Successful response
3864
+ * @throws ApiError
3865
+ */
3866
+ getBlockchainById({ blockchainId, network, }: {
3867
+ /**
3868
+ * The blockchain ID of the blockchain to retrieve.
3869
+ */
3870
+ blockchainId: string;
3871
+ /**
3872
+ * Either mainnet or testnet/fuji.
3873
+ */
3874
+ network: Network;
3875
+ }): CancelablePromise<Blockchain>;
3811
3876
  /**
3812
3877
  * List subnets
3813
3878
  * Lists all subnets registered on the network.
@@ -3824,7 +3889,7 @@ declare class PrimaryNetworkService {
3824
3889
  */
3825
3890
  pageToken?: string;
3826
3891
  /**
3827
- * 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.
3828
3893
  */
3829
3894
  pageSize?: number;
3830
3895
  /**
@@ -3850,7 +3915,7 @@ declare class PrimaryNetworkService {
3850
3915
  }): CancelablePromise<Subnet>;
3851
3916
  /**
3852
3917
  * List validators
3853
- * 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.
3854
3919
  * @returns ListValidatorDetailsResponse Successful response
3855
3920
  * @throws ApiError
3856
3921
  */
@@ -3868,7 +3933,7 @@ declare class PrimaryNetworkService {
3868
3933
  */
3869
3934
  pageSize?: number;
3870
3935
  /**
3871
- * A comma separated list of node ids to filter by.
3936
+ * A comma separated list of node ids to filter by. Supports substring matching.
3872
3937
  */
3873
3938
  nodeIds?: string;
3874
3939
  /**
@@ -4012,7 +4077,7 @@ declare class PrimaryNetworkService {
4012
4077
  /**
4013
4078
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
4014
4079
  */
4015
- l1ValidationId?: any;
4080
+ l1ValidationId?: string;
4016
4081
  includeInactiveL1Validators?: boolean;
4017
4082
  /**
4018
4083
  * A valid node ID in format 'NodeID-HASH'.
@@ -4029,10 +4094,8 @@ declare enum BlockchainId {
4029
4094
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
4030
4095
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4031
4096
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
4032
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
4033
4097
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
4034
4098
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
4035
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
4036
4099
  P_CHAIN = "p-chain",
4037
4100
  X_CHAIN = "x-chain",
4038
4101
  C_CHAIN = "c-chain"
@@ -4622,6 +4685,10 @@ type Utxo = {
4622
4685
  * UTXO ID for this output.
4623
4686
  */
4624
4687
  utxoId: string;
4688
+ /**
4689
+ * The bytes of the UTXO
4690
+ */
4691
+ utxoBytes?: string;
4625
4692
  /**
4626
4693
  * Unix timestamp in seconds at which this output was consumed.
4627
4694
  */
@@ -4790,11 +4857,24 @@ type ListCChainAtomicTransactionsResponse = {
4790
4857
  chainInfo: PrimaryNetworkChainInfo;
4791
4858
  };
4792
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
+
4793
4869
  type L1ValidatorDetailsTransaction = {
4794
4870
  /**
4795
4871
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4796
4872
  */
4797
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;
4798
4878
  nodeId: string;
4799
4879
  subnetId: string;
4800
4880
  /**
@@ -4866,6 +4946,10 @@ type PChainUtxo = {
4866
4946
  * UTXO ID for this output.
4867
4947
  */
4868
4948
  utxoId: string;
4949
+ /**
4950
+ * The bytes of the UTXO
4951
+ */
4952
+ utxoBytes?: string;
4869
4953
  /**
4870
4954
  * @deprecated
4871
4955
  */
@@ -5014,6 +5098,10 @@ type PChainTransaction = {
5014
5098
  * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
5015
5099
  */
5016
5100
  blsCredentials?: BlsCredentials;
5101
+ /**
5102
+ * Details of the blockchain that was created in the CreateChainTx
5103
+ */
5104
+ blockchainInfo?: BlockchainInfo;
5017
5105
  };
5018
5106
 
5019
5107
  type ListPChainTransactionsResponse = {
@@ -5384,6 +5472,18 @@ type ListUtxosResponse = {
5384
5472
  chainInfo: PrimaryNetworkChainInfo;
5385
5473
  };
5386
5474
 
5475
+ type PrimaryNetworkAddressesBodyDto = {
5476
+ /**
5477
+ * Comma-separated list of primary network addresses
5478
+ */
5479
+ addresses: string;
5480
+ };
5481
+
5482
+ declare enum UtxosSortByOption {
5483
+ TIMESTAMP = "timestamp",
5484
+ AMOUNT = "amount"
5485
+ }
5486
+
5387
5487
  declare class PrimaryNetworkUtxOsService {
5388
5488
  readonly httpRequest: BaseHttpRequest;
5389
5489
  constructor(httpRequest: BaseHttpRequest);
@@ -5393,7 +5493,7 @@ declare class PrimaryNetworkUtxOsService {
5393
5493
  * @returns any Successful response
5394
5494
  * @throws ApiError
5395
5495
  */
5396
- getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
5496
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortBy, sortOrder, }: {
5397
5497
  /**
5398
5498
  * A primary network blockchain id or alias.
5399
5499
  */
@@ -5422,6 +5522,51 @@ declare class PrimaryNetworkUtxOsService {
5422
5522
  * Boolean filter to include spent UTXOs.
5423
5523
  */
5424
5524
  includeSpent?: boolean;
5525
+ /**
5526
+ * Which property to sort by, in conjunction with sortOrder.
5527
+ */
5528
+ sortBy?: UtxosSortByOption;
5529
+ /**
5530
+ * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
5531
+ */
5532
+ sortOrder?: SortOrder;
5533
+ }): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
5534
+ /**
5535
+ * List UTXOs v2 - Supports querying for more addresses
5536
+ * Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
5537
+ * @returns any Successful response
5538
+ * @throws ApiError
5539
+ */
5540
+ getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, includeSpent, sortBy, sortOrder, }: {
5541
+ /**
5542
+ * A primary network blockchain id or alias.
5543
+ */
5544
+ blockchainId: BlockchainId;
5545
+ /**
5546
+ * Either mainnet or testnet/fuji.
5547
+ */
5548
+ network: Network;
5549
+ requestBody: PrimaryNetworkAddressesBodyDto;
5550
+ /**
5551
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
5552
+ */
5553
+ pageToken?: string;
5554
+ /**
5555
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
5556
+ */
5557
+ pageSize?: number;
5558
+ /**
5559
+ * Asset ID for any asset (only applicable X-Chain)
5560
+ */
5561
+ assetId?: string;
5562
+ /**
5563
+ * Boolean filter to include spent UTXOs.
5564
+ */
5565
+ includeSpent?: boolean;
5566
+ /**
5567
+ * Which property to sort by, in conjunction with sortOrder.
5568
+ */
5569
+ sortBy?: UtxosSortByOption;
5425
5570
  /**
5426
5571
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
5427
5572
  */
@@ -5706,7 +5851,7 @@ type ListTeleporterMessagesResponse = {
5706
5851
  * 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
5852
  */
5708
5853
  nextPageToken?: string;
5709
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
5854
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
5710
5855
  };
5711
5856
 
5712
5857
  declare class TeleporterService {
@@ -5804,28 +5949,23 @@ type AddressesChangeRequest = {
5804
5949
  };
5805
5950
 
5806
5951
  type AddressActivityMetadata = {
5807
- /**
5808
- * Ethereum address(es) for the address_activity event type
5809
- */
5810
- addresses: Array<string>;
5811
5952
  /**
5812
5953
  * Array of hexadecimal strings of the event signatures.
5813
5954
  */
5814
5955
  eventSignatures?: Array<string>;
5956
+ /**
5957
+ * 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.
5958
+ */
5959
+ addresses: Array<string>;
5815
5960
  };
5816
5961
 
5817
- declare enum PrimaryNetworkType {
5818
- MAINNET = "mainnet",
5819
- FUJI = "fuji"
5820
- }
5821
-
5822
5962
  type EVMAddressActivityRequest = {
5823
5963
  eventType: EVMAddressActivityRequest.eventType;
5824
5964
  url: string;
5825
- chainId: string;
5826
- network?: PrimaryNetworkType;
5827
5965
  name?: string;
5828
5966
  description?: string;
5967
+ chainId: string;
5968
+ metadata: AddressActivityMetadata;
5829
5969
  /**
5830
5970
  * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5831
5971
  */
@@ -5834,7 +5974,6 @@ type EVMAddressActivityRequest = {
5834
5974
  * Whether to include logs in the webhook payload.
5835
5975
  */
5836
5976
  includeLogs?: boolean;
5837
- metadata: AddressActivityMetadata;
5838
5977
  };
5839
5978
  declare namespace EVMAddressActivityRequest {
5840
5979
  enum eventType {
@@ -5842,10 +5981,8 @@ declare namespace EVMAddressActivityRequest {
5842
5981
  }
5843
5982
  }
5844
5983
 
5845
- declare enum EventType {
5846
- ADDRESS_ACTIVITY = "address_activity",
5847
- PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
5848
- VALIDATOR_ACTIVITY = "validator_activity"
5984
+ declare enum AddressActivityEventType {
5985
+ ADDRESS_ACTIVITY = "address_activity"
5849
5986
  }
5850
5987
 
5851
5988
  declare enum WebhookStatusType {
@@ -5855,13 +5992,13 @@ declare enum WebhookStatusType {
5855
5992
 
5856
5993
  type EVMAddressActivityResponse = {
5857
5994
  id: string;
5858
- eventType: EventType;
5859
5995
  url: string;
5860
5996
  chainId: string;
5861
5997
  status: WebhookStatusType;
5862
5998
  createdAt: number;
5863
5999
  name: string;
5864
6000
  description: string;
6001
+ eventType: AddressActivityEventType;
5865
6002
  metadata: AddressActivityMetadata;
5866
6003
  /**
5867
6004
  * Whether to include traces in the webhook payload.
@@ -5882,67 +6019,119 @@ type ListWebhookAddressesResponse = {
5882
6019
  totalAddresses: number;
5883
6020
  };
5884
6021
 
6022
+ declare enum PrimaryNetworkAddressActivityEventType {
6023
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6024
+ }
6025
+
5885
6026
  /**
5886
- * The type of key for platform activity depending on the event type
6027
+ * The type of key to monitor for the address activity event type.
5887
6028
  */
5888
- declare enum PlatformActivityKeyType {
5889
- ADDRESSES = "addresses",
5890
- NODE_ID = "nodeId",
5891
- SUBNET_ID = "subnetId"
6029
+ declare enum PlatformAddressActivityKeyType {
6030
+ ADDRESSES = "addresses"
5892
6031
  }
5893
6032
 
5894
6033
  /**
5895
6034
  * Array of address activity sub-event types
5896
6035
  */
5897
- declare enum PlatformAddressActivitySubEventType {
5898
- BALANCE_CHANGE_PLATFORM = "balance_change_platform",
5899
- BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform"
6036
+ declare enum PrimaryNetworkAddressActivitySubEventType {
6037
+ BALANCE_CHANGE = "balance_change",
6038
+ BALANCE_THRESHOLD = "balance_threshold",
6039
+ REWARD_DISTRIBUTION = "reward_distribution"
5900
6040
  }
5901
6041
 
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>;
6042
+ type PrimaryNetworkAddressActivitySubEvents = {
6043
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
5908
6044
  };
5909
6045
 
5910
6046
  /**
5911
6047
  * Type of balance to monitor
5912
6048
  */
5913
- declare enum PChainBalanceType {
6049
+ declare enum CommonBalanceType {
5914
6050
  UNLOCKED_UNSTAKED = "unlockedUnstaked",
5915
6051
  UNLOCKED_STAKED = "unlockedStaked",
5916
6052
  LOCKED_PLATFORM = "lockedPlatform",
5917
6053
  LOCKED_STAKEABLE = "lockedStakeable",
5918
6054
  LOCKED_STAKED = "lockedStaked",
5919
6055
  PENDING_STAKED = "pendingStaked",
6056
+ UNLOCKED = "unlocked",
6057
+ LOCKED = "locked",
5920
6058
  ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
5921
6059
  ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5922
6060
  }
5923
6061
 
5924
- type PlatformBalanceThresholdFilter = {
5925
- balanceType: PChainBalanceType;
6062
+ type PrimaryNetworkBalanceThresholdFilter = {
6063
+ balanceType: CommonBalanceType;
5926
6064
  /**
5927
6065
  * Threshold for balance corresponding to balanceType in nAVAX
5928
6066
  */
5929
6067
  balanceThreshold: string;
5930
6068
  };
5931
6069
 
5932
- type PlatformActivityMetadata = {
5933
- keyType: PlatformActivityKeyType;
6070
+ type PrimaryNetworkAddressActivityMetadata = {
5934
6071
  /**
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
6072
+ * Array of hexadecimal strings of the event signatures.
6073
+ */
6074
+ eventSignatures?: Array<string>;
6075
+ keyType: PlatformAddressActivityKeyType;
6076
+ /**
6077
+ * 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
6078
  */
5937
6079
  keys: Array<string>;
5938
6080
  /**
5939
6081
  * Sub-events to monitor
5940
6082
  */
5941
- subEvents?: PlatformActivitySubEvents;
6083
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6084
+ /**
6085
+ * Balance threshold filter
6086
+ */
6087
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6088
+ };
6089
+
6090
+ type PrimaryNetworkAddressActivityResponse = {
6091
+ id: string;
6092
+ url: string;
6093
+ chainId: string;
6094
+ status: WebhookStatusType;
6095
+ createdAt: number;
6096
+ name: string;
6097
+ description: string;
6098
+ eventType: PrimaryNetworkAddressActivityEventType;
6099
+ metadata: PrimaryNetworkAddressActivityMetadata;
6100
+ };
6101
+
6102
+ declare enum ValidatorActivityEventType {
6103
+ VALIDATOR_ACTIVITY = "validator_activity"
6104
+ }
6105
+
6106
+ /**
6107
+ * The type of key to monitor for the validator activity event type.
6108
+ */
6109
+ declare enum ValidatorActivityKeyType {
6110
+ NODE_ID = "nodeId",
6111
+ SUBNET_ID = "subnetId"
6112
+ }
6113
+
6114
+ type ValidatorActivitySubEvents = {
6115
+ /**
6116
+ * Array of validator activity sub-event types
6117
+ */
6118
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6119
+ };
6120
+
6121
+ type ValidatorActivityMetadata = {
5942
6122
  /**
5943
6123
  * Array of hexadecimal strings of the event signatures.
5944
6124
  */
5945
6125
  eventSignatures?: Array<string>;
6126
+ keyType: ValidatorActivityKeyType;
6127
+ /**
6128
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
6129
+ */
6130
+ keys: Array<string>;
6131
+ /**
6132
+ * Sub-events to monitor
6133
+ */
6134
+ subEvents: ValidatorActivitySubEvents;
5946
6135
  /**
5947
6136
  * Array of node IDs to filter the events
5948
6137
  */
@@ -5951,26 +6140,22 @@ type PlatformActivityMetadata = {
5951
6140
  * Array of subnet IDs to filter the events
5952
6141
  */
5953
6142
  subnetIds?: Array<string>;
5954
- /**
5955
- * Balance threshold filter
5956
- */
5957
- balanceThresholdFilter?: PlatformBalanceThresholdFilter;
5958
6143
  /**
5959
6144
  * L1 validator fee balance threshold in nAVAX
5960
6145
  */
5961
6146
  l1ValidatorFeeBalanceThreshold?: string;
5962
6147
  };
5963
6148
 
5964
- type PlatformActivityResponse = {
6149
+ type ValidatorActivityResponse = {
5965
6150
  id: string;
5966
- eventType: EventType;
5967
6151
  url: string;
5968
6152
  chainId: string;
5969
6153
  status: WebhookStatusType;
5970
6154
  createdAt: number;
5971
6155
  name: string;
5972
6156
  description: string;
5973
- metadata: PlatformActivityMetadata;
6157
+ eventType: ValidatorActivityEventType;
6158
+ metadata: ValidatorActivityMetadata;
5974
6159
  };
5975
6160
 
5976
6161
  type ListWebhooksResponse = {
@@ -5978,33 +6163,29 @@ type ListWebhooksResponse = {
5978
6163
  * 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
6164
  */
5980
6165
  nextPageToken?: string;
5981
- webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6166
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5982
6167
  };
5983
6168
 
5984
- type PlatformActivityRequest = {
5985
- eventType: PlatformActivityRequest.eventType;
6169
+ declare enum PrimaryNetworkType {
6170
+ MAINNET = "mainnet",
6171
+ FUJI = "fuji"
6172
+ }
6173
+
6174
+ type PrimaryNetworkAddressActivityRequest = {
6175
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
5986
6176
  url: string;
5987
- chainId: string;
5988
- network?: PrimaryNetworkType;
5989
6177
  name?: string;
5990
6178
  description?: string;
6179
+ network: PrimaryNetworkType;
6180
+ chainId: string;
5991
6181
  /**
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
6182
+ * Metadata for platform address activity event
6001
6183
  */
6002
- metadata: PlatformActivityMetadata;
6184
+ metadata: PrimaryNetworkAddressActivityMetadata;
6003
6185
  };
6004
- declare namespace PlatformActivityRequest {
6186
+ declare namespace PrimaryNetworkAddressActivityRequest {
6005
6187
  enum eventType {
6006
- PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
6007
- VALIDATOR_ACTIVITY = "validator_activity"
6188
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6008
6189
  }
6009
6190
  }
6010
6191
 
@@ -6024,6 +6205,23 @@ type UpdateWebhookRequest = {
6024
6205
  includeLogs?: boolean;
6025
6206
  };
6026
6207
 
6208
+ type ValidatorActivityRequest = {
6209
+ eventType: ValidatorActivityRequest.eventType;
6210
+ url: string;
6211
+ name?: string;
6212
+ description?: string;
6213
+ network: PrimaryNetworkType;
6214
+ /**
6215
+ * Metadata for platform validator activity event
6216
+ */
6217
+ metadata: ValidatorActivityMetadata;
6218
+ };
6219
+ declare namespace ValidatorActivityRequest {
6220
+ enum eventType {
6221
+ VALIDATOR_ACTIVITY = "validator_activity"
6222
+ }
6223
+ }
6224
+
6027
6225
  declare enum WebhookStatus {
6028
6226
  ACTIVE = "active",
6029
6227
  INACTIVE = "inactive"
@@ -6039,8 +6237,8 @@ declare class WebhooksService {
6039
6237
  * @throws ApiError
6040
6238
  */
6041
6239
  createWebhook({ requestBody, }: {
6042
- requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
6043
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6240
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6241
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6044
6242
  /**
6045
6243
  * List webhooks
6046
6244
  * Lists webhooks for the user.
@@ -6072,7 +6270,7 @@ declare class WebhooksService {
6072
6270
  * The webhook identifier.
6073
6271
  */
6074
6272
  id: string;
6075
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6273
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6076
6274
  /**
6077
6275
  * Deactivate a webhook
6078
6276
  * Deactivates a webhook by ID.
@@ -6084,7 +6282,7 @@ declare class WebhooksService {
6084
6282
  * The webhook identifier.
6085
6283
  */
6086
6284
  id: string;
6087
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6285
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6088
6286
  /**
6089
6287
  * Update a webhook
6090
6288
  * Updates an existing webhook.
@@ -6097,7 +6295,7 @@ declare class WebhooksService {
6097
6295
  */
6098
6296
  id: string;
6099
6297
  requestBody: UpdateWebhookRequest;
6100
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6298
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6101
6299
  /**
6102
6300
  * Generate or rotate a shared secret
6103
6301
  * Generates a new shared secret or rotate an existing one.
@@ -6162,6 +6360,7 @@ declare class WebhooksService {
6162
6360
 
6163
6361
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
6164
6362
  declare class Glacier {
6363
+ readonly avaxSupply: AvaxSupplyService;
6165
6364
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
6166
6365
  readonly default: DefaultService;
6167
6366
  readonly evmBalances: EvmBalancesService;
@@ -6205,6 +6404,17 @@ declare class ApiError extends Error {
6205
6404
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
6206
6405
  }
6207
6406
 
6407
+ type AccessListData = {
6408
+ /**
6409
+ * Access Address
6410
+ */
6411
+ accessAddresses: string;
6412
+ /**
6413
+ * Storage keys
6414
+ */
6415
+ storageKeys: Array<string>;
6416
+ };
6417
+
6208
6418
  type BadGateway = {
6209
6419
  /**
6210
6420
  * The error message describing the reason for the exception
@@ -6239,6 +6449,76 @@ type DataListChainsResponse = {
6239
6449
  chains: Array<ChainInfo>;
6240
6450
  };
6241
6451
 
6452
+ type ERCToken = {
6453
+ /**
6454
+ * Token contract address
6455
+ */
6456
+ address: string;
6457
+ /**
6458
+ * Token name
6459
+ */
6460
+ name: string;
6461
+ /**
6462
+ * Token symbol
6463
+ */
6464
+ symbol: string;
6465
+ /**
6466
+ * Token decimals
6467
+ */
6468
+ decimals: number;
6469
+ /**
6470
+ * Value including decimals
6471
+ */
6472
+ valueWithDecimals: string;
6473
+ };
6474
+
6475
+ type ERCTransfer = {
6476
+ /**
6477
+ * Transaction hash
6478
+ */
6479
+ transactionHash: string;
6480
+ /**
6481
+ * Transfer type
6482
+ */
6483
+ type: string;
6484
+ /**
6485
+ * Sender address
6486
+ */
6487
+ from: string;
6488
+ /**
6489
+ * Recipient address
6490
+ */
6491
+ to: string;
6492
+ /**
6493
+ * Amount transferred
6494
+ */
6495
+ value: string;
6496
+ /**
6497
+ * Token Id
6498
+ */
6499
+ tokenId?: string;
6500
+ /**
6501
+ * Block timestamp
6502
+ */
6503
+ blockTimestamp: number;
6504
+ /**
6505
+ * Log index
6506
+ */
6507
+ logIndex: number;
6508
+ /**
6509
+ * erc20 Token details
6510
+ */
6511
+ erc20Token?: ERCToken;
6512
+ /**
6513
+ * erc721 Token details
6514
+ */
6515
+ erc721Token?: ERCToken;
6516
+ /**
6517
+ * erc1155 Token details
6518
+ */
6519
+ erc1155Token?: ERCToken;
6520
+ };
6521
+
6242
6522
  type Forbidden = {
6243
6523
  /**
6244
6524
  * The error message describing the reason for the exception
@@ -6269,6 +6549,64 @@ type InternalServerError = {
6269
6549
  error: string;
6270
6550
  };
6271
6551
 
6552
+ type Log = {
6553
+ /**
6554
+ * Contract address
6555
+ */
6556
+ address: string;
6557
+ /**
6558
+ * First topic
6559
+ */
6560
+ topic0: string;
6561
+ /**
6562
+ * Second topic (optional)
6563
+ */
6564
+ topic1?: string;
6565
+ /**
6566
+ * Third topic (optional)
6567
+ */
6568
+ topic2?: string;
6569
+ /**
6570
+ * Fourth topic (optional)
6571
+ */
6572
+ topic3?: string;
6573
+ /**
6574
+ * Event data
6575
+ */
6576
+ data: string;
6577
+ /**
6578
+ * Transaction index
6579
+ */
6580
+ transactionIndex: number;
6581
+ /**
6582
+ * Log index
6583
+ */
6584
+ logIndex: number;
6585
+ /**
6586
+ * Indicates if the log was removed
6587
+ */
6588
+ removed: boolean;
6589
+ };
6590
+
6591
+ type NetworkTokenInfo = {
6592
+ /**
6593
+ * Token name
6594
+ */
6595
+ tokenName?: string;
6596
+ /**
6597
+ * Token symbol
6598
+ */
6599
+ tokenSymbol?: string;
6600
+ /**
6601
+ * Token decimals
6602
+ */
6603
+ tokenDecimals?: number;
6604
+ /**
6605
+ * Value including decimals
6606
+ */
6607
+ valueWithDecimals?: string;
6608
+ };
6609
+
6272
6610
  type NextPageToken = {
6273
6611
  /**
6274
6612
  * 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 +6659,163 @@ type TooManyRequests = {
6321
6659
  error: string;
6322
6660
  };
6323
6661
 
6662
+ type WebhookInternalTransaction = {
6663
+ /**
6664
+ * Sender address
6665
+ */
6666
+ from: string;
6667
+ /**
6668
+ * Recipient address
6669
+ */
6670
+ to: string;
6671
+ /**
6672
+ * Internal transaction type
6673
+ */
6674
+ internalTxType: string;
6675
+ /**
6676
+ * Value transferred
6677
+ */
6678
+ value: string;
6679
+ /**
6680
+ * Gas used
6681
+ */
6682
+ gasUsed: string;
6683
+ /**
6684
+ * Gas limit
6685
+ */
6686
+ gasLimit: string;
6687
+ /**
6688
+ * Transaction hash
6689
+ */
6690
+ transactionHash: string;
6691
+ };
6692
+
6693
+ type Transaction = {
6694
+ /**
6695
+ * Block hash of the transaction
6696
+ */
6697
+ blockHash: string;
6698
+ /**
6699
+ * Block number of the transaction
6700
+ */
6701
+ blockNumber: string;
6702
+ /**
6703
+ * Sender address
6704
+ */
6705
+ from: string;
6706
+ /**
6707
+ * Gas limit for the transaction
6708
+ */
6709
+ gas: string;
6710
+ /**
6711
+ * Gas price used
6712
+ */
6713
+ gasPrice: string;
6714
+ /**
6715
+ * Maximum fee per gas
6716
+ */
6717
+ maxFeePerGas: string;
6718
+ /**
6719
+ * Maximum priority fee per gas
6720
+ */
6721
+ maxPriorityFeePerGas: string;
6722
+ /**
6723
+ * Transaction hash
6724
+ */
6725
+ txHash: string;
6726
+ /**
6727
+ * Transaction status
6728
+ */
6729
+ txStatus: string;
6730
+ /**
6731
+ * Input data
6732
+ */
6733
+ input: string;
6734
+ /**
6735
+ * Nonce value
6736
+ */
6737
+ nonce: string;
6738
+ /**
6739
+ * Recipient address
6740
+ */
6741
+ to: string;
6742
+ /**
6743
+ * Transaction index
6744
+ */
6745
+ transactionIndex: number;
6746
+ /**
6747
+ * Value transferred in the transaction
6748
+ */
6749
+ value: string;
6750
+ /**
6751
+ * Transaction type
6752
+ */
6753
+ type: number;
6754
+ /**
6755
+ * Chain ID of the network
6756
+ */
6757
+ chainId: string;
6758
+ /**
6759
+ * Cumulative gas used
6760
+ */
6761
+ receiptCumulativeGasUsed: string;
6762
+ /**
6763
+ * Gas used
6764
+ */
6765
+ receiptGasUsed: string;
6766
+ /**
6767
+ * Effective gas price
6768
+ */
6769
+ receiptEffectiveGasPrice: string;
6770
+ /**
6771
+ * Receipt root
6772
+ */
6773
+ receiptRoot: string;
6774
+ /**
6775
+ * Block timestamp
6776
+ */
6777
+ blockTimestamp: number;
6778
+ /**
6779
+ * Contract address (optional)
6780
+ */
6781
+ contractAddress?: string;
6782
+ /**
6783
+ * ERC20 transfers
6784
+ */
6785
+ erc20Transfers: Array<ERCTransfer>;
6786
+ /**
6787
+ * ERC721 transfers
6788
+ */
6789
+ erc721Transfers: Array<ERCTransfer>;
6790
+ /**
6791
+ * ERC1155 transfers
6792
+ */
6793
+ erc1155Transfers: Array<ERCTransfer>;
6794
+ /**
6795
+ * Internal transactions (optional)
6796
+ */
6797
+ internalTransactions?: Array<WebhookInternalTransaction>;
6798
+ /**
6799
+ * Access list (optional)
6800
+ */
6801
+ accessList?: Array<AccessListData>;
6802
+ /**
6803
+ * Network token info (optional)
6804
+ */
6805
+ networkToken?: NetworkTokenInfo;
6806
+ };
6807
+
6808
+ type TransactionEvent = {
6809
+ /**
6810
+ * Transaction details
6811
+ */
6812
+ transaction: Transaction;
6813
+ /**
6814
+ * Array of log events
6815
+ */
6816
+ logs?: Array<Log>;
6817
+ };
6818
+
6324
6819
  type Unauthorized = {
6325
6820
  /**
6326
6821
  * The error message describing the reason for the exception
@@ -6336,4 +6831,43 @@ type Unauthorized = {
6336
6831
  error: string;
6337
6832
  };
6338
6833
 
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 };
6834
+ type WebhookAddressActivityResponse = {
6835
+ /**
6836
+ * Webhook ID
6837
+ */
6838
+ webhookId: string;
6839
+ /**
6840
+ * Event type
6841
+ */
6842
+ eventType: WebhookAddressActivityResponse.eventType;
6843
+ /**
6844
+ * Message ID
6845
+ */
6846
+ messageId: string;
6847
+ /**
6848
+ * Event details
6849
+ */
6850
+ event: TransactionEvent;
6851
+ };
6852
+ declare namespace WebhookAddressActivityResponse {
6853
+ /**
6854
+ * Event type
6855
+ */
6856
+ enum eventType {
6857
+ ADDRESS_ACTIVITY = "address_activity"
6858
+ }
6859
+ }
6860
+
6861
+ declare class FetchHttpRequest extends BaseHttpRequest {
6862
+ constructor(config: OpenAPIConfig);
6863
+ /**
6864
+ * Request method
6865
+ * @param options The request options from the service
6866
+ * @returns CancelablePromise<T>
6867
+ * @throws ApiError
6868
+ */
6869
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
6870
+ }
6871
+
6872
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, AvaxSupplyService, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CurrencyCode, DataApiUsageMetricsService, DefaultService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc721Contract, Erc721Token, Erc721TokenBalance, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, UtxosSortByOption, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
6873
+ 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, PrimaryNetworkAddressesBodyDto, PrimaryNetworkBalanceThresholdFilter, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorActivityMetadata, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };