@avalabs/glacier-sdk 3.1.0-canary.3cc8c79.0 → 3.1.0-canary.3d27bb6.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 (240) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.d.ts +779 -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/LastActivityTimestamp.d.ts +29 -0
  85. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  86. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  87. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  88. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  89. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  90. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  91. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  92. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  93. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  94. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  95. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  96. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  97. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  98. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  99. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  100. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  101. package/esm/generated/models/ListIcmMessagesResponse.d.ts +3 -2
  102. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  103. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
  104. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  105. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  106. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  107. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  108. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  109. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  110. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  111. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  112. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
  113. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  114. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  115. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  116. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  117. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  118. package/esm/generated/models/ListWebhooksResponse.d.ts +4 -3
  119. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  120. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  121. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  122. package/esm/generated/models/Log.d.ts +1 -1
  123. package/esm/generated/models/LogsFormat.d.ts +1 -1
  124. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  125. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  126. package/esm/generated/models/Method.d.ts +1 -1
  127. package/esm/generated/models/Metric.d.ts +1 -1
  128. package/esm/generated/models/Money.d.ts +1 -1
  129. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  130. package/esm/generated/models/NativeTransaction.d.ts +10 -2
  131. package/esm/generated/models/NetworkToken.d.ts +1 -1
  132. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  133. package/esm/generated/models/NetworkTokenInfo.d.ts +1 -1
  134. package/esm/generated/models/NextPageToken.d.ts +1 -1
  135. package/esm/generated/models/NotFound.d.ts +1 -1
  136. package/esm/generated/models/NotificationsResponse.d.ts +1 -1
  137. package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
  138. package/esm/generated/models/PChainBalance.d.ts +1 -1
  139. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  140. package/esm/generated/models/PChainTransaction.d.ts +7 -2
  141. package/esm/generated/models/PChainUtxo.d.ts +5 -1
  142. package/esm/generated/models/PendingReward.d.ts +1 -1
  143. package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
  144. package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
  145. package/esm/generated/models/PricingProviders.d.ts +1 -1
  146. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
  147. package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
  148. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
  149. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
  150. package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
  151. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
  152. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
  153. package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
  154. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
  155. package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
  156. package/esm/generated/models/{PlatformBalanceThresholdFilter.d.ts → PrimaryNetworkBalanceThresholdFilter.d.ts} +2 -2
  157. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  158. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  159. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  160. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  161. package/esm/generated/models/ResourceLink.d.ts +1 -1
  162. package/esm/generated/models/Rewards.d.ts +1 -1
  163. package/esm/generated/models/RichAddress.d.ts +1 -1
  164. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  165. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  166. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  167. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  168. package/esm/generated/models/SignatureAggregatorRequest.d.ts +22 -2
  169. package/esm/generated/models/StakingDistribution.d.ts +1 -1
  170. package/esm/generated/models/Subnet.d.ts +1 -1
  171. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  172. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  173. package/esm/generated/models/SubscribeRequest.d.ts +1 -1
  174. package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
  175. package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
  176. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  177. package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
  178. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  179. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  180. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  181. package/esm/generated/models/Transaction.d.ts +3 -3
  182. package/esm/generated/models/TransactionDetails.d.ts +1 -1
  183. package/esm/generated/models/TransactionEvent.d.ts +1 -1
  184. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  185. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  186. package/esm/generated/models/Unauthorized.d.ts +1 -1
  187. package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
  188. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  189. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  190. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  191. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  192. package/esm/generated/models/Utxo.d.ts +5 -1
  193. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  194. package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
  195. package/esm/generated/models/UtxosSortByOption.js +1 -0
  196. package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
  197. package/esm/generated/models/ValidatorActivityEventType.js +1 -0
  198. package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
  199. package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
  200. package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
  201. package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
  202. package/esm/generated/models/ValidatorActivityRequest.js +1 -0
  203. package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
  204. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
  205. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  206. package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
  207. package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
  208. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  209. package/esm/generated/models/XChainBalances.d.ts +1 -1
  210. package/esm/generated/models/XChainId.d.ts +0 -1
  211. package/esm/generated/models/XChainId.js +1 -1
  212. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  213. package/esm/generated/models/XChainVertex.d.ts +1 -1
  214. package/esm/generated/services/AvaxSupplyService.d.ts +17 -0
  215. package/esm/generated/services/AvaxSupplyService.js +1 -0
  216. package/esm/generated/services/EvmBlocksService.d.ts +1 -1
  217. package/esm/generated/services/EvmChainsService.d.ts +1 -1
  218. package/esm/generated/services/EvmTransactionsService.d.ts +40 -1
  219. package/esm/generated/services/EvmTransactionsService.js +1 -1
  220. package/esm/generated/services/HealthCheckService.d.ts +9 -2
  221. package/esm/generated/services/HealthCheckService.js +1 -1
  222. package/esm/generated/services/PrimaryNetworkService.d.ts +4 -4
  223. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  224. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +94 -1
  225. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  226. package/esm/generated/services/WebhooksService.d.ts +9 -7
  227. package/esm/index.d.ts +30 -8
  228. package/esm/index.js +1 -1
  229. package/package.json +5 -5
  230. package/esm/generated/models/EventType.d.ts +0 -7
  231. package/esm/generated/models/EventType.js +0 -1
  232. package/esm/generated/models/PlatformActivityKeyType.d.ts +0 -10
  233. package/esm/generated/models/PlatformActivityKeyType.js +0 -1
  234. package/esm/generated/models/PlatformActivityMetadata.d.ts +0 -37
  235. package/esm/generated/models/PlatformActivityRequest.d.ts +0 -31
  236. package/esm/generated/models/PlatformActivityRequest.js +0 -1
  237. package/esm/generated/models/PlatformActivityResponse.d.ts +0 -17
  238. package/esm/generated/models/PlatformActivitySubEvents.d.ts +0 -11
  239. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +0 -10
  240. package/esm/generated/models/PlatformAddressActivitySubEventType.js +0 -1
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}listLatestTransactionsAllChains({pageToken:e,pageSize:r=10,network:t,status:n}){return this.httpRequest.request({method:"GET",url:"/v1/transactions",query:{pageToken:e,pageSize:r,network:t,status: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."}})}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:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/contracts/{address}/deployments",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."}})}listTransfers({chainId:e,address:r,startBlock:t,endBlock:n,pageToken:s,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:n,pageToken:s,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:n=10,startBlock:s,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:n,startBlock:s,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."}})}listNativeTransactions({chainId:e,address:r,startBlock:t,endBlock:n,pageToken:s,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:n,pageToken:s,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:n,pageToken:s,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:n,pageToken:s,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:n,pageToken:s,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:n,pageToken:s,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:n,pageToken:s,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:n,pageToken:s,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:n,pageToken:s,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:n,pageToken:s,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:n}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/blocks/{blockId}/transactions",path:{chainId:e,blockId: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."}})}listLatestTransactions({chainId:e,pageToken:r,pageSize:t=10,status:n}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/transactions",path:{chainId:e},query:{pageToken:r,pageSize:t,status: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."}})}}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};
@@ -7,11 +7,18 @@ declare class HealthCheckService {
7
7
  constructor(httpRequest: BaseHttpRequest);
8
8
  /**
9
9
  * Get the health of the service
10
- * Check the health of the service.
11
- * @returns HealthCheckResultDto The health of the service
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.
12
12
  * @throws ApiError
13
13
  */
14
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>;
15
22
  }
16
23
 
17
24
  export { HealthCheckService };
@@ -1 +1 @@
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."}})}}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};
@@ -84,7 +84,7 @@ declare class PrimaryNetworkService {
84
84
  */
85
85
  pageToken?: string;
86
86
  /**
87
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
87
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
88
88
  */
89
89
  pageSize?: number;
90
90
  /**
@@ -124,7 +124,7 @@ declare class PrimaryNetworkService {
124
124
  */
125
125
  pageToken?: string;
126
126
  /**
127
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
127
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
128
128
  */
129
129
  pageSize?: number;
130
130
  /**
@@ -150,7 +150,7 @@ declare class PrimaryNetworkService {
150
150
  }): CancelablePromise<Subnet>;
151
151
  /**
152
152
  * List validators
153
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
153
+ * Lists details for validators. By default, returns details for all validators. The nodeIds parameter supports substring matching. Filterable by validation status, delegation capacity, time remaining, fee percentage, uptime performance, and subnet id.
154
154
  * @returns ListValidatorDetailsResponse Successful response
155
155
  * @throws ApiError
156
156
  */
@@ -168,7 +168,7 @@ declare class PrimaryNetworkService {
168
168
  */
169
169
  pageSize?: number;
170
170
  /**
171
- * A comma separated list of node ids to filter by.
171
+ * A comma separated list of node ids to filter by. Supports substring matching.
172
172
  */
173
173
  nodeIds?: string;
174
174
  /**
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:r,assetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:r,assetId: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."}})}getChainIdsForAddresses({addresses:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:r},query:{addresses: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."}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{network: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."}})}listBlockchains({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder: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."}})}getBlockchainById({blockchainId:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}",path:{blockchainId:e,network: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."}})}listSubnets({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder: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."}})}getSubnetById({network:e,subnetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId: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."}})}listValidators({network:e,pageToken:r,pageSize:t=10,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},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."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder: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."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds: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."}})}listL1Validators({network:e,pageToken:r,pageSize:t=10,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/l1Validators",path:{network:e},query:{pageToken:r,pageSize:t,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId: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."}})}}export{e as PrimaryNetworkService};
1
+ class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:r,assetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:r,assetId: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."}})}getChainIdsForAddresses({addresses:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:r},query:{addresses: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."}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{network: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."}})}listBlockchains({network:e,pageToken:r,pageSize:t=100,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder: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."}})}getBlockchainById({blockchainId:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}",path:{blockchainId:e,network: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."}})}listSubnets({network:e,pageToken:r,pageSize:t=100,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder: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."}})}getSubnetById({network:e,subnetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId: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."}})}listValidators({network:e,pageToken:r,pageSize:t=10,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},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."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder: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."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds: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."}})}listL1Validators({network:e,pageToken:r,pageSize:t=10,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/l1Validators",path:{network:e},query:{pageToken:r,pageSize:t,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId: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."}})}}export{e as PrimaryNetworkService};
@@ -1,8 +1,11 @@
1
1
  import { BlockchainId } from '../models/BlockchainId.js';
2
+ import { LastActivityTimestamp } from '../models/LastActivityTimestamp.js';
2
3
  import { ListPChainUtxosResponse } from '../models/ListPChainUtxosResponse.js';
3
4
  import { ListUtxosResponse } from '../models/ListUtxosResponse.js';
4
5
  import { Network } from '../models/Network.js';
6
+ import { PrimaryNetworkAddressesBodyDto } from '../models/PrimaryNetworkAddressesBodyDto.js';
5
7
  import { SortOrder } from '../models/SortOrder.js';
8
+ import { UtxosSortByOption } from '../models/UtxosSortByOption.js';
6
9
  import { CancelablePromise } from '../core/CancelablePromise.js';
7
10
  import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
8
11
 
@@ -15,7 +18,7 @@ declare class PrimaryNetworkUtxOsService {
15
18
  * @returns any Successful response
16
19
  * @throws ApiError
17
20
  */
18
- getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
21
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
19
22
  /**
20
23
  * A primary network blockchain id or alias.
21
24
  */
@@ -40,15 +43,105 @@ declare class PrimaryNetworkUtxOsService {
40
43
  * Asset ID for any asset (only applicable X-Chain)
41
44
  */
42
45
  assetId?: string;
46
+ /**
47
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
48
+ */
49
+ minUtxoAmount?: number;
50
+ /**
51
+ * Boolean filter to include spent UTXOs.
52
+ */
53
+ includeSpent?: boolean;
54
+ /**
55
+ * Which property to sort by, in conjunction with sortOrder.
56
+ */
57
+ sortBy?: UtxosSortByOption;
58
+ /**
59
+ * 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.
60
+ */
61
+ sortOrder?: SortOrder;
62
+ }): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
63
+ /**
64
+ * List UTXOs v2 - Supports querying for more addresses
65
+ * Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
66
+ * @returns any Successful response
67
+ * @throws ApiError
68
+ */
69
+ getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
70
+ /**
71
+ * A primary network blockchain id or alias.
72
+ */
73
+ blockchainId: BlockchainId;
74
+ /**
75
+ * Either mainnet or testnet/fuji.
76
+ */
77
+ network: Network;
78
+ requestBody: PrimaryNetworkAddressesBodyDto;
79
+ /**
80
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
81
+ */
82
+ pageToken?: string;
83
+ /**
84
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
85
+ */
86
+ pageSize?: number;
87
+ /**
88
+ * Asset ID for any asset (only applicable X-Chain)
89
+ */
90
+ assetId?: string;
91
+ /**
92
+ * The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
93
+ */
94
+ minUtxoAmount?: number;
43
95
  /**
44
96
  * Boolean filter to include spent UTXOs.
45
97
  */
46
98
  includeSpent?: boolean;
99
+ /**
100
+ * Which property to sort by, in conjunction with sortOrder.
101
+ */
102
+ sortBy?: UtxosSortByOption;
47
103
  /**
48
104
  * 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.
49
105
  */
50
106
  sortOrder?: SortOrder;
51
107
  }): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
108
+ /**
109
+ * Get last activity timestamp by addresses
110
+ * Gets the last activity timestamp for the supplied addresses on one of the Primary Network chains.
111
+ * @returns any Successful response
112
+ * @throws ApiError
113
+ */
114
+ getLastActivityTimestampByAddresses({ blockchainId, network, addresses, }: {
115
+ /**
116
+ * A primary network blockchain id or alias.
117
+ */
118
+ blockchainId: BlockchainId;
119
+ /**
120
+ * Either mainnet or testnet/fuji.
121
+ */
122
+ network: Network;
123
+ /**
124
+ * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
125
+ */
126
+ addresses?: string;
127
+ }): CancelablePromise<LastActivityTimestamp>;
128
+ /**
129
+ * Get last activity timestamp by addresses v2
130
+ * Gets the last activity timestamp for the supplied addresses on one of the Primary Network chains. V2 route supports querying for more addresses.
131
+ * @returns any Successful response
132
+ * @throws ApiError
133
+ */
134
+ getLastActivityTimestampByAddressesV2({ blockchainId, network, requestBody, }: {
135
+ /**
136
+ * A primary network blockchain id or alias.
137
+ */
138
+ blockchainId: BlockchainId;
139
+ /**
140
+ * Either mainnet or testnet/fuji.
141
+ */
142
+ network: Network;
143
+ requestBody: PrimaryNetworkAddressesBodyDto;
144
+ }): CancelablePromise<LastActivityTimestamp>;
52
145
  }
53
146
 
54
147
  export { PrimaryNetworkUtxOsService };
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getUtxosByAddresses({blockchainId:e,network:r,addresses:t,pageToken:s,pageSize:n=10,assetId:a,includeSpent:i,sortOrder:o}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/utxos",path:{blockchainId:e,network:r},query:{addresses:t,pageToken:s,pageSize:n,assetId:a,includeSpent: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."}})}}export{e as PrimaryNetworkUtxOsService};
1
+ class e{constructor(e){this.httpRequest=e}getUtxosByAddresses({blockchainId:e,network:r,addresses:t,pageToken:s,pageSize:n=10,assetId:i,minUtxoAmount:a,includeSpent:o,sortBy:h,sortOrder:d}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/utxos",path:{blockchainId:e,network:r},query:{addresses:t,pageToken:s,pageSize:n,assetId:i,minUtxoAmount:a,includeSpent:o,sortBy:h,sortOrder:d},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."}})}getUtxosByAddressesV2({blockchainId:e,network:r,requestBody:t,pageToken:s,pageSize:n=10,assetId:i,minUtxoAmount:a,includeSpent:o,sortBy:h,sortOrder:d}){return this.httpRequest.request({method:"POST",url:"/v1/networks/{network}/blockchains/{blockchainId}/utxos",path:{blockchainId:e,network:r},query:{pageToken:s,pageSize:n,assetId:i,minUtxoAmount:a,includeSpent:o,sortBy:h,sortOrder:d},body:t,mediaType:"application/json",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."}})}getLastActivityTimestampByAddresses({blockchainId:e,network:r,addresses:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/lastActivityTimestampByAddresses",path:{blockchainId:e,network:r},query:{addresses: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."}})}getLastActivityTimestampByAddressesV2({blockchainId:e,network:r,requestBody:t}){return this.httpRequest.request({method:"POST",url:"/v1/networks/{network}/blockchains/{blockchainId}/lastActivityTimestampByAddresses",path:{blockchainId:e,network:r},body:t,mediaType:"application/json",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 PrimaryNetworkUtxOsService};
@@ -3,10 +3,12 @@ import { EVMAddressActivityRequest } from '../models/EVMAddressActivityRequest.j
3
3
  import { EVMAddressActivityResponse } from '../models/EVMAddressActivityResponse.js';
4
4
  import { ListWebhookAddressesResponse } from '../models/ListWebhookAddressesResponse.js';
5
5
  import { ListWebhooksResponse } from '../models/ListWebhooksResponse.js';
6
- import { PlatformActivityRequest } from '../models/PlatformActivityRequest.js';
7
- import { PlatformActivityResponse } from '../models/PlatformActivityResponse.js';
6
+ import { PrimaryNetworkAddressActivityRequest } from '../models/PrimaryNetworkAddressActivityRequest.js';
7
+ import { PrimaryNetworkAddressActivityResponse } from '../models/PrimaryNetworkAddressActivityResponse.js';
8
8
  import { SharedSecretsResponse } from '../models/SharedSecretsResponse.js';
9
9
  import { UpdateWebhookRequest } from '../models/UpdateWebhookRequest.js';
10
+ import { ValidatorActivityRequest } from '../models/ValidatorActivityRequest.js';
11
+ import { ValidatorActivityResponse } from '../models/ValidatorActivityResponse.js';
10
12
  import { WebhookStatus } from '../models/WebhookStatus.js';
11
13
  import { CancelablePromise } from '../core/CancelablePromise.js';
12
14
  import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
@@ -21,8 +23,8 @@ declare class WebhooksService {
21
23
  * @throws ApiError
22
24
  */
23
25
  createWebhook({ requestBody, }: {
24
- requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
25
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
26
+ requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
27
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
26
28
  /**
27
29
  * List webhooks
28
30
  * Lists webhooks for the user.
@@ -54,7 +56,7 @@ declare class WebhooksService {
54
56
  * The webhook identifier.
55
57
  */
56
58
  id: string;
57
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
59
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
58
60
  /**
59
61
  * Deactivate a webhook
60
62
  * Deactivates a webhook by ID.
@@ -66,7 +68,7 @@ declare class WebhooksService {
66
68
  * The webhook identifier.
67
69
  */
68
70
  id: string;
69
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
71
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
70
72
  /**
71
73
  * Update a webhook
72
74
  * Updates an existing webhook.
@@ -79,7 +81,7 @@ declare class WebhooksService {
79
81
  */
80
82
  id: string;
81
83
  requestBody: UpdateWebhookRequest;
82
- }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
84
+ }): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
83
85
  /**
84
86
  * Generate or rotate a shared secret
85
87
  * Generates a new shared secret or rotate an existing one.
package/esm/index.d.ts CHANGED
@@ -7,18 +7,21 @@ export { AccessListData } from './generated/models/AccessListData.js';
7
7
  export { AccessRequest } from './generated/models/AccessRequest.js';
8
8
  export { ActiveDelegatorDetails } from './generated/models/ActiveDelegatorDetails.js';
9
9
  export { ActiveValidatorDetails } from './generated/models/ActiveValidatorDetails.js';
10
+ export { AddressActivityEventType } from './generated/models/AddressActivityEventType.js';
10
11
  export { AddressActivityMetadata } from './generated/models/AddressActivityMetadata.js';
11
12
  export { AddressesChangeRequest } from './generated/models/AddressesChangeRequest.js';
12
13
  export { AggregatedAssetAmount } from './generated/models/AggregatedAssetAmount.js';
13
14
  export { ApiFeature } from './generated/models/ApiFeature.js';
14
15
  export { AssetAmount } from './generated/models/AssetAmount.js';
15
16
  export { AssetWithPriceInfo } from './generated/models/AssetWithPriceInfo.js';
17
+ export { AvaxSupplyResponse } from './generated/models/AvaxSupplyResponse.js';
16
18
  export { BadGateway } from './generated/models/BadGateway.js';
17
19
  export { BadRequest } from './generated/models/BadRequest.js';
18
20
  export { BalanceOwner } from './generated/models/BalanceOwner.js';
19
21
  export { Blockchain } from './generated/models/Blockchain.js';
20
22
  export { BlockchainId } from './generated/models/BlockchainId.js';
21
23
  export { BlockchainIds } from './generated/models/BlockchainIds.js';
24
+ export { BlockchainInfo } from './generated/models/BlockchainInfo.js';
22
25
  export { BlsCredentials } from './generated/models/BlsCredentials.js';
23
26
  export { CChainAtomicBalances } from './generated/models/CChainAtomicBalances.js';
24
27
  export { CChainExportTransaction } from './generated/models/CChainExportTransaction.js';
@@ -66,10 +69,15 @@ export { Erc721Transfer } from './generated/models/Erc721Transfer.js';
66
69
  export { Erc721TransferDetails } from './generated/models/Erc721TransferDetails.js';
67
70
  export { ERCToken } from './generated/models/ERCToken.js';
68
71
  export { ERCTransfer } from './generated/models/ERCTransfer.js';
69
- export { EventType } from './generated/models/EventType.js';
70
72
  export { EVMAddressActivityRequest } from './generated/models/EVMAddressActivityRequest.js';
71
73
  export { EVMAddressActivityResponse } from './generated/models/EVMAddressActivityResponse.js';
72
74
  export { EvmBlock } from './generated/models/EvmBlock.js';
75
+ export { EvmGenesisAllocDto } from './generated/models/EvmGenesisAllocDto.js';
76
+ export { EvmGenesisAllowListConfigDto } from './generated/models/EvmGenesisAllowListConfigDto.js';
77
+ export { EvmGenesisConfigDto } from './generated/models/EvmGenesisConfigDto.js';
78
+ export { EvmGenesisDto } from './generated/models/EvmGenesisDto.js';
79
+ export { EvmGenesisFeeConfigDto } from './generated/models/EvmGenesisFeeConfigDto.js';
80
+ export { EvmGenesisWarpConfigDto } from './generated/models/EvmGenesisWarpConfigDto.js';
73
81
  export { EVMInput } from './generated/models/EVMInput.js';
74
82
  export { EvmNetworkOptions } from './generated/models/EvmNetworkOptions.js';
75
83
  export { EVMOperationType } from './generated/models/EVMOperationType.js';
@@ -98,6 +106,7 @@ export { InternalTransactionOpCall } from './generated/models/InternalTransactio
98
106
  export { L1ValidatorDetailsFull } from './generated/models/L1ValidatorDetailsFull.js';
99
107
  export { L1ValidatorDetailsTransaction } from './generated/models/L1ValidatorDetailsTransaction.js';
100
108
  export { L1ValidatorManagerDetails } from './generated/models/L1ValidatorManagerDetails.js';
109
+ export { LastActivityTimestamp } from './generated/models/LastActivityTimestamp.js';
101
110
  export { ListAddressChainsResponse } from './generated/models/ListAddressChainsResponse.js';
102
111
  export { ListBlockchainsResponse } from './generated/models/ListBlockchainsResponse.js';
103
112
  export { ListCChainAtomicBalancesResponse } from './generated/models/ListCChainAtomicBalancesResponse.js';
@@ -167,16 +176,18 @@ export { PendingIcmMessage } from './generated/models/PendingIcmMessage.js';
167
176
  export { PendingReward } from './generated/models/PendingReward.js';
168
177
  export { PendingTeleporterMessage } from './generated/models/PendingTeleporterMessage.js';
169
178
  export { PendingValidatorDetails } from './generated/models/PendingValidatorDetails.js';
170
- export { PlatformActivityKeyType } from './generated/models/PlatformActivityKeyType.js';
171
- export { PlatformActivityMetadata } from './generated/models/PlatformActivityMetadata.js';
172
- export { PlatformActivityRequest } from './generated/models/PlatformActivityRequest.js';
173
- export { PlatformActivityResponse } from './generated/models/PlatformActivityResponse.js';
174
- export { PlatformActivitySubEvents } from './generated/models/PlatformActivitySubEvents.js';
175
- export { PlatformAddressActivitySubEventType } from './generated/models/PlatformAddressActivitySubEventType.js';
176
- export { PlatformBalanceThresholdFilter } from './generated/models/PlatformBalanceThresholdFilter.js';
179
+ export { PlatformAddressActivityKeyType } from './generated/models/PlatformAddressActivityKeyType.js';
177
180
  export { PricingProviders } from './generated/models/PricingProviders.js';
181
+ export { PrimaryNetworkAddressActivityEventType } from './generated/models/PrimaryNetworkAddressActivityEventType.js';
182
+ export { PrimaryNetworkAddressActivityMetadata } from './generated/models/PrimaryNetworkAddressActivityMetadata.js';
183
+ export { PrimaryNetworkAddressActivityRequest } from './generated/models/PrimaryNetworkAddressActivityRequest.js';
184
+ export { PrimaryNetworkAddressActivityResponse } from './generated/models/PrimaryNetworkAddressActivityResponse.js';
185
+ export { PrimaryNetworkAddressActivitySubEvents } from './generated/models/PrimaryNetworkAddressActivitySubEvents.js';
186
+ export { PrimaryNetworkAddressActivitySubEventType } from './generated/models/PrimaryNetworkAddressActivitySubEventType.js';
187
+ export { PrimaryNetworkAddressesBodyDto } from './generated/models/PrimaryNetworkAddressesBodyDto.js';
178
188
  export { PrimaryNetworkAssetCap } from './generated/models/PrimaryNetworkAssetCap.js';
179
189
  export { PrimaryNetworkAssetType } from './generated/models/PrimaryNetworkAssetType.js';
190
+ export { PrimaryNetworkBalanceThresholdFilter } from './generated/models/PrimaryNetworkBalanceThresholdFilter.js';
180
191
  export { PrimaryNetworkBlock } from './generated/models/PrimaryNetworkBlock.js';
181
192
  export { PrimaryNetworkChainInfo } from './generated/models/PrimaryNetworkChainInfo.js';
182
193
  export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainName.js';
@@ -238,12 +249,20 @@ export { UsageMetricsValueDTO } from './generated/models/UsageMetricsValueDTO.js
238
249
  export { UtilityAddresses } from './generated/models/UtilityAddresses.js';
239
250
  export { Utxo } from './generated/models/Utxo.js';
240
251
  export { UtxoCredential } from './generated/models/UtxoCredential.js';
252
+ export { UtxosSortByOption } from './generated/models/UtxosSortByOption.js';
241
253
  export { UtxoType } from './generated/models/UtxoType.js';
242
254
  export { ValidationStatusType } from './generated/models/ValidationStatusType.js';
255
+ export { ValidatorActivityEventType } from './generated/models/ValidatorActivityEventType.js';
256
+ export { ValidatorActivityKeyType } from './generated/models/ValidatorActivityKeyType.js';
257
+ export { ValidatorActivityMetadata } from './generated/models/ValidatorActivityMetadata.js';
258
+ export { ValidatorActivityRequest } from './generated/models/ValidatorActivityRequest.js';
259
+ export { ValidatorActivityResponse } from './generated/models/ValidatorActivityResponse.js';
260
+ export { ValidatorActivitySubEvents } from './generated/models/ValidatorActivitySubEvents.js';
243
261
  export { ValidatorHealthDetails } from './generated/models/ValidatorHealthDetails.js';
244
262
  export { ValidatorsDetails } from './generated/models/ValidatorsDetails.js';
245
263
  export { VmName } from './generated/models/VmName.js';
246
264
  export { WebhookAddressActivityResponse } from './generated/models/WebhookAddressActivityResponse.js';
265
+ export { WebhookInternalTransaction } from './generated/models/WebhookInternalTransaction.js';
247
266
  export { WebhookStatus } from './generated/models/WebhookStatus.js';
248
267
  export { WebhookStatusType } from './generated/models/WebhookStatusType.js';
249
268
  export { XChainAssetDetails } from './generated/models/XChainAssetDetails.js';
@@ -254,6 +273,7 @@ export { XChainNonLinearTransaction } from './generated/models/XChainNonLinearTr
254
273
  export { XChainSharedAssetBalance } from './generated/models/XChainSharedAssetBalance.js';
255
274
  export { XChainTransactionType } from './generated/models/XChainTransactionType.js';
256
275
  export { XChainVertex } from './generated/models/XChainVertex.js';
276
+ export { AvaxSupplyService } from './generated/services/AvaxSupplyService.js';
257
277
  export { DataApiUsageMetricsService } from './generated/services/DataApiUsageMetricsService.js';
258
278
  export { DefaultService } from './generated/services/DefaultService.js';
259
279
  export { EvmBalancesService } from './generated/services/EvmBalancesService.js';
@@ -276,3 +296,5 @@ export { PrimaryNetworkVerticesService } from './generated/services/PrimaryNetwo
276
296
  export { SignatureAggregatorService } from './generated/services/SignatureAggregatorService.js';
277
297
  export { TeleporterService } from './generated/services/TeleporterService.js';
278
298
  export { WebhooksService } from './generated/services/WebhooksService.js';
299
+ export { FetchHttpRequest } from './generated/core/FetchHttpRequest.js';
300
+ export { ApiRequestOptions } from './generated/core/ApiRequestOptions.js';