@avalabs/glacier-sdk 3.1.0-canary.efe2f7b.0 → 3.1.0-canary.f0743b0.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 (136) hide show
  1. package/dist/index.d.ts +1372 -602
  2. package/dist/index.js +1 -1
  3. package/esm/generated/Glacier.d.ts +4 -4
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  6. package/esm/generated/models/ApiFeature.d.ts +7 -0
  7. package/esm/generated/models/ApiFeature.js +1 -0
  8. package/esm/generated/models/BadGateway.d.ts +16 -0
  9. package/esm/generated/models/BadRequest.d.ts +16 -0
  10. package/esm/generated/models/BalanceOwner.d.ts +6 -0
  11. package/esm/generated/models/BlockchainId.d.ts +2 -0
  12. package/esm/generated/models/BlockchainId.js +1 -1
  13. package/esm/generated/models/BlockchainIds.d.ts +3 -1
  14. package/esm/generated/models/BlockchainIds.js +1 -1
  15. package/esm/generated/models/ChainInfo.d.ts +1 -1
  16. package/esm/generated/models/CompletedValidatorDetails.d.ts +1 -0
  17. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +4 -4
  18. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +4 -4
  19. package/esm/generated/models/CreateWebhookRequest.d.ts +1 -1
  20. package/esm/generated/models/DataListChainsResponse.d.ts +7 -0
  21. package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
  22. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  23. package/esm/generated/models/EvmBlock.d.ts +4 -0
  24. package/esm/generated/models/Forbidden.d.ts +16 -0
  25. package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
  26. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  27. package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
  28. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
  29. package/esm/generated/models/GetTransactionResponse.d.ts +5 -0
  30. package/esm/generated/models/InternalServerError.d.ts +16 -0
  31. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +33 -0
  32. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +23 -0
  33. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  34. package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
  35. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +5 -0
  36. package/esm/generated/models/ListErc20BalancesResponse.d.ts +5 -0
  37. package/esm/generated/models/ListErc721BalancesResponse.d.ts +5 -0
  38. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +14 -0
  39. package/esm/generated/models/LogsFormat.d.ts +1 -1
  40. package/esm/generated/models/Metric.d.ts +14 -0
  41. package/esm/generated/models/NativeTransaction.d.ts +4 -0
  42. package/esm/generated/models/Network.d.ts +3 -1
  43. package/esm/generated/models/Network.js +1 -1
  44. package/esm/generated/models/NotFound.d.ts +16 -0
  45. package/esm/generated/models/PChainTransaction.d.ts +14 -0
  46. package/esm/generated/models/PChainTransactionType.d.ts +5 -0
  47. package/esm/generated/models/PChainTransactionType.js +1 -1
  48. package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -0
  49. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +2 -2
  50. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  51. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +9 -0
  52. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  53. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
  54. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  55. package/esm/generated/models/RequestType.d.ts +2 -2
  56. package/esm/generated/models/RequestType.js +1 -1
  57. package/esm/generated/models/RpcMetrics.d.ts +14 -0
  58. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  59. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  60. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +51 -0
  61. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
  62. package/esm/generated/models/ServiceUnavailable.d.ts +16 -0
  63. package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
  64. package/esm/generated/models/SignatureAggregatorRequest.d.ts +8 -0
  65. package/esm/generated/models/Subnet.d.ts +13 -0
  66. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  67. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  68. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +18 -0
  69. package/esm/generated/models/TeleporterMessageInfo.d.ts +16 -0
  70. package/esm/generated/models/TooManyRequests.d.ts +16 -0
  71. package/esm/generated/models/TransactionDirectionType.d.ts +6 -0
  72. package/esm/generated/models/TransactionDirectionType.js +1 -0
  73. package/esm/generated/models/Unauthorized.d.ts +16 -0
  74. package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
  75. package/esm/generated/models/UsageMetricsGroupByEnum.d.ts +2 -1
  76. package/esm/generated/models/UsageMetricsGroupByEnum.js +1 -1
  77. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +3 -1
  78. package/esm/generated/models/UsageMetricsValueDTO.d.ts +53 -0
  79. package/esm/generated/models/UsageMetricsValueDTO.js +1 -0
  80. package/esm/generated/models/XChainId.d.ts +1 -0
  81. package/esm/generated/models/XChainId.js +1 -1
  82. package/esm/generated/services/DataApiUsageMetricsService.d.ts +204 -0
  83. package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
  84. package/esm/generated/services/EvmBalancesService.d.ts +10 -10
  85. package/esm/generated/services/EvmBalancesService.js +1 -1
  86. package/esm/generated/services/EvmBlocksService.d.ts +25 -4
  87. package/esm/generated/services/EvmBlocksService.js +1 -1
  88. package/esm/generated/services/EvmChainsService.d.ts +86 -8
  89. package/esm/generated/services/EvmChainsService.js +1 -1
  90. package/esm/generated/services/EvmContractsService.d.ts +4 -4
  91. package/esm/generated/services/EvmContractsService.js +1 -1
  92. package/esm/generated/services/EvmTransactionsService.d.ts +58 -25
  93. package/esm/generated/services/EvmTransactionsService.js +1 -1
  94. package/esm/generated/services/HealthCheckService.d.ts +1 -1
  95. package/esm/generated/services/HealthCheckService.js +1 -1
  96. package/esm/generated/services/NfTsService.d.ts +6 -6
  97. package/esm/generated/services/NfTsService.js +1 -1
  98. package/esm/generated/services/OperationsService.d.ts +2 -2
  99. package/esm/generated/services/OperationsService.js +1 -1
  100. package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +2 -2
  101. package/esm/generated/services/PrimaryNetworkBalancesService.js +1 -1
  102. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +24 -8
  103. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  104. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +4 -4
  105. package/esm/generated/services/PrimaryNetworkRewardsService.js +1 -1
  106. package/esm/generated/services/PrimaryNetworkService.d.ts +52 -18
  107. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  108. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +13 -10
  109. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  110. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +2 -2
  111. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  112. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +6 -6
  113. package/esm/generated/services/PrimaryNetworkVerticesService.js +1 -1
  114. package/esm/generated/services/SignatureAggregatorService.d.ts +25 -0
  115. package/esm/generated/services/SignatureAggregatorService.js +1 -0
  116. package/esm/generated/services/TeleporterService.d.ts +34 -6
  117. package/esm/generated/services/TeleporterService.js +1 -1
  118. package/esm/generated/services/WebhooksService.d.ts +10 -10
  119. package/esm/generated/services/WebhooksService.js +1 -1
  120. package/esm/index.d.ts +30 -9
  121. package/esm/index.js +1 -1
  122. package/package.json +2 -2
  123. package/esm/generated/models/GlacierApiFeature.d.ts +0 -6
  124. package/esm/generated/models/GlacierApiFeature.js +0 -1
  125. package/esm/generated/models/NetworkType.d.ts +0 -6
  126. package/esm/generated/models/NetworkType.js +0 -1
  127. package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
  128. package/esm/generated/models/PrimaryNetwork.js +0 -1
  129. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  130. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  131. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  132. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  133. package/esm/generated/services/GlacierApiUsageMetricsService.d.ts +0 -85
  134. package/esm/generated/services/GlacierApiUsageMetricsService.js +0 -1
  135. package/esm/generated/services/RpcService.d.ts +0 -25
  136. package/esm/generated/services/RpcService.js +0 -1
@@ -10,12 +10,12 @@ declare class NfTsService {
10
10
  /**
11
11
  * Reindex NFT metadata
12
12
  * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
13
- * @returns any
13
+ * @returns any Successful response
14
14
  * @throws ApiError
15
15
  */
16
16
  reindexNft({ chainId, address, tokenId, }: {
17
17
  /**
18
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
18
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
19
19
  */
20
20
  chainId: string;
21
21
  /**
@@ -30,12 +30,12 @@ declare class NfTsService {
30
30
  /**
31
31
  * List tokens
32
32
  * Lists tokens for an NFT contract.
33
- * @returns ListNftTokens
33
+ * @returns ListNftTokens Successful response
34
34
  * @throws ApiError
35
35
  */
36
36
  listTokens({ chainId, address, pageToken, pageSize, }: {
37
37
  /**
38
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
38
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
39
39
  */
40
40
  chainId: string;
41
41
  /**
@@ -54,12 +54,12 @@ declare class NfTsService {
54
54
  /**
55
55
  * Get token details
56
56
  * Gets token details for a specific token of an NFT contract.
57
- * @returns any
57
+ * @returns any Successful response
58
58
  * @throws ApiError
59
59
  */
60
60
  getTokenDetails({ chainId, address, tokenId, }: {
61
61
  /**
62
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
62
+ * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
63
63
  */
64
64
  chainId: string;
65
65
  /**
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}reindexNft({chainId:e,address:t,tokenId:s}){return this.httpRequest.request({method:"POST",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}:reindex",path:{chainId:e,address:t,tokenId:s}})}listTokens({chainId:e,address:t,pageToken:s,pageSize:d=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens",path:{chainId:e,address:t},query:{pageToken:s,pageSize:d}})}getTokenDetails({chainId:e,address:t,tokenId:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}",path:{chainId:e,address:t,tokenId:s}})}}export{e as NfTsService};
1
+ class e{constructor(e){this.httpRequest=e}reindexNft({chainId:e,address:r,tokenId:t}){return this.httpRequest.request({method:"POST",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}:reindex",path:{chainId:e,address:r,tokenId:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listTokens({chainId:e,address:r,pageToken:t,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens",path:{chainId:e,address:r},query:{pageToken:t,pageSize:n},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getTokenDetails({chainId:e,address:r,tokenId:t}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}",path:{chainId:e,address:r,tokenId:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as NfTsService};
@@ -10,7 +10,7 @@ declare class OperationsService {
10
10
  /**
11
11
  * Get operation
12
12
  * Gets operation details for the given operation id.
13
- * @returns OperationStatusResponse
13
+ * @returns OperationStatusResponse Successful response
14
14
  * @throws ApiError
15
15
  */
16
16
  getOperationResult({ operationId, }: {
@@ -24,7 +24,7 @@ declare class OperationsService {
24
24
  * Trigger a transaction export operation with given parameters.
25
25
  *
26
26
  * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
27
- * @returns OperationStatusResponse
27
+ * @returns OperationStatusResponse Successful response
28
28
  * @throws ApiError
29
29
  */
30
30
  postTransactionExportJob({ requestBody, }: {
@@ -1 +1 @@
1
- class t{constructor(t){this.httpRequest=t}getOperationResult({operationId:t}){return this.httpRequest.request({method:"GET",url:"/v1/operations/{operationId}",path:{operationId:t}})}postTransactionExportJob({requestBody:t}){return this.httpRequest.request({method:"POST",url:"/v1/operations/transactions:export",body:t,mediaType:"application/json"})}}export{t as OperationsService};
1
+ class e{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."}})}}export{e as OperationsService};
@@ -14,7 +14,7 @@ declare class PrimaryNetworkBalancesService {
14
14
  * Gets primary network balances for one of the Primary Network chains for the supplied addresses.
15
15
  *
16
16
  * C-Chain balances returned are only the shared atomic memory balance. For EVM balance, use the `/v1/chains/:chainId/addresses/:addressId/balances:getNative` endpoint.
17
- * @returns any
17
+ * @returns any Successful response
18
18
  * @throws ApiError
19
19
  */
20
20
  getBalancesByAddresses({ blockchainId, network, blockTimestamp, addresses, }: {
@@ -23,7 +23,7 @@ declare class PrimaryNetworkBalancesService {
23
23
  */
24
24
  blockchainId: BlockchainId;
25
25
  /**
26
- * Either mainnet or a testnet.
26
+ * Either mainnet or testnet/fuji.
27
27
  */
28
28
  network: Network;
29
29
  /**
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getBalancesByAddresses({blockchainId:e,network:s,blockTimestamp:t,addresses:c}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/balances",path:{blockchainId:e,network:s},query:{blockTimestamp:t,addresses:c}})}}export{e as PrimaryNetworkBalancesService};
1
+ class e{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."}})}}export{e as PrimaryNetworkBalancesService};
@@ -11,7 +11,7 @@ declare class PrimaryNetworkBlocksService {
11
11
  /**
12
12
  * Get block
13
13
  * Gets a block by block height or block hash on one of the Primary Network chains.
14
- * @returns GetPrimaryNetworkBlockResponse
14
+ * @returns GetPrimaryNetworkBlockResponse Successful response
15
15
  * @throws ApiError
16
16
  */
17
17
  getBlockById({ blockchainId, network, blockId, }: {
@@ -20,7 +20,7 @@ declare class PrimaryNetworkBlocksService {
20
20
  */
21
21
  blockchainId: BlockchainId;
22
22
  /**
23
- * Either mainnet or a testnet.
23
+ * Either mainnet or testnet/fuji.
24
24
  */
25
25
  network: Network;
26
26
  /**
@@ -31,22 +31,30 @@ declare class PrimaryNetworkBlocksService {
31
31
  /**
32
32
  * List blocks proposed by node
33
33
  * Lists the latest blocks proposed by a given NodeID on one of the Primary Network chains.
34
- * @returns ListPrimaryNetworkBlocksResponse
34
+ * @returns ListPrimaryNetworkBlocksResponse Successful response
35
35
  * @throws ApiError
36
36
  */
37
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
37
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
38
38
  /**
39
39
  * A primary network blockchain id or alias.
40
40
  */
41
41
  blockchainId: BlockchainId;
42
42
  /**
43
- * Either mainnet or a testnet.
43
+ * Either mainnet or testnet/fuji.
44
44
  */
45
45
  network: Network;
46
46
  /**
47
47
  * A primary network (P or X chain) nodeId.
48
48
  */
49
49
  nodeId: string;
50
+ /**
51
+ * Query param for retrieving items after a specific timestamp.
52
+ */
53
+ startTimestamp?: number;
54
+ /**
55
+ * Query param for retrieving items before a specific timestamp.
56
+ */
57
+ endTimestamp?: number;
50
58
  /**
51
59
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
52
60
  */
@@ -59,18 +67,26 @@ declare class PrimaryNetworkBlocksService {
59
67
  /**
60
68
  * List latest blocks
61
69
  * Lists latest blocks on one of the Primary Network chains.
62
- * @returns ListPrimaryNetworkBlocksResponse
70
+ * @returns ListPrimaryNetworkBlocksResponse Successful response
63
71
  * @throws ApiError
64
72
  */
65
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
73
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
66
74
  /**
67
75
  * A primary network blockchain id or alias.
68
76
  */
69
77
  blockchainId: BlockchainId;
70
78
  /**
71
- * Either mainnet or a testnet.
79
+ * Either mainnet or testnet/fuji.
72
80
  */
73
81
  network: Network;
82
+ /**
83
+ * Query param for retrieving items after a specific timestamp.
84
+ */
85
+ startTimestamp?: number;
86
+ /**
87
+ * Query param for retrieving items before a specific timestamp.
88
+ */
89
+ endTimestamp?: number;
74
90
  /**
75
91
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
76
92
  */
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getBlockById({blockchainId:e,network:o,blockId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/blocks/{blockId}",path:{blockchainId:e,network:o,blockId:t}})}listPrimaryNetworkBlocksByNodeId({blockchainId:e,network:o,nodeId:t,pageToken:k,pageSize:c=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/nodes/{nodeId}/blocks",path:{blockchainId:e,network:o,nodeId:t},query:{pageToken:k,pageSize:c}})}listLatestPrimaryNetworkBlocks({blockchainId:e,network:o,pageToken:t,pageSize:k=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/blocks",path:{blockchainId:e,network:o},query:{pageToken:t,pageSize:k}})}}export{e as PrimaryNetworkBlocksService};
1
+ class e{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:n,endTimestamp:s,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:n,endTimestamp:s,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:n,pageToken:s,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:n,pageToken:s,pageSize:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as PrimaryNetworkBlocksService};
@@ -12,12 +12,12 @@ declare class PrimaryNetworkRewardsService {
12
12
  /**
13
13
  * List pending rewards
14
14
  * Lists pending rewards on the Primary Network for the supplied addresses.
15
- * @returns ListPendingRewardsResponse
15
+ * @returns ListPendingRewardsResponse Successful response
16
16
  * @throws ApiError
17
17
  */
18
18
  listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
19
19
  /**
20
- * Either mainnet or a testnet.
20
+ * Either mainnet or testnet/fuji.
21
21
  */
22
22
  network: Network;
23
23
  /**
@@ -44,12 +44,12 @@ declare class PrimaryNetworkRewardsService {
44
44
  /**
45
45
  * List historical rewards
46
46
  * Lists historical rewards on the Primary Network for the supplied addresses.
47
- * @returns ListHistoricalRewardsResponse
47
+ * @returns ListHistoricalRewardsResponse Successful response
48
48
  * @throws ApiError
49
49
  */
50
50
  listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
51
51
  /**
52
- * Either mainnet or a testnet.
52
+ * Either mainnet or testnet/fuji.
53
53
  */
54
54
  network: Network;
55
55
  /**
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}listPendingPrimaryNetworkRewards({network:e,addresses:r,pageToken:s,pageSize:t=10,nodeIds:d,sortOrder:o}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/rewards:listPending",path:{network:e},query:{addresses:r,pageToken:s,pageSize:t,nodeIds:d,sortOrder:o}})}listHistoricalPrimaryNetworkRewards({network:e,addresses:r,pageToken:s,pageSize:t=10,nodeIds:d,sortOrder:o,currency:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/rewards",path:{network:e},query:{addresses:r,pageToken:s,pageSize:t,nodeIds:d,sortOrder:o,currency:n}})}}export{e as PrimaryNetworkRewardsService};
1
+ class e{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."}})}}export{e as PrimaryNetworkRewardsService};
@@ -3,6 +3,7 @@ import { DelegationStatusType } from '../models/DelegationStatusType.js';
3
3
  import { GetNetworkDetailsResponse } from '../models/GetNetworkDetailsResponse.js';
4
4
  import { ListBlockchainsResponse } from '../models/ListBlockchainsResponse.js';
5
5
  import { ListDelegatorDetailsResponse } from '../models/ListDelegatorDetailsResponse.js';
6
+ import { ListL1ValidatorsResponse } from '../models/ListL1ValidatorsResponse.js';
6
7
  import { ListSubnetsResponse } from '../models/ListSubnetsResponse.js';
7
8
  import { ListValidatorDetailsResponse } from '../models/ListValidatorDetailsResponse.js';
8
9
  import { Network } from '../models/Network.js';
@@ -21,7 +22,7 @@ declare class PrimaryNetworkService {
21
22
  /**
22
23
  * Get asset details
23
24
  * Gets asset details corresponding to the given asset id on the X-Chain.
24
- * @returns XChainAssetDetails
25
+ * @returns XChainAssetDetails Successful response
25
26
  * @throws ApiError
26
27
  */
27
28
  getAssetDetails({ blockchainId, network, assetId, }: {
@@ -30,7 +31,7 @@ declare class PrimaryNetworkService {
30
31
  */
31
32
  blockchainId: XChainId;
32
33
  /**
33
- * Either mainnet or a testnet.
34
+ * Either mainnet or testnet/fuji.
34
35
  */
35
36
  network: Network;
36
37
  /**
@@ -41,7 +42,7 @@ declare class PrimaryNetworkService {
41
42
  /**
42
43
  * Get chain interactions for addresses
43
44
  * Returns Primary Network chains that each address has touched in the form of an address mapped array. If an address has had any on-chain interaction for a chain, that chain's chain id will be returned.
44
- * @returns ChainAddressChainIdMapListResponse
45
+ * @returns ChainAddressChainIdMapListResponse Successful response
45
46
  * @throws ApiError
46
47
  */
47
48
  getChainIdsForAddresses({ addresses, network, }: {
@@ -50,31 +51,31 @@ declare class PrimaryNetworkService {
50
51
  */
51
52
  addresses: string;
52
53
  /**
53
- * Either mainnet or a testnet.
54
+ * Either mainnet or testnet/fuji.
54
55
  */
55
56
  network: Network;
56
57
  }): CancelablePromise<ChainAddressChainIdMapListResponse>;
57
58
  /**
58
59
  * Get network details
59
60
  * Gets network details such as validator and delegator stats.
60
- * @returns GetNetworkDetailsResponse
61
+ * @returns GetNetworkDetailsResponse Successful response
61
62
  * @throws ApiError
62
63
  */
63
64
  getNetworkDetails({ network, }: {
64
65
  /**
65
- * Either mainnet or a testnet.
66
+ * Either mainnet or testnet/fuji.
66
67
  */
67
68
  network: Network;
68
69
  }): CancelablePromise<GetNetworkDetailsResponse>;
69
70
  /**
70
71
  * List blockchains
71
72
  * Lists all blockchains registered on the network.
72
- * @returns ListBlockchainsResponse
73
+ * @returns ListBlockchainsResponse Successful response
73
74
  * @throws ApiError
74
75
  */
75
76
  listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
76
77
  /**
77
- * Either mainnet or a testnet.
78
+ * Either mainnet or testnet/fuji.
78
79
  */
79
80
  network: Network;
80
81
  /**
@@ -93,12 +94,12 @@ declare class PrimaryNetworkService {
93
94
  /**
94
95
  * List subnets
95
96
  * Lists all subnets registered on the network.
96
- * @returns ListSubnetsResponse
97
+ * @returns ListSubnetsResponse Successful response
97
98
  * @throws ApiError
98
99
  */
99
100
  listSubnets({ network, pageToken, pageSize, sortOrder, }: {
100
101
  /**
101
- * Either mainnet or a testnet.
102
+ * Either mainnet or testnet/fuji.
102
103
  */
103
104
  network: Network;
104
105
  /**
@@ -117,12 +118,12 @@ declare class PrimaryNetworkService {
117
118
  /**
118
119
  * Get Subnet details by ID
119
120
  * Get details of the Subnet registered on the network.
120
- * @returns Subnet
121
+ * @returns Subnet Successful response
121
122
  * @throws ApiError
122
123
  */
123
124
  getSubnetById({ network, subnetId, }: {
124
125
  /**
125
- * Either mainnet or a testnet.
126
+ * Either mainnet or testnet/fuji.
126
127
  */
127
128
  network: Network;
128
129
  /**
@@ -133,12 +134,12 @@ declare class PrimaryNetworkService {
133
134
  /**
134
135
  * List validators
135
136
  * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
136
- * @returns ListValidatorDetailsResponse
137
+ * @returns ListValidatorDetailsResponse Successful response
137
138
  * @throws ApiError
138
139
  */
139
140
  listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
140
141
  /**
141
- * Either mainnet or a testnet.
142
+ * Either mainnet or testnet/fuji.
142
143
  */
143
144
  network: Network;
144
145
  /**
@@ -207,12 +208,12 @@ declare class PrimaryNetworkService {
207
208
  /**
208
209
  * Get single validator details
209
210
  * List validator details for a single validator. Filterable by validation status.
210
- * @returns ListValidatorDetailsResponse
211
+ * @returns ListValidatorDetailsResponse Successful response
211
212
  * @throws ApiError
212
213
  */
213
214
  getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
214
215
  /**
215
- * Either mainnet or a testnet.
216
+ * Either mainnet or testnet/fuji.
216
217
  */
217
218
  network: Network;
218
219
  /**
@@ -239,12 +240,12 @@ declare class PrimaryNetworkService {
239
240
  /**
240
241
  * List delegators
241
242
  * Lists details for delegators.
242
- * @returns ListDelegatorDetailsResponse
243
+ * @returns ListDelegatorDetailsResponse Successful response
243
244
  * @throws ApiError
244
245
  */
245
246
  listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
246
247
  /**
247
- * Either mainnet or a testnet.
248
+ * Either mainnet or testnet/fuji.
248
249
  */
249
250
  network: Network;
250
251
  /**
@@ -272,6 +273,39 @@ declare class PrimaryNetworkService {
272
273
  */
273
274
  nodeIds?: string;
274
275
  }): CancelablePromise<ListDelegatorDetailsResponse>;
276
+ /**
277
+ * List L1 validators
278
+ * Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.
279
+ * @returns ListL1ValidatorsResponse Successful response
280
+ * @throws ApiError
281
+ */
282
+ listL1Validators({ network, pageToken, pageSize, l1ValidationId, includeInactiveL1Validators, nodeId, subnetId, }: {
283
+ /**
284
+ * Either mainnet or testnet/fuji.
285
+ */
286
+ network: Network;
287
+ /**
288
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
289
+ */
290
+ pageToken?: string;
291
+ /**
292
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
293
+ */
294
+ pageSize?: number;
295
+ /**
296
+ * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
297
+ */
298
+ l1ValidationId?: any;
299
+ includeInactiveL1Validators?: boolean;
300
+ /**
301
+ * A valid node ID in format 'NodeID-HASH'.
302
+ */
303
+ nodeId?: string;
304
+ /**
305
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
306
+ */
307
+ subnetId?: any;
308
+ }): CancelablePromise<ListL1ValidatorsResponse>;
275
309
  }
276
310
 
277
311
  export { PrimaryNetworkService };
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:t,assetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:t,assetId:r}})}getChainIdsForAddresses({addresses:e,network:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:t},query:{addresses:e}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{network:e}})}listBlockchains({network:e,pageToken:t,pageSize:r=10,sortOrder:s}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:t,pageSize:r,sortOrder:s}})}listSubnets({network:e,pageToken:t,pageSize:r=10,sortOrder:s}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:t,pageSize:r,sortOrder:s}})}getSubnetById({network:e,subnetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId:t}})}listValidators({network:e,pageToken:t,pageSize:r=10,nodeIds:s,sortBy:n,sortOrder:a,validationStatus:o,minDelegationCapacity:i,maxDelegationCapacity:d,minTimeRemaining:u,maxTimeRemaining:k,minFeePercentage:p,maxFeePercentage:h,minUptimePerformance:g,maxUptimePerformance:l,subnetId:m}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:t,pageSize:r,nodeIds:s,sortBy:n,sortOrder:a,validationStatus:o,minDelegationCapacity:i,maxDelegationCapacity:d,minTimeRemaining:u,maxTimeRemaining:k,minFeePercentage:p,maxFeePercentage:h,minUptimePerformance:g,maxUptimePerformance:l,subnetId:m}})}getSingleValidatorDetails({network:e,nodeId:t,pageToken:r,pageSize:s=10,validationStatus:n,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:t},query:{pageToken:r,pageSize:s,validationStatus:n,sortOrder:a}})}listDelegators({network:e,pageToken:t,pageSize:r=10,rewardAddresses:s,sortOrder:n,delegationStatus:a,nodeIds:o}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:t,pageSize:r,rewardAddresses:s,sortOrder:n,delegationStatus:a,nodeIds:o}})}}export{e as PrimaryNetworkService};
1
+ class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:r,assetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:r,assetId:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getChainIdsForAddresses({addresses:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:r},query:{addresses:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{network:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listBlockchains({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listSubnets({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getSubnetById({network:e,subnetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listValidators({network:e,pageToken:r,pageSize:t=10,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:l,maxFeePercentage:c,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:l,maxFeePercentage:c,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listL1Validators({network:e,pageToken:r,pageSize:t=10,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/l1Validators",path:{network:e},query:{pageToken:r,pageSize:t,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as PrimaryNetworkService};
@@ -21,7 +21,7 @@ declare class PrimaryNetworkTransactionsService {
21
21
  /**
22
22
  * Get transaction
23
23
  * Gets the details of a single transaction on one of the Primary Network chains.
24
- * @returns any
24
+ * @returns any Successful response
25
25
  * @throws ApiError
26
26
  */
27
27
  getTxByHash({ blockchainId, network, txHash, }: {
@@ -30,7 +30,7 @@ declare class PrimaryNetworkTransactionsService {
30
30
  */
31
31
  blockchainId: BlockchainId;
32
32
  /**
33
- * Either mainnet or a testnet.
33
+ * Either mainnet or testnet/fuji.
34
34
  */
35
35
  network: Network;
36
36
  /**
@@ -44,23 +44,26 @@ declare class PrimaryNetworkTransactionsService {
44
44
  *
45
45
  * Transactions are filterable by addresses, txTypes, and timestamps. When querying for latest transactions without an address parameter, filtering by txTypes and timestamps is not supported. An address filter must be provided to utilize txTypes and timestamp filters.
46
46
  *
47
+ * For P-Chain, you can fetch all L1 validators related transactions like ConvertSubnetToL1Tx, IncreaseL1ValidatorBalanceTx etc. using the unique L1 validation ID. These transactions are further filterable by txTypes and timestamps as well.
48
+ *
47
49
  * Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
48
- * @returns any
50
+ * @returns any Successful response
49
51
  * @throws ApiError
50
52
  */
51
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
53
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
52
54
  /**
53
55
  * A primary network blockchain id or alias.
54
56
  */
55
57
  blockchainId: BlockchainId;
56
58
  /**
57
- * Either mainnet or a testnet.
59
+ * Either mainnet or testnet/fuji.
58
60
  */
59
61
  network: Network;
60
62
  /**
61
- * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
63
+ * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
62
64
  */
63
65
  addresses?: string;
66
+ l1ValidationId?: string;
64
67
  /**
65
68
  * Query param for filtering items based on transaction types.
66
69
  */
@@ -89,7 +92,7 @@ declare class PrimaryNetworkTransactionsService {
89
92
  /**
90
93
  * List staking transactions
91
94
  * Lists active staking transactions on the P-Chain for the supplied addresses.
92
- * @returns ListPChainTransactionsResponse
95
+ * @returns ListPChainTransactionsResponse Successful response
93
96
  * @throws ApiError
94
97
  */
95
98
  listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
@@ -98,7 +101,7 @@ declare class PrimaryNetworkTransactionsService {
98
101
  */
99
102
  blockchainId: PChainId;
100
103
  /**
101
- * Either mainnet or a testnet.
104
+ * Either mainnet or testnet/fuji.
102
105
  */
103
106
  network: Network;
104
107
  /**
@@ -133,7 +136,7 @@ declare class PrimaryNetworkTransactionsService {
133
136
  /**
134
137
  * List asset transactions
135
138
  * Lists asset transactions corresponding to the given asset id on the X-Chain.
136
- * @returns ListXChainTransactionsResponse
139
+ * @returns ListXChainTransactionsResponse Successful response
137
140
  * @throws ApiError
138
141
  */
139
142
  listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
@@ -142,7 +145,7 @@ declare class PrimaryNetworkTransactionsService {
142
145
  */
143
146
  blockchainId: XChainId;
144
147
  /**
145
- * Either mainnet or a testnet.
148
+ * Either mainnet or testnet/fuji.
146
149
  */
147
150
  network: Network;
148
151
  /**
@@ -1 +1 @@
1
- class t{constructor(t){this.httpRequest=t}getTxByHash({blockchainId:t,network:e,txHash:s}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions/{txHash}",path:{blockchainId:t,network:e,txHash:s}})}listLatestPrimaryNetworkTransactions({blockchainId:t,network:e,addresses:s,txTypes:a,startTimestamp:r,endTimestamp:n,pageToken:o,pageSize:i=10,sortOrder:c}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions",path:{blockchainId:t,network:e},query:{addresses:s,txTypes:a,startTimestamp:r,endTimestamp:n,pageToken:o,pageSize:i,sortOrder:c}})}listActivePrimaryNetworkStakingTransactions({blockchainId:t,network:e,addresses:s,txTypes:a,startTimestamp:r,endTimestamp:n,pageToken:o,pageSize:i=10,sortOrder:c}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions:listStaking",path:{blockchainId:t,network:e},query:{addresses:s,txTypes:a,startTimestamp:r,endTimestamp:n,pageToken:o,pageSize:i,sortOrder:c}})}listAssetTransactions({blockchainId:t,network:e,assetId:s,txTypes:a,startTimestamp:r,endTimestamp:n,pageToken:o,pageSize:i=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}/transactions",path:{blockchainId:t,network:e,assetId:s},query:{txTypes:a,startTimestamp:r,endTimestamp:n,pageToken:o,pageSize:i}})}}export{t as PrimaryNetworkTransactionsService};
1
+ class e{constructor(e){this.httpRequest=e}getTxByHash({blockchainId:e,network:t,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions/{txHash}",path:{blockchainId:e,network:t,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."}})}listLatestPrimaryNetworkTransactions({blockchainId:e,network:t,addresses:r,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:t},query:{addresses:r,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:t,addresses:r,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:t},query:{addresses:r,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:t,assetId:r,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:t,assetId:r},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."}})}}export{e as PrimaryNetworkTransactionsService};
@@ -12,7 +12,7 @@ declare class PrimaryNetworkUtxOsService {
12
12
  /**
13
13
  * List UTXOs
14
14
  * Lists UTXOs on one of the Primary Network chains for the supplied addresses.
15
- * @returns any
15
+ * @returns any Successful response
16
16
  * @throws ApiError
17
17
  */
18
18
  getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
@@ -21,7 +21,7 @@ declare class PrimaryNetworkUtxOsService {
21
21
  */
22
22
  blockchainId: BlockchainId;
23
23
  /**
24
- * Either mainnet or a testnet.
24
+ * Either mainnet or testnet/fuji.
25
25
  */
26
26
  network: Network;
27
27
  /**