@avalabs/glacier-sdk 3.1.0-canary.fec0caf.0 → 3.1.1-canary.b873d0d.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 (190) hide show
  1. package/dist/index.d.ts +18 -22
  2. package/dist/index.js +1 -0
  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 +1 -2
  8. package/esm/generated/core/OpenAPI.d.ts +1 -2
  9. package/esm/generated/models/AccessListData.d.ts +1 -1
  10. package/esm/generated/models/AccessRequest.d.ts +1 -1
  11. package/esm/generated/models/AddressActivityMetadata.d.ts +2 -2
  12. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  13. package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
  14. package/esm/generated/models/AssetAmount.d.ts +1 -1
  15. package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
  16. package/esm/generated/models/BadGateway.d.ts +1 -1
  17. package/esm/generated/models/BadRequest.d.ts +1 -1
  18. package/esm/generated/models/BalanceOwner.d.ts +1 -1
  19. package/esm/generated/models/Blockchain.d.ts +1 -1
  20. package/esm/generated/models/BlockchainId.d.ts +0 -2
  21. package/esm/generated/models/BlockchainId.js +1 -1
  22. package/esm/generated/models/BlockchainIds.d.ts +1 -3
  23. package/esm/generated/models/BlockchainIds.js +1 -1
  24. package/esm/generated/models/BlockchainInfo.d.ts +1 -1
  25. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  26. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  27. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  28. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  29. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  30. package/esm/generated/models/ChainInfo.d.ts +1 -1
  31. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  32. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  33. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  34. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  35. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  36. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  37. package/esm/generated/models/ERCToken.d.ts +1 -1
  38. package/esm/generated/models/ERCTransfer.d.ts +1 -1
  39. package/esm/generated/models/EVMAddressActivityResponse.d.ts +1 -1
  40. package/esm/generated/models/EVMInput.d.ts +1 -1
  41. package/esm/generated/models/EVMOutput.d.ts +1 -1
  42. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  43. package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
  44. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  45. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  46. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  47. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  48. package/esm/generated/models/Erc721Transfer.d.ts +1 -1
  49. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  50. package/esm/generated/models/EvmBlock.d.ts +1 -1
  51. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  52. package/esm/generated/models/Forbidden.d.ts +1 -1
  53. package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
  54. package/esm/generated/models/Geolocation.d.ts +1 -1
  55. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  56. package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
  57. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  58. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  59. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  60. package/esm/generated/models/GetTransactionResponse.d.ts +1 -1
  61. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  62. package/esm/generated/models/IcmDestinationTransaction.d.ts +1 -1
  63. package/esm/generated/models/IcmReceipt.d.ts +1 -1
  64. package/esm/generated/models/IcmSourceTransaction.d.ts +1 -1
  65. package/esm/generated/models/ImageAsset.d.ts +1 -1
  66. package/esm/generated/models/InternalServerError.d.ts +1 -1
  67. package/esm/generated/models/InternalTransaction.d.ts +1 -1
  68. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  69. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +1 -1
  70. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +1 -1
  71. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  72. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  73. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  74. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  75. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  76. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  77. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  78. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  79. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  80. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  81. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  82. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  83. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  84. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  85. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  86. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  87. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  88. package/esm/generated/models/ListIcmMessagesResponse.d.ts +1 -1
  89. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  90. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +1 -1
  91. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  92. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  93. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  94. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  95. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  96. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  97. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  98. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  99. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +1 -1
  100. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  101. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  102. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  103. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  104. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  105. package/esm/generated/models/ListWebhooksResponse.d.ts +1 -1
  106. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  107. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  108. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  109. package/esm/generated/models/Log.d.ts +1 -1
  110. package/esm/generated/models/LogsFormat.d.ts +1 -1
  111. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  112. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  113. package/esm/generated/models/Method.d.ts +1 -1
  114. package/esm/generated/models/Metric.d.ts +1 -1
  115. package/esm/generated/models/Money.d.ts +1 -1
  116. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  117. package/esm/generated/models/NativeTransaction.d.ts +1 -1
  118. package/esm/generated/models/NetworkToken.d.ts +1 -1
  119. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  120. package/esm/generated/models/NetworkTokenInfo.d.ts +1 -1
  121. package/esm/generated/models/NextPageToken.d.ts +1 -1
  122. package/esm/generated/models/NotFound.d.ts +1 -1
  123. package/esm/generated/models/NotificationsResponse.d.ts +1 -1
  124. package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
  125. package/esm/generated/models/PChainBalance.d.ts +1 -1
  126. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  127. package/esm/generated/models/PChainTransaction.d.ts +1 -1
  128. package/esm/generated/models/PChainUtxo.d.ts +1 -1
  129. package/esm/generated/models/PendingReward.d.ts +1 -1
  130. package/esm/generated/models/PricingProviders.d.ts +1 -1
  131. package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +2 -2
  132. package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +1 -1
  133. package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +1 -1
  134. package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +1 -1
  135. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  136. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  137. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
  138. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  139. package/esm/generated/models/ResourceLink.d.ts +1 -1
  140. package/esm/generated/models/Rewards.d.ts +1 -1
  141. package/esm/generated/models/RichAddress.d.ts +1 -1
  142. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  143. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  144. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  145. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  146. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
  147. package/esm/generated/models/StakingDistribution.d.ts +1 -1
  148. package/esm/generated/models/Subnet.d.ts +1 -1
  149. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  150. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  151. package/esm/generated/models/SubscribeRequest.d.ts +1 -1
  152. package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
  153. package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
  154. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  155. package/esm/generated/models/TeleporterMessageInfo.d.ts +1 -1
  156. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  157. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  158. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  159. package/esm/generated/models/Transaction.d.ts +1 -1
  160. package/esm/generated/models/TransactionDetails.d.ts +1 -1
  161. package/esm/generated/models/TransactionEvent.d.ts +1 -1
  162. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  163. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  164. package/esm/generated/models/Unauthorized.d.ts +1 -1
  165. package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
  166. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  167. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  168. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  169. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  170. package/esm/generated/models/Utxo.d.ts +1 -1
  171. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  172. package/esm/generated/models/ValidatorActivityMetadata.d.ts +1 -1
  173. package/esm/generated/models/ValidatorActivityResponse.d.ts +1 -1
  174. package/esm/generated/models/ValidatorActivitySubEvents.d.ts +1 -1
  175. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  176. package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
  177. package/esm/generated/models/WebhookInternalTransaction.d.ts +1 -1
  178. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  179. package/esm/generated/models/XChainBalances.d.ts +1 -1
  180. package/esm/generated/models/XChainId.d.ts +0 -1
  181. package/esm/generated/models/XChainId.js +1 -1
  182. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  183. package/esm/generated/models/XChainVertex.d.ts +1 -1
  184. package/esm/generated/services/AvaxSupplyService.d.ts +16 -0
  185. package/esm/generated/services/AvaxSupplyService.js +1 -0
  186. package/esm/index.d.ts +1 -2
  187. package/esm/index.js +1 -1
  188. package/package.json +4 -13
  189. package/dist/index.cjs +0 -1
  190. package/esm/generated/core/FetchHttpRequest.d.ts +0 -17
package/dist/index.d.ts CHANGED
@@ -54,6 +54,18 @@ declare abstract class BaseHttpRequest {
54
54
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
55
55
  }
56
56
 
57
+ declare class AvaxSupplyService {
58
+ readonly httpRequest: BaseHttpRequest;
59
+ constructor(httpRequest: BaseHttpRequest);
60
+ /**
61
+ * Get AVAX supply information
62
+ * Get AVAX supply information that includes total supply, circulating supply, total p burned, total c burned, total x burned, total staked, total locked, total rewards, and last updated.
63
+ * @returns void
64
+ * @throws ApiError
65
+ */
66
+ getAvaxSupply(): CancelablePromise<void>;
67
+ }
68
+
57
69
  type LogsFormatMetadata = {
58
70
  /**
59
71
  * The IP address of the client that made the request.
@@ -3138,7 +3150,7 @@ declare enum PrimaryNetworkOperationType {
3138
3150
  type PrimaryNetworkOptions = {
3139
3151
  addresses?: Array<string>;
3140
3152
  cChainEvmAddresses?: Array<string>;
3141
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
3153
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
3142
3154
  };
3143
3155
 
3144
3156
  type CreatePrimaryNetworkTransactionExportRequest = {
@@ -3247,10 +3259,8 @@ declare enum BlockchainIds {
3247
3259
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3248
3260
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3249
3261
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3250
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3251
3262
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
3252
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
3253
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
3263
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
3254
3264
  }
3255
3265
 
3256
3266
  type ChainAddressChainIdMap = {
@@ -3769,7 +3779,6 @@ type XChainAssetDetails = {
3769
3779
  declare enum XChainId {
3770
3780
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3771
3781
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
3772
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
3773
3782
  X_CHAIN = "x-chain"
3774
3783
  }
3775
3784
 
@@ -4085,10 +4094,8 @@ declare enum BlockchainId {
4085
4094
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
4086
4095
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4087
4096
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
4088
- _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
4089
4097
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
4090
4098
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
4091
- V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
4092
4099
  P_CHAIN = "p-chain",
4093
4100
  X_CHAIN = "x-chain",
4094
4101
  C_CHAIN = "c-chain"
@@ -5882,7 +5889,7 @@ type AddressActivityMetadata = {
5882
5889
  */
5883
5890
  eventSignatures?: Array<string>;
5884
5891
  /**
5885
- * Ethereum address(es) for the address_activity event type
5892
+ * Ethereum address(es) for the address_activity event type. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
5886
5893
  */
5887
5894
  addresses: Array<string>;
5888
5895
  };
@@ -6002,7 +6009,7 @@ type PrimaryNetworkAddressActivityMetadata = {
6002
6009
  eventSignatures?: Array<string>;
6003
6010
  keyType: PlatformAddressActivityKeyType;
6004
6011
  /**
6005
- * Array of keys like addresses corresponding to the keyType being monitored. For PlatformAddressActivity event, an array of multiple addresses can be provided.
6012
+ * Array of keys like addresses corresponding to the keyType being monitored. For PrimaryNetworkAddressActivity event, an array of multiple addresses can be provided. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
6006
6013
  */
6007
6014
  keys: Array<string>;
6008
6015
  /**
@@ -6288,6 +6295,7 @@ declare class WebhooksService {
6288
6295
 
6289
6296
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
6290
6297
  declare class Glacier {
6298
+ readonly avaxSupply: AvaxSupplyService;
6291
6299
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
6292
6300
  readonly default: DefaultService;
6293
6301
  readonly evmBalances: EvmBalancesService;
@@ -6785,16 +6793,4 @@ declare namespace WebhookAddressActivityResponse {
6785
6793
  }
6786
6794
  }
6787
6795
 
6788
- declare class FetchHttpRequest extends BaseHttpRequest {
6789
- constructor(config: OpenAPIConfig);
6790
- /**
6791
- * Request method
6792
- * @param options The request options from the service
6793
- * @returns CancelablePromise<T>
6794
- * @throws ApiError
6795
- */
6796
- request<T>(options: ApiRequestOptions): CancelablePromise<T>;
6797
- }
6798
-
6799
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CurrencyCode, DataApiUsageMetricsService, DefaultService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc721Contract, Erc721Token, Erc721TokenBalance, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
6800
- export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, Blockchain, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PricingProviders, PrimaryNetworkAddressActivityMetadata, PrimaryNetworkAddressActivityResponse, PrimaryNetworkAddressActivitySubEvents, PrimaryNetworkBalanceThresholdFilter, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorActivityMetadata, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };
6796
+ export { AccessListData, AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, AvaxSupplyService, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, ERCToken, ERCTransfer, EVMAddressActivityRequest, EVMAddressActivityResponse, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmRewardDetails, IcmSourceTransaction, ImageAsset, InterchainMessagingService, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PricingProviders, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityMetadata, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivityResponse, PrimaryNetworkAddressActivitySubEventType, PrimaryNetworkAddressActivitySubEvents, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalanceThresholdFilter, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, Transaction, TransactionDetails, TransactionDirectionType, TransactionEvent, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityMetadata, ValidatorActivityRequest, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookAddressActivityResponse, WebhookInternalTransaction, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";class e{constructor(e){this.config=e}}class r extends Error{url;status;statusText;body;request;constructor(e,r,t){super(t),this.name="ApiError",this.url=r.url,this.status=r.status,this.statusText=r.statusText,this.body=r.body,this.request=e}}class t extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}}class s{#e;#r;#t;#s;#n;#a;#i;constructor(e){this.#e=!1,this.#r=!1,this.#t=!1,this.#s=[],this.#n=new Promise(((r,t)=>{this.#a=r,this.#i=t;const s=e=>{this.#e||this.#r||this.#t||this.#s.push(e)};return Object.defineProperty(s,"isResolved",{get:()=>this.#e}),Object.defineProperty(s,"isRejected",{get:()=>this.#r}),Object.defineProperty(s,"isCancelled",{get:()=>this.#t}),e((e=>{this.#e||this.#r||this.#t||(this.#e=!0,this.#a?.(e))}),(e=>{this.#e||this.#r||this.#t||(this.#r=!0,this.#i?.(e))}),s)}))}get[Symbol.toStringTag](){return"Cancellable Promise"}then(e,r){return this.#n.then(e,r)}catch(e){return this.#n.catch(e)}finally(e){return this.#n.finally(e)}cancel(){if(!(this.#e||this.#r||this.#t)){if(this.#t=!0,this.#s.length)try{for(const e of this.#s)e()}catch(e){return void console.warn("Cancellation threw an error",e)}this.#s.length=0,this.#i?.(new t("Request aborted"))}}get isCancelled(){return this.#t}}const n=e=>null!=e,a=e=>"string"==typeof e,i=e=>a(e)&&""!==e,o=e=>"object"==typeof e&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.arrayBuffer&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag]),h=e=>e instanceof FormData,d=e=>{const r=[],t=(e,s)=>{n(s)&&(Array.isArray(s)?s.forEach((r=>{t(e,r)})):"object"==typeof s?Object.entries(s).forEach((([r,s])=>{t(`${e}[${r}]`,s)})):((e,t)=>{r.push(`${encodeURIComponent(e)}=${encodeURIComponent(String(t))}`)})(e,s))};return Object.entries(e).forEach((([e,r])=>{t(e,r)})),r.length>0?`?${r.join("&")}`:""},c=async(e,r)=>"function"==typeof r?r(e):r,u=async(e,r)=>{const t=await c(r,e.TOKEN),s=await c(r,e.USERNAME),d=await c(r,e.PASSWORD),u=await c(r,e.HEADERS),l=Object.entries({Accept:"application/json",...u,...r.headers}).filter((([e,r])=>n(r))).reduce(((e,[r,t])=>({...e,[r]:String(t)})),{});if(i(t)&&(l.Authorization=`Bearer ${t}`),i(s)&&i(d)){const e=(e=>{try{return btoa(e)}catch(r){return Buffer.from(e).toString("base64")}})(`${s}:${d}`);l.Authorization=`Basic ${e}`}return r.body&&(r.mediaType?l["Content-Type"]=r.mediaType:o(r.body)?l["Content-Type"]=r.body.type||"application/octet-stream":a(r.body)?l["Content-Type"]="text/plain":h(r.body)||(l["Content-Type"]="application/json")),new Headers(l)},l=(e,t)=>new s((async(s,i,c)=>{try{const i=((e,r)=>{const t=e.ENCODE_PATH||encodeURI,s=r.url.replace("{api-version}",e.VERSION).replace(/{(.*?)}/g,((e,s)=>r.path?.hasOwnProperty(s)?t(String(r.path[s])):e)),n=`${e.BASE}${s}`;return r.query?`${n}${d(r.query)}`:n})(e,t),l=(e=>{if(e.formData){const r=new FormData,t=(e,t)=>{a(t)||o(t)?r.append(e,t):r.append(e,JSON.stringify(t))};return Object.entries(e.formData).filter((([e,r])=>n(r))).forEach((([e,r])=>{Array.isArray(r)?r.forEach((r=>t(e,r))):t(e,r)})),r}})(t),p=(e=>{if(void 0!==e.body)return e.mediaType?.includes("/json")?JSON.stringify(e.body):a(e.body)||o(e.body)||h(e.body)?e.body:JSON.stringify(e.body)})(t),m=await u(e,t);if(!c.isCancelled){const n=await(async(e,r,t,s,n,a,i)=>{const o=new AbortController,h={headers:a,body:s??n,method:r.method,signal:o.signal};return e.WITH_CREDENTIALS&&(h.credentials=e.CREDENTIALS),i((()=>o.abort())),await fetch(t,h)})(e,t,i,p,l,m,c),o=await(async e=>{if(204!==e.status)try{const r=e.headers.get("Content-Type");if(r)return["application/json","application/problem+json"].some((e=>r.toLowerCase().startsWith(e)))?await e.json():await e.text()}catch(e){console.error(e)}})(n),h=((e,r)=>{if(r){const t=e.headers.get(r);if(a(t))return t}})(n,t.responseHeader),d={url:i,ok:n.ok,status:n.status,statusText:n.statusText,body:h??o};((e,t)=>{const s={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...e.errors}[t.status];if(s)throw new r(e,t,s);if(!t.ok)throw new r(e,t,"Generic Error")})(t,d),s(d.body)}}catch(e){i(e)}}));class p extends e{constructor(e){super(e)}request(e){return l(this.config,e)}}class m{constructor(e){this.httpRequest=e}getAvaxSupply(){return this.httpRequest.request({method:"GET",url:"/v1/avax/supply",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."}})}}class v{constructor(e){this.httpRequest=e}getApiUsageMetrics({orgId:e,startTimestamp:r,endTimestamp:t,timeInterval:s,groupBy:n,chainId:a,responseCode:i,requestType:o,apiKeyId:h,requestPath:d}){return this.httpRequest.request({method:"GET",url:"/v1/apiUsageMetrics",query:{orgId:e,startTimestamp:r,endTimestamp:t,timeInterval:s,groupBy:n,chainId:a,responseCode:i,requestType:o,apiKeyId:h,requestPath: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."}})}getApiLogs({orgId:e,startTimestamp:r,endTimestamp:t,chainId:s,responseCode:n,requestType:a,apiKeyId:i,requestPath:o,pageToken:h,pageSize:d=10}){return this.httpRequest.request({method:"GET",url:"/v1/apiLogs",query:{orgId:e,startTimestamp:r,endTimestamp:t,chainId:s,responseCode:n,requestType:a,apiKeyId:i,requestPath:o,pageToken:h,pageSize: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."}})}getSubnetRpcUsageMetrics({timeInterval:e,startTimestamp:r,endTimestamp:t,groupBy:s,chainId:n,responseCode:a,rpcMethod:i,rlBypassApiToken:o}){return this.httpRequest.request({method:"GET",url:"/v1/subnetRpcUsageMetrics",query:{timeInterval:e,startTimestamp:r,endTimestamp:t,groupBy:s,chainId:n,responseCode:a,rpcMethod:i,rlBypassApiToken: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."}})}getRpcUsageMetrics({timeInterval:e,startTimestamp:r,endTimestamp:t,groupBy:s,chainId:n,responseCode:a,rpcMethod:i,rlBypassApiToken:o}){return this.httpRequest.request({method:"GET",url:"/v1/rpcUsageMetrics",query:{timeInterval:e,startTimestamp:r,endTimestamp:t,groupBy:s,chainId:n,responseCode:a,rpcMethod:i,rlBypassApiToken: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."}})}getPrimaryNetworkRpcUsageMetrics({network:e,timeInterval:r,startTimestamp:t,endTimestamp:s,groupBy:n,responseCode:a,requestPath:i,country:o,continent:h,userAgent:d,rpcMethod:c}){return this.httpRequest.request({method:"GET",url:"/v1/primaryNetworkRpcUsageMetrics",query:{timeInterval:r,startTimestamp:t,endTimestamp:s,groupBy:n,responseCode:a,requestPath:i,country:o,continent:h,userAgent:d,rpcMethod:c,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."}})}}class y{constructor(e){this.httpRequest=e}mediaControllerUploadImage(){return this.httpRequest.request({method:"POST",url:"/v1/media/uploadImage"})}}class T{constructor(e){this.httpRequest=e}getNativeBalance({chainId:e,address:r,blockNumber:t,currency:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/balances:getNative",path:{chainId:e,address:r},query:{blockNumber:t,currency: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."}})}listErc20Balances({chainId:e,address:r,blockNumber:t,pageToken:s,pageSize:n=10,filterSpamTokens:a=!0,contractAddresses:i,currency:o}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/balances:listErc20",path:{chainId:e,address:r},query:{blockNumber:t,pageToken:s,pageSize:n,filterSpamTokens:a,contractAddresses:i,currency: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."}})}listErc721Balances({chainId:e,address:r,pageToken:t,pageSize:s=10,contractAddress:n}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/balances:listErc721",path:{chainId:e,address:r},query:{pageToken:t,pageSize:s,contractAddress: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."}})}listErc1155Balances({chainId:e,address:r,blockNumber:t,pageToken:s,pageSize:n=10,contractAddress:a}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/balances:listErc1155",path:{chainId:e,address:r},query:{blockNumber:t,pageToken:s,pageSize:n,contractAddress: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."}})}listCollectibleBalances({chainId:e,address:r,pageToken:t,pageSize:s=10,contractAddress:n}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/balances:listCollectibles",path:{chainId:e,address:r},query:{pageToken:t,pageSize:s,contractAddress: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."}})}}class g{constructor(e){this.httpRequest=e}listLatestBlocksAllChains({pageToken:e,pageSize:r=10,network:t}){return this.httpRequest.request({method:"GET",url:"/v1/blocks",query:{pageToken:e,pageSize:r,network: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."}})}getLatestBlocks({chainId:e,pageToken:r,pageSize:t=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/blocks",path:{chainId:e},query:{pageToken:r,pageSize: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."}})}getBlock({chainId:e,blockId:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/blocks/{blockId}",path:{chainId:e,blockId: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."}})}}class w{constructor(e){this.httpRequest=e}listAddressChains({address:e}){return this.httpRequest.request({method:"GET",url:"/v1/address/{address}/chains",path:{address: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."}})}supportedChains({network:e,feature:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains",query:{network:e,feature: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."}})}getChainInfo({chainId:e}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}",path:{chainId: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."}})}getAddressChains({address:e}){return this.httpRequest.request({method:"GET",url:"/v1/chains/address/{address}",path:{address: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."}})}listAllLatestTransactions({pageToken:e,pageSize:r=10,network:t,status:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/allTransactions",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."}})}listAllLatestBlocks({pageToken:e,pageSize:r=10,network:t}){return this.httpRequest.request({method:"GET",url:"/v1/chains/allBlocks",query:{pageToken:e,pageSize:r,network: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."}})}}class b{constructor(e){this.httpRequest=e}getContractMetadata({chainId:e,address:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}",path:{chainId:e,address:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}updateContractInfo({chainId:e,address:r,requestBody:t}){return this.httpRequest.request({method:"PATCH",url:"/v1/chains/{chainId}/contracts/{address}",path:{chainId:e,address: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."}})}}class f{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."}})}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."}})}}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."}})}}class S{constructor(e){this.httpRequest=e}getIcmMessage({messageId:e}){return this.httpRequest.request({method:"GET",url:"/v1/icm/messages/{messageId}",path:{messageId:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listIcmMessages({pageToken:e,pageSize:r=10,sourceBlockchainId:t,destinationBlockchainId:s,blockchainId:n,to:a,from:i,network:o}){return this.httpRequest.request({method:"GET",url:"/v1/icm/messages",query:{pageToken:e,pageSize:r,sourceBlockchainId:t,destinationBlockchainId:s,blockchainId:n,to:a,from:i,network:o},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listIcmMessagesByAddress({address:e,pageToken:r,pageSize:t=10,network:s}){return this.httpRequest.request({method:"GET",url:"/v1/icm/addresses/{address}/messages",path:{address:e},query:{pageToken:r,pageSize:t,network:s},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}class q{constructor(e){this.httpRequest=e}reindexNft({chainId:e,address:r,tokenId:t}){return this.httpRequest.request({method:"POST",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}:reindex",path:{chainId:e,address:r,tokenId:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listTokens({chainId:e,address:r,pageToken:t,pageSize:s=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens",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."}})}getTokenDetails({chainId:e,address:r,tokenId:t}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}",path:{chainId:e,address:r,tokenId:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}class R{constructor(e){this.httpRequest=e}access({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/notifications/access",body:e,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."}})}subscribe({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/notifications/subscribe",body:e,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."}})}unsubscribe({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/notifications/unsubscribe",body:e,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."}})}subscriptions({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/notifications/subscriptions",body:e,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."}})}}class k{constructor(e){this.httpRequest=e}getOperationResult({operationId:e}){return this.httpRequest.request({method:"GET",url:"/v1/operations/{operationId}",path:{operationId: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."}})}postTransactionExportJob({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/operations/transactions:export",body:e,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."}})}}class x{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:s}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder: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."}})}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:s}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder: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."}})}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:s,sortBy:n,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:c,minFeePercentage:u,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:s,sortBy:n,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:c,minFeePercentage:u,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:s=10,validationStatus:n,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:s,validationStatus:n,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:s,sortOrder:n,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:s,sortOrder:n,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:s,includeInactiveL1Validators:n,nodeId:a,subnetId:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/l1Validators",path:{network:e},query:{pageToken:r,pageSize:t,l1ValidationId:s,includeInactiveL1Validators:n,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."}})}}class I{constructor(e){this.httpRequest=e}getBalancesByAddresses({blockchainId:e,network:r,blockTimestamp:t,addresses:s}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/balances",path:{blockchainId:e,network:r},query:{blockTimestamp:t,addresses: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."}})}}class A{constructor(e){this.httpRequest=e}getBlockById({blockchainId:e,network:r,blockId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/blocks/{blockId}",path:{blockchainId:e,network:r,blockId: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."}})}listPrimaryNetworkBlocksByNodeId({blockchainId:e,network:r,nodeId:t,startTimestamp:s,endTimestamp:n,pageToken:a,pageSize:i=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/nodes/{nodeId}/blocks",path:{blockchainId:e,network:r,nodeId:t},query:{startTimestamp:s,endTimestamp:n,pageToken:a,pageSize: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."}})}listLatestPrimaryNetworkBlocks({blockchainId:e,network:r,startTimestamp:t,endTimestamp:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/blocks",path:{blockchainId:e,network:r},query:{startTimestamp:t,endTimestamp: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."}})}}class N{constructor(e){this.httpRequest=e}listPendingPrimaryNetworkRewards({network:e,addresses:r,pageToken:t,pageSize:s=10,nodeIds:n,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/rewards:listPending",path:{network:e},query:{addresses:r,pageToken:t,pageSize:s,nodeIds:n,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."}})}listHistoricalPrimaryNetworkRewards({network:e,addresses:r,pageToken:t,pageSize:s=10,nodeIds:n,sortOrder:a,currency:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/rewards",path:{network:e},query:{addresses:r,pageToken:t,pageSize:s,nodeIds:n,sortOrder:a,currency: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."}})}}class _{constructor(e){this.httpRequest=e}getTxByHash({blockchainId:e,network:r,txHash:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions/{txHash}",path:{blockchainId:e,network:r,txHash: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."}})}listLatestPrimaryNetworkTransactions({blockchainId:e,network:r,addresses:t,l1ValidationId:s,txTypes:n,startTimestamp:a,endTimestamp:i,pageToken:o,pageSize:h=10,sortOrder:d}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions",path:{blockchainId:e,network:r},query:{addresses:t,l1ValidationId:s,txTypes:n,startTimestamp:a,endTimestamp:i,pageToken:o,pageSize: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."}})}listActivePrimaryNetworkStakingTransactions({blockchainId:e,network:r,addresses:t,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10,sortOrder:h}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions:listStaking",path:{blockchainId:e,network:r},query:{addresses:t,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o,sortOrder:h},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."}})}listAssetTransactions({blockchainId:e,network:r,assetId:t,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}/transactions",path:{blockchainId:e,network:r,assetId:t},query:{txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize: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."}})}}class C{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."}})}}class O{constructor(e){this.httpRequest=e}listLatestXChainVertices({blockchainId:e,network:r,pageToken:t,pageSize:s=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/vertices",path:{blockchainId:e,network: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."}})}getVertexByHash({vertexHash:e,blockchainId:r,network:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/vertices/{vertexHash}",path:{vertexHash:e,blockchainId:r,network: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."}})}getVertexByHeight({vertexHeight:e,blockchainId:r,network:t,pageToken:s,pageSize:n=10,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/vertices:listByHeight",path:{blockchainId:r,network:t},query:{vertexHeight:e,pageToken:s,pageSize:n,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."}})}}class D{constructor(e){this.httpRequest=e}aggregateSignatures({network:e,requestBody:r}){return this.httpRequest.request({method:"POST",url:"/v1/signatureAggregator/{network}/aggregateSignatures",path:{network:e},body:r,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."}})}getAggregatedSignatures({network:e,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/signatureAggregator/{network}/aggregateSignatures/{txHash}",path:{network: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."}})}}class B{constructor(e){this.httpRequest=e}getTeleporterMessage({messageId:e}){return this.httpRequest.request({method:"GET",url:"/v1/teleporter/messages/{messageId}",path:{messageId:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listTeleporterMessages({pageToken:e,pageSize:r=10,sourceBlockchainId:t,destinationBlockchainId:s,blockchainId:n,to:a,from:i,network:o}){return this.httpRequest.request({method:"GET",url:"/v1/teleporter/messages",query:{pageToken:e,pageSize:r,sourceBlockchainId:t,destinationBlockchainId:s,blockchainId:n,to:a,from:i,network:o},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listTeleporterMessagesByAddress({address:e,pageToken:r,pageSize:t=10,network:s}){return this.httpRequest.request({method:"GET",url:"/v1/teleporter/addresses/{address}/messages",path:{address:e},query:{pageToken:r,pageSize:t,network:s},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}class L{constructor(e){this.httpRequest=e}createWebhook({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/webhooks",body:e,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."}})}listWebhooks({pageToken:e,pageSize:r=10,status:t}){return this.httpRequest.request({method:"GET",url:"/v1/webhooks",query:{pageToken:e,pageSize:r,status: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."}})}getWebhook({id:e}){return this.httpRequest.request({method:"GET",url:"/v1/webhooks/{id}",path:{id: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."}})}deactivateWebhook({id:e}){return this.httpRequest.request({method:"DELETE",url:"/v1/webhooks/{id}",path:{id: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."}})}updateWebhook({id:e,requestBody:r}){return this.httpRequest.request({method:"PATCH",url:"/v1/webhooks/{id}",path:{id:e},body:r,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."}})}generateOrRotateSharedSecret(){return this.httpRequest.request({method:"POST",url:"/v1/webhooks:generateOrRotateSharedSecret",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."}})}getSharedSecret(){return this.httpRequest.request({method:"GET",url:"/v1/webhooks:getSharedSecret",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."}})}addAddressesToWebhook({id:e,requestBody:r}){return this.httpRequest.request({method:"PATCH",url:"/v1/webhooks/{id}/addresses",path:{id:e},body:r,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."}})}removeAddressesFromWebhook({id:e,requestBody:r}){return this.httpRequest.request({method:"DELETE",url:"/v1/webhooks/{id}/addresses",path:{id:e},body:r,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."}})}getAddressesFromWebhook({id:e,pageToken:r,pageSize:t=10}){return this.httpRequest.request({method:"GET",url:"/v1/webhooks/{id}/addresses",path:{id:e},query:{pageToken:r,pageSize: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."}})}}var W,U;exports.ActiveDelegatorDetails=void 0,((W=exports.ActiveDelegatorDetails||(exports.ActiveDelegatorDetails={})).delegationStatus||(W.delegationStatus={})).ACTIVE="active",exports.ActiveValidatorDetails=void 0,((U=exports.ActiveValidatorDetails||(exports.ActiveValidatorDetails={})).validationStatus||(U.validationStatus={})).ACTIVE="active";var P,M,z=(e=>(e.ADDRESS_ACTIVITY="address_activity",e))(z||{}),V=(e=>(e.NFT_INDEXING="nftIndexing",e.WEBHOOKS="webhooks",e.TELEPORTER="teleporter",e))(V||{}),G=(e=>(e._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",e._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",e._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",e._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",e.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",e.P_CHAIN="p-chain",e.X_CHAIN="x-chain",e.C_CHAIN="c-chain",e))(G||{}),H=(e=>(e._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",e._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",e._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",e._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",e.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",e))(H||{});exports.CChainExportTransaction=void 0,((P=exports.CChainExportTransaction||(exports.CChainExportTransaction={})).txType||(P.txType={})).EXPORT_TX="ExportTx",exports.CChainImportTransaction=void 0,((M=exports.CChainImportTransaction||(exports.CChainImportTransaction={})).txType||(M.txType={})).IMPORT_TX="ImportTx";var K,X,Y,F,j,J,Q=(e=>(e.OK="OK",e.UNAVAILABLE="UNAVAILABLE",e))(Q||{}),$=(e=>(e.UNLOCKED_UNSTAKED="unlockedUnstaked",e.UNLOCKED_STAKED="unlockedStaked",e.LOCKED_PLATFORM="lockedPlatform",e.LOCKED_STAKEABLE="lockedStakeable",e.LOCKED_STAKED="lockedStaked",e.PENDING_STAKED="pendingStaked",e.UNLOCKED="unlocked",e.LOCKED="locked",e.ATOMIC_MEMORY_UNLOCKED="atomicMemoryUnlocked",e.ATOMIC_MEMORY_LOCKED="atomicMemoryLocked",e))($||{});exports.CompletedDelegatorDetails=void 0,((K=exports.CompletedDelegatorDetails||(exports.CompletedDelegatorDetails={})).delegationStatus||(K.delegationStatus={})).COMPLETED="completed",exports.CompletedValidatorDetails=void 0,((X=exports.CompletedValidatorDetails||(exports.CompletedValidatorDetails={})).validationStatus||(X.validationStatus={})).COMPLETED="completed",exports.ContractSubmissionErc1155=void 0,((Y=exports.ContractSubmissionErc1155||(exports.ContractSubmissionErc1155={})).ercType||(Y.ercType={})).ERC_1155="ERC-1155",exports.ContractSubmissionErc20=void 0,((F=exports.ContractSubmissionErc20||(exports.ContractSubmissionErc20={})).ercType||(F.ercType={})).ERC_20="ERC-20",exports.ContractSubmissionErc721=void 0,((j=exports.ContractSubmissionErc721||(exports.ContractSubmissionErc721={})).ercType||(j.ercType={})).ERC_721="ERC-721",exports.ContractSubmissionUnknown=void 0,((J=exports.ContractSubmissionUnknown||(exports.ContractSubmissionUnknown={})).ercType||(J.ercType={})).UNKNOWN="UNKNOWN";var Z,ee,re,te,se,ne,ae,ie,oe,he,de,ce,ue,le,pe,me=(e=>(e.USD="usd",e.EUR="eur",e.AUD="aud",e.CAD="cad",e.CHF="chf",e.CLP="clp",e.CNY="cny",e.CZK="czk",e.DKK="dkk",e.GBP="gbp",e.HKD="hkd",e.HUF="huf",e.JPY="jpy",e.NZD="nzd",e))(me||{}),ve=(e=>(e.COMPLETED="completed",e.ACTIVE="active",e.PENDING="pending",e))(ve||{});exports.DeliveredIcmMessage=void 0,((Z=exports.DeliveredIcmMessage||(exports.DeliveredIcmMessage={})).status||(Z.status={})).DELIVERED="delivered",exports.DeliveredSourceNotIndexedIcmMessage=void 0,((ee=exports.DeliveredSourceNotIndexedIcmMessage||(exports.DeliveredSourceNotIndexedIcmMessage={})).status||(ee.status={})).DELIVERED_SOURCE_NOT_INDEXED="delivered_source_not_indexed",exports.DeliveredSourceNotIndexedTeleporterMessage=void 0,((re=exports.DeliveredSourceNotIndexedTeleporterMessage||(exports.DeliveredSourceNotIndexedTeleporterMessage={})).status||(re.status={})).DELIVERED_SOURCE_NOT_INDEXED="delivered_source_not_indexed",exports.DeliveredTeleporterMessage=void 0,((te=exports.DeliveredTeleporterMessage||(exports.DeliveredTeleporterMessage={})).status||(te.status={})).DELIVERED="delivered",exports.Erc1155Contract=void 0,((se=exports.Erc1155Contract||(exports.Erc1155Contract={})).ercType||(se.ercType={})).ERC_1155="ERC-1155",exports.Erc1155Token=void 0,((ne=exports.Erc1155Token||(exports.Erc1155Token={})).ercType||(ne.ercType={})).ERC_1155="ERC-1155",exports.Erc1155TokenBalance=void 0,((ae=exports.Erc1155TokenBalance||(exports.Erc1155TokenBalance={})).ercType||(ae.ercType={})).ERC_1155="ERC-1155",exports.Erc20Contract=void 0,((ie=exports.Erc20Contract||(exports.Erc20Contract={})).ercType||(ie.ercType={})).ERC_20="ERC-20",exports.Erc20Token=void 0,((oe=exports.Erc20Token||(exports.Erc20Token={})).ercType||(oe.ercType={})).ERC_20="ERC-20",exports.Erc20TokenBalance=void 0,((he=exports.Erc20TokenBalance||(exports.Erc20TokenBalance={})).ercType||(he.ercType={})).ERC_20="ERC-20",(de=he.tokenReputation||(he.tokenReputation={})).MALICIOUS="Malicious",de.BENIGN="Benign",exports.Erc721Contract=void 0,((ce=exports.Erc721Contract||(exports.Erc721Contract={})).ercType||(ce.ercType={})).ERC_721="ERC-721",exports.Erc721Token=void 0,((ue=exports.Erc721Token||(exports.Erc721Token={})).ercType||(ue.ercType={})).ERC_721="ERC-721",exports.Erc721TokenBalance=void 0,((le=exports.Erc721TokenBalance||(exports.Erc721TokenBalance={})).ercType||(le.ercType={})).ERC_721="ERC-721",exports.EVMAddressActivityRequest=void 0,((pe=exports.EVMAddressActivityRequest||(exports.EVMAddressActivityRequest={})).eventType||(pe.eventType={})).ADDRESS_ACTIVITY="address_activity";var ye,Te,ge,we,be=(e=>(e.TRANSACTION_EXPORT_EVM="TRANSACTION_EXPORT_EVM",e))(be||{});exports.HealthCheckResultDto=void 0,ye=exports.HealthCheckResultDto||(exports.HealthCheckResultDto={}),(Te=ye.status||(ye.status={})).ERROR="error",Te.OK="ok",Te.SHUTTING_DOWN="shutting_down",exports.HealthIndicatorResultDto=void 0,(e=>{e.UP="up",e.DOWN="down"})((ge=exports.HealthIndicatorResultDto||(exports.HealthIndicatorResultDto={})).status||(ge.status={})),exports.IcmRewardDetails=void 0,((we=exports.IcmRewardDetails||(exports.IcmRewardDetails={})).ercType||(we.ercType={})).ERC_20="ERC-20";var fe,Ee,Se,qe,Re=(e=>(e.UNKNOWN="UNKNOWN",e.CALL="CALL",e.CREATE="CREATE",e.CREATE2="CREATE2",e.CREATE3="CREATE3",e.CALLCODE="CALLCODE",e.DELEGATECALL="DELEGATECALL",e.STATICCALL="STATICCALL",e))(Re||{}),ke=(e=>(e.MAINNET="mainnet",e.FUJI="fuji",e.TESTNET="testnet",e))(ke||{}),xe=(e=>(e.UNKNOWN="UNKNOWN",e.MISSING_TOKEN="MISSING_TOKEN",e.INVALID_TOKEN_URI="INVALID_TOKEN_URI",e.INVALID_TOKEN_URI_SCHEME="INVALID_TOKEN_URI_SCHEME",e.UNREACHABLE_TOKEN_URI="UNREACHABLE_TOKEN_URI",e.THROTTLED_TOKEN_URI="THROTTLED_TOKEN_URI",e.METADATA_CONTENT_TOO_LARGE="METADATA_CONTENT_TOO_LARGE",e.INVALID_METADATA="INVALID_METADATA",e.INVALID_METADATA_JSON="INVALID_METADATA_JSON",e.INDEXED="INDEXED",e.UNINDEXED="UNINDEXED",e))(xe||{}),Ie=(e=>(e.RUNNING="RUNNING",e.COMPLETED="COMPLETED",e.COMPLETED_WITH_WARNING="COMPLETED_WITH_WARNING",e.FAILED="FAILED",e))(Ie||{}),Ae=(e=>(e.ERR_INVALID_REQUEST="ErrInvalidRequest",e.ERR_INTERNAL="ErrInternal",e.WARN_TRUNCATED_EXPORT="WarnTruncatedExport",e))(Ae||{}),Ne=(e=>(e.TRANSACTION_EXPORT_PRIMARY_NETWORK="TRANSACTION_EXPORT_PRIMARY_NETWORK",e.TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING="TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",e.TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE="TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",e.TRANSACTION_EXPORT_EVM="TRANSACTION_EXPORT_EVM",e))(Ne||{}),_e=(e=>(e._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",e.P_CHAIN="p-chain",e))(_e||{}),Ce=(e=>(e.ADD_VALIDATOR_TX="AddValidatorTx",e.ADD_SUBNET_VALIDATOR_TX="AddSubnetValidatorTx",e.ADD_DELEGATOR_TX="AddDelegatorTx",e.CREATE_CHAIN_TX="CreateChainTx",e.CREATE_SUBNET_TX="CreateSubnetTx",e.IMPORT_TX="ImportTx",e.EXPORT_TX="ExportTx",e.ADVANCE_TIME_TX="AdvanceTimeTx",e.REWARD_VALIDATOR_TX="RewardValidatorTx",e.REMOVE_SUBNET_VALIDATOR_TX="RemoveSubnetValidatorTx",e.TRANSFORM_SUBNET_TX="TransformSubnetTx",e.ADD_PERMISSIONLESS_VALIDATOR_TX="AddPermissionlessValidatorTx",e.ADD_PERMISSIONLESS_DELEGATOR_TX="AddPermissionlessDelegatorTx",e.BASE_TX="BaseTx",e.TRANSFER_SUBNET_OWNERSHIP_TX="TransferSubnetOwnershipTx",e.CONVERT_SUBNET_TO_L1TX="ConvertSubnetToL1Tx",e.REGISTER_L1VALIDATOR_TX="RegisterL1ValidatorTx",e.SET_L1VALIDATOR_WEIGHT_TX="SetL1ValidatorWeightTx",e.DISABLE_L1VALIDATOR_TX="DisableL1ValidatorTx",e.INCREASE_L1VALIDATOR_BALANCE_TX="IncreaseL1ValidatorBalanceTx",e.UNKNOWN="UNKNOWN",e))(Ce||{});exports.PendingDelegatorDetails=void 0,((fe=exports.PendingDelegatorDetails||(exports.PendingDelegatorDetails={})).delegationStatus||(fe.delegationStatus={})).PENDING="pending",exports.PendingIcmMessage=void 0,(e=>{e.PENDING="pending"})((Ee=exports.PendingIcmMessage||(exports.PendingIcmMessage={})).status||(Ee.status={})),exports.PendingTeleporterMessage=void 0,(e=>{e.PENDING="pending"})((Se=exports.PendingTeleporterMessage||(exports.PendingTeleporterMessage={})).status||(Se.status={})),exports.PendingValidatorDetails=void 0,((qe=exports.PendingValidatorDetails||(exports.PendingValidatorDetails={})).validationStatus||(qe.validationStatus={})).PENDING="pending";var Oe,De=(e=>(e.ADDRESSES="addresses",e))(De||{}),Be=(e=>(e.PRIMARY_NETWORK_ADDRESS_ACTIVITY="primary_network_address_activity",e))(Be||{});exports.PrimaryNetworkAddressActivityRequest=void 0,((Oe=exports.PrimaryNetworkAddressActivityRequest||(exports.PrimaryNetworkAddressActivityRequest={})).eventType||(Oe.eventType={})).PRIMARY_NETWORK_ADDRESS_ACTIVITY="primary_network_address_activity";var Le,We,Ue=(e=>(e.BALANCE_CHANGE="balance_change",e.BALANCE_THRESHOLD="balance_threshold",e.REWARD_DISTRIBUTION="reward_distribution",e))(Ue||{}),Pe=(e=>(e.FIXED="fixed",e.VARIABLE="variable",e))(Pe||{}),Me=(e=>(e.SECP256K1="secp256k1",e.NFT="nft",e))(Me||{}),ze=(e=>(e.P_CHAIN="p-chain",e.X_CHAIN="x-chain",e.C_CHAIN="c-chain",e))(ze||{}),Ve=(e=>(e.TRANSACTION_EXPORT_PRIMARY_NETWORK="TRANSACTION_EXPORT_PRIMARY_NETWORK",e.TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING="TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",e.TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE="TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",e))(Ve||{}),Ge=(e=>(e.RPC_METHOD="rpcMethod",e.REQUEST_PATH="requestPath",e.RESPONSE_CODE="responseCode",e.COUNTRY="country",e.CONTINENT="continent",e.USER_AGENT="userAgent",e))(Ge||{}),He=(e=>(e.HOURLY="hourly",e.DAILY="daily",e.WEEKLY="weekly",e.MONTHLY="monthly",e))(He||{});exports.PrimaryNetworkRpcUsageMetricsResponseDTO=void 0,Le=exports.PrimaryNetworkRpcUsageMetricsResponseDTO||(exports.PrimaryNetworkRpcUsageMetricsResponseDTO={}),(We=Le.network||(Le.network={})).MAINNET="mainnet",We.TESTNET="testnet";var Ke,Xe=(e=>(e.ADD_VALIDATOR_TX="AddValidatorTx",e.ADD_SUBNET_VALIDATOR_TX="AddSubnetValidatorTx",e.ADD_DELEGATOR_TX="AddDelegatorTx",e.CREATE_CHAIN_TX="CreateChainTx",e.CREATE_SUBNET_TX="CreateSubnetTx",e.IMPORT_TX="ImportTx",e.EXPORT_TX="ExportTx",e.ADVANCE_TIME_TX="AdvanceTimeTx",e.REWARD_VALIDATOR_TX="RewardValidatorTx",e.REMOVE_SUBNET_VALIDATOR_TX="RemoveSubnetValidatorTx",e.TRANSFORM_SUBNET_TX="TransformSubnetTx",e.ADD_PERMISSIONLESS_VALIDATOR_TX="AddPermissionlessValidatorTx",e.ADD_PERMISSIONLESS_DELEGATOR_TX="AddPermissionlessDelegatorTx",e.BASE_TX="BaseTx",e.TRANSFER_SUBNET_OWNERSHIP_TX="TransferSubnetOwnershipTx",e.CONVERT_SUBNET_TO_L1TX="ConvertSubnetToL1Tx",e.REGISTER_L1VALIDATOR_TX="RegisterL1ValidatorTx",e.SET_L1VALIDATOR_WEIGHT_TX="SetL1ValidatorWeightTx",e.DISABLE_L1VALIDATOR_TX="DisableL1ValidatorTx",e.INCREASE_L1VALIDATOR_BALANCE_TX="IncreaseL1ValidatorBalanceTx",e.UNKNOWN="UNKNOWN",e.CREATE_ASSET_TX="CreateAssetTx",e.OPERATION_TX="OperationTx",e))(Xe||{}),Ye=(e=>(e.MAINNET="mainnet",e.FUJI="fuji",e))(Ye||{});exports.RemovedValidatorDetails=void 0,((Ke=exports.RemovedValidatorDetails||(exports.RemovedValidatorDetails={})).validationStatus||(Ke.validationStatus={})).REMOVED="removed";var Fe,je,Je=(e=>(e.DATA="data",e.RPC="rpc",e))(Je||{}),Qe=(e=>(e.BLOG="Blog",e.COIN_GECKO="CoinGecko",e.COIN_MARKET_CAP="CoinMarketCap",e.DISCORD="Discord",e.DOCUMENTATION="Documentation",e.FACEBOOK="Facebook",e.GITHUB="Github",e.INSTAGRAM="Instagram",e.LINKED_IN="LinkedIn",e.MEDIUM="Medium",e.REDDIT="Reddit",e.SUPPORT="Support",e.TELEGRAM="Telegram",e.TIK_TOK="TikTok",e.TWITTER="Twitter",e.WEBSITE="Website",e.WHITEPAPER="Whitepaper",e.YOUTUBE="Youtube",e))(Qe||{}),$e=(e=>(e.VALIDATOR="VALIDATOR",e.DELEGATOR="DELEGATOR",e.VALIDATOR_FEE="VALIDATOR_FEE",e))($e||{}),Ze=(e=>(e.RPC_METHOD="rpcMethod",e.RESPONSE_CODE="responseCode",e.RL_BYPASS_TOKEN="rlBypassToken",e))(Ze||{});exports.RpcUsageMetricsValueAggregated=void 0,Fe=exports.RpcUsageMetricsValueAggregated||(exports.RpcUsageMetricsValueAggregated={}),(je=Fe.groupedBy||(Fe.groupedBy={})).RPC_METHOD="rpcMethod",je.RESPONSE_CODE="responseCode",je.RL_BYPASS_TOKEN="rlBypassToken",je.REQUEST_PATH="requestPath",je.COUNTRY="country",je.CONTINENT="continent",je.USER_AGENT="userAgent",je.NONE="None";var er,rr=(e=>(e.BLOCK_INDEX="blockIndex",e.DELEGATION_CAPACITY="delegationCapacity",e.TIME_REMAINING="timeRemaining",e.DELEGATION_FEE="delegationFee",e.UPTIME_PERFORMANCE="uptimePerformance",e))(rr||{}),tr=(e=>(e.ASC="asc",e.DESC="desc",e))(tr||{}),sr=(e=>(e.HOURLY="hourly",e.DAILY="daily",e.WEEKLY="weekly",e.MONTHLY="monthly",e))(sr||{});exports.TeleporterRewardDetails=void 0,((er=exports.TeleporterRewardDetails||(exports.TeleporterRewardDetails={})).ercType||(er.ercType={})).ERC_20="ERC-20";var nr,ar=(e=>(e.MINUTE="minute",e.HOURLY="hourly",e.DAILY="daily",e.WEEKLY="weekly",e.MONTHLY="monthly",e))(ar||{}),ir=(e=>(e.SOURCE_TRANSACTION="SOURCE_TRANSACTION",e.DESTINATION_TRANSACTION="DESTINATION_TRANSACTION",e))(ir||{}),or=(e=>(e.NATIVE_TRANSFER="NATIVE_TRANSFER",e.CONTRACT_CALL="CONTRACT_CALL",e.CONTRACT_CREATION="CONTRACT_CREATION",e))(or||{}),hr=(e=>(e.FAILED="failed",e.SUCCESS="success",e))(hr||{});exports.UnknownContract=void 0,((nr=exports.UnknownContract||(exports.UnknownContract={})).ercType||(nr.ercType={})).UNKNOWN="UNKNOWN";var dr,cr=(e=>(e.REQUEST_PATH="requestPath",e.RESPONSE_CODE="responseCode",e.CHAIN_ID="chainId",e.API_KEY_ID="apiKeyId",e.REQUEST_TYPE="requestType",e))(cr||{});exports.UsageMetricsValueDTO=void 0,(e=>{e.REQUEST_PATH="requestPath",e.RESPONSE_CODE="responseCode",e.CHAIN_ID="chainId",e.API_KEY_ID="apiKeyId",e.REQUEST_TYPE="requestType",e.NONE="None"})((dr=exports.UsageMetricsValueDTO||(exports.UsageMetricsValueDTO={})).groupedBy||(dr.groupedBy={}));var ur,lr=(e=>(e.STAKE="STAKE",e.TRANSFER="TRANSFER",e))(lr||{}),pr=(e=>(e.COMPLETED="completed",e.ACTIVE="active",e.PENDING="pending",e.REMOVED="removed",e))(pr||{}),mr=(e=>(e.VALIDATOR_ACTIVITY="validator_activity",e))(mr||{}),vr=(e=>(e.NODE_ID="nodeId",e.SUBNET_ID="subnetId",e))(vr||{});exports.ValidatorActivityRequest=void 0,((ur=exports.ValidatorActivityRequest||(exports.ValidatorActivityRequest={})).eventType||(ur.eventType={})).VALIDATOR_ACTIVITY="validator_activity";var yr,Tr=(e=>(e.EVM="EVM",e.BITCOIN="BITCOIN",e.ETHEREUM="ETHEREUM",e))(Tr||{});exports.WebhookAddressActivityResponse=void 0,((yr=exports.WebhookAddressActivityResponse||(exports.WebhookAddressActivityResponse={})).eventType||(yr.eventType={})).ADDRESS_ACTIVITY="address_activity";var gr,wr,br,fr=(e=>(e.ACTIVE="active",e.INACTIVE="inactive",e))(fr||{}),Er=(e=>(e.ACTIVE="active",e.INACTIVE="inactive",e))(Er||{}),Sr=(e=>(e._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",e._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",e.X_CHAIN="x-chain",e))(Sr||{});exports.XChainLinearTransaction=void 0,gr=exports.XChainLinearTransaction||(exports.XChainLinearTransaction={}),(wr=gr.chainFormat||(gr.chainFormat={})).NON_LINEAR="non-linear",wr.LINEAR="linear",exports.XChainNonLinearTransaction=void 0,(e=>{e.NON_LINEAR="non-linear",e.LINEAR="linear"})((br=exports.XChainNonLinearTransaction||(exports.XChainNonLinearTransaction={})).chainFormat||(br.chainFormat={}));var qr=(e=>(e.BASE_TX="BaseTx",e.CREATE_ASSET_TX="CreateAssetTx",e.OPERATION_TX="OperationTx",e.IMPORT_TX="ImportTx",e.EXPORT_TX="ExportTx",e.UNKNOWN="UNKNOWN",e))(qr||{});exports.AddressActivityEventType=z,exports.ApiError=r,exports.ApiFeature=V,exports.AvaxSupplyService=m,exports.BaseHttpRequest=e,exports.BlockchainId=G,exports.BlockchainIds=H,exports.CancelError=t,exports.CancelablePromise=s,exports.ChainStatus=Q,exports.CommonBalanceType=$,exports.CurrencyCode=me,exports.DataApiUsageMetricsService=v,exports.DefaultService=y,exports.DelegationStatusType=ve,exports.EVMOperationType=be,exports.EvmBalancesService=T,exports.EvmBlocksService=g,exports.EvmChainsService=w,exports.EvmContractsService=b,exports.EvmTransactionsService=f,exports.Glacier=class{avaxSupply;dataApiUsageMetrics;default;evmBalances;evmBlocks;evmChains;evmContracts;evmTransactions;healthCheck;interchainMessaging;nfTs;notifications;operations;primaryNetwork;primaryNetworkBalances;primaryNetworkBlocks;primaryNetworkRewards;primaryNetworkTransactions;primaryNetworkUtxOs;primaryNetworkVertices;signatureAggregator;teleporter;webhooks;request;constructor(e,r=p){this.request=new r({BASE:e?.BASE??"https://glacier-api-dev.avax.network",VERSION:e?.VERSION??"1.0.0",WITH_CREDENTIALS:e?.WITH_CREDENTIALS??!1,CREDENTIALS:e?.CREDENTIALS??"include",TOKEN:e?.TOKEN,USERNAME:e?.USERNAME,PASSWORD:e?.PASSWORD,HEADERS:e?.HEADERS,ENCODE_PATH:e?.ENCODE_PATH}),this.avaxSupply=new m(this.request),this.dataApiUsageMetrics=new v(this.request),this.default=new y(this.request),this.evmBalances=new T(this.request),this.evmBlocks=new g(this.request),this.evmChains=new w(this.request),this.evmContracts=new b(this.request),this.evmTransactions=new f(this.request),this.healthCheck=new E(this.request),this.interchainMessaging=new S(this.request),this.nfTs=new q(this.request),this.notifications=new R(this.request),this.operations=new k(this.request),this.primaryNetwork=new x(this.request),this.primaryNetworkBalances=new I(this.request),this.primaryNetworkBlocks=new A(this.request),this.primaryNetworkRewards=new N(this.request),this.primaryNetworkTransactions=new _(this.request),this.primaryNetworkUtxOs=new C(this.request),this.primaryNetworkVertices=new O(this.request),this.signatureAggregator=new D(this.request),this.teleporter=new B(this.request),this.webhooks=new L(this.request)}},exports.HealthCheckService=E,exports.InterchainMessagingService=S,exports.InternalTransactionOpCall=Re,exports.Network=ke,exports.NfTsService=q,exports.NftTokenMetadataStatus=xe,exports.NotificationsService=R,exports.OpenAPI={BASE:"https://glacier-api-dev.avax.network",VERSION:"1.0.0",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0},exports.OperationStatus=Ie,exports.OperationStatusCode=Ae,exports.OperationType=Ne,exports.OperationsService=k,exports.PChainId=_e,exports.PChainTransactionType=Ce,exports.PlatformAddressActivityKeyType=De,exports.PrimaryNetworkAddressActivityEventType=Be,exports.PrimaryNetworkAddressActivitySubEventType=Ue,exports.PrimaryNetworkAssetCap=Pe,exports.PrimaryNetworkAssetType=Me,exports.PrimaryNetworkBalancesService=I,exports.PrimaryNetworkBlocksService=A,exports.PrimaryNetworkChainName=ze,exports.PrimaryNetworkOperationType=Ve,exports.PrimaryNetworkRewardsService=N,exports.PrimaryNetworkRpcMetricsGroupByEnum=Ge,exports.PrimaryNetworkRpcTimeIntervalGranularity=He,exports.PrimaryNetworkService=x,exports.PrimaryNetworkTransactionsService=_,exports.PrimaryNetworkTxType=Xe,exports.PrimaryNetworkType=Ye,exports.PrimaryNetworkUtxOsService=C,exports.PrimaryNetworkVerticesService=O,exports.RequestType=Je,exports.ResourceLinkType=Qe,exports.RewardType=$e,exports.RpcUsageMetricsGroupByEnum=Ze,exports.SignatureAggregatorService=D,exports.SortByOption=rr,exports.SortOrder=tr,exports.SubnetRpcTimeIntervalGranularity=sr,exports.TeleporterService=B,exports.TimeIntervalGranularityExtended=ar,exports.TransactionDirectionType=ir,exports.TransactionMethodType=or,exports.TransactionStatus=hr,exports.UsageMetricsGroupByEnum=cr,exports.UtxoType=lr,exports.ValidationStatusType=pr,exports.ValidatorActivityEventType=mr,exports.ValidatorActivityKeyType=vr,exports.VmName=Tr,exports.WebhookStatus=fr,exports.WebhookStatusType=Er,exports.WebhooksService=L,exports.XChainId=Sr,exports.XChainTransactionType=qr;
@@ -1,5 +1,6 @@
1
1
  import { BaseHttpRequest } from './core/BaseHttpRequest.js';
2
2
  import { OpenAPIConfig } from './core/OpenAPI.js';
3
+ import { AvaxSupplyService } from './services/AvaxSupplyService.js';
3
4
  import { DataApiUsageMetricsService } from './services/DataApiUsageMetricsService.js';
4
5
  import { DefaultService } from './services/DefaultService.js';
5
6
  import { EvmBalancesService } from './services/EvmBalancesService.js';
@@ -25,6 +26,7 @@ import { WebhooksService } from './services/WebhooksService.js';
25
26
 
26
27
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
27
28
  declare class Glacier {
29
+ readonly avaxSupply: AvaxSupplyService;
28
30
  readonly dataApiUsageMetrics: DataApiUsageMetricsService;
29
31
  readonly default: DefaultService;
30
32
  readonly evmBalances: EvmBalancesService;