@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
@@ -0,0 +1,20 @@
1
+ type EvmGenesisAllowListConfigDto = {
2
+ /**
3
+ * Block timestamp
4
+ */
5
+ blockTimestamp?: number;
6
+ /**
7
+ * Admin addresses
8
+ */
9
+ adminAddresses?: Array<string>;
10
+ /**
11
+ * Manager addresses
12
+ */
13
+ managerAddresses?: Array<string>;
14
+ /**
15
+ * Enabled addresses
16
+ */
17
+ enabledAddresses?: Array<string>;
18
+ };
19
+
20
+ export type { EvmGenesisAllowListConfigDto };
@@ -0,0 +1,96 @@
1
+ import { EvmGenesisAllowListConfigDto } from './EvmGenesisAllowListConfigDto.js';
2
+ import { EvmGenesisFeeConfigDto } from './EvmGenesisFeeConfigDto.js';
3
+ import { EvmGenesisWarpConfigDto } from './EvmGenesisWarpConfigDto.js';
4
+
5
+ type EvmGenesisConfigDto = {
6
+ /**
7
+ * Berlin block number
8
+ */
9
+ berlinBlock?: number;
10
+ /**
11
+ * Byzantium block number
12
+ */
13
+ byzantiumBlock?: number;
14
+ /**
15
+ * Chain ID
16
+ */
17
+ chainId?: number;
18
+ /**
19
+ * Constantinople block number
20
+ */
21
+ constantinopleBlock?: number;
22
+ /**
23
+ * EIP-150 block number
24
+ */
25
+ eip150Block?: number;
26
+ /**
27
+ * EIP-150 hash
28
+ */
29
+ eip150Hash?: string;
30
+ /**
31
+ * EIP-155 block number
32
+ */
33
+ eip155Block?: number;
34
+ /**
35
+ * EIP-158 block number
36
+ */
37
+ eip158Block?: number;
38
+ /**
39
+ * Fee configuration
40
+ */
41
+ feeConfig?: EvmGenesisFeeConfigDto;
42
+ /**
43
+ * Homestead block number
44
+ */
45
+ homesteadBlock?: number;
46
+ /**
47
+ * Istanbul block number
48
+ */
49
+ istanbulBlock?: number;
50
+ /**
51
+ * London block number
52
+ */
53
+ londonBlock?: number;
54
+ /**
55
+ * Muir Glacier block number
56
+ */
57
+ muirGlacierBlock?: number;
58
+ /**
59
+ * Petersburg block number
60
+ */
61
+ petersburgBlock?: number;
62
+ /**
63
+ * Subnet EVM timestamp
64
+ */
65
+ subnetEVMTimestamp?: number;
66
+ /**
67
+ * Allow fee recipients
68
+ */
69
+ allowFeeRecipients?: boolean;
70
+ /**
71
+ * Warp configuration
72
+ */
73
+ warpConfig?: EvmGenesisWarpConfigDto;
74
+ /**
75
+ * Transaction allow list configuration
76
+ */
77
+ txAllowListConfig?: EvmGenesisAllowListConfigDto;
78
+ /**
79
+ * Contract deployer allow list configuration
80
+ */
81
+ contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
82
+ /**
83
+ * Contract native minter configuration
84
+ */
85
+ contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
86
+ /**
87
+ * Fee manager configuration
88
+ */
89
+ feeManagerConfig?: EvmGenesisAllowListConfigDto;
90
+ /**
91
+ * Reward manager configuration
92
+ */
93
+ rewardManagerConfig?: EvmGenesisAllowListConfigDto;
94
+ };
95
+
96
+ export type { EvmGenesisConfigDto };
@@ -0,0 +1,75 @@
1
+ import { EvmGenesisAllocDto } from './EvmGenesisAllocDto.js';
2
+ import { EvmGenesisConfigDto } from './EvmGenesisConfigDto.js';
3
+
4
+ type EvmGenesisDto = {
5
+ /**
6
+ * Airdrop amount
7
+ */
8
+ airdropAmount?: number | null;
9
+ /**
10
+ * Airdrop hash
11
+ */
12
+ airdropHash?: string;
13
+ /**
14
+ * Allocation of accounts and balances
15
+ */
16
+ alloc?: Record<string, EvmGenesisAllocDto>;
17
+ /**
18
+ * Base fee per gas
19
+ */
20
+ baseFeePerGas?: number | null;
21
+ /**
22
+ * Blob gas used
23
+ */
24
+ blobGasUsed?: string | null;
25
+ /**
26
+ * Coinbase address
27
+ */
28
+ coinbase?: string;
29
+ /**
30
+ * Genesis configuration
31
+ */
32
+ config?: EvmGenesisConfigDto;
33
+ /**
34
+ * Difficulty
35
+ */
36
+ difficulty?: string;
37
+ /**
38
+ * Excess blob gas
39
+ */
40
+ excessBlobGas?: string | null;
41
+ /**
42
+ * Extra data
43
+ */
44
+ extraData?: string;
45
+ /**
46
+ * Gas limit
47
+ */
48
+ gasLimit?: string;
49
+ /**
50
+ * Gas used
51
+ */
52
+ gasUsed?: string;
53
+ /**
54
+ * Mix hash
55
+ */
56
+ mixHash?: string;
57
+ /**
58
+ * Nonce
59
+ */
60
+ nonce?: string;
61
+ /**
62
+ * Block number
63
+ */
64
+ number?: string;
65
+ /**
66
+ * Parent hash
67
+ */
68
+ parentHash?: string;
69
+ /**
70
+ * Block timestamp
71
+ */
72
+ timestamp?: string;
73
+ };
74
+
75
+ export type { EvmGenesisDto };
@@ -0,0 +1,36 @@
1
+ type EvmGenesisFeeConfigDto = {
2
+ /**
3
+ * Base fee change denominator
4
+ */
5
+ baseFeeChangeDenominator?: number;
6
+ /**
7
+ * Block gas cost step
8
+ */
9
+ blockGasCostStep?: number;
10
+ /**
11
+ * Gas limit
12
+ */
13
+ gasLimit?: number;
14
+ /**
15
+ * Maximum block gas cost
16
+ */
17
+ maxBlockGasCost?: number;
18
+ /**
19
+ * Minimum base fee
20
+ */
21
+ minBaseFee?: number;
22
+ /**
23
+ * Minimum block gas cost
24
+ */
25
+ minBlockGasCost?: number;
26
+ /**
27
+ * Target block rate
28
+ */
29
+ targetBlockRate?: number;
30
+ /**
31
+ * Target gas
32
+ */
33
+ targetGas?: number;
34
+ };
35
+
36
+ export type { EvmGenesisFeeConfigDto };
@@ -0,0 +1,16 @@
1
+ type EvmGenesisWarpConfigDto = {
2
+ /**
3
+ * Block timestamp
4
+ */
5
+ blockTimestamp?: number;
6
+ /**
7
+ * Quorum numerator
8
+ */
9
+ quorumNumerator?: number;
10
+ /**
11
+ * Require primary network signers
12
+ */
13
+ requirePrimaryNetworkSigners?: boolean;
14
+ };
15
+
16
+ export type { EvmGenesisWarpConfigDto };
@@ -3,4 +3,4 @@ type EvmNetworkOptions = {
3
3
  includeChains: Array<string>;
4
4
  };
5
5
 
6
- export { EvmNetworkOptions };
6
+ export type { EvmNetworkOptions };
@@ -13,4 +13,4 @@ type Forbidden = {
13
13
  error: string;
14
14
  };
15
15
 
16
- export { Forbidden };
16
+ export type { Forbidden };
@@ -7,9 +7,17 @@ type FullNativeTransactionDetails = {
7
7
  */
8
8
  blockNumber: string;
9
9
  /**
10
- * The block finality timestamp.
10
+ * The block creation (proposal) timestamp in seconds
11
11
  */
12
12
  blockTimestamp: number;
13
+ /**
14
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
15
+ */
16
+ blockTimestampMilliseconds?: number;
17
+ /**
18
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
19
+ */
20
+ blockMinDelayExcess?: number;
13
21
  /**
14
22
  * The block hash identifier.
15
23
  */
@@ -63,4 +71,4 @@ type FullNativeTransactionDetails = {
63
71
  maxPriorityFeePerGas?: string;
64
72
  };
65
73
 
66
- export { FullNativeTransactionDetails };
74
+ export type { FullNativeTransactionDetails };
@@ -21,4 +21,4 @@ type Geolocation = {
21
21
  longitude: number;
22
22
  };
23
23
 
24
- export { Geolocation };
24
+ export type { Geolocation };
@@ -23,4 +23,4 @@ type GetChainResponse = {
23
23
  enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
24
24
  };
25
25
 
26
- export { GetChainResponse };
26
+ export type { GetChainResponse };
@@ -8,9 +8,17 @@ type GetEvmBlockResponse = {
8
8
  */
9
9
  blockNumber: string;
10
10
  /**
11
- * The block finality timestamp.
11
+ * The block creation (proposal) timestamp in seconds
12
12
  */
13
13
  blockTimestamp: number;
14
+ /**
15
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
16
+ */
17
+ blockTimestampMilliseconds?: number;
18
+ /**
19
+ * Minimum block delay in milliseconds. Available only after Granite upgrade.
20
+ */
21
+ blockMinDelayExcess?: number;
14
22
  /**
15
23
  * The block hash identifier.
16
24
  */
@@ -46,4 +54,4 @@ type GetEvmBlockResponse = {
46
54
  cumulativeTransactions: string;
47
55
  };
48
56
 
49
- export { GetEvmBlockResponse };
57
+ export type { GetEvmBlockResponse };
@@ -7,4 +7,4 @@ type GetNativeBalanceResponse = {
7
7
  nativeTokenBalance: NativeTokenBalance;
8
8
  };
9
9
 
10
- export { GetNativeBalanceResponse };
10
+ export type { GetNativeBalanceResponse };
@@ -6,4 +6,4 @@ type GetNetworkDetailsResponse = {
6
6
  delegatorDetails: DelegatorsDetails;
7
7
  };
8
8
 
9
- export { GetNetworkDetailsResponse };
9
+ export type { GetNetworkDetailsResponse };
@@ -15,4 +15,4 @@ type GetPrimaryNetworkBlockResponse = {
15
15
  proposerDetails?: ProposerDetails;
16
16
  };
17
17
 
18
- export { GetPrimaryNetworkBlockResponse };
18
+ export type { GetPrimaryNetworkBlockResponse };
@@ -31,4 +31,4 @@ type GetTransactionResponse = {
31
31
  teleporterMessageInfo?: TeleporterMessageInfo;
32
32
  };
33
33
 
34
- export { GetTransactionResponse };
34
+ export type { GetTransactionResponse };
@@ -18,4 +18,4 @@ type HistoricalReward = {
18
18
  rewardTxHash: string;
19
19
  };
20
20
 
21
- export { HistoricalReward };
21
+ export type { HistoricalReward };
@@ -6,4 +6,4 @@ type IcmDestinationTransaction = {
6
6
  delivererAddress: string;
7
7
  };
8
8
 
9
- export { IcmDestinationTransaction };
9
+ export type { IcmDestinationTransaction };
@@ -3,4 +3,4 @@ type IcmReceipt = {
3
3
  relayerRewardAddress: string;
4
4
  };
5
5
 
6
- export { IcmReceipt };
6
+ export type { IcmReceipt };
@@ -4,4 +4,4 @@ type IcmSourceTransaction = {
4
4
  gasSpent: string;
5
5
  };
6
6
 
7
- export { IcmSourceTransaction };
7
+ export type { IcmSourceTransaction };
@@ -6,4 +6,4 @@ type ImageAsset = {
6
6
  imageUri?: string;
7
7
  };
8
8
 
9
- export { ImageAsset };
9
+ export type { ImageAsset };
@@ -13,4 +13,4 @@ type InternalServerError = {
13
13
  error: string;
14
14
  };
15
15
 
16
- export { InternalServerError };
16
+ export type { InternalServerError };
@@ -1,32 +1,37 @@
1
+ import { InternalTransactionOpCall } from './InternalTransactionOpCall.js';
2
+ import { RichAddress } from './RichAddress.js';
3
+
1
4
  type InternalTransaction = {
2
5
  /**
3
- * Sender address
6
+ * The block number on the chain.
4
7
  */
5
- from: string;
8
+ blockNumber: string;
6
9
  /**
7
- * Recipient address
10
+ * The block creation (proposal) timestamp in seconds
8
11
  */
9
- to: string;
12
+ blockTimestamp: number;
10
13
  /**
11
- * Internal transaction type
14
+ * The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
12
15
  */
13
- internalTxType: string;
16
+ blockTimestampMilliseconds?: number;
14
17
  /**
15
- * Value transferred
18
+ * The block hash identifier.
16
19
  */
17
- value: string;
20
+ blockHash: string;
18
21
  /**
19
- * Gas used
22
+ * The transaction hash identifier.
20
23
  */
21
- gasUsed: string;
24
+ txHash: string;
25
+ from: RichAddress;
26
+ to: RichAddress;
27
+ internalTxType: InternalTransactionOpCall;
28
+ value: string;
22
29
  /**
23
- * Gas limit
30
+ * True if the internal transaction was reverted.
24
31
  */
32
+ isReverted: boolean;
33
+ gasUsed: string;
25
34
  gasLimit: string;
26
- /**
27
- * Transaction hash
28
- */
29
- transactionHash: string;
30
35
  };
31
36
 
32
- export { InternalTransaction };
37
+ export type { InternalTransaction };
@@ -14,4 +14,4 @@ type InternalTransactionDetails = {
14
14
  gasLimit: string;
15
15
  };
16
16
 
17
- export { InternalTransactionDetails };
17
+ export type { InternalTransactionDetails };
@@ -34,4 +34,4 @@ type L1ValidatorDetailsFull = {
34
34
  deactivationOwner: BalanceOwner;
35
35
  };
36
36
 
37
- export { L1ValidatorDetailsFull };
37
+ export type { L1ValidatorDetailsFull };
@@ -24,4 +24,4 @@ type L1ValidatorDetailsTransaction = {
24
24
  blsCredentials?: Record<string, any>;
25
25
  };
26
26
 
27
- export { L1ValidatorDetailsTransaction };
27
+ export type { L1ValidatorDetailsTransaction };
@@ -3,4 +3,4 @@ type L1ValidatorManagerDetails = {
3
3
  contractAddress: string;
4
4
  };
5
5
 
6
- export { L1ValidatorManagerDetails };
6
+ export type { L1ValidatorManagerDetails };
@@ -5,4 +5,4 @@ type ListAddressChainsResponse = {
5
5
  unindexedChains?: Array<string>;
6
6
  };
7
7
 
8
- export { ListAddressChainsResponse };
8
+ export type { ListAddressChainsResponse };
@@ -8,4 +8,4 @@ type ListBlockchainsResponse = {
8
8
  blockchains: Array<Blockchain>;
9
9
  };
10
10
 
11
- export { ListBlockchainsResponse };
11
+ export type { ListBlockchainsResponse };
@@ -6,4 +6,4 @@ type ListCChainAtomicBalancesResponse = {
6
6
  chainInfo: PrimaryNetworkChainInfo;
7
7
  };
8
8
 
9
- export { ListCChainAtomicBalancesResponse };
9
+ export type { ListCChainAtomicBalancesResponse };
@@ -11,4 +11,4 @@ type ListCChainAtomicTransactionsResponse = {
11
11
  chainInfo: PrimaryNetworkChainInfo;
12
12
  };
13
13
 
14
- export { ListCChainAtomicTransactionsResponse };
14
+ export type { ListCChainAtomicTransactionsResponse };
@@ -4,4 +4,4 @@ type ListChainsResponse = {
4
4
  chains: Array<ChainInfo>;
5
5
  };
6
6
 
7
- export { ListChainsResponse };
7
+ export type { ListChainsResponse };
@@ -12,4 +12,4 @@ type ListCollectibleBalancesResponse = {
12
12
  collectibleBalances: Array<(Erc721TokenBalance | Erc1155TokenBalance)>;
13
13
  };
14
14
 
15
- export { ListCollectibleBalancesResponse };
15
+ export type { ListCollectibleBalancesResponse };
@@ -11,4 +11,4 @@ type ListContractsResponse = {
11
11
  contracts: Array<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
12
12
  };
13
13
 
14
- export { ListContractsResponse };
14
+ export type { ListContractsResponse };
@@ -13,4 +13,4 @@ type ListDelegatorDetailsResponse = {
13
13
  delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
14
14
  };
15
15
 
16
- export { ListDelegatorDetailsResponse };
16
+ export type { ListDelegatorDetailsResponse };
@@ -16,4 +16,4 @@ type ListErc1155BalancesResponse = {
16
16
  erc1155TokenBalances: Array<Erc1155TokenBalance>;
17
17
  };
18
18
 
19
- export { ListErc1155BalancesResponse };
19
+ export type { ListErc1155BalancesResponse };
@@ -8,4 +8,4 @@ type ListErc1155TransactionsResponse = {
8
8
  transactions: Array<Erc1155Transfer>;
9
9
  };
10
10
 
11
- export { ListErc1155TransactionsResponse };
11
+ export type { ListErc1155TransactionsResponse };
@@ -16,4 +16,4 @@ type ListErc20BalancesResponse = {
16
16
  erc20TokenBalances: Array<Erc20TokenBalance>;
17
17
  };
18
18
 
19
- export { ListErc20BalancesResponse };
19
+ export type { ListErc20BalancesResponse };
@@ -8,4 +8,4 @@ type ListErc20TransactionsResponse = {
8
8
  transactions: Array<Erc20Transfer>;
9
9
  };
10
10
 
11
- export { ListErc20TransactionsResponse };
11
+ export type { ListErc20TransactionsResponse };
@@ -16,4 +16,4 @@ type ListErc721BalancesResponse = {
16
16
  erc721TokenBalances: Array<Erc721TokenBalance>;
17
17
  };
18
18
 
19
- export { ListErc721BalancesResponse };
19
+ export type { ListErc721BalancesResponse };
@@ -8,4 +8,4 @@ type ListErc721TransactionsResponse = {
8
8
  transactions: Array<Erc721Transfer>;
9
9
  };
10
10
 
11
- export { ListErc721TransactionsResponse };
11
+ export type { ListErc721TransactionsResponse };
@@ -8,4 +8,4 @@ type ListEvmBlocksResponse = {
8
8
  blocks: Array<EvmBlock>;
9
9
  };
10
10
 
11
- export { ListEvmBlocksResponse };
11
+ export type { ListEvmBlocksResponse };
@@ -8,4 +8,4 @@ type ListHistoricalRewardsResponse = {
8
8
  historicalRewards: Array<HistoricalReward>;
9
9
  };
10
10
 
11
- export { ListHistoricalRewardsResponse };
11
+ export type { ListHistoricalRewardsResponse };
@@ -1,4 +1,5 @@
1
1
  import { DeliveredIcmMessage } from './DeliveredIcmMessage.js';
2
+ import { DeliveredSourceNotIndexedIcmMessage } from './DeliveredSourceNotIndexedIcmMessage.js';
2
3
  import { PendingIcmMessage } from './PendingIcmMessage.js';
3
4
 
4
5
  type ListIcmMessagesResponse = {
@@ -6,7 +7,7 @@ type ListIcmMessagesResponse = {
6
7
  * 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.
7
8
  */
8
9
  nextPageToken?: string;
9
- messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
10
+ messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
10
11
  };
11
12
 
12
- export { ListIcmMessagesResponse };
13
+ export type { ListIcmMessagesResponse };
@@ -8,4 +8,4 @@ type ListInternalTransactionsResponse = {
8
8
  transactions: Array<InternalTransaction>;
9
9
  };
10
10
 
11
- export { ListInternalTransactionsResponse };
11
+ export type { ListInternalTransactionsResponse };
@@ -9,6 +9,10 @@ type ListL1ValidatorsResponse = {
9
9
  * The list of L1 validations for the given Subnet ID, NodeId or validationId
10
10
  */
11
11
  validators: Array<L1ValidatorDetailsFull>;
12
+ /**
13
+ * Block height at which the L1 validator's remaining balance is calculated
14
+ */
15
+ blockHeight: string;
12
16
  };
13
17
 
14
- export { ListL1ValidatorsResponse };
18
+ export type { ListL1ValidatorsResponse };
@@ -8,4 +8,4 @@ type ListNativeTransactionsResponse = {
8
8
  transactions: Array<NativeTransaction>;
9
9
  };
10
10
 
11
- export { ListNativeTransactionsResponse };
11
+ export type { ListNativeTransactionsResponse };
@@ -9,4 +9,4 @@ type ListNftTokens = {
9
9
  tokens: Array<(Erc721Token | Erc1155Token)>;
10
10
  };
11
11
 
12
- export { ListNftTokens };
12
+ export type { ListNftTokens };
@@ -6,4 +6,4 @@ type ListPChainBalancesResponse = {
6
6
  chainInfo: PrimaryNetworkChainInfo;
7
7
  };
8
8
 
9
- export { ListPChainBalancesResponse };
9
+ export type { ListPChainBalancesResponse };