@avalabs/glacier-sdk 3.1.0-canary.755c414.0 → 3.1.0-canary.755d876.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 (235) hide show
  1. package/dist/index.cjs +1 -0
  2. package/dist/index.d.ts +700 -85
  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/CancelablePromise.js +1 -1
  9. package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
  10. package/esm/generated/core/OpenAPI.d.ts +2 -1
  11. package/esm/generated/core/OpenAPI.js +1 -1
  12. package/esm/generated/core/request.js +1 -1
  13. package/esm/generated/models/AccessListData.d.ts +12 -0
  14. package/esm/generated/models/AccessRequest.d.ts +1 -1
  15. package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
  16. package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
  17. package/esm/generated/models/{EventType.js → AddressActivityEventType.js} +1 -1
  18. package/esm/generated/models/AddressActivityMetadata.d.ts +5 -5
  19. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  20. package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
  21. package/esm/generated/models/AssetAmount.d.ts +1 -1
  22. package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
  23. package/esm/generated/models/BadGateway.d.ts +1 -1
  24. package/esm/generated/models/BadRequest.d.ts +1 -1
  25. package/esm/generated/models/BalanceOwner.d.ts +1 -1
  26. package/esm/generated/models/Blockchain.d.ts +9 -1
  27. package/esm/generated/models/BlockchainId.d.ts +0 -2
  28. package/esm/generated/models/BlockchainId.js +1 -1
  29. package/esm/generated/models/BlockchainIds.d.ts +1 -3
  30. package/esm/generated/models/BlockchainIds.js +1 -1
  31. package/esm/generated/models/BlockchainInfo.d.ts +7 -2
  32. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  33. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  34. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  35. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  36. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  37. package/esm/generated/models/ChainInfo.d.ts +1 -1
  38. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  39. package/esm/generated/models/CommonBalanceType.js +1 -0
  40. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  41. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  42. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  43. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  44. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  45. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  46. package/esm/generated/models/ERCToken.d.ts +24 -0
  47. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  48. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +10 -6
  49. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  50. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +10 -10
  51. package/esm/generated/models/EVMInput.d.ts +1 -1
  52. package/esm/generated/models/EVMOutput.d.ts +1 -1
  53. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  54. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  55. package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
  56. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  57. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  58. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  59. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  60. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  61. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  62. package/esm/generated/models/Erc721Transfer.d.ts +1 -1
  63. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  64. package/esm/generated/models/EvmBlock.d.ts +1 -1
  65. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  66. package/esm/generated/models/Forbidden.d.ts +1 -1
  67. package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
  68. package/esm/generated/models/Geolocation.d.ts +24 -0
  69. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  70. package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
  71. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  72. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  73. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  74. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  75. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  76. package/esm/generated/models/IcmDestinationTransaction.d.ts +1 -1
  77. package/esm/generated/models/IcmReceipt.d.ts +1 -1
  78. package/esm/generated/models/IcmSourceTransaction.d.ts +1 -1
  79. package/esm/generated/models/ImageAsset.d.ts +1 -1
  80. package/esm/generated/models/InternalServerError.d.ts +1 -1
  81. package/esm/generated/models/InternalTransaction.d.ts +1 -1
  82. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  83. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  84. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  85. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
  86. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +5 -1
  87. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  88. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  89. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  90. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  91. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  92. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  93. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  94. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  95. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  96. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  97. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  98. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  99. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  100. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  101. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  102. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  103. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  104. package/esm/generated/models/ListIcmMessagesResponse.d.ts +3 -2
  105. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  106. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
  107. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  108. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  109. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  110. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  111. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  112. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  113. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  114. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  115. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  116. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  117. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  118. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  119. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  120. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  121. package/esm/generated/models/ListWebhooksResponse.d.ts +5 -3
  122. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  123. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  124. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  125. package/esm/generated/models/Log.d.ts +40 -0
  126. package/esm/generated/models/LogsFormat.d.ts +1 -1
  127. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  128. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  129. package/esm/generated/models/Method.d.ts +1 -1
  130. package/esm/generated/models/Metric.d.ts +1 -1
  131. package/esm/generated/models/Money.d.ts +1 -1
  132. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  133. package/esm/generated/models/NativeTransaction.d.ts +1 -1
  134. package/esm/generated/models/Network.d.ts +1 -2
  135. package/esm/generated/models/Network.js +1 -1
  136. package/esm/generated/models/NetworkToken.d.ts +1 -1
  137. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  138. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  139. package/esm/generated/models/NextPageToken.d.ts +1 -1
  140. package/esm/generated/models/NotFound.d.ts +1 -1
  141. package/esm/generated/models/NotificationsResponse.d.ts +1 -1
  142. package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
  143. package/esm/generated/models/PChainBalance.d.ts +1 -1
  144. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  145. package/esm/generated/models/PChainTransaction.d.ts +6 -1
  146. package/esm/generated/models/PChainUtxo.d.ts +1 -1
  147. package/esm/generated/models/PendingReward.d.ts +1 -1
  148. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  149. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  150. package/esm/generated/models/PricingProviders.d.ts +1 -1
  151. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  152. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  153. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  154. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  155. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  156. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  157. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  158. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  159. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  160. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
  161. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  162. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  163. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  164. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  165. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  166. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  167. package/esm/generated/models/ResourceLink.d.ts +1 -1
  168. package/esm/generated/models/Rewards.d.ts +1 -1
  169. package/esm/generated/models/RichAddress.d.ts +1 -1
  170. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  171. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  172. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  173. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  174. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
  175. package/esm/generated/models/StakingDistribution.d.ts +1 -1
  176. package/esm/generated/models/Subnet.d.ts +3 -3
  177. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  178. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  179. package/esm/generated/models/SubscribeRequest.d.ts +1 -1
  180. package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
  181. package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
  182. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  183. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  184. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  185. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  186. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  187. package/esm/generated/models/Transaction.d.ts +121 -0
  188. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  189. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  190. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  191. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  192. package/esm/generated/models/Unauthorized.d.ts +1 -1
  193. package/esm/generated/models/UnknownContract.d.ts +1 -1
  194. package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
  195. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  196. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  197. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  198. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  199. package/esm/generated/models/Utxo.d.ts +1 -1
  200. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  201. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  202. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  203. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  204. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  205. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  206. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  207. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  208. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  209. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  210. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  211. package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
  212. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  213. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  214. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  215. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  216. package/esm/generated/models/XChainBalances.d.ts +1 -1
  217. package/esm/generated/models/XChainId.d.ts +0 -1
  218. package/esm/generated/models/XChainId.js +1 -1
  219. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  220. package/esm/generated/models/XChainVertex.d.ts +1 -1
  221. package/esm/generated/services/AvaxSupplyService.d.ts +16 -0
  222. package/esm/generated/services/AvaxSupplyService.js +1 -0
  223. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  224. package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
  225. package/esm/generated/services/InterchainMessagingService.d.ts +2 -2
  226. package/esm/generated/services/PrimaryNetworkService.d.ts +22 -5
  227. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  228. package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
  229. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  230. package/esm/generated/services/WebhooksService.d.ts +25 -21
  231. package/esm/index.d.ts +32 -3
  232. package/esm/index.js +1 -1
  233. package/package.json +13 -4
  234. package/dist/index.js +0 -1
  235. package/esm/generated/models/EventType.d.ts +0 -5
package/dist/index.d.ts CHANGED
@@ -54,6 +54,18 @@ declare abstract class BaseHttpRequest {
54
54
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
55
55
  }
56
56
 
57
+ declare class AvaxSupplyService {
58
+ readonly httpRequest: BaseHttpRequest;
59
+ constructor(httpRequest: BaseHttpRequest);
60
+ /**
61
+ * Get AVAX supply information
62
+ * Get AVAX supply information that includes total supply, circulating supply, total p burned, total c burned, total x burned, total staked, total locked, total rewards, and last updated.
63
+ * @returns void
64
+ * @throws ApiError
65
+ */
66
+ getAvaxSupply(): CancelablePromise<void>;
67
+ }
68
+
57
69
  type LogsFormatMetadata = {
58
70
  /**
59
71
  * The IP address of the client that made the request.
@@ -151,8 +163,7 @@ type LogsResponseDTO = {
151
163
  declare enum Network {
152
164
  MAINNET = "mainnet",
153
165
  FUJI = "fuji",
154
- TESTNET = "testnet",
155
- DEVNET = "devnet"
166
+ TESTNET = "testnet"
156
167
  }
157
168
 
158
169
  declare enum PrimaryNetworkRpcMetricsGroupByEnum {
@@ -969,7 +980,7 @@ declare class EvmBalancesService {
969
980
  */
970
981
  pageToken?: string;
971
982
  /**
972
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
983
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
973
984
  */
974
985
  pageSize?: number;
975
986
  /**
@@ -1007,7 +1018,7 @@ declare class EvmBalancesService {
1007
1018
  */
1008
1019
  pageToken?: string;
1009
1020
  /**
1010
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1021
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
1011
1022
  */
1012
1023
  pageSize?: number;
1013
1024
  /**
@@ -1043,7 +1054,7 @@ declare class EvmBalancesService {
1043
1054
  */
1044
1055
  pageToken?: string;
1045
1056
  /**
1046
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1057
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
1047
1058
  */
1048
1059
  pageSize?: number;
1049
1060
  /**
@@ -1073,7 +1084,7 @@ declare class EvmBalancesService {
1073
1084
  */
1074
1085
  pageToken?: string;
1075
1086
  /**
1076
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1087
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
1077
1088
  */
1078
1089
  pageSize?: number;
1079
1090
  /**
@@ -1729,7 +1740,7 @@ type Erc1155Contract = {
1729
1740
  * A wallet or contract address in mixed-case checksum encoding.
1730
1741
  */
1731
1742
  address: string;
1732
- deploymentDetails: ContractDeploymentDetails;
1743
+ deploymentDetails?: ContractDeploymentDetails;
1733
1744
  ercType: Erc1155Contract.ercType;
1734
1745
  /**
1735
1746
  * The contract symbol.
@@ -1760,7 +1771,7 @@ type Erc20Contract = {
1760
1771
  * A wallet or contract address in mixed-case checksum encoding.
1761
1772
  */
1762
1773
  address: string;
1763
- deploymentDetails: ContractDeploymentDetails;
1774
+ deploymentDetails?: ContractDeploymentDetails;
1764
1775
  ercType: Erc20Contract.ercType;
1765
1776
  /**
1766
1777
  * The contract symbol.
@@ -1795,7 +1806,7 @@ type Erc721Contract = {
1795
1806
  * A wallet or contract address in mixed-case checksum encoding.
1796
1807
  */
1797
1808
  address: string;
1798
- deploymentDetails: ContractDeploymentDetails;
1809
+ deploymentDetails?: ContractDeploymentDetails;
1799
1810
  ercType: Erc721Contract.ercType;
1800
1811
  /**
1801
1812
  * The contract symbol.
@@ -1825,7 +1836,7 @@ type UnknownContract = {
1825
1836
  * A wallet or contract address in mixed-case checksum encoding.
1826
1837
  */
1827
1838
  address: string;
1828
- deploymentDetails: ContractDeploymentDetails;
1839
+ deploymentDetails?: ContractDeploymentDetails;
1829
1840
  ercType: UnknownContract.ercType;
1830
1841
  };
1831
1842
  declare namespace UnknownContract {
@@ -2043,6 +2054,7 @@ declare enum InternalTransactionOpCall {
2043
2054
  CALL = "CALL",
2044
2055
  CREATE = "CREATE",
2045
2056
  CREATE2 = "CREATE2",
2057
+ CREATE3 = "CREATE3",
2046
2058
  CALLCODE = "CALLCODE",
2047
2059
  DELEGATECALL = "DELEGATECALL",
2048
2060
  STATICCALL = "STATICCALL"
@@ -2084,11 +2096,11 @@ type TeleporterMessageInfo = {
2084
2096
  /**
2085
2097
  * chain id of the source chain. valid only for destination transactions
2086
2098
  */
2087
- sourceChainId?: Record<string, any>;
2099
+ sourceChainId?: string;
2088
2100
  /**
2089
2101
  * chain id of the destination chain. valid only for source transactions
2090
2102
  */
2091
- destinationChainId?: Record<string, any>;
2103
+ destinationChainId?: string;
2092
2104
  };
2093
2105
 
2094
2106
  type GetTransactionResponse = {
@@ -2105,7 +2117,7 @@ type GetTransactionResponse = {
2105
2117
  */
2106
2118
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2107
2119
  /**
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 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.
2109
2121
  */
2110
2122
  internalTransactions?: Array<InternalTransactionDetails>;
2111
2123
  networkTokenDetails: NetworkTokenDetails;
@@ -2274,7 +2286,7 @@ type TransactionDetails = {
2274
2286
  */
2275
2287
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2276
2288
  /**
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 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.
2278
2290
  */
2279
2291
  internalTransactions?: Array<InternalTransactionDetails>;
2280
2292
  };
@@ -2573,7 +2585,7 @@ declare class EvmTransactionsService {
2573
2585
  * List internal transactions
2574
2586
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2575
2587
  *
2576
- * 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.
2577
2589
  * @returns ListInternalTransactionsResponse Successful response
2578
2590
  * @throws ApiError
2579
2591
  */
@@ -2842,7 +2854,7 @@ type ListIcmMessagesResponse = {
2842
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.
2843
2855
  */
2844
2856
  nextPageToken?: string;
2845
- messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
2857
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2846
2858
  };
2847
2859
 
2848
2860
  declare class InterchainMessagingService {
@@ -2850,13 +2862,13 @@ declare class InterchainMessagingService {
2850
2862
  constructor(httpRequest: BaseHttpRequest);
2851
2863
  /**
2852
2864
  * Get an ICM message
2853
- * Gets an ICM message by message ID.
2865
+ * Gets an ICM message by teleporter message ID.
2854
2866
  * @returns any Successful response
2855
2867
  * @throws ApiError
2856
2868
  */
2857
2869
  getIcmMessage({ messageId, }: {
2858
2870
  /**
2859
- * The message ID of the ICM message.
2871
+ * The teleporter message ID of the ICM message.
2860
2872
  */
2861
2873
  messageId: string;
2862
2874
  }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
@@ -3138,7 +3150,7 @@ declare enum PrimaryNetworkOperationType {
3138
3150
  type PrimaryNetworkOptions = {
3139
3151
  addresses?: Array<string>;
3140
3152
  cChainEvmAddresses?: Array<string>;
3141
- 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'>;
3142
3154
  };
3143
3155
 
3144
3156
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -3226,14 +3238,29 @@ declare class OperationsService {
3226
3238
  }): CancelablePromise<OperationStatusResponse>;
3227
3239
  }
3228
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
+
3229
3258
  declare enum BlockchainIds {
3230
3259
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3231
3260
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3232
3261
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3233
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3234
3262
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3235
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3236
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3263
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
3237
3264
  }
3238
3265
 
3239
3266
  type ChainAddressChainIdMap = {
@@ -3290,15 +3317,6 @@ type GetNetworkDetailsResponse = {
3290
3317
  delegatorDetails: DelegatorsDetails;
3291
3318
  };
3292
3319
 
3293
- type Blockchain = {
3294
- createBlockTimestamp: number;
3295
- createBlockNumber: string;
3296
- blockchainId: string;
3297
- vmId: string;
3298
- subnetId: string;
3299
- blockchainName: string;
3300
- };
3301
-
3302
3320
  type ListBlockchainsResponse = {
3303
3321
  /**
3304
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.
@@ -3394,6 +3412,10 @@ type L1ValidatorDetailsFull = {
3394
3412
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3395
3413
  */
3396
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;
3397
3419
  nodeId: string;
3398
3420
  subnetId: string;
3399
3421
  /**
@@ -3428,10 +3450,10 @@ type ListL1ValidatorsResponse = {
3428
3450
  * The list of L1 validations for the given Subnet ID, NodeId or validationId
3429
3451
  */
3430
3452
  validators: Array<L1ValidatorDetailsFull>;
3431
- };
3432
-
3433
- type BlockchainInfo = {
3434
- blockchainId: string;
3453
+ /**
3454
+ * Block height at which the L1 validator's remaining balance is calculated
3455
+ */
3456
+ blockHeight: string;
3435
3457
  };
3436
3458
 
3437
3459
  type L1ValidatorManagerDetails = {
@@ -3489,7 +3511,7 @@ type Subnet = {
3489
3511
  * L1 validator manager details.
3490
3512
  */
3491
3513
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3492
- blockchains: Array<BlockchainInfo>;
3514
+ blockchains: Array<Blockchain>;
3493
3515
  };
3494
3516
 
3495
3517
  type ListSubnetsResponse = {
@@ -3505,6 +3527,29 @@ type BlsCredentials = {
3505
3527
  proofOfPossession: string;
3506
3528
  };
3507
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
+
3508
3553
  type Rewards = {
3509
3554
  validationRewardAmount: string;
3510
3555
  delegationRewardAmount: string;
@@ -3573,6 +3618,10 @@ type ActiveValidatorDetails = {
3573
3618
  potentialRewards: Rewards;
3574
3619
  validationStatus: ActiveValidatorDetails.validationStatus;
3575
3620
  validatorHealth: ValidatorHealthDetails;
3621
+ /**
3622
+ * The geographical location of the validator node, if available.
3623
+ */
3624
+ geolocation: Geolocation | null;
3576
3625
  };
3577
3626
  declare namespace ActiveValidatorDetails {
3578
3627
  enum validationStatus {
@@ -3730,7 +3779,6 @@ type XChainAssetDetails = {
3730
3779
  declare enum XChainId {
3731
3780
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3732
3781
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3733
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3734
3782
  X_CHAIN = "x-chain"
3735
3783
  }
3736
3784
 
@@ -3801,7 +3849,7 @@ declare class PrimaryNetworkService {
3801
3849
  */
3802
3850
  pageToken?: string;
3803
3851
  /**
3804
- * 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.
3805
3853
  */
3806
3854
  pageSize?: number;
3807
3855
  /**
@@ -3809,6 +3857,22 @@ declare class PrimaryNetworkService {
3809
3857
  */
3810
3858
  sortOrder?: SortOrder;
3811
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>;
3812
3876
  /**
3813
3877
  * List subnets
3814
3878
  * Lists all subnets registered on the network.
@@ -3825,7 +3889,7 @@ declare class PrimaryNetworkService {
3825
3889
  */
3826
3890
  pageToken?: string;
3827
3891
  /**
3828
- * 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.
3829
3893
  */
3830
3894
  pageSize?: number;
3831
3895
  /**
@@ -3851,7 +3915,7 @@ declare class PrimaryNetworkService {
3851
3915
  }): CancelablePromise<Subnet>;
3852
3916
  /**
3853
3917
  * List validators
3854
- * 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.
3855
3919
  * @returns ListValidatorDetailsResponse Successful response
3856
3920
  * @throws ApiError
3857
3921
  */
@@ -3869,7 +3933,7 @@ declare class PrimaryNetworkService {
3869
3933
  */
3870
3934
  pageSize?: number;
3871
3935
  /**
3872
- * A comma separated list of node ids to filter by.
3936
+ * A comma separated list of node ids to filter by. Supports substring matching.
3873
3937
  */
3874
3938
  nodeIds?: string;
3875
3939
  /**
@@ -4013,7 +4077,7 @@ declare class PrimaryNetworkService {
4013
4077
  /**
4014
4078
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
4015
4079
  */
4016
- l1ValidationId?: any;
4080
+ l1ValidationId?: string;
4017
4081
  includeInactiveL1Validators?: boolean;
4018
4082
  /**
4019
4083
  * A valid node ID in format 'NodeID-HASH'.
@@ -4030,10 +4094,8 @@ declare enum BlockchainId {
4030
4094
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
4031
4095
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4032
4096
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
4033
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
4034
4097
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
4035
4098
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
4036
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
4037
4099
  P_CHAIN = "p-chain",
4038
4100
  X_CHAIN = "x-chain",
4039
4101
  C_CHAIN = "c-chain"
@@ -4791,11 +4853,24 @@ type ListCChainAtomicTransactionsResponse = {
4791
4853
  chainInfo: PrimaryNetworkChainInfo;
4792
4854
  };
4793
4855
 
4856
+ type BlockchainInfo = {
4857
+ chainName: string;
4858
+ vmId: string;
4859
+ /**
4860
+ * 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
4861
+ */
4862
+ genesisData?: Record<string, any>;
4863
+ };
4864
+
4794
4865
  type L1ValidatorDetailsTransaction = {
4795
4866
  /**
4796
4867
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4797
4868
  */
4798
4869
  validationId: string;
4870
+ /**
4871
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
4872
+ */
4873
+ validationIdHex: string;
4799
4874
  nodeId: string;
4800
4875
  subnetId: string;
4801
4876
  /**
@@ -5015,6 +5090,10 @@ type PChainTransaction = {
5015
5090
  * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
5016
5091
  */
5017
5092
  blsCredentials?: BlsCredentials;
5093
+ /**
5094
+ * Details of the blockchain that was created in the CreateChainTx
5095
+ */
5096
+ blockchainInfo?: BlockchainInfo;
5018
5097
  };
5019
5098
 
5020
5099
  type ListPChainTransactionsResponse = {
@@ -5558,6 +5637,22 @@ declare class SignatureAggregatorService {
5558
5637
  network: Network;
5559
5638
  requestBody: SignatureAggregatorRequest;
5560
5639
  }): CancelablePromise<SignatureAggregationResponse>;
5640
+ /**
5641
+ * Get Aggregated Signatures
5642
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
5643
+ * @returns SignatureAggregationResponse Successful response
5644
+ * @throws ApiError
5645
+ */
5646
+ getAggregatedSignatures({ network, txHash, }: {
5647
+ /**
5648
+ * Either mainnet or testnet/fuji.
5649
+ */
5650
+ network: Network;
5651
+ /**
5652
+ * A primary network (P or X chain) transaction hash.
5653
+ */
5654
+ txHash: string;
5655
+ }): CancelablePromise<SignatureAggregationResponse>;
5561
5656
  }
5562
5657
 
5563
5658
  type TeleporterDestinationTransaction = {
@@ -5691,7 +5786,7 @@ type ListTeleporterMessagesResponse = {
5691
5786
  * 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.
5692
5787
  */
5693
5788
  nextPageToken?: string;
5694
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
5789
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
5695
5790
  };
5696
5791
 
5697
5792
  declare class TeleporterService {
@@ -5790,28 +5885,58 @@ type AddressesChangeRequest = {
5790
5885
 
5791
5886
  type AddressActivityMetadata = {
5792
5887
  /**
5793
- * Ethereum address(es) for the address_activity event type
5888
+ * Array of hexadecimal strings of the event signatures.
5889
+ */
5890
+ eventSignatures?: Array<string>;
5891
+ /**
5892
+ * 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.
5794
5893
  */
5795
5894
  addresses: Array<string>;
5895
+ };
5896
+
5897
+ type EVMAddressActivityRequest = {
5898
+ eventType: EVMAddressActivityRequest.eventType;
5899
+ url: string;
5900
+ name?: string;
5901
+ description?: string;
5902
+ chainId: string;
5903
+ metadata: AddressActivityMetadata;
5796
5904
  /**
5797
- * Array of hexadecimal strings of the event signatures.
5905
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5798
5906
  */
5799
- eventSignatures?: Array<string>;
5907
+ includeInternalTxs?: boolean;
5908
+ /**
5909
+ * Whether to include logs in the webhook payload.
5910
+ */
5911
+ includeLogs?: boolean;
5800
5912
  };
5913
+ declare namespace EVMAddressActivityRequest {
5914
+ enum eventType {
5915
+ ADDRESS_ACTIVITY = "address_activity"
5916
+ }
5917
+ }
5801
5918
 
5802
- declare enum EventType {
5919
+ declare enum AddressActivityEventType {
5803
5920
  ADDRESS_ACTIVITY = "address_activity"
5804
5921
  }
5805
5922
 
5806
- type CreateWebhookRequest = {
5923
+ declare enum WebhookStatusType {
5924
+ ACTIVE = "active",
5925
+ INACTIVE = "inactive"
5926
+ }
5927
+
5928
+ type EVMAddressActivityResponse = {
5929
+ id: string;
5807
5930
  url: string;
5808
5931
  chainId: string;
5809
- eventType: EventType;
5932
+ status: WebhookStatusType;
5933
+ createdAt: number;
5934
+ name: string;
5935
+ description: string;
5936
+ eventType: AddressActivityEventType;
5810
5937
  metadata: AddressActivityMetadata;
5811
- name?: string;
5812
- description?: string;
5813
5938
  /**
5814
- * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5939
+ * Whether to include traces in the webhook payload.
5815
5940
  */
5816
5941
  includeInternalTxs?: boolean;
5817
5942
  /**
@@ -5829,29 +5954,143 @@ type ListWebhookAddressesResponse = {
5829
5954
  totalAddresses: number;
5830
5955
  };
5831
5956
 
5832
- declare enum WebhookStatusType {
5833
- ACTIVE = "active",
5834
- INACTIVE = "inactive"
5957
+ declare enum PrimaryNetworkAddressActivityEventType {
5958
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
5835
5959
  }
5836
5960
 
5837
- type WebhookResponse = {
5961
+ /**
5962
+ * The type of key to monitor for the address activity event type.
5963
+ */
5964
+ declare enum PlatformAddressActivityKeyType {
5965
+ ADDRESSES = "addresses"
5966
+ }
5967
+
5968
+ /**
5969
+ * Array of address activity sub-event types
5970
+ */
5971
+ declare enum PrimaryNetworkAddressActivitySubEventType {
5972
+ BALANCE_CHANGE = "balance_change",
5973
+ BALANCE_THRESHOLD = "balance_threshold",
5974
+ REWARD_DISTRIBUTION = "reward_distribution"
5975
+ }
5976
+
5977
+ type PrimaryNetworkAddressActivitySubEvents = {
5978
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
5979
+ };
5980
+
5981
+ /**
5982
+ * Type of balance to monitor
5983
+ */
5984
+ declare enum CommonBalanceType {
5985
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
5986
+ UNLOCKED_STAKED = "unlockedStaked",
5987
+ LOCKED_PLATFORM = "lockedPlatform",
5988
+ LOCKED_STAKEABLE = "lockedStakeable",
5989
+ LOCKED_STAKED = "lockedStaked",
5990
+ PENDING_STAKED = "pendingStaked",
5991
+ UNLOCKED = "unlocked",
5992
+ LOCKED = "locked",
5993
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
5994
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5995
+ }
5996
+
5997
+ type PrimaryNetworkBalanceThresholdFilter = {
5998
+ balanceType: CommonBalanceType;
5999
+ /**
6000
+ * Threshold for balance corresponding to balanceType in nAVAX
6001
+ */
6002
+ balanceThreshold: string;
6003
+ };
6004
+
6005
+ type PrimaryNetworkAddressActivityMetadata = {
6006
+ /**
6007
+ * Array of hexadecimal strings of the event signatures.
6008
+ */
6009
+ eventSignatures?: Array<string>;
6010
+ keyType: PlatformAddressActivityKeyType;
6011
+ /**
6012
+ * 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.
6013
+ */
6014
+ keys: Array<string>;
6015
+ /**
6016
+ * Sub-events to monitor
6017
+ */
6018
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6019
+ /**
6020
+ * Balance threshold filter
6021
+ */
6022
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6023
+ };
6024
+
6025
+ type PrimaryNetworkAddressActivityResponse = {
5838
6026
  id: string;
5839
- eventType: EventType;
5840
- metadata: AddressActivityMetadata;
6027
+ url: string;
6028
+ chainId: string;
6029
+ status: WebhookStatusType;
6030
+ createdAt: number;
6031
+ name: string;
6032
+ description: string;
6033
+ eventType: PrimaryNetworkAddressActivityEventType;
6034
+ metadata: PrimaryNetworkAddressActivityMetadata;
6035
+ };
6036
+
6037
+ declare enum ValidatorActivityEventType {
6038
+ VALIDATOR_ACTIVITY = "validator_activity"
6039
+ }
6040
+
6041
+ /**
6042
+ * The type of key to monitor for the validator activity event type.
6043
+ */
6044
+ declare enum ValidatorActivityKeyType {
6045
+ NODE_ID = "nodeId",
6046
+ SUBNET_ID = "subnetId"
6047
+ }
6048
+
6049
+ type ValidatorActivitySubEvents = {
5841
6050
  /**
5842
- * Whether to include traces in the webhook payload.
6051
+ * Array of validator activity sub-event types
5843
6052
  */
5844
- includeInternalTxs?: boolean;
6053
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6054
+ };
6055
+
6056
+ type ValidatorActivityMetadata = {
5845
6057
  /**
5846
- * Whether to include logs in the webhook payload.
6058
+ * Array of hexadecimal strings of the event signatures.
5847
6059
  */
5848
- includeLogs?: boolean;
6060
+ eventSignatures?: Array<string>;
6061
+ keyType: ValidatorActivityKeyType;
6062
+ /**
6063
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
6064
+ */
6065
+ keys: Array<string>;
6066
+ /**
6067
+ * Sub-events to monitor
6068
+ */
6069
+ subEvents: ValidatorActivitySubEvents;
6070
+ /**
6071
+ * Array of node IDs to filter the events
6072
+ */
6073
+ nodeIds?: Array<string>;
6074
+ /**
6075
+ * Array of subnet IDs to filter the events
6076
+ */
6077
+ subnetIds?: Array<string>;
6078
+ /**
6079
+ * L1 validator fee balance threshold in nAVAX
6080
+ */
6081
+ l1ValidatorFeeBalanceThreshold?: string;
6082
+ };
6083
+
6084
+ type ValidatorActivityResponse = {
6085
+ id: string;
5849
6086
  url: string;
5850
6087
  chainId: string;
5851
6088
  status: WebhookStatusType;
5852
6089
  createdAt: number;
5853
6090
  name: string;
5854
6091
  description: string;
6092
+ eventType: ValidatorActivityEventType;
6093
+ metadata: ValidatorActivityMetadata;
5855
6094
  };
5856
6095
 
5857
6096
  type ListWebhooksResponse = {
@@ -5859,8 +6098,31 @@ type ListWebhooksResponse = {
5859
6098
  * 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.
5860
6099
  */
5861
6100
  nextPageToken?: string;
5862
- webhooks: Array<WebhookResponse>;
6101
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6102
+ };
6103
+
6104
+ declare enum PrimaryNetworkType {
6105
+ MAINNET = "mainnet",
6106
+ FUJI = "fuji"
6107
+ }
6108
+
6109
+ type PrimaryNetworkAddressActivityRequest = {
6110
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
6111
+ url: string;
6112
+ name?: string;
6113
+ description?: string;
6114
+ network: PrimaryNetworkType;
6115
+ chainId: string;
6116
+ /**
6117
+ * Metadata for platform address activity event
6118
+ */
6119
+ metadata: PrimaryNetworkAddressActivityMetadata;
5863
6120
  };
6121
+ declare namespace PrimaryNetworkAddressActivityRequest {
6122
+ enum eventType {
6123
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6124
+ }
6125
+ }
5864
6126
 
5865
6127
  type SharedSecretsResponse = {
5866
6128
  secret: string;
@@ -5878,6 +6140,23 @@ type UpdateWebhookRequest = {
5878
6140
  includeLogs?: boolean;
5879
6141
  };
5880
6142
 
6143
+ type ValidatorActivityRequest = {
6144
+ eventType: ValidatorActivityRequest.eventType;
6145
+ url: string;
6146
+ name?: string;
6147
+ description?: string;
6148
+ network: PrimaryNetworkType;
6149
+ /**
6150
+ * Metadata for platform validator activity event
6151
+ */
6152
+ metadata: ValidatorActivityMetadata;
6153
+ };
6154
+ declare namespace ValidatorActivityRequest {
6155
+ enum eventType {
6156
+ VALIDATOR_ACTIVITY = "validator_activity"
6157
+ }
6158
+ }
6159
+
5881
6160
  declare enum WebhookStatus {
5882
6161
  ACTIVE = "active",
5883
6162
  INACTIVE = "inactive"
@@ -5889,12 +6168,12 @@ declare class WebhooksService {
5889
6168
  /**
5890
6169
  * Create a webhook
5891
6170
  * Create a new webhook.
5892
- * @returns WebhookResponse Successful response
6171
+ * @returns any Successful response
5893
6172
  * @throws ApiError
5894
6173
  */
5895
6174
  createWebhook({ requestBody, }: {
5896
- requestBody: CreateWebhookRequest;
5897
- }): CancelablePromise<WebhookResponse>;
6175
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6176
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5898
6177
  /**
5899
6178
  * List webhooks
5900
6179
  * Lists webhooks for the user.
@@ -5918,7 +6197,7 @@ declare class WebhooksService {
5918
6197
  /**
5919
6198
  * Get a webhook by ID
5920
6199
  * Retrieves a webhook by ID.
5921
- * @returns WebhookResponse Successful response
6200
+ * @returns any Successful response
5922
6201
  * @throws ApiError
5923
6202
  */
5924
6203
  getWebhook({ id, }: {
@@ -5926,11 +6205,11 @@ declare class WebhooksService {
5926
6205
  * The webhook identifier.
5927
6206
  */
5928
6207
  id: string;
5929
- }): CancelablePromise<WebhookResponse>;
6208
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5930
6209
  /**
5931
6210
  * Deactivate a webhook
5932
6211
  * Deactivates a webhook by ID.
5933
- * @returns WebhookResponse Successful response
6212
+ * @returns any Successful response
5934
6213
  * @throws ApiError
5935
6214
  */
5936
6215
  deactivateWebhook({ id, }: {
@@ -5938,11 +6217,11 @@ declare class WebhooksService {
5938
6217
  * The webhook identifier.
5939
6218
  */
5940
6219
  id: string;
5941
- }): CancelablePromise<WebhookResponse>;
6220
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5942
6221
  /**
5943
6222
  * Update a webhook
5944
6223
  * Updates an existing webhook.
5945
- * @returns WebhookResponse Successful response
6224
+ * @returns any Successful response
5946
6225
  * @throws ApiError
5947
6226
  */
5948
6227
  updateWebhook({ id, requestBody, }: {
@@ -5951,7 +6230,7 @@ declare class WebhooksService {
5951
6230
  */
5952
6231
  id: string;
5953
6232
  requestBody: UpdateWebhookRequest;
5954
- }): CancelablePromise<WebhookResponse>;
6233
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
5955
6234
  /**
5956
6235
  * Generate or rotate a shared secret
5957
6236
  * Generates a new shared secret or rotate an existing one.
@@ -5967,9 +6246,9 @@ declare class WebhooksService {
5967
6246
  */
5968
6247
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5969
6248
  /**
5970
- * Add addresses to webhook
5971
- * Add addresses to webhook.
5972
- * @returns WebhookResponse Successful response
6249
+ * Add addresses to EVM activity webhook
6250
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6251
+ * @returns EVMAddressActivityResponse Successful response
5973
6252
  * @throws ApiError
5974
6253
  */
5975
6254
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5978,11 +6257,11 @@ declare class WebhooksService {
5978
6257
  */
5979
6258
  id: string;
5980
6259
  requestBody: AddressesChangeRequest;
5981
- }): CancelablePromise<WebhookResponse>;
6260
+ }): CancelablePromise<EVMAddressActivityResponse>;
5982
6261
  /**
5983
- * Remove addresses from webhook
5984
- * Remove addresses from webhook.
5985
- * @returns WebhookResponse Successful response
6262
+ * Remove addresses from EVM activity webhook
6263
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6264
+ * @returns EVMAddressActivityResponse Successful response
5986
6265
  * @throws ApiError
5987
6266
  */
5988
6267
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5991,10 +6270,10 @@ declare class WebhooksService {
5991
6270
  */
5992
6271
  id: string;
5993
6272
  requestBody: AddressesChangeRequest;
5994
- }): CancelablePromise<WebhookResponse>;
6273
+ }): CancelablePromise<EVMAddressActivityResponse>;
5995
6274
  /**
5996
- * List adresses by webhook
5997
- * List adresses by webhook.
6275
+ * List adresses by EVM activity webhooks
6276
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5998
6277
  * @returns ListWebhookAddressesResponse Successful response
5999
6278
  * @throws ApiError
6000
6279
  */
@@ -6016,6 +6295,7 @@ declare class WebhooksService {
6016
6295
 
6017
6296
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
6018
6297
  declare class Glacier {
6298
+ readonly avaxSupply: AvaxSupplyService;
6019
6299
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
6020
6300
  readonly default: DefaultService;
6021
6301
  readonly evmBalances: EvmBalancesService;
@@ -6059,6 +6339,17 @@ declare class ApiError extends Error {
6059
6339
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
6060
6340
  }
6061
6341
 
6342
+ type AccessListData = {
6343
+ /**
6344
+ * Access Address
6345
+ */
6346
+ accessAddresses: string;
6347
+ /**
6348
+ * Storage keys
6349
+ */
6350
+ storageKeys: Array<string>;
6351
+ };
6352
+
6062
6353
  type BadGateway = {
6063
6354
  /**
6064
6355
  * The error message describing the reason for the exception
@@ -6093,6 +6384,76 @@ type DataListChainsResponse = {
6093
6384
  chains: Array<ChainInfo>;
6094
6385
  };
6095
6386
 
6387
+ type ERCToken = {
6388
+ /**
6389
+ * Token contract address
6390
+ */
6391
+ address: string;
6392
+ /**
6393
+ * Token name
6394
+ */
6395
+ name: string;
6396
+ /**
6397
+ * Token symbol
6398
+ */
6399
+ symbol: string;
6400
+ /**
6401
+ * Token decimals
6402
+ */
6403
+ decimals: number;
6404
+ /**
6405
+ * Value including decimals
6406
+ */
6407
+ valueWithDecimals: string;
6408
+ };
6409
+
6410
+ type ERCTransfer = {
6411
+ /**
6412
+ * Transaction hash
6413
+ */
6414
+ transactionHash: string;
6415
+ /**
6416
+ * Transfer type
6417
+ */
6418
+ type: string;
6419
+ /**
6420
+ * Sender address
6421
+ */
6422
+ from: string;
6423
+ /**
6424
+ * Recipient address
6425
+ */
6426
+ to: string;
6427
+ /**
6428
+ * Amount transferred
6429
+ */
6430
+ value: string;
6431
+ /**
6432
+ * Token Id
6433
+ */
6434
+ tokenId?: string;
6435
+ /**
6436
+ * Block timestamp
6437
+ */
6438
+ blockTimestamp: number;
6439
+ /**
6440
+ * Log index
6441
+ */
6442
+ logIndex: number;
6443
+ /**
6444
+ * erc20 Token details
6445
+ */
6446
+ erc20Token?: ERCToken;
6447
+ /**
6448
+ * erc721 Token details
6449
+ */
6450
+ erc721Token?: ERCToken;
6451
+ /**
6452
+ * erc1155 Token details
6453
+ */
6454
+ erc1155Token?: ERCToken;
6455
+ };
6456
+
6096
6457
  type Forbidden = {
6097
6458
  /**
6098
6459
  * The error message describing the reason for the exception
@@ -6123,6 +6484,64 @@ type InternalServerError = {
6123
6484
  error: string;
6124
6485
  };
6125
6486
 
6487
+ type Log = {
6488
+ /**
6489
+ * Contract address
6490
+ */
6491
+ address: string;
6492
+ /**
6493
+ * First topic
6494
+ */
6495
+ topic0: string;
6496
+ /**
6497
+ * Second topic (optional)
6498
+ */
6499
+ topic1?: string;
6500
+ /**
6501
+ * Third topic (optional)
6502
+ */
6503
+ topic2?: string;
6504
+ /**
6505
+ * Fourth topic (optional)
6506
+ */
6507
+ topic3?: string;
6508
+ /**
6509
+ * Event data
6510
+ */
6511
+ data: string;
6512
+ /**
6513
+ * Transaction index
6514
+ */
6515
+ transactionIndex: number;
6516
+ /**
6517
+ * Log index
6518
+ */
6519
+ logIndex: number;
6520
+ /**
6521
+ * Indicates if the log was removed
6522
+ */
6523
+ removed: boolean;
6524
+ };
6525
+
6526
+ type NetworkTokenInfo = {
6527
+ /**
6528
+ * Token name
6529
+ */
6530
+ tokenName?: string;
6531
+ /**
6532
+ * Token symbol
6533
+ */
6534
+ tokenSymbol?: string;
6535
+ /**
6536
+ * Token decimals
6537
+ */
6538
+ tokenDecimals?: number;
6539
+ /**
6540
+ * Value including decimals
6541
+ */
6542
+ valueWithDecimals?: string;
6543
+ };
6544
+
6126
6545
  type NextPageToken = {
6127
6546
  /**
6128
6547
  * 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.
@@ -6175,6 +6594,163 @@ type TooManyRequests = {
6175
6594
  error: string;
6176
6595
  };
6177
6596
 
6597
+ type WebhookInternalTransaction = {
6598
+ /**
6599
+ * Sender address
6600
+ */
6601
+ from: string;
6602
+ /**
6603
+ * Recipient address
6604
+ */
6605
+ to: string;
6606
+ /**
6607
+ * Internal transaction type
6608
+ */
6609
+ internalTxType: string;
6610
+ /**
6611
+ * Value transferred
6612
+ */
6613
+ value: string;
6614
+ /**
6615
+ * Gas used
6616
+ */
6617
+ gasUsed: string;
6618
+ /**
6619
+ * Gas limit
6620
+ */
6621
+ gasLimit: string;
6622
+ /**
6623
+ * Transaction hash
6624
+ */
6625
+ transactionHash: string;
6626
+ };
6627
+
6628
+ type Transaction = {
6629
+ /**
6630
+ * Block hash of the transaction
6631
+ */
6632
+ blockHash: string;
6633
+ /**
6634
+ * Block number of the transaction
6635
+ */
6636
+ blockNumber: string;
6637
+ /**
6638
+ * Sender address
6639
+ */
6640
+ from: string;
6641
+ /**
6642
+ * Gas limit for the transaction
6643
+ */
6644
+ gas: string;
6645
+ /**
6646
+ * Gas price used
6647
+ */
6648
+ gasPrice: string;
6649
+ /**
6650
+ * Maximum fee per gas
6651
+ */
6652
+ maxFeePerGas: string;
6653
+ /**
6654
+ * Maximum priority fee per gas
6655
+ */
6656
+ maxPriorityFeePerGas: string;
6657
+ /**
6658
+ * Transaction hash
6659
+ */
6660
+ txHash: string;
6661
+ /**
6662
+ * Transaction status
6663
+ */
6664
+ txStatus: string;
6665
+ /**
6666
+ * Input data
6667
+ */
6668
+ input: string;
6669
+ /**
6670
+ * Nonce value
6671
+ */
6672
+ nonce: string;
6673
+ /**
6674
+ * Recipient address
6675
+ */
6676
+ to: string;
6677
+ /**
6678
+ * Transaction index
6679
+ */
6680
+ transactionIndex: number;
6681
+ /**
6682
+ * Value transferred in the transaction
6683
+ */
6684
+ value: string;
6685
+ /**
6686
+ * Transaction type
6687
+ */
6688
+ type: number;
6689
+ /**
6690
+ * Chain ID of the network
6691
+ */
6692
+ chainId: string;
6693
+ /**
6694
+ * Cumulative gas used
6695
+ */
6696
+ receiptCumulativeGasUsed: string;
6697
+ /**
6698
+ * Gas used
6699
+ */
6700
+ receiptGasUsed: string;
6701
+ /**
6702
+ * Effective gas price
6703
+ */
6704
+ receiptEffectiveGasPrice: string;
6705
+ /**
6706
+ * Receipt root
6707
+ */
6708
+ receiptRoot: string;
6709
+ /**
6710
+ * Block timestamp
6711
+ */
6712
+ blockTimestamp: number;
6713
+ /**
6714
+ * Contract address (optional)
6715
+ */
6716
+ contractAddress?: string;
6717
+ /**
6718
+ * ERC20 transfers
6719
+ */
6720
+ erc20Transfers: Array<ERCTransfer>;
6721
+ /**
6722
+ * ERC721 transfers
6723
+ */
6724
+ erc721Transfers: Array<ERCTransfer>;
6725
+ /**
6726
+ * ERC1155 transfers
6727
+ */
6728
+ erc1155Transfers: Array<ERCTransfer>;
6729
+ /**
6730
+ * Internal transactions (optional)
6731
+ */
6732
+ internalTransactions?: Array<WebhookInternalTransaction>;
6733
+ /**
6734
+ * Access list (optional)
6735
+ */
6736
+ accessList?: Array<AccessListData>;
6737
+ /**
6738
+ * Network token info (optional)
6739
+ */
6740
+ networkToken?: NetworkTokenInfo;
6741
+ };
6742
+
6743
+ type TransactionEvent = {
6744
+ /**
6745
+ * Transaction details
6746
+ */
6747
+ transaction: Transaction;
6748
+ /**
6749
+ * Array of log events
6750
+ */
6751
+ logs?: Array<Log>;
6752
+ };
6753
+
6178
6754
  type Unauthorized = {
6179
6755
  /**
6180
6756
  * The error message describing the reason for the exception
@@ -6190,4 +6766,43 @@ type Unauthorized = {
6190
6766
  error: string;
6191
6767
  };
6192
6768
 
6193
- export { AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, 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, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
6769
+ type WebhookAddressActivityResponse = {
6770
+ /**
6771
+ * Webhook ID
6772
+ */
6773
+ webhookId: string;
6774
+ /**
6775
+ * Event type
6776
+ */
6777
+ eventType: WebhookAddressActivityResponse.eventType;
6778
+ /**
6779
+ * Message ID
6780
+ */
6781
+ messageId: string;
6782
+ /**
6783
+ * Event details
6784
+ */
6785
+ event: TransactionEvent;
6786
+ };
6787
+ declare namespace WebhookAddressActivityResponse {
6788
+ /**
6789
+ * Event type
6790
+ */
6791
+ enum eventType {
6792
+ ADDRESS_ACTIVITY = "address_activity"
6793
+ }
6794
+ }
6795
+
6796
+ declare class FetchHttpRequest extends BaseHttpRequest {
6797
+ constructor(config: OpenAPIConfig);
6798
+ /**
6799
+ * Request method
6800
+ * @param options The request options from the service
6801
+ * @returns CancelablePromise<T>
6802
+ * @throws ApiError
6803
+ */
6804
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
6805
+ }
6806
+
6807
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, AvaxSupplyService, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CurrencyCode, DataApiUsageMetricsService, DefaultService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc721Contract, Erc721Token, Erc721TokenBalance, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
6808
+ 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 };