@avalabs/glacier-sdk 3.1.0-canary.b074965.0 → 3.1.0-canary.b29ab7b.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 (238) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.d.ts +678 -113
  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 +1 -1
  12. package/esm/generated/models/AccessRequest.d.ts +1 -1
  13. package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
  14. package/esm/generated/models/AddressActivityEventType.js +1 -0
  15. package/esm/generated/models/AddressActivityMetadata.d.ts +5 -5
  16. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  17. package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
  18. package/esm/generated/models/AssetAmount.d.ts +1 -1
  19. package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
  20. package/esm/generated/models/AvaxSupplyResponse.d.ts +48 -0
  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 +11 -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 +12 -0
  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/ContractDeploymentDetails.d.ts +1 -1
  37. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  38. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  39. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  40. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  41. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  42. package/esm/generated/models/ERCToken.d.ts +1 -1
  43. package/esm/generated/models/ERCTransfer.d.ts +1 -1
  44. package/esm/generated/models/EVMAddressActivityRequest.d.ts +2 -4
  45. package/esm/generated/models/EVMAddressActivityResponse.d.ts +3 -3
  46. package/esm/generated/models/EVMInput.d.ts +1 -1
  47. package/esm/generated/models/EVMOutput.d.ts +1 -1
  48. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  49. package/esm/generated/models/Erc1155Transfer.d.ts +6 -2
  50. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  51. package/esm/generated/models/Erc20Transfer.d.ts +6 -2
  52. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  53. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  54. package/esm/generated/models/Erc721Transfer.d.ts +6 -2
  55. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  56. package/esm/generated/models/EvmBlock.d.ts +10 -2
  57. package/esm/generated/models/EvmGenesisAllocDto.d.ts +16 -0
  58. package/esm/generated/models/EvmGenesisAllowListConfigDto.d.ts +20 -0
  59. package/esm/generated/models/EvmGenesisConfigDto.d.ts +96 -0
  60. package/esm/generated/models/EvmGenesisDto.d.ts +75 -0
  61. package/esm/generated/models/EvmGenesisFeeConfigDto.d.ts +36 -0
  62. package/esm/generated/models/EvmGenesisWarpConfigDto.d.ts +16 -0
  63. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  64. package/esm/generated/models/Forbidden.d.ts +1 -1
  65. package/esm/generated/models/FullNativeTransactionDetails.d.ts +10 -2
  66. package/esm/generated/models/Geolocation.d.ts +1 -1
  67. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  68. package/esm/generated/models/GetEvmBlockResponse.d.ts +10 -2
  69. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  70. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  71. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  72. package/esm/generated/models/GetTransactionResponse.d.ts +1 -1
  73. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  74. package/esm/generated/models/IcmDestinationTransaction.d.ts +1 -1
  75. package/esm/generated/models/IcmReceipt.d.ts +1 -1
  76. package/esm/generated/models/IcmSourceTransaction.d.ts +1 -1
  77. package/esm/generated/models/ImageAsset.d.ts +1 -1
  78. package/esm/generated/models/InternalServerError.d.ts +1 -1
  79. package/esm/generated/models/InternalTransaction.d.ts +21 -16
  80. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  81. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +1 -1
  82. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +1 -1
  83. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  84. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  85. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  86. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  87. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  88. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  89. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  90. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  91. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  92. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  93. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  94. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  95. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  96. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  97. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  98. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  99. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  100. package/esm/generated/models/ListIcmMessagesResponse.d.ts +3 -2
  101. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  102. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
  103. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  104. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  105. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  106. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  107. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  108. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  109. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  110. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  111. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  112. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  113. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  114. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  115. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  116. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  117. package/esm/generated/models/ListWebhooksResponse.d.ts +4 -3
  118. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  119. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  120. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  121. package/esm/generated/models/Log.d.ts +1 -1
  122. package/esm/generated/models/LogsFormat.d.ts +1 -1
  123. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  124. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  125. package/esm/generated/models/Method.d.ts +1 -1
  126. package/esm/generated/models/Metric.d.ts +1 -1
  127. package/esm/generated/models/Money.d.ts +1 -1
  128. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  129. package/esm/generated/models/NativeTransaction.d.ts +10 -2
  130. package/esm/generated/models/NetworkToken.d.ts +1 -1
  131. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  132. package/esm/generated/models/NetworkTokenInfo.d.ts +1 -1
  133. package/esm/generated/models/NextPageToken.d.ts +1 -1
  134. package/esm/generated/models/NotFound.d.ts +1 -1
  135. package/esm/generated/models/NotificationsResponse.d.ts +1 -1
  136. package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
  137. package/esm/generated/models/PChainBalance.d.ts +1 -1
  138. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  139. package/esm/generated/models/PChainTransaction.d.ts +7 -2
  140. package/esm/generated/models/PChainUtxo.d.ts +5 -1
  141. package/esm/generated/models/PendingReward.d.ts +1 -1
  142. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  143. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  144. package/esm/generated/models/PricingProviders.d.ts +1 -1
  145. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  146. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  147. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  148. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  149. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  150. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  151. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  152. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  153. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  154. package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
  155. package/esm/generated/models/{PlatformBalanceThresholdFilter.d.ts → PrimaryNetworkBalanceThresholdFilter.d.ts} +2 -2
  156. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  157. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  158. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  159. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  160. package/esm/generated/models/ResourceLink.d.ts +1 -1
  161. package/esm/generated/models/Rewards.d.ts +1 -1
  162. package/esm/generated/models/RichAddress.d.ts +1 -1
  163. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  164. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  165. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  166. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  167. package/esm/generated/models/SignatureAggregatorRequest.d.ts +22 -2
  168. package/esm/generated/models/StakingDistribution.d.ts +1 -1
  169. package/esm/generated/models/Subnet.d.ts +1 -1
  170. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  171. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  172. package/esm/generated/models/SubscribeRequest.d.ts +1 -1
  173. package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
  174. package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
  175. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  176. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  177. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  178. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  179. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  180. package/esm/generated/models/Transaction.d.ts +3 -3
  181. package/esm/generated/models/TransactionDetails.d.ts +1 -1
  182. package/esm/generated/models/TransactionEvent.d.ts +1 -1
  183. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  184. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  185. package/esm/generated/models/Unauthorized.d.ts +1 -1
  186. package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
  187. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  188. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  189. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  190. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  191. package/esm/generated/models/Utxo.d.ts +5 -1
  192. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  193. package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
  194. package/esm/generated/models/UtxosSortByOption.js +1 -0
  195. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  196. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  197. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  198. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  199. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  200. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  201. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  202. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  203. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  204. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  205. package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
  206. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  207. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  208. package/esm/generated/models/XChainBalances.d.ts +1 -1
  209. package/esm/generated/models/XChainId.d.ts +0 -1
  210. package/esm/generated/models/XChainId.js +1 -1
  211. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  212. package/esm/generated/models/XChainVertex.d.ts +1 -1
  213. package/esm/generated/services/AvaxSupplyService.d.ts +17 -0
  214. package/esm/generated/services/AvaxSupplyService.js +1 -0
  215. package/esm/generated/services/EvmBlocksService.d.ts +1 -1
  216. package/esm/generated/services/EvmChainsService.d.ts +1 -1
  217. package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
  218. package/esm/generated/services/HealthCheckService.d.ts +9 -2
  219. package/esm/generated/services/HealthCheckService.js +1 -1
  220. package/esm/generated/services/PrimaryNetworkService.d.ts +4 -4
  221. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  222. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +56 -1
  223. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  224. package/esm/generated/services/WebhooksService.d.ts +9 -7
  225. package/esm/index.d.ts +29 -8
  226. package/esm/index.js +1 -1
  227. package/package.json +5 -5
  228. package/esm/generated/models/EventType.d.ts +0 -7
  229. package/esm/generated/models/EventType.js +0 -1
  230. package/esm/generated/models/PlatformActivityKeyType.d.ts +0 -10
  231. package/esm/generated/models/PlatformActivityKeyType.js +0 -1
  232. package/esm/generated/models/PlatformActivityMetadata.d.ts +0 -37
  233. package/esm/generated/models/PlatformActivityRequest.d.ts +0 -31
  234. package/esm/generated/models/PlatformActivityRequest.js +0 -1
  235. package/esm/generated/models/PlatformActivityResponse.d.ts +0 -17
  236. package/esm/generated/models/PlatformActivitySubEvents.d.ts +0 -11
  237. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +0 -10
  238. package/esm/generated/models/PlatformAddressActivitySubEventType.js +0 -1
package/dist/index.d.ts CHANGED
@@ -54,6 +54,65 @@ declare abstract class BaseHttpRequest {
54
54
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
55
55
  }
56
56
 
57
+ type AvaxSupplyResponse = {
58
+ /**
59
+ * The circulating supply of AVAX.
60
+ */
61
+ circulatingSupply: string;
62
+ /**
63
+ * The total supply of AVAX.
64
+ */
65
+ totalSupply: string;
66
+ /**
67
+ * Represents the total amount of AVAX burned on the P-Chain. This value includes AVAX lost when the sum of input UTXOs exceeds the sum of output UTXOs—potentially by more than the expected transaction fee, such as in malformed or improperly constructed transactions—as well as all L1 validator fees that have been burned to date.
68
+ */
69
+ totalPBurned: string;
70
+ /**
71
+ * Represents the total amount of AVAX burned on the C-Chain. This value includes the total amount of AVAX burned on the C-Chain in evm txns and the total amount of AVAX burned on the C-Chain in atomic txns.
72
+ */
73
+ totalCBurned: string;
74
+ /**
75
+ * The total X-chain burned fees of AVAX.
76
+ */
77
+ totalXBurned: string;
78
+ /**
79
+ * The total staked AVAX.
80
+ */
81
+ totalStaked: string;
82
+ /**
83
+ * The total locked AVAX.
84
+ */
85
+ totalLocked: string;
86
+ /**
87
+ * The total rewards AVAX.
88
+ */
89
+ totalRewards: string;
90
+ /**
91
+ * The last updated time of the AVAX supply.
92
+ */
93
+ lastUpdated: string;
94
+ /**
95
+ * The genesis unlock amount of the AVAX supply.
96
+ */
97
+ genesisUnlock: string;
98
+ /**
99
+ * The total L1 validator fees of AVAX.
100
+ */
101
+ l1ValidatorFees: string;
102
+ };
103
+
104
+ declare class AvaxSupplyService {
105
+ readonly httpRequest: BaseHttpRequest;
106
+ constructor(httpRequest: BaseHttpRequest);
107
+ /**
108
+ * Get AVAX supply information
109
+ * Get AVAX supply information that includes total supply, circulating supply, total p burned, total c burned, total x burned, total staked, total locked, total rewards, and last updated.
110
+ * @returns AvaxSupplyResponse Successful response
111
+ * @throws ApiError
112
+ */
113
+ getAvaxSupply(): CancelablePromise<AvaxSupplyResponse>;
114
+ }
115
+
57
116
  type LogsFormatMetadata = {
58
117
  /**
59
118
  * The IP address of the client that made the request.
@@ -1092,9 +1151,17 @@ type GetEvmBlockResponse = {
1092
1151
  */
1093
1152
  blockNumber: string;
1094
1153
  /**
1095
- * The block finality timestamp.
1154
+ * The block creation (proposal) timestamp in seconds
1096
1155
  */
1097
1156
  blockTimestamp: number;
1157
+ /**
1158
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
1159
+ */
1160
+ blockTimestampMilliseconds?: number;
1161
+ /**
1162
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
1163
+ */
1164
+ blockMinDelayExcess?: number;
1098
1165
  /**
1099
1166
  * The block hash identifier.
1100
1167
  */
@@ -1140,9 +1207,17 @@ type EvmBlock = {
1140
1207
  */
1141
1208
  blockNumber: string;
1142
1209
  /**
1143
- * The block finality timestamp.
1210
+ * The block creation (proposal) timestamp in seconds
1144
1211
  */
1145
1212
  blockTimestamp: number;
1213
+ /**
1214
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
1215
+ */
1216
+ blockTimestampMilliseconds?: number;
1217
+ /**
1218
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
1219
+ */
1220
+ blockMinDelayExcess?: number;
1146
1221
  /**
1147
1222
  * The block hash identifier.
1148
1223
  */
@@ -1191,7 +1266,7 @@ declare class EvmBlocksService {
1191
1266
  constructor(httpRequest: BaseHttpRequest);
1192
1267
  /**
1193
1268
  * List latest blocks across all supported EVM chains
1194
- * Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
1269
+ * Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
1195
1270
  * @returns ListEvmBlocksResponse Successful response
1196
1271
  * @throws ApiError
1197
1272
  */
@@ -1390,9 +1465,17 @@ type NativeTransaction = {
1390
1465
  */
1391
1466
  blockNumber: string;
1392
1467
  /**
1393
- * The block finality timestamp.
1468
+ * The block creation (proposal) timestamp in seconds
1394
1469
  */
1395
1470
  blockTimestamp: number;
1471
+ /**
1472
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
1473
+ */
1474
+ blockTimestampMilliseconds?: number;
1475
+ /**
1476
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
1477
+ */
1478
+ blockMinDelayExcess?: number;
1396
1479
  /**
1397
1480
  * The block hash identifier.
1398
1481
  */
@@ -1457,7 +1540,7 @@ declare class EvmChainsService {
1457
1540
  constructor(httpRequest: BaseHttpRequest);
1458
1541
  /**
1459
1542
  * List all chains associated with a given address
1460
- * Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.
1543
+ * Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.
1461
1544
  * @returns ListAddressChainsResponse Successful response
1462
1545
  * @throws ApiError
1463
1546
  */
@@ -1981,9 +2064,17 @@ type FullNativeTransactionDetails = {
1981
2064
  */
1982
2065
  blockNumber: string;
1983
2066
  /**
1984
- * The block finality timestamp.
2067
+ * The block creation (proposal) timestamp in seconds
1985
2068
  */
1986
2069
  blockTimestamp: number;
2070
+ /**
2071
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2072
+ */
2073
+ blockTimestampMilliseconds?: number;
2074
+ /**
2075
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
2076
+ */
2077
+ blockMinDelayExcess?: number;
1987
2078
  /**
1988
2079
  * The block hash identifier.
1989
2080
  */
@@ -2084,11 +2175,11 @@ type TeleporterMessageInfo = {
2084
2175
  /**
2085
2176
  * chain id of the source chain. valid only for destination transactions
2086
2177
  */
2087
- sourceChainId?: Record<string, any>;
2178
+ sourceChainId?: string;
2088
2179
  /**
2089
2180
  * chain id of the destination chain. valid only for source transactions
2090
2181
  */
2091
- destinationChainId?: Record<string, any>;
2182
+ destinationChainId?: string;
2092
2183
  };
2093
2184
 
2094
2185
  type GetTransactionResponse = {
@@ -2130,9 +2221,13 @@ type Erc1155Transfer = {
2130
2221
  */
2131
2222
  blockNumber: string;
2132
2223
  /**
2133
- * The block finality timestamp.
2224
+ * The block creation (proposal) timestamp in seconds
2134
2225
  */
2135
2226
  blockTimestamp: number;
2227
+ /**
2228
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2229
+ */
2230
+ blockTimestampMilliseconds?: number;
2136
2231
  /**
2137
2232
  * The block hash identifier.
2138
2233
  */
@@ -2162,9 +2257,13 @@ type Erc20Transfer = {
2162
2257
  */
2163
2258
  blockNumber: string;
2164
2259
  /**
2165
- * The block finality timestamp.
2260
+ * The block creation (proposal) timestamp in seconds
2166
2261
  */
2167
2262
  blockTimestamp: number;
2263
+ /**
2264
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2265
+ */
2266
+ blockTimestampMilliseconds?: number;
2168
2267
  /**
2169
2268
  * The block hash identifier.
2170
2269
  */
@@ -2194,9 +2293,13 @@ type Erc721Transfer = {
2194
2293
  */
2195
2294
  blockNumber: string;
2196
2295
  /**
2197
- * The block finality timestamp.
2296
+ * The block creation (proposal) timestamp in seconds
2198
2297
  */
2199
2298
  blockTimestamp: number;
2299
+ /**
2300
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2301
+ */
2302
+ blockTimestampMilliseconds?: number;
2200
2303
  /**
2201
2304
  * The block hash identifier.
2202
2305
  */
@@ -2221,33 +2324,35 @@ type ListErc721TransactionsResponse = {
2221
2324
 
2222
2325
  type InternalTransaction = {
2223
2326
  /**
2224
- * Sender address
2327
+ * The block number on the chain.
2225
2328
  */
2226
- from: string;
2329
+ blockNumber: string;
2227
2330
  /**
2228
- * Recipient address
2331
+ * The block creation (proposal) timestamp in seconds
2229
2332
  */
2230
- to: string;
2333
+ blockTimestamp: number;
2231
2334
  /**
2232
- * Internal transaction type
2335
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
2233
2336
  */
2234
- internalTxType: string;
2337
+ blockTimestampMilliseconds?: number;
2235
2338
  /**
2236
- * Value transferred
2339
+ * The block hash identifier.
2237
2340
  */
2238
- value: string;
2341
+ blockHash: string;
2239
2342
  /**
2240
- * Gas used
2343
+ * The transaction hash identifier.
2241
2344
  */
2242
- gasUsed: string;
2345
+ txHash: string;
2346
+ from: RichAddress;
2347
+ to: RichAddress;
2348
+ internalTxType: InternalTransactionOpCall;
2349
+ value: string;
2243
2350
  /**
2244
- * Gas limit
2351
+ * True if the internal transaction was reverted.
2245
2352
  */
2353
+ isReverted: boolean;
2354
+ gasUsed: string;
2246
2355
  gasLimit: string;
2247
- /**
2248
- * Transaction hash
2249
- */
2250
- transactionHash: string;
2251
2356
  };
2252
2357
 
2253
2358
  type ListInternalTransactionsResponse = {
@@ -2307,7 +2412,7 @@ declare class EvmTransactionsService {
2307
2412
  constructor(httpRequest: BaseHttpRequest);
2308
2413
  /**
2309
2414
  * List the latest transactions across all supported EVM chains
2310
- * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
2415
+ * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
2311
2416
  * @returns ListNativeTransactionsResponse Successful response
2312
2417
  * @throws ApiError
2313
2418
  */
@@ -2706,11 +2811,18 @@ declare class HealthCheckService {
2706
2811
  constructor(httpRequest: BaseHttpRequest);
2707
2812
  /**
2708
2813
  * Get the health of the service
2709
- * Check the health of the service.
2710
- * @returns HealthCheckResultDto The health of the service
2814
+ * Check the health of the service. This checks the read and write health of the database and cache.
2815
+ * @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
2711
2816
  * @throws ApiError
2712
2817
  */
2713
2818
  dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
2819
+ /**
2820
+ * Get the liveliness of the service (reads only)
2821
+ * Check the liveliness of the service (reads only).
2822
+ * @returns HealthCheckResultDto The liveliness of the service (reads only)
2823
+ * @throws ApiError
2824
+ */
2825
+ liveCheck(): CancelablePromise<HealthCheckResultDto>;
2714
2826
  }
2715
2827
 
2716
2828
  type IcmDestinationTransaction = {
@@ -2844,7 +2956,7 @@ type ListIcmMessagesResponse = {
2844
2956
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2845
2957
  */
2846
2958
  nextPageToken?: string;
2847
- messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
2959
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
2848
2960
  };
2849
2961
 
2850
2962
  declare class InterchainMessagingService {
@@ -3140,7 +3252,7 @@ declare enum PrimaryNetworkOperationType {
3140
3252
  type PrimaryNetworkOptions = {
3141
3253
  addresses?: Array<string>;
3142
3254
  cChainEvmAddresses?: Array<string>;
3143
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
3255
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
3144
3256
  };
3145
3257
 
3146
3258
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -3228,6 +3340,252 @@ declare class OperationsService {
3228
3340
  }): CancelablePromise<OperationStatusResponse>;
3229
3341
  }
3230
3342
 
3343
+ type EvmGenesisAllocDto = {
3344
+ /**
3345
+ * Account balance in hex format
3346
+ */
3347
+ balance?: string;
3348
+ /**
3349
+ * Contract bytecode in hex format
3350
+ */
3351
+ code?: string;
3352
+ /**
3353
+ * Contract storage slots
3354
+ */
3355
+ storage?: Record<string, string>;
3356
+ };
3357
+
3358
+ type EvmGenesisAllowListConfigDto = {
3359
+ /**
3360
+ * Block timestamp
3361
+ */
3362
+ blockTimestamp?: number;
3363
+ /**
3364
+ * Admin addresses
3365
+ */
3366
+ adminAddresses?: Array<string>;
3367
+ /**
3368
+ * Manager addresses
3369
+ */
3370
+ managerAddresses?: Array<string>;
3371
+ /**
3372
+ * Enabled addresses
3373
+ */
3374
+ enabledAddresses?: Array<string>;
3375
+ };
3376
+
3377
+ type EvmGenesisFeeConfigDto = {
3378
+ /**
3379
+ * Base fee change denominator
3380
+ */
3381
+ baseFeeChangeDenominator?: number;
3382
+ /**
3383
+ * Block gas cost step
3384
+ */
3385
+ blockGasCostStep?: number;
3386
+ /**
3387
+ * Gas limit
3388
+ */
3389
+ gasLimit?: number;
3390
+ /**
3391
+ * Maximum block gas cost
3392
+ */
3393
+ maxBlockGasCost?: number;
3394
+ /**
3395
+ * Minimum base fee
3396
+ */
3397
+ minBaseFee?: number;
3398
+ /**
3399
+ * Minimum block gas cost
3400
+ */
3401
+ minBlockGasCost?: number;
3402
+ /**
3403
+ * Target block rate
3404
+ */
3405
+ targetBlockRate?: number;
3406
+ /**
3407
+ * Target gas
3408
+ */
3409
+ targetGas?: number;
3410
+ };
3411
+
3412
+ type EvmGenesisWarpConfigDto = {
3413
+ /**
3414
+ * Block timestamp
3415
+ */
3416
+ blockTimestamp?: number;
3417
+ /**
3418
+ * Quorum numerator
3419
+ */
3420
+ quorumNumerator?: number;
3421
+ /**
3422
+ * Require primary network signers
3423
+ */
3424
+ requirePrimaryNetworkSigners?: boolean;
3425
+ };
3426
+
3427
+ type EvmGenesisConfigDto = {
3428
+ /**
3429
+ * Berlin block number
3430
+ */
3431
+ berlinBlock?: number;
3432
+ /**
3433
+ * Byzantium block number
3434
+ */
3435
+ byzantiumBlock?: number;
3436
+ /**
3437
+ * Chain ID
3438
+ */
3439
+ chainId?: number;
3440
+ /**
3441
+ * Constantinople block number
3442
+ */
3443
+ constantinopleBlock?: number;
3444
+ /**
3445
+ * EIP-150 block number
3446
+ */
3447
+ eip150Block?: number;
3448
+ /**
3449
+ * EIP-150 hash
3450
+ */
3451
+ eip150Hash?: string;
3452
+ /**
3453
+ * EIP-155 block number
3454
+ */
3455
+ eip155Block?: number;
3456
+ /**
3457
+ * EIP-158 block number
3458
+ */
3459
+ eip158Block?: number;
3460
+ /**
3461
+ * Fee configuration
3462
+ */
3463
+ feeConfig?: EvmGenesisFeeConfigDto;
3464
+ /**
3465
+ * Homestead block number
3466
+ */
3467
+ homesteadBlock?: number;
3468
+ /**
3469
+ * Istanbul block number
3470
+ */
3471
+ istanbulBlock?: number;
3472
+ /**
3473
+ * London block number
3474
+ */
3475
+ londonBlock?: number;
3476
+ /**
3477
+ * Muir Glacier block number
3478
+ */
3479
+ muirGlacierBlock?: number;
3480
+ /**
3481
+ * Petersburg block number
3482
+ */
3483
+ petersburgBlock?: number;
3484
+ /**
3485
+ * Subnet EVM timestamp
3486
+ */
3487
+ subnetEVMTimestamp?: number;
3488
+ /**
3489
+ * Allow fee recipients
3490
+ */
3491
+ allowFeeRecipients?: boolean;
3492
+ /**
3493
+ * Warp configuration
3494
+ */
3495
+ warpConfig?: EvmGenesisWarpConfigDto;
3496
+ /**
3497
+ * Transaction allow list configuration
3498
+ */
3499
+ txAllowListConfig?: EvmGenesisAllowListConfigDto;
3500
+ /**
3501
+ * Contract deployer allow list configuration
3502
+ */
3503
+ contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
3504
+ /**
3505
+ * Contract native minter configuration
3506
+ */
3507
+ contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
3508
+ /**
3509
+ * Fee manager configuration
3510
+ */
3511
+ feeManagerConfig?: EvmGenesisAllowListConfigDto;
3512
+ /**
3513
+ * Reward manager configuration
3514
+ */
3515
+ rewardManagerConfig?: EvmGenesisAllowListConfigDto;
3516
+ };
3517
+
3518
+ type EvmGenesisDto = {
3519
+ /**
3520
+ * Airdrop amount
3521
+ */
3522
+ airdropAmount?: number | null;
3523
+ /**
3524
+ * Airdrop hash
3525
+ */
3526
+ airdropHash?: string;
3527
+ /**
3528
+ * Allocation of accounts and balances
3529
+ */
3530
+ alloc?: Record<string, EvmGenesisAllocDto>;
3531
+ /**
3532
+ * Base fee per gas
3533
+ */
3534
+ baseFeePerGas?: number | null;
3535
+ /**
3536
+ * Blob gas used
3537
+ */
3538
+ blobGasUsed?: string | null;
3539
+ /**
3540
+ * Coinbase address
3541
+ */
3542
+ coinbase?: string;
3543
+ /**
3544
+ * Genesis configuration
3545
+ */
3546
+ config?: EvmGenesisConfigDto;
3547
+ /**
3548
+ * Difficulty
3549
+ */
3550
+ difficulty?: string;
3551
+ /**
3552
+ * Excess blob gas
3553
+ */
3554
+ excessBlobGas?: string | null;
3555
+ /**
3556
+ * Extra data
3557
+ */
3558
+ extraData?: string;
3559
+ /**
3560
+ * Gas limit
3561
+ */
3562
+ gasLimit?: string;
3563
+ /**
3564
+ * Gas used
3565
+ */
3566
+ gasUsed?: string;
3567
+ /**
3568
+ * Mix hash
3569
+ */
3570
+ mixHash?: string;
3571
+ /**
3572
+ * Nonce
3573
+ */
3574
+ nonce?: string;
3575
+ /**
3576
+ * Block number
3577
+ */
3578
+ number?: string;
3579
+ /**
3580
+ * Parent hash
3581
+ */
3582
+ parentHash?: string;
3583
+ /**
3584
+ * Block timestamp
3585
+ */
3586
+ timestamp?: string;
3587
+ };
3588
+
3231
3589
  type Blockchain = {
3232
3590
  createBlockTimestamp: number;
3233
3591
  createBlockNumber: string;
@@ -3235,16 +3593,22 @@ type Blockchain = {
3235
3593
  vmId: string;
3236
3594
  subnetId: string;
3237
3595
  blockchainName: string;
3596
+ /**
3597
+ * EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well.
3598
+ */
3599
+ evmChainId?: number;
3600
+ /**
3601
+ * The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
3602
+ */
3603
+ genesisData?: (EvmGenesisDto | string);
3238
3604
  };
3239
3605
 
3240
3606
  declare enum BlockchainIds {
3241
3607
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3242
3608
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3243
3609
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3244
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3245
3610
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3246
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3247
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3611
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
3248
3612
  }
3249
3613
 
3250
3614
  type ChainAddressChainIdMap = {
@@ -3434,6 +3798,10 @@ type ListL1ValidatorsResponse = {
3434
3798
  * The list of L1 validations for the given Subnet ID, NodeId or validationId
3435
3799
  */
3436
3800
  validators: Array<L1ValidatorDetailsFull>;
3801
+ /**
3802
+ * Block height at which the L1 validator's remaining balance is calculated
3803
+ */
3804
+ blockHeight: string;
3437
3805
  };
3438
3806
 
3439
3807
  type L1ValidatorManagerDetails = {
@@ -3759,7 +4127,6 @@ type XChainAssetDetails = {
3759
4127
  declare enum XChainId {
3760
4128
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3761
4129
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3762
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3763
4130
  X_CHAIN = "x-chain"
3764
4131
  }
3765
4132
 
@@ -3830,7 +4197,7 @@ declare class PrimaryNetworkService {
3830
4197
  */
3831
4198
  pageToken?: string;
3832
4199
  /**
3833
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4200
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3834
4201
  */
3835
4202
  pageSize?: number;
3836
4203
  /**
@@ -3870,7 +4237,7 @@ declare class PrimaryNetworkService {
3870
4237
  */
3871
4238
  pageToken?: string;
3872
4239
  /**
3873
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4240
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
3874
4241
  */
3875
4242
  pageSize?: number;
3876
4243
  /**
@@ -3896,7 +4263,7 @@ declare class PrimaryNetworkService {
3896
4263
  }): CancelablePromise<Subnet>;
3897
4264
  /**
3898
4265
  * List validators
3899
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
4266
+ * Lists details for validators. By default, returns details for all validators. The nodeIds parameter supports substring matching. Filterable by validation status, delegation capacity, time remaining, fee percentage, uptime performance, and subnet id.
3900
4267
  * @returns ListValidatorDetailsResponse Successful response
3901
4268
  * @throws ApiError
3902
4269
  */
@@ -3914,7 +4281,7 @@ declare class PrimaryNetworkService {
3914
4281
  */
3915
4282
  pageSize?: number;
3916
4283
  /**
3917
- * A comma separated list of node ids to filter by.
4284
+ * A comma separated list of node ids to filter by. Supports substring matching.
3918
4285
  */
3919
4286
  nodeIds?: string;
3920
4287
  /**
@@ -4075,10 +4442,8 @@ declare enum BlockchainId {
4075
4442
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
4076
4443
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4077
4444
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
4078
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
4079
4445
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
4080
4446
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
4081
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
4082
4447
  P_CHAIN = "p-chain",
4083
4448
  X_CHAIN = "x-chain",
4084
4449
  C_CHAIN = "c-chain"
@@ -4668,6 +5033,10 @@ type Utxo = {
4668
5033
  * UTXO ID for this output.
4669
5034
  */
4670
5035
  utxoId: string;
5036
+ /**
5037
+ * The bytes of the UTXO
5038
+ */
5039
+ utxoBytes?: string;
4671
5040
  /**
4672
5041
  * Unix timestamp in seconds at which this output was consumed.
4673
5042
  */
@@ -4836,6 +5205,15 @@ type ListCChainAtomicTransactionsResponse = {
4836
5205
  chainInfo: PrimaryNetworkChainInfo;
4837
5206
  };
4838
5207
 
5208
+ type BlockchainInfo = {
5209
+ chainName: string;
5210
+ vmId: string;
5211
+ /**
5212
+ * The genesis data of the blockchain. Present for CreateChainTx. EVM based chains will return the genesis data as an object. Non-EVM based chains will return the genesis data as an encoded string. The encoding depends on the VM
5213
+ */
5214
+ genesisData?: (EvmGenesisDto | string);
5215
+ };
5216
+
4839
5217
  type L1ValidatorDetailsTransaction = {
4840
5218
  /**
4841
5219
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
@@ -4916,6 +5294,10 @@ type PChainUtxo = {
4916
5294
  * UTXO ID for this output.
4917
5295
  */
4918
5296
  utxoId: string;
5297
+ /**
5298
+ * The bytes of the UTXO
5299
+ */
5300
+ utxoBytes?: string;
4919
5301
  /**
4920
5302
  * @deprecated
4921
5303
  */
@@ -4974,7 +5356,7 @@ type PChainTransaction = {
4974
5356
  txHash: string;
4975
5357
  txType: PChainTransactionType;
4976
5358
  /**
4977
- * The block finality timestamp.
5359
+ * The block creation (proposal) timestamp in seconds
4978
5360
  */
4979
5361
  blockTimestamp: number;
4980
5362
  /**
@@ -5064,6 +5446,10 @@ type PChainTransaction = {
5064
5446
  * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
5065
5447
  */
5066
5448
  blsCredentials?: BlsCredentials;
5449
+ /**
5450
+ * Details of the blockchain that was created in the CreateChainTx
5451
+ */
5452
+ blockchainInfo?: BlockchainInfo;
5067
5453
  };
5068
5454
 
5069
5455
  type ListPChainTransactionsResponse = {
@@ -5434,6 +5820,18 @@ type ListUtxosResponse = {
5434
5820
  chainInfo: PrimaryNetworkChainInfo;
5435
5821
  };
5436
5822
 
5823
+ type PrimaryNetworkAddressesBodyDto = {
5824
+ /**
5825
+ * Comma-separated list of primary network addresses
5826
+ */
5827
+ addresses: string;
5828
+ };
5829
+
5830
+ declare enum UtxosSortByOption {
5831
+ TIMESTAMP = "timestamp",
5832
+ AMOUNT = "amount"
5833
+ }
5834
+
5437
5835
  declare class PrimaryNetworkUtxOsService {
5438
5836
  readonly httpRequest: BaseHttpRequest;
5439
5837
  constructor(httpRequest: BaseHttpRequest);
@@ -5443,7 +5841,7 @@ declare class PrimaryNetworkUtxOsService {
5443
5841
  * @returns any Successful response
5444
5842
  * @throws ApiError
5445
5843
  */
5446
- getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
5844
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
5447
5845
  /**
5448
5846
  * A primary network blockchain id or alias.
5449
5847
  */
@@ -5468,10 +5866,63 @@ declare class PrimaryNetworkUtxOsService {
5468
5866
  * Asset ID for any asset (only applicable X-Chain)
5469
5867
  */
5470
5868
  assetId?: string;
5869
+ /**
5870
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5871
+ */
5872
+ minUtxoAmount?: number;
5471
5873
  /**
5472
5874
  * Boolean filter to include spent UTXOs.
5473
5875
  */
5474
5876
  includeSpent?: boolean;
5877
+ /**
5878
+ * Which property to sort by, in conjunction with sortOrder.
5879
+ */
5880
+ sortBy?: UtxosSortByOption;
5881
+ /**
5882
+ * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
5883
+ */
5884
+ sortOrder?: SortOrder;
5885
+ }): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
5886
+ /**
5887
+ * List UTXOs v2 - Supports querying for more addresses
5888
+ * Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
5889
+ * @returns any Successful response
5890
+ * @throws ApiError
5891
+ */
5892
+ getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
5893
+ /**
5894
+ * A primary network blockchain id or alias.
5895
+ */
5896
+ blockchainId: BlockchainId;
5897
+ /**
5898
+ * Either mainnet or testnet/fuji.
5899
+ */
5900
+ network: Network;
5901
+ requestBody: PrimaryNetworkAddressesBodyDto;
5902
+ /**
5903
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
5904
+ */
5905
+ pageToken?: string;
5906
+ /**
5907
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
5908
+ */
5909
+ pageSize?: number;
5910
+ /**
5911
+ * Asset ID for any asset (only applicable X-Chain)
5912
+ */
5913
+ assetId?: string;
5914
+ /**
5915
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
5916
+ */
5917
+ minUtxoAmount?: number;
5918
+ /**
5919
+ * Boolean filter to include spent UTXOs.
5920
+ */
5921
+ includeSpent?: boolean;
5922
+ /**
5923
+ * Which property to sort by, in conjunction with sortOrder.
5924
+ */
5925
+ sortBy?: UtxosSortByOption;
5475
5926
  /**
5476
5927
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
5477
5928
  */
@@ -5585,10 +6036,30 @@ type SignatureAggregationResponse = {
5585
6036
  };
5586
6037
 
5587
6038
  type SignatureAggregatorRequest = {
5588
- message: string;
6039
+ /**
6040
+ * Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with "0x"
6041
+ */
6042
+ message?: string;
6043
+ /**
6044
+ * Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with "0x"
6045
+ */
5589
6046
  justification?: string;
6047
+ /**
6048
+ * Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.
6049
+ */
5590
6050
  signingSubnetId?: string;
6051
+ /**
6052
+ * Optional. Integer from 0 to 100 representing the percentage of the weight of the signing Subnet that is required to sign the message. Defaults to 67 if omitted.
6053
+ */
5591
6054
  quorumPercentage?: number;
6055
+ /**
6056
+ * Optional. Integer from 0 to 100 representing the additional percentage of weight of the signing Subnet that will be attempted to add to the signature. QuorumPercentage+QuorumPercentageBuffer must be less than or equal to 100. Obtaining signatures from more validators can take a longer time, but signatures representing a large percentage of the Subnet weight are less prone to become invalid due to validator weight changes. Defaults to 0 if omitted.
6057
+ */
6058
+ quorumPercentageBuffer?: number;
6059
+ /**
6060
+ * Optional P-Chain height for validator set selection. If 0 (default), validators at proposed height will be used. If non-zero, validators at the specified P-Chain height will be used for signature aggregation.
6061
+ */
6062
+ pChainHeight?: number;
5592
6063
  };
5593
6064
 
5594
6065
  declare class SignatureAggregatorService {
@@ -5756,7 +6227,7 @@ type ListTeleporterMessagesResponse = {
5756
6227
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5757
6228
  */
5758
6229
  nextPageToken?: string;
5759
- messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
6230
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
5760
6231
  };
5761
6232
 
5762
6233
  declare class TeleporterService {
@@ -5854,28 +6325,23 @@ type AddressesChangeRequest = {
5854
6325
  };
5855
6326
 
5856
6327
  type AddressActivityMetadata = {
5857
- /**
5858
- * Ethereum address(es) for the address_activity event type
5859
- */
5860
- addresses: Array<string>;
5861
6328
  /**
5862
6329
  * Array of hexadecimal strings of the event signatures.
5863
6330
  */
5864
6331
  eventSignatures?: Array<string>;
6332
+ /**
6333
+ * Ethereum address(es) for the address_activity event type. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
6334
+ */
6335
+ addresses: Array<string>;
5865
6336
  };
5866
6337
 
5867
- declare enum PrimaryNetworkType {
5868
- MAINNET = "mainnet",
5869
- FUJI = "fuji"
5870
- }
5871
-
5872
6338
  type EVMAddressActivityRequest = {
5873
6339
  eventType: EVMAddressActivityRequest.eventType;
5874
6340
  url: string;
5875
- chainId: string;
5876
- network?: PrimaryNetworkType;
5877
6341
  name?: string;
5878
6342
  description?: string;
6343
+ chainId: string;
6344
+ metadata: AddressActivityMetadata;
5879
6345
  /**
5880
6346
  * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5881
6347
  */
@@ -5884,7 +6350,6 @@ type EVMAddressActivityRequest = {
5884
6350
  * Whether to include logs in the webhook payload.
5885
6351
  */
5886
6352
  includeLogs?: boolean;
5887
- metadata: AddressActivityMetadata;
5888
6353
  };
5889
6354
  declare namespace EVMAddressActivityRequest {
5890
6355
  enum eventType {
@@ -5892,10 +6357,8 @@ declare namespace EVMAddressActivityRequest {
5892
6357
  }
5893
6358
  }
5894
6359
 
5895
- declare enum EventType {
5896
- ADDRESS_ACTIVITY = "address_activity",
5897
- PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
5898
- VALIDATOR_ACTIVITY = "validator_activity"
6360
+ declare enum AddressActivityEventType {
6361
+ ADDRESS_ACTIVITY = "address_activity"
5899
6362
  }
5900
6363
 
5901
6364
  declare enum WebhookStatusType {
@@ -5905,13 +6368,13 @@ declare enum WebhookStatusType {
5905
6368
 
5906
6369
  type EVMAddressActivityResponse = {
5907
6370
  id: string;
5908
- eventType: EventType;
5909
6371
  url: string;
5910
6372
  chainId: string;
5911
6373
  status: WebhookStatusType;
5912
6374
  createdAt: number;
5913
6375
  name: string;
5914
6376
  description: string;
6377
+ eventType: AddressActivityEventType;
5915
6378
  metadata: AddressActivityMetadata;
5916
6379
  /**
5917
6380
  * Whether to include traces in the webhook payload.
@@ -5932,30 +6395,28 @@ type ListWebhookAddressesResponse = {
5932
6395
  totalAddresses: number;
5933
6396
  };
5934
6397
 
6398
+ declare enum PrimaryNetworkAddressActivityEventType {
6399
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6400
+ }
6401
+
5935
6402
  /**
5936
- * The type of key for platform activity depending on the event type
6403
+ * The type of key to monitor for the address activity event type.
5937
6404
  */
5938
- declare enum PlatformActivityKeyType {
5939
- ADDRESSES = "addresses",
5940
- NODE_ID = "nodeId",
5941
- SUBNET_ID = "subnetId"
6405
+ declare enum PlatformAddressActivityKeyType {
6406
+ ADDRESSES = "addresses"
5942
6407
  }
5943
6408
 
5944
6409
  /**
5945
6410
  * Array of address activity sub-event types
5946
6411
  */
5947
- declare enum PlatformAddressActivitySubEventType {
5948
- BALANCE_CHANGE_PLATFORM = "balance_change_platform",
5949
- BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
6412
+ declare enum PrimaryNetworkAddressActivitySubEventType {
6413
+ BALANCE_CHANGE = "balance_change",
6414
+ BALANCE_THRESHOLD = "balance_threshold",
5950
6415
  REWARD_DISTRIBUTION = "reward_distribution"
5951
6416
  }
5952
6417
 
5953
- type PlatformActivitySubEvents = {
5954
- /**
5955
- * Array of validator activity sub-event types
5956
- */
5957
- validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
5958
- addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
6418
+ type PrimaryNetworkAddressActivitySubEvents = {
6419
+ addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
5959
6420
  };
5960
6421
 
5961
6422
  /**
@@ -5974,7 +6435,7 @@ declare enum CommonBalanceType {
5974
6435
  ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5975
6436
  }
5976
6437
 
5977
- type PlatformBalanceThresholdFilter = {
6438
+ type PrimaryNetworkBalanceThresholdFilter = {
5978
6439
  balanceType: CommonBalanceType;
5979
6440
  /**
5980
6441
  * Threshold for balance corresponding to balanceType in nAVAX
@@ -5982,20 +6443,71 @@ type PlatformBalanceThresholdFilter = {
5982
6443
  balanceThreshold: string;
5983
6444
  };
5984
6445
 
5985
- type PlatformActivityMetadata = {
5986
- keyType: PlatformActivityKeyType;
6446
+ type PrimaryNetworkAddressActivityMetadata = {
6447
+ /**
6448
+ * Array of hexadecimal strings of the event signatures.
6449
+ */
6450
+ eventSignatures?: Array<string>;
6451
+ keyType: PlatformAddressActivityKeyType;
5987
6452
  /**
5988
- * 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
6453
+ * Array of keys like addresses corresponding to the keyType being monitored. For PrimaryNetworkAddressActivity event, an array of multiple addresses can be provided. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
5989
6454
  */
5990
6455
  keys: Array<string>;
5991
6456
  /**
5992
6457
  * Sub-events to monitor
5993
6458
  */
5994
- subEvents?: PlatformActivitySubEvents;
6459
+ subEvents: PrimaryNetworkAddressActivitySubEvents;
6460
+ /**
6461
+ * Balance threshold filter
6462
+ */
6463
+ balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
6464
+ };
6465
+
6466
+ type PrimaryNetworkAddressActivityResponse = {
6467
+ id: string;
6468
+ url: string;
6469
+ chainId: string;
6470
+ status: WebhookStatusType;
6471
+ createdAt: number;
6472
+ name: string;
6473
+ description: string;
6474
+ eventType: PrimaryNetworkAddressActivityEventType;
6475
+ metadata: PrimaryNetworkAddressActivityMetadata;
6476
+ };
6477
+
6478
+ declare enum ValidatorActivityEventType {
6479
+ VALIDATOR_ACTIVITY = "validator_activity"
6480
+ }
6481
+
6482
+ /**
6483
+ * The type of key to monitor for the validator activity event type.
6484
+ */
6485
+ declare enum ValidatorActivityKeyType {
6486
+ NODE_ID = "nodeId",
6487
+ SUBNET_ID = "subnetId"
6488
+ }
6489
+
6490
+ type ValidatorActivitySubEvents = {
6491
+ /**
6492
+ * Array of validator activity sub-event types
6493
+ */
6494
+ validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
6495
+ };
6496
+
6497
+ type ValidatorActivityMetadata = {
5995
6498
  /**
5996
6499
  * Array of hexadecimal strings of the event signatures.
5997
6500
  */
5998
6501
  eventSignatures?: Array<string>;
6502
+ keyType: ValidatorActivityKeyType;
6503
+ /**
6504
+ * Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
6505
+ */
6506
+ keys: Array<string>;
6507
+ /**
6508
+ * Sub-events to monitor
6509
+ */
6510
+ subEvents: ValidatorActivitySubEvents;
5999
6511
  /**
6000
6512
  * Array of node IDs to filter the events
6001
6513
  */
@@ -6004,26 +6516,22 @@ type PlatformActivityMetadata = {
6004
6516
  * Array of subnet IDs to filter the events
6005
6517
  */
6006
6518
  subnetIds?: Array<string>;
6007
- /**
6008
- * Balance threshold filter
6009
- */
6010
- balanceThresholdFilter?: PlatformBalanceThresholdFilter;
6011
6519
  /**
6012
6520
  * L1 validator fee balance threshold in nAVAX
6013
6521
  */
6014
6522
  l1ValidatorFeeBalanceThreshold?: string;
6015
6523
  };
6016
6524
 
6017
- type PlatformActivityResponse = {
6525
+ type ValidatorActivityResponse = {
6018
6526
  id: string;
6019
- eventType: EventType;
6020
6527
  url: string;
6021
6528
  chainId: string;
6022
6529
  status: WebhookStatusType;
6023
6530
  createdAt: number;
6024
6531
  name: string;
6025
6532
  description: string;
6026
- metadata: PlatformActivityMetadata;
6533
+ eventType: ValidatorActivityEventType;
6534
+ metadata: ValidatorActivityMetadata;
6027
6535
  };
6028
6536
 
6029
6537
  type ListWebhooksResponse = {
@@ -6031,33 +6539,29 @@ type ListWebhooksResponse = {
6031
6539
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
6032
6540
  */
6033
6541
  nextPageToken?: string;
6034
- webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6542
+ webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6035
6543
  };
6036
6544
 
6037
- type PlatformActivityRequest = {
6038
- eventType: PlatformActivityRequest.eventType;
6545
+ declare enum PrimaryNetworkType {
6546
+ MAINNET = "mainnet",
6547
+ FUJI = "fuji"
6548
+ }
6549
+
6550
+ type PrimaryNetworkAddressActivityRequest = {
6551
+ eventType: PrimaryNetworkAddressActivityRequest.eventType;
6039
6552
  url: string;
6040
- chainId: string;
6041
- network?: PrimaryNetworkType;
6042
6553
  name?: string;
6043
6554
  description?: string;
6555
+ network: PrimaryNetworkType;
6556
+ chainId: string;
6044
6557
  /**
6045
- * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6046
- */
6047
- includeInternalTxs?: boolean;
6048
- /**
6049
- * Whether to include logs in the webhook payload.
6050
- */
6051
- includeLogs?: boolean;
6052
- /**
6053
- * Metadata for platform activity
6558
+ * Metadata for platform address activity event
6054
6559
  */
6055
- metadata: PlatformActivityMetadata;
6560
+ metadata: PrimaryNetworkAddressActivityMetadata;
6056
6561
  };
6057
- declare namespace PlatformActivityRequest {
6562
+ declare namespace PrimaryNetworkAddressActivityRequest {
6058
6563
  enum eventType {
6059
- PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
6060
- VALIDATOR_ACTIVITY = "validator_activity"
6564
+ PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
6061
6565
  }
6062
6566
  }
6063
6567
 
@@ -6077,6 +6581,23 @@ type UpdateWebhookRequest = {
6077
6581
  includeLogs?: boolean;
6078
6582
  };
6079
6583
 
6584
+ type ValidatorActivityRequest = {
6585
+ eventType: ValidatorActivityRequest.eventType;
6586
+ url: string;
6587
+ name?: string;
6588
+ description?: string;
6589
+ network: PrimaryNetworkType;
6590
+ /**
6591
+ * Metadata for platform validator activity event
6592
+ */
6593
+ metadata: ValidatorActivityMetadata;
6594
+ };
6595
+ declare namespace ValidatorActivityRequest {
6596
+ enum eventType {
6597
+ VALIDATOR_ACTIVITY = "validator_activity"
6598
+ }
6599
+ }
6600
+
6080
6601
  declare enum WebhookStatus {
6081
6602
  ACTIVE = "active",
6082
6603
  INACTIVE = "inactive"
@@ -6092,8 +6613,8 @@ declare class WebhooksService {
6092
6613
  * @throws ApiError
6093
6614
  */
6094
6615
  createWebhook({ requestBody, }: {
6095
- requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
6096
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6616
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
6617
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6097
6618
  /**
6098
6619
  * List webhooks
6099
6620
  * Lists webhooks for the user.
@@ -6125,7 +6646,7 @@ declare class WebhooksService {
6125
6646
  * The webhook identifier.
6126
6647
  */
6127
6648
  id: string;
6128
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6649
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6129
6650
  /**
6130
6651
  * Deactivate a webhook
6131
6652
  * Deactivates a webhook by ID.
@@ -6137,7 +6658,7 @@ declare class WebhooksService {
6137
6658
  * The webhook identifier.
6138
6659
  */
6139
6660
  id: string;
6140
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6661
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6141
6662
  /**
6142
6663
  * Update a webhook
6143
6664
  * Updates an existing webhook.
@@ -6150,7 +6671,7 @@ declare class WebhooksService {
6150
6671
  */
6151
6672
  id: string;
6152
6673
  requestBody: UpdateWebhookRequest;
6153
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6674
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
6154
6675
  /**
6155
6676
  * Generate or rotate a shared secret
6156
6677
  * Generates a new shared secret or rotate an existing one.
@@ -6215,6 +6736,7 @@ declare class WebhooksService {
6215
6736
 
6216
6737
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
6217
6738
  declare class Glacier {
6739
+ readonly avaxSupply: AvaxSupplyService;
6218
6740
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
6219
6741
  readonly default: DefaultService;
6220
6742
  readonly evmBalances: EvmBalancesService;
@@ -6513,6 +7035,37 @@ type TooManyRequests = {
6513
7035
  error: string;
6514
7036
  };
6515
7037
 
7038
+ type WebhookInternalTransaction = {
7039
+ /**
7040
+ * Sender address
7041
+ */
7042
+ from: string;
7043
+ /**
7044
+ * Recipient address
7045
+ */
7046
+ to: string;
7047
+ /**
7048
+ * Internal transaction type
7049
+ */
7050
+ internalTxType: string;
7051
+ /**
7052
+ * Value transferred
7053
+ */
7054
+ value: string;
7055
+ /**
7056
+ * Gas used
7057
+ */
7058
+ gasUsed: string;
7059
+ /**
7060
+ * Gas limit
7061
+ */
7062
+ gasLimit: string;
7063
+ /**
7064
+ * Transaction hash
7065
+ */
7066
+ transactionHash: string;
7067
+ };
7068
+
6516
7069
  type Transaction = {
6517
7070
  /**
6518
7071
  * Block hash of the transaction
@@ -6617,7 +7170,7 @@ type Transaction = {
6617
7170
  /**
6618
7171
  * Internal transactions (optional)
6619
7172
  */
6620
- internalTransactions?: Array<InternalTransaction>;
7173
+ internalTransactions?: Array<WebhookInternalTransaction>;
6621
7174
  /**
6622
7175
  * Access list (optional)
6623
7176
  */
@@ -6681,4 +7234,16 @@ declare namespace WebhookAddressActivityResponse {
6681
7234
  }
6682
7235
  }
6683
7236
 
6684
- export { AccessListData, AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, ERCToken, ERCTransfer, 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, Geolocation, 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, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, 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, Transaction, TransactionDetails, TransactionDirectionType, TransactionEvent, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
7237
+ declare class FetchHttpRequest extends BaseHttpRequest {
7238
+ constructor(config: OpenAPIConfig);
7239
+ /**
7240
+ * Request method
7241
+ * @param options The request options from the service
7242
+ * @returns CancelablePromise<T>
7243
+ * @throws ApiError
7244
+ */
7245
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
7246
+ }
7247
+
7248
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, AvaxSupplyService, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CurrencyCode, DataApiUsageMetricsService, DefaultService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc721Contract, Erc721Token, Erc721TokenBalance, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, UtxosSortByOption, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
7249
+ export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, AvaxSupplyResponse, BadGateway, BadRequest, BalanceOwner, Blockchain, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmGenesisAllocDto, EvmGenesisAllowListConfigDto, EvmGenesisConfigDto, EvmGenesisDto, EvmGenesisFeeConfigDto, EvmGenesisWarpConfigDto, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PricingProviders, PrimaryNetworkAddressActivityMetadata, PrimaryNetworkAddressActivityResponse, PrimaryNetworkAddressActivitySubEvents, PrimaryNetworkAddressesBodyDto, PrimaryNetworkBalanceThresholdFilter, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorActivityMetadata, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };