@avalabs/glacier-sdk 3.1.0-alpha.1 → 3.1.0-alpha.100

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 (354) hide show
  1. package/CHANGELOG.md +1754 -0
  2. package/dist/index.cjs +1 -0
  3. package/dist/index.d.ts +6116 -3184
  4. package/esm/generated/Glacier.d.ts +8 -4
  5. package/esm/generated/Glacier.js +1 -1
  6. package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
  7. package/esm/generated/core/ApiResult.d.ts +1 -1
  8. package/esm/generated/core/CancelablePromise.d.ts +2 -1
  9. package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
  10. package/esm/generated/core/OpenAPI.d.ts +2 -1
  11. package/esm/generated/core/OpenAPI.js +1 -1
  12. package/esm/generated/models/AccessListData.d.ts +12 -0
  13. package/esm/generated/models/ActiveValidatorDetails.d.ts +35 -0
  14. package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
  15. package/esm/generated/models/{EventType.js → AddressActivityEventType.js} +1 -1
  16. package/esm/generated/models/AddressActivityMetadata.d.ts +5 -5
  17. package/esm/generated/models/AddressesChangeRequest.d.ts +2 -2
  18. package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
  19. package/esm/generated/models/ApiFeature.d.ts +7 -0
  20. package/esm/generated/models/ApiFeature.js +1 -0
  21. package/esm/generated/models/AssetAmount.d.ts +1 -1
  22. package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
  23. package/esm/generated/models/AutoRenewDetails.d.ts +41 -0
  24. package/esm/generated/models/AutoRenewExitReason.d.ts +9 -0
  25. package/esm/generated/models/AutoRenewExitReason.js +1 -0
  26. package/esm/generated/models/AutoRenewState.d.ts +11 -0
  27. package/esm/generated/models/AutoRenewState.js +1 -0
  28. package/esm/generated/models/AutoRenewedCycle.d.ts +67 -0
  29. package/esm/generated/models/AutoRenewedCycleOutcome.d.ts +10 -0
  30. package/esm/generated/models/AutoRenewedCycleOutcome.js +1 -0
  31. package/esm/generated/models/AvaxSupplyResponse.d.ts +48 -0
  32. package/esm/generated/models/BadGateway.d.ts +16 -0
  33. package/esm/generated/models/BadRequest.d.ts +16 -0
  34. package/esm/generated/models/BalanceOwner.d.ts +6 -0
  35. package/esm/generated/models/Blockchain.d.ts +11 -1
  36. package/esm/generated/models/BlockchainInfo.d.ts +9 -2
  37. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  38. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  39. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  40. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  41. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  42. package/esm/generated/models/ChainInfo.d.ts +2 -2
  43. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  44. package/esm/generated/models/CommonBalanceType.js +1 -0
  45. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  46. package/esm/generated/models/CompletedValidatorDetails.d.ts +22 -0
  47. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  48. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +5 -5
  49. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +5 -5
  50. package/esm/generated/models/CurrentAutoRenewedCycle.d.ts +47 -0
  51. package/esm/generated/models/DataListChainsResponse.d.ts +7 -0
  52. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  53. package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
  54. package/esm/generated/models/DeliveredIcmMessage.js +1 -0
  55. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
  56. package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
  57. package/esm/generated/models/ERCToken.d.ts +24 -0
  58. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  59. package/esm/generated/models/EVMAddressActivityRequest.d.ts +25 -0
  60. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  61. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +10 -10
  62. package/esm/generated/models/EVMInput.d.ts +1 -1
  63. package/esm/generated/models/EVMOutput.d.ts +1 -1
  64. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  65. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  66. package/esm/generated/models/Erc1155Transfer.d.ts +6 -2
  67. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  68. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  69. package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
  70. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  71. package/esm/generated/models/Erc20TokenV2.d.ts +47 -0
  72. package/esm/generated/models/Erc20TokenV2.js +1 -0
  73. package/esm/generated/models/Erc20Transfer.d.ts +6 -2
  74. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  75. package/esm/generated/models/Erc20TransferDetailsV2.d.ts +12 -0
  76. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  77. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  78. package/esm/generated/models/Erc721Transfer.d.ts +6 -2
  79. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  80. package/esm/generated/models/EvmBlock.d.ts +14 -2
  81. package/esm/generated/models/EvmGenesisAllocDto.d.ts +16 -0
  82. package/esm/generated/models/EvmGenesisAllowListConfigDto.d.ts +20 -0
  83. package/esm/generated/models/EvmGenesisConfigDto.d.ts +96 -0
  84. package/esm/generated/models/EvmGenesisDto.d.ts +75 -0
  85. package/esm/generated/models/EvmGenesisFeeConfigDto.d.ts +36 -0
  86. package/esm/generated/models/EvmGenesisWarpConfigDto.d.ts +16 -0
  87. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  88. package/esm/generated/models/Forbidden.d.ts +16 -0
  89. package/esm/generated/models/FullNativeTransactionDetails.d.ts +14 -2
  90. package/esm/generated/models/Geolocation.d.ts +24 -0
  91. package/esm/generated/models/GetChainResponse.d.ts +2 -2
  92. package/esm/generated/models/GetEvmBlockResponse.d.ts +14 -2
  93. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  94. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  95. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +3 -1
  96. package/esm/generated/models/GetTransactionResponse.d.ts +7 -2
  97. package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
  98. package/esm/generated/models/HealthCheckResultDto.js +1 -0
  99. package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
  100. package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
  101. package/esm/generated/models/HistoricalReward.d.ts +6 -1
  102. package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
  103. package/esm/generated/models/IcmReceipt.d.ts +6 -0
  104. package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
  105. package/esm/generated/models/{ContractSubmissionErc20.js → IcmRewardDetails.js} +1 -1
  106. package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
  107. package/esm/generated/models/ImageAsset.d.ts +1 -1
  108. package/esm/generated/models/InternalServerError.d.ts +16 -0
  109. package/esm/generated/models/InternalTransaction.d.ts +6 -2
  110. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  111. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  112. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  113. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +37 -0
  114. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +27 -0
  115. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  116. package/esm/generated/models/LastActivityTimestamp.d.ts +29 -0
  117. package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
  118. package/esm/generated/models/ListAutoRenewedCyclesResponse.d.ts +19 -0
  119. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  120. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  121. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  122. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  123. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  124. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  125. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  126. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +6 -1
  127. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  128. package/esm/generated/models/ListErc20BalancesResponse.d.ts +6 -1
  129. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  130. package/esm/generated/models/ListErc721BalancesResponse.d.ts +6 -1
  131. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  132. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  133. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  134. package/esm/generated/models/ListIcmMessagesResponse.d.ts +13 -0
  135. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  136. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +18 -0
  137. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  138. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  139. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  140. package/esm/generated/models/ListPChainStakingTransactionsResponse.d.ts +13 -0
  141. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  142. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  143. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  144. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  145. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  146. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  147. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  148. package/esm/generated/models/ListTransactionDetailsResponseV2.d.ts +11 -0
  149. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  150. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  151. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  152. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  153. package/esm/generated/models/ListWebhooksResponse.d.ts +5 -3
  154. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  155. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  156. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  157. package/esm/generated/models/Log.d.ts +40 -0
  158. package/esm/generated/models/LogsFormat.d.ts +60 -0
  159. package/esm/generated/models/LogsFormatMetadata.d.ts +16 -0
  160. package/esm/generated/models/LogsResponseDTO.d.ts +18 -0
  161. package/esm/generated/models/Method.d.ts +1 -1
  162. package/esm/generated/models/Metric.d.ts +14 -0
  163. package/esm/generated/models/Money.d.ts +1 -1
  164. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  165. package/esm/generated/models/NativeTransaction.d.ts +14 -2
  166. package/esm/generated/models/Network.d.ts +2 -1
  167. package/esm/generated/models/Network.js +1 -1
  168. package/esm/generated/models/NetworkToken.d.ts +1 -1
  169. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  170. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  171. package/esm/generated/models/NextPageToken.d.ts +1 -1
  172. package/esm/generated/models/NotFound.d.ts +16 -0
  173. package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
  174. package/esm/generated/models/PChainBalance.d.ts +7 -1
  175. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  176. package/esm/generated/models/PChainStakingTransaction.d.ts +131 -0
  177. package/esm/generated/models/PChainTransaction.d.ts +56 -12
  178. package/esm/generated/models/PChainTransactionType.d.ts +8 -0
  179. package/esm/generated/models/PChainTransactionType.js +1 -1
  180. package/esm/generated/models/PChainUtxo.d.ts +32 -1
  181. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  182. package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
  183. package/esm/generated/models/PendingIcmMessage.js +1 -0
  184. package/esm/generated/models/PendingReward.d.ts +7 -2
  185. package/esm/generated/models/PendingValidatorDetails.d.ts +5 -0
  186. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  187. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  188. package/esm/generated/models/PricingProviders.d.ts +1 -1
  189. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  190. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  191. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  192. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  193. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  194. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  195. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  196. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  197. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  198. package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
  199. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
  200. package/esm/generated/models/PrimaryNetworkBlock.d.ts +3 -1
  201. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +3 -3
  202. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  203. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +10 -0
  204. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  205. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
  206. package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
  207. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
  208. package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
  209. package/esm/generated/models/PrimaryNetworkTxType.d.ts +8 -0
  210. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  211. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  212. package/esm/generated/models/{PrimaryNetwork.js → PrimaryNetworkType.js} +1 -1
  213. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  214. package/esm/generated/models/RemovedValidatorDetails.d.ts +11 -0
  215. package/esm/generated/models/RequestType.d.ts +9 -0
  216. package/esm/generated/models/RequestType.js +1 -0
  217. package/esm/generated/models/ResourceLink.d.ts +1 -1
  218. package/esm/generated/models/Rewards.d.ts +1 -1
  219. package/esm/generated/models/RichAddress.d.ts +1 -1
  220. package/esm/generated/models/RpcMetrics.d.ts +14 -0
  221. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  222. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  223. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +55 -0
  224. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
  225. package/esm/generated/models/ServiceUnavailable.d.ts +16 -0
  226. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  227. package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
  228. package/esm/generated/models/SignatureAggregatorRequest.d.ts +28 -0
  229. package/esm/generated/models/StakingDistribution.d.ts +10 -1
  230. package/esm/generated/models/StakingType.d.ts +9 -0
  231. package/esm/generated/models/StakingType.js +1 -0
  232. package/esm/generated/models/Subnet.d.ts +16 -3
  233. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  234. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  235. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  236. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +18 -0
  237. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  238. package/esm/generated/models/TeleporterMessageInfo.d.ts +16 -0
  239. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  240. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  241. package/esm/generated/models/TimeIntervalGranularityExtended.d.ts +9 -0
  242. package/esm/generated/models/TimeIntervalGranularityExtended.js +1 -0
  243. package/esm/generated/models/TooManyRequests.d.ts +16 -0
  244. package/esm/generated/models/Transaction.d.ts +121 -0
  245. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  246. package/esm/generated/models/TransactionDetailsV2.d.ts +30 -0
  247. package/esm/generated/models/TransactionDirectionType.d.ts +6 -0
  248. package/esm/generated/models/TransactionDirectionType.js +1 -0
  249. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  250. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  251. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  252. package/esm/generated/models/Unauthorized.d.ts +16 -0
  253. package/esm/generated/models/UnknownContract.d.ts +1 -1
  254. package/esm/generated/models/UpdateWebhookRequest.d.ts +4 -1
  255. package/esm/generated/models/UsageMetricsGroupByEnum.d.ts +9 -0
  256. package/esm/generated/models/UsageMetricsGroupByEnum.js +1 -0
  257. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +18 -0
  258. package/esm/generated/models/UsageMetricsValueDTO.d.ts +53 -0
  259. package/esm/generated/models/UsageMetricsValueDTO.js +1 -0
  260. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  261. package/esm/generated/models/Utxo.d.ts +5 -1
  262. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  263. package/esm/generated/models/UtxoType.d.ts +3 -0
  264. package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
  265. package/esm/generated/models/UtxosSortByOption.js +1 -0
  266. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  267. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  268. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  269. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  270. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  271. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  272. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  273. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  274. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  275. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  276. package/esm/generated/models/ValidatorsDetails.d.ts +7 -1
  277. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  278. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  279. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  280. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  281. package/esm/generated/models/XChainBalances.d.ts +1 -1
  282. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  283. package/esm/generated/models/XChainVertex.d.ts +1 -1
  284. package/esm/generated/services/AvaxSupplyService.d.ts +17 -0
  285. package/esm/generated/services/AvaxSupplyService.js +1 -0
  286. package/esm/generated/services/DataApiUsageMetricsService.d.ts +253 -0
  287. package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
  288. package/esm/generated/services/EvmBalancesService.d.ts +14 -14
  289. package/esm/generated/services/EvmBalancesService.js +1 -1
  290. package/esm/generated/services/EvmBlocksService.d.ts +25 -4
  291. package/esm/generated/services/EvmBlocksService.js +1 -1
  292. package/esm/generated/services/EvmChainsService.d.ts +88 -10
  293. package/esm/generated/services/EvmChainsService.js +1 -1
  294. package/esm/generated/services/EvmContractsService.d.ts +2 -21
  295. package/esm/generated/services/EvmContractsService.js +1 -1
  296. package/esm/generated/services/EvmTransactionsService.d.ts +99 -26
  297. package/esm/generated/services/EvmTransactionsService.js +1 -1
  298. package/esm/generated/services/HealthCheckService.d.ts +11 -7
  299. package/esm/generated/services/HealthCheckService.js +1 -1
  300. package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
  301. package/esm/generated/services/InterchainMessagingService.js +1 -0
  302. package/esm/generated/services/NfTsService.d.ts +6 -6
  303. package/esm/generated/services/NfTsService.js +1 -1
  304. package/esm/generated/services/OperationsService.d.ts +2 -2
  305. package/esm/generated/services/OperationsService.js +1 -1
  306. package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +2 -2
  307. package/esm/generated/services/PrimaryNetworkBalancesService.js +1 -1
  308. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +24 -8
  309. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  310. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +4 -4
  311. package/esm/generated/services/PrimaryNetworkRewardsService.js +1 -1
  312. package/esm/generated/services/PrimaryNetworkService.d.ts +112 -22
  313. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  314. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +15 -11
  315. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  316. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +96 -3
  317. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  318. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +6 -6
  319. package/esm/generated/services/PrimaryNetworkVerticesService.js +1 -1
  320. package/esm/generated/services/SignatureAggregatorService.d.ts +41 -0
  321. package/esm/generated/services/SignatureAggregatorService.js +1 -0
  322. package/esm/generated/services/TeleporterService.d.ts +44 -10
  323. package/esm/generated/services/TeleporterService.js +1 -1
  324. package/esm/generated/services/WebhooksService.d.ts +32 -28
  325. package/esm/generated/services/WebhooksService.js +1 -1
  326. package/esm/index.d.ts +106 -18
  327. package/esm/index.js +1 -1
  328. package/package.json +16 -7
  329. package/LICENSE.md +0 -9
  330. package/dist/index.js +0 -1
  331. package/esm/generated/models/ContractSubmissionBody.d.ts +0 -10
  332. package/esm/generated/models/ContractSubmissionErc1155.d.ts +0 -31
  333. package/esm/generated/models/ContractSubmissionErc1155.js +0 -1
  334. package/esm/generated/models/ContractSubmissionErc20.d.ts +0 -31
  335. package/esm/generated/models/ContractSubmissionErc721.d.ts +0 -29
  336. package/esm/generated/models/ContractSubmissionErc721.js +0 -1
  337. package/esm/generated/models/ContractSubmissionUnknown.d.ts +0 -25
  338. package/esm/generated/models/ContractSubmissionUnknown.js +0 -1
  339. package/esm/generated/models/CreateWebhookRequest.d.ts +0 -21
  340. package/esm/generated/models/EventType.d.ts +0 -5
  341. package/esm/generated/models/GlacierApiFeature.d.ts +0 -6
  342. package/esm/generated/models/GlacierApiFeature.js +0 -1
  343. package/esm/generated/models/NetworkType.d.ts +0 -6
  344. package/esm/generated/models/NetworkType.js +0 -1
  345. package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
  346. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  347. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  348. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  349. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  350. package/esm/generated/models/UpdateContractResponse.d.ts +0 -10
  351. package/esm/generated/services/DefaultService.d.ts +0 -14
  352. package/esm/generated/services/DefaultService.js +0 -1
  353. package/esm/generated/services/RpcService.d.ts +0 -25
  354. package/esm/generated/services/RpcService.js +0 -1
@@ -1,9 +1,7 @@
1
- import { ContractSubmissionBody } from '../models/ContractSubmissionBody.js';
2
1
  import { Erc1155Contract } from '../models/Erc1155Contract.js';
3
2
  import { Erc20Contract } from '../models/Erc20Contract.js';
4
3
  import { Erc721Contract } from '../models/Erc721Contract.js';
5
4
  import { UnknownContract } from '../models/UnknownContract.js';
6
- import { UpdateContractResponse } from '../models/UpdateContractResponse.js';
7
5
  import { CancelablePromise } from '../core/CancelablePromise.js';
8
6
  import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
9
7
 
@@ -13,12 +11,12 @@ declare class EvmContractsService {
13
11
  /**
14
12
  * Get contract metadata
15
13
  * Gets metadata about the contract at the given address.
16
- * @returns any
14
+ * @returns any Successful response
17
15
  * @throws ApiError
18
16
  */
19
17
  getContractMetadata({ chainId, address, }: {
20
18
  /**
21
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
19
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
22
20
  */
23
21
  chainId: string;
24
22
  /**
@@ -26,23 +24,6 @@ declare class EvmContractsService {
26
24
  */
27
25
  address: string;
28
26
  }): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
29
- /**
30
- * Update contract information
31
- * Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
32
- * @returns UpdateContractResponse
33
- * @throws ApiError
34
- */
35
- updateContractInfo({ chainId, address, requestBody, }: {
36
- /**
37
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
38
- */
39
- chainId: string;
40
- /**
41
- * Contract address on the relevant chain.
42
- */
43
- address: string;
44
- requestBody: ContractSubmissionBody;
45
- }): CancelablePromise<UpdateContractResponse>;
46
27
  }
47
28
 
48
29
  export { EvmContractsService };
@@ -1 +1 @@
1
- class t{constructor(t){this.httpRequest=t}getContractMetadata({chainId:t,address:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}",path:{chainId:t,address:s}})}updateContractInfo({chainId:t,address:s,requestBody:e}){return this.httpRequest.request({method:"PATCH",url:"/v1/chains/{chainId}/contracts/{address}",path:{chainId:t,address:s},body:e,mediaType:"application/json"})}}export{t as EvmContractsService};
1
+ class e{constructor(e){this.httpRequest=e}getContractMetadata({chainId:e,address:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}",path:{chainId:e,address:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as EvmContractsService};
@@ -7,7 +7,9 @@ import { ListErc721TransactionsResponse } from '../models/ListErc721Transactions
7
7
  import { ListInternalTransactionsResponse } from '../models/ListInternalTransactionsResponse.js';
8
8
  import { ListNativeTransactionsResponse } from '../models/ListNativeTransactionsResponse.js';
9
9
  import { ListTransactionDetailsResponse } from '../models/ListTransactionDetailsResponse.js';
10
+ import { ListTransactionDetailsResponseV2 } from '../models/ListTransactionDetailsResponseV2.js';
10
11
  import { ListTransfersResponse } from '../models/ListTransfersResponse.js';
12
+ import { Network } from '../models/Network.js';
11
13
  import { SortOrder } from '../models/SortOrder.js';
12
14
  import { TransactionStatus } from '../models/TransactionStatus.js';
13
15
  import { CancelablePromise } from '../core/CancelablePromise.js';
@@ -16,15 +18,39 @@ import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
16
18
  declare class EvmTransactionsService {
17
19
  readonly httpRequest: BaseHttpRequest;
18
20
  constructor(httpRequest: BaseHttpRequest);
21
+ /**
22
+ * List the latest transactions across all supported EVM chains
23
+ * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
24
+ * @returns ListNativeTransactionsResponse Successful response
25
+ * @throws ApiError
26
+ */
27
+ listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
28
+ /**
29
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
30
+ */
31
+ pageToken?: string;
32
+ /**
33
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
34
+ */
35
+ pageSize?: number;
36
+ /**
37
+ * Either mainnet or testnet/fuji.
38
+ */
39
+ network?: Network;
40
+ /**
41
+ * A status filter for listed transactions.
42
+ */
43
+ status?: TransactionStatus;
44
+ }): CancelablePromise<ListNativeTransactionsResponse>;
19
45
  /**
20
46
  * Get deployment transaction
21
47
  * If the address is a smart contract, returns the transaction in which it was deployed.
22
- * @returns GetTransactionResponse
48
+ * @returns GetTransactionResponse Successful response
23
49
  * @throws ApiError
24
50
  */
25
51
  getDeploymentTransaction({ chainId, address, currency, }: {
26
52
  /**
27
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
53
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
28
54
  */
29
55
  chainId: string;
30
56
  /**
@@ -39,12 +65,12 @@ declare class EvmTransactionsService {
39
65
  /**
40
66
  * List deployed contracts
41
67
  * Lists all contracts deployed by the given address.
42
- * @returns ListContractsResponse
68
+ * @returns ListContractsResponse Successful response
43
69
  * @throws ApiError
44
70
  */
45
71
  listContractDeployments({ chainId, address, pageToken, pageSize, }: {
46
72
  /**
47
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
73
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
48
74
  */
49
75
  chainId: string;
50
76
  /**
@@ -63,12 +89,12 @@ declare class EvmTransactionsService {
63
89
  /**
64
90
  * List ERC transfers
65
91
  * Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address.
66
- * @returns ListTransfersResponse
92
+ * @returns ListTransfersResponse Successful response
67
93
  * @throws ApiError
68
94
  */
69
95
  listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
70
96
  /**
71
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
97
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
72
98
  */
73
99
  chainId: string;
74
100
  /**
@@ -97,12 +123,12 @@ declare class EvmTransactionsService {
97
123
  * Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers, ERC-721 transfers, ERC-1155, and internal transactions returned are only those where the input address had an interaction. Specifically, those lists only inlcude entries where the input address was the sender (`from` field) or the receiver (`to` field) for the sub-transaction. Therefore the transactions returned from this list may not be complete representations of the on-chain data. For a complete view of a transaction use the `/chains/:chainId/transactions/:txHash` endpoint.
98
124
  *
99
125
  * Filterable by block ranges.
100
- * @returns ListTransactionDetailsResponse
126
+ * @returns ListTransactionDetailsResponse Successful response
101
127
  * @throws ApiError
102
128
  */
103
129
  listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
104
130
  /**
105
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
131
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
106
132
  */
107
133
  chainId: string;
108
134
  /**
@@ -130,15 +156,54 @@ declare class EvmTransactionsService {
130
156
  */
131
157
  sortOrder?: SortOrder;
132
158
  }): CancelablePromise<ListTransactionDetailsResponse>;
159
+ /**
160
+ * List transactions v2
161
+ * Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers (with token reputation), ERC-721 transfers, ERC-1155, and internal transactions returned are only those where the input address had an interaction. Specifically, those lists only inlcude entries where the input address was the sender (`from` field) or the receiver (`to` field) for the sub-transaction. Therefore the transactions returned from this list may not be complete representations of the on-chain data. For a complete view of a transaction use the `/chains/:chainId/transactions/:txHash` endpoint.
162
+ *
163
+ * Filterable by block ranges.
164
+ * @returns ListTransactionDetailsResponseV2 Successful response
165
+ * @throws ApiError
166
+ */
167
+ listTransactionsV2({ chainId, address, pageToken, pageSize, startBlock, endBlock, filterSpamTokens, sortOrder, }: {
168
+ /**
169
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
170
+ */
171
+ chainId: string;
172
+ /**
173
+ * A wallet address.
174
+ */
175
+ address: string;
176
+ /**
177
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
178
+ */
179
+ pageToken?: string;
180
+ /**
181
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
182
+ */
183
+ pageSize?: number;
184
+ /**
185
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
186
+ */
187
+ startBlock?: number;
188
+ /**
189
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
190
+ */
191
+ endBlock?: number;
192
+ filterSpamTokens?: boolean;
193
+ /**
194
+ * 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.
195
+ */
196
+ sortOrder?: SortOrder;
197
+ }): CancelablePromise<ListTransactionDetailsResponseV2>;
133
198
  /**
134
199
  * List native transactions
135
200
  * Lists native transactions for an address. Filterable by block range.
136
- * @returns ListNativeTransactionsResponse
201
+ * @returns ListNativeTransactionsResponse Successful response
137
202
  * @throws ApiError
138
203
  */
139
204
  listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
140
205
  /**
141
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
206
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
142
207
  */
143
208
  chainId: string;
144
209
  /**
@@ -165,12 +230,12 @@ declare class EvmTransactionsService {
165
230
  /**
166
231
  * List ERC-20 transfers
167
232
  * Lists ERC-20 transfers for an address. Filterable by block range.
168
- * @returns ListErc20TransactionsResponse
233
+ * @returns ListErc20TransactionsResponse Successful response
169
234
  * @throws ApiError
170
235
  */
171
236
  listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
172
237
  /**
173
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
238
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
174
239
  */
175
240
  chainId: string;
176
241
  /**
@@ -197,12 +262,12 @@ declare class EvmTransactionsService {
197
262
  /**
198
263
  * List ERC-721 transfers
199
264
  * Lists ERC-721 transfers for an address. Filterable by block range.
200
- * @returns ListErc721TransactionsResponse
265
+ * @returns ListErc721TransactionsResponse Successful response
201
266
  * @throws ApiError
202
267
  */
203
268
  listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
204
269
  /**
205
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
270
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
206
271
  */
207
272
  chainId: string;
208
273
  /**
@@ -229,12 +294,12 @@ declare class EvmTransactionsService {
229
294
  /**
230
295
  * List ERC-1155 transfers
231
296
  * Lists ERC-1155 transfers for an address. Filterable by block range.
232
- * @returns ListErc1155TransactionsResponse
297
+ * @returns ListErc1155TransactionsResponse Successful response
233
298
  * @throws ApiError
234
299
  */
235
300
  listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
236
301
  /**
237
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
302
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
238
303
  */
239
304
  chainId: string;
240
305
  /**
@@ -262,13 +327,13 @@ declare class EvmTransactionsService {
262
327
  * List internal transactions
263
328
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
264
329
  *
265
- * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
266
- * @returns ListInternalTransactionsResponse
330
+ * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2`/`CREATE3` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
331
+ * @returns ListInternalTransactionsResponse Successful response
267
332
  * @throws ApiError
268
333
  */
269
334
  listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
270
335
  /**
271
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
336
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
272
337
  */
273
338
  chainId: string;
274
339
  /**
@@ -295,12 +360,12 @@ declare class EvmTransactionsService {
295
360
  /**
296
361
  * Get transaction
297
362
  * Gets the details of a single transaction.
298
- * @returns GetTransactionResponse
363
+ * @returns GetTransactionResponse Successful response
299
364
  * @throws ApiError
300
365
  */
301
366
  getTransaction({ chainId, txHash, }: {
302
367
  /**
303
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
368
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
304
369
  */
305
370
  chainId: string;
306
371
  /**
@@ -311,28 +376,36 @@ declare class EvmTransactionsService {
311
376
  /**
312
377
  * List transactions for a block
313
378
  * Lists the transactions that occured in a given block.
314
- * @returns ListNativeTransactionsResponse
379
+ * @returns ListNativeTransactionsResponse Successful response
315
380
  * @throws ApiError
316
381
  */
317
- getTransactionsForBlock({ chainId, blockId, }: {
382
+ getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
318
383
  /**
319
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
384
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
320
385
  */
321
386
  chainId: string;
322
387
  /**
323
388
  * A block identifier which is either a block number or the block hash.
324
389
  */
325
390
  blockId: string;
391
+ /**
392
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
393
+ */
394
+ pageToken?: string;
395
+ /**
396
+ * The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
397
+ */
398
+ pageSize?: number;
326
399
  }): CancelablePromise<ListNativeTransactionsResponse>;
327
400
  /**
328
401
  * List latest transactions
329
402
  * Lists the latest transactions. Filterable by status.
330
- * @returns ListNativeTransactionsResponse
403
+ * @returns ListNativeTransactionsResponse Successful response
331
404
  * @throws ApiError
332
405
  */
333
406
  listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
334
407
  /**
335
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
408
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
336
409
  */
337
410
  chainId: string;
338
411
  /**
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getDeploymentTransaction({chainId:e,address:s,currency:t}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/contracts/{address}/transactions:getDeployment",path:{chainId:e,address:s},query:{currency:t}})}listContractDeployments({chainId:e,address:s,pageToken:t,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/contracts/{address}/deployments",path:{chainId:e,address:s},query:{pageToken:t,pageSize:a}})}listTransfers({chainId:e,address:s,startBlock:t,endBlock:a,pageToken:r,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/tokens/{address}/transfers",path:{chainId:e,address:s},query:{startBlock:t,endBlock:a,pageToken:r,pageSize:n}})}listTransactions({chainId:e,address:s,pageToken:t,pageSize:a=10,startBlock:r,endBlock:n,sortOrder:d}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions",path:{chainId:e,address:s},query:{pageToken:t,pageSize:a,startBlock:r,endBlock:n,sortOrder:d}})}listNativeTransactions({chainId:e,address:s,startBlock:t,endBlock:a,pageToken:r,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listNative",path:{chainId:e,address:s},query:{startBlock:t,endBlock:a,pageToken:r,pageSize:n}})}listErc20Transactions({chainId:e,address:s,startBlock:t,endBlock:a,pageToken:r,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc20",path:{chainId:e,address:s},query:{startBlock:t,endBlock:a,pageToken:r,pageSize:n}})}listErc721Transactions({chainId:e,address:s,startBlock:t,endBlock:a,pageToken:r,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc721",path:{chainId:e,address:s},query:{startBlock:t,endBlock:a,pageToken:r,pageSize:n}})}listErc1155Transactions({chainId:e,address:s,startBlock:t,endBlock:a,pageToken:r,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc1155",path:{chainId:e,address:s},query:{startBlock:t,endBlock:a,pageToken:r,pageSize:n}})}listInternalTransactions({chainId:e,address:s,startBlock:t,endBlock:a,pageToken:r,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listInternals",path:{chainId:e,address:s},query:{startBlock:t,endBlock:a,pageToken:r,pageSize:n}})}getTransaction({chainId:e,txHash:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/transactions/{txHash}",path:{chainId:e,txHash:s}})}getTransactionsForBlock({chainId:e,blockId:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/blocks/{blockId}/transactions",path:{chainId:e,blockId:s}})}listLatestTransactions({chainId:e,pageToken:s,pageSize:t=10,status:a}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/transactions",path:{chainId:e},query:{pageToken:s,pageSize:t,status:a}})}}export{e as EvmTransactionsService};
1
+ class e{constructor(e){this.httpRequest=e}listLatestTransactionsAllChains({pageToken:e,pageSize:r=10,network:t,status:s}){return this.httpRequest.request({method:"GET",url:"/v1/transactions",query:{pageToken:e,pageSize:r,network:t,status:s},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getDeploymentTransaction({chainId:e,address:r,currency:t}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/contracts/{address}/transactions:getDeployment",path:{chainId:e,address:r},query:{currency:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listContractDeployments({chainId:e,address:r,pageToken:t,pageSize:s=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/contracts/{address}/deployments",path:{chainId:e,address:r},query:{pageToken:t,pageSize:s},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listTransfers({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/tokens/{address}/transfers",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listTransactions({chainId:e,address:r,pageToken:t,pageSize:s=10,startBlock:n,endBlock:a,sortOrder:i}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions",path:{chainId:e,address:r},query:{pageToken:t,pageSize:s,startBlock:n,endBlock:a,sortOrder:i},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listTransactionsV2({chainId:e,address:r,pageToken:t,pageSize:s=10,startBlock:n,endBlock:a,filterSpamTokens:i,sortOrder:o}){return this.httpRequest.request({method:"GET",url:"/v2/chains/{chainId}/addresses/{address}/transactions",path:{chainId:e,address:r},query:{pageToken:t,pageSize:s,startBlock:n,endBlock:a,filterSpamTokens:i,sortOrder:o},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listNativeTransactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listNative",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listErc20Transactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc20",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listErc721Transactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc721",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listErc1155Transactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc1155",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listInternalTransactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listInternals",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getTransaction({chainId:e,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/transactions/{txHash}",path:{chainId:e,txHash:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getTransactionsForBlock({chainId:e,blockId:r,pageToken:t,pageSize:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/blocks/{blockId}/transactions",path:{chainId:e,blockId:r},query:{pageToken:t,pageSize:s},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listLatestTransactions({chainId:e,pageToken:r,pageSize:t=10,status:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/transactions",path:{chainId:e},query:{pageToken:r,pageSize:t,status:s},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as EvmTransactionsService};
@@ -1,3 +1,4 @@
1
+ import { HealthCheckResultDto } from '../models/HealthCheckResultDto.js';
1
2
  import { CancelablePromise } from '../core/CancelablePromise.js';
2
3
  import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
3
4
 
@@ -6,15 +7,18 @@ declare class HealthCheckService {
6
7
  constructor(httpRequest: BaseHttpRequest);
7
8
  /**
8
9
  * Get the health of the service
9
- * @returns any The Health Check is successful
10
+ * Check the health of the service. This checks the read and write health of the database and cache.
11
+ * @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
10
12
  * @throws ApiError
11
13
  */
12
- healthCheck(): CancelablePromise<{
13
- status?: string;
14
- info?: Record<string, Record<string, string>> | null;
15
- error?: Record<string, Record<string, string>> | null;
16
- details?: Record<string, Record<string, string>>;
17
- }>;
14
+ dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
15
+ /**
16
+ * Get the liveliness of the service (reads only)
17
+ * Check the liveliness of the service (reads only).
18
+ * @returns HealthCheckResultDto The liveliness of the service (reads only)
19
+ * @throws ApiError
20
+ */
21
+ liveCheck(): CancelablePromise<HealthCheckResultDto>;
18
22
  }
19
23
 
20
24
  export { HealthCheckService };
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}healthCheck(){return this.httpRequest.request({method:"GET",url:"/v1/health-check",errors:{503:"The Health Check is not successful"}})}}export{e as HealthCheckService};
1
+ class e{constructor(e){this.httpRequest=e}dataHealthCheck(){return this.httpRequest.request({method:"GET",url:"/v1/health-check",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}liveCheck(){return this.httpRequest.request({method:"GET",url:"/v1/live-check",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as HealthCheckService};
@@ -0,0 +1,90 @@
1
+ import { DeliveredIcmMessage } from '../models/DeliveredIcmMessage.js';
2
+ import { DeliveredSourceNotIndexedIcmMessage } from '../models/DeliveredSourceNotIndexedIcmMessage.js';
3
+ import { ListIcmMessagesResponse } from '../models/ListIcmMessagesResponse.js';
4
+ import { Network } from '../models/Network.js';
5
+ import { PendingIcmMessage } from '../models/PendingIcmMessage.js';
6
+ import { CancelablePromise } from '../core/CancelablePromise.js';
7
+ import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
8
+
9
+ declare class InterchainMessagingService {
10
+ readonly httpRequest: BaseHttpRequest;
11
+ constructor(httpRequest: BaseHttpRequest);
12
+ /**
13
+ * Get an ICM message
14
+ * Gets an ICM message by teleporter message ID.
15
+ * @returns any Successful response
16
+ * @throws ApiError
17
+ */
18
+ getIcmMessage({ messageId, }: {
19
+ /**
20
+ * The teleporter message ID of the ICM message.
21
+ */
22
+ messageId: string;
23
+ }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
24
+ /**
25
+ * List ICM messages
26
+ * Lists ICM messages. Ordered by timestamp in descending order.
27
+ * @returns ListIcmMessagesResponse Successful response
28
+ * @throws ApiError
29
+ */
30
+ listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
31
+ /**
32
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
33
+ */
34
+ pageToken?: string;
35
+ /**
36
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
37
+ */
38
+ pageSize?: number;
39
+ /**
40
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
41
+ */
42
+ sourceBlockchainId?: string;
43
+ /**
44
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
45
+ */
46
+ destinationBlockchainId?: string;
47
+ /**
48
+ * The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
49
+ */
50
+ blockchainId?: string;
51
+ /**
52
+ * The address of the recipient of the ICM message.
53
+ */
54
+ to?: string;
55
+ /**
56
+ * The address of the sender of the ICM message.
57
+ */
58
+ from?: string;
59
+ /**
60
+ * Either mainnet or testnet/fuji.
61
+ */
62
+ network?: Network;
63
+ }): CancelablePromise<ListIcmMessagesResponse>;
64
+ /**
65
+ * List ICM messages by address
66
+ * Lists ICM messages by address. Ordered by timestamp in descending order.
67
+ * @returns ListIcmMessagesResponse Successful response
68
+ * @throws ApiError
69
+ */
70
+ listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
71
+ /**
72
+ * An EVM address.
73
+ */
74
+ address: string;
75
+ /**
76
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
77
+ */
78
+ pageToken?: string;
79
+ /**
80
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
81
+ */
82
+ pageSize?: number;
83
+ /**
84
+ * Either mainnet or testnet/fuji.
85
+ */
86
+ network?: Network;
87
+ }): CancelablePromise<ListIcmMessagesResponse>;
88
+ }
89
+
90
+ export { InterchainMessagingService };
@@ -0,0 +1 @@
1
+ class e{constructor(e){this.httpRequest=e}getIcmMessage({messageId:e}){return this.httpRequest.request({method:"GET",url:"/v1/icm/messages/{messageId}",path:{messageId:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listIcmMessages({pageToken:e,pageSize:r=10,sourceBlockchainId:t,destinationBlockchainId:s,blockchainId:n,to:a,from:i,network:o}){return this.httpRequest.request({method:"GET",url:"/v1/icm/messages",query:{pageToken:e,pageSize:r,sourceBlockchainId:t,destinationBlockchainId:s,blockchainId:n,to:a,from:i,network:o},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listIcmMessagesByAddress({address:e,pageToken:r,pageSize:t=10,network:s}){return this.httpRequest.request({method:"GET",url:"/v1/icm/addresses/{address}/messages",path:{address:e},query:{pageToken:r,pageSize:t,network:s},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as InterchainMessagingService};
@@ -10,12 +10,12 @@ declare class NfTsService {
10
10
  /**
11
11
  * Reindex NFT metadata
12
12
  * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
13
- * @returns any
13
+ * @returns any Successful response
14
14
  * @throws ApiError
15
15
  */
16
16
  reindexNft({ chainId, address, tokenId, }: {
17
17
  /**
18
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
18
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
19
19
  */
20
20
  chainId: string;
21
21
  /**
@@ -30,12 +30,12 @@ declare class NfTsService {
30
30
  /**
31
31
  * List tokens
32
32
  * Lists tokens for an NFT contract.
33
- * @returns ListNftTokens
33
+ * @returns ListNftTokens Successful response
34
34
  * @throws ApiError
35
35
  */
36
36
  listTokens({ chainId, address, pageToken, pageSize, }: {
37
37
  /**
38
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
38
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
39
39
  */
40
40
  chainId: string;
41
41
  /**
@@ -54,12 +54,12 @@ declare class NfTsService {
54
54
  /**
55
55
  * Get token details
56
56
  * Gets token details for a specific token of an NFT contract.
57
- * @returns any
57
+ * @returns any Successful response
58
58
  * @throws ApiError
59
59
  */
60
60
  getTokenDetails({ chainId, address, tokenId, }: {
61
61
  /**
62
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
62
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
63
63
  */
64
64
  chainId: string;
65
65
  /**
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}reindexNft({chainId:e,address:t,tokenId:s}){return this.httpRequest.request({method:"POST",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}:reindex",path:{chainId:e,address:t,tokenId:s}})}listTokens({chainId:e,address:t,pageToken:s,pageSize:d=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens",path:{chainId:e,address:t},query:{pageToken:s,pageSize:d}})}getTokenDetails({chainId:e,address:t,tokenId:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}",path:{chainId:e,address:t,tokenId:s}})}}export{e as NfTsService};
1
+ class e{constructor(e){this.httpRequest=e}reindexNft({chainId:e,address:r,tokenId:t}){return this.httpRequest.request({method:"POST",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}:reindex",path:{chainId:e,address:r,tokenId:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listTokens({chainId:e,address:r,pageToken:t,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens",path:{chainId:e,address:r},query:{pageToken:t,pageSize:n},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getTokenDetails({chainId:e,address:r,tokenId:t}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}",path:{chainId:e,address:r,tokenId:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as NfTsService};
@@ -10,7 +10,7 @@ declare class OperationsService {
10
10
  /**
11
11
  * Get operation
12
12
  * Gets operation details for the given operation id.
13
- * @returns OperationStatusResponse
13
+ * @returns OperationStatusResponse Successful response
14
14
  * @throws ApiError
15
15
  */
16
16
  getOperationResult({ operationId, }: {
@@ -24,7 +24,7 @@ declare class OperationsService {
24
24
  * Trigger a transaction export operation with given parameters.
25
25
  *
26
26
  * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
27
- * @returns OperationStatusResponse
27
+ * @returns OperationStatusResponse Successful response
28
28
  * @throws ApiError
29
29
  */
30
30
  postTransactionExportJob({ requestBody, }: {