@avalabs/glacier-sdk 3.1.0-canary.639f9ba.0 → 3.1.0-canary.676e2d8.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 (108) hide show
  1. package/dist/index.d.ts +2225 -1612
  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/ActiveValidatorDetails.d.ts +21 -0
  6. package/esm/generated/models/ApiFeature.d.ts +7 -0
  7. package/esm/generated/models/ApiFeature.js +1 -0
  8. package/esm/generated/models/BalanceOwner.d.ts +6 -0
  9. package/esm/generated/models/BlockchainId.d.ts +2 -0
  10. package/esm/generated/models/BlockchainId.js +1 -1
  11. package/esm/generated/models/BlockchainIds.d.ts +3 -1
  12. package/esm/generated/models/BlockchainIds.js +1 -1
  13. package/esm/generated/models/ChainInfo.d.ts +1 -1
  14. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  15. package/esm/generated/models/CompletedValidatorDetails.d.ts +4 -0
  16. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +4 -4
  17. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +4 -4
  18. package/esm/generated/models/CreateWebhookRequest.d.ts +1 -1
  19. package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
  20. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  21. package/esm/generated/models/EvmBlock.d.ts +4 -0
  22. package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
  23. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  24. package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
  25. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
  26. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +33 -0
  27. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +23 -0
  28. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  29. package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
  30. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +5 -0
  31. package/esm/generated/models/ListErc20BalancesResponse.d.ts +5 -0
  32. package/esm/generated/models/ListErc721BalancesResponse.d.ts +5 -0
  33. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +14 -0
  34. package/esm/generated/models/NativeTransaction.d.ts +4 -0
  35. package/esm/generated/models/Network.d.ts +3 -1
  36. package/esm/generated/models/Network.js +1 -1
  37. package/esm/generated/models/PChainTransaction.d.ts +33 -7
  38. package/esm/generated/models/PChainTransactionType.d.ts +5 -0
  39. package/esm/generated/models/PChainTransactionType.js +1 -1
  40. package/esm/generated/models/PChainUtxo.d.ts +27 -0
  41. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  42. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  43. package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -0
  44. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +2 -2
  45. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  46. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +9 -0
  47. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  48. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
  49. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  50. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  51. package/esm/generated/models/RpcMetrics.d.ts +14 -0
  52. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  53. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  54. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +51 -0
  55. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
  56. package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
  57. package/esm/generated/models/SignatureAggregatorRequest.d.ts +8 -0
  58. package/esm/generated/models/StakingDistribution.d.ts +9 -0
  59. package/esm/generated/models/Subnet.d.ts +13 -0
  60. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  61. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  62. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +18 -0
  63. package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
  64. package/esm/generated/models/UtxoType.d.ts +3 -0
  65. package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
  66. package/esm/generated/models/XChainId.d.ts +1 -0
  67. package/esm/generated/models/XChainId.js +1 -1
  68. package/esm/generated/services/DataApiUsageMetricsService.d.ts +204 -0
  69. package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
  70. package/esm/generated/services/EvmBalancesService.d.ts +5 -5
  71. package/esm/generated/services/EvmBlocksService.d.ts +23 -2
  72. package/esm/generated/services/EvmBlocksService.js +1 -1
  73. package/esm/generated/services/EvmChainsService.d.ts +86 -8
  74. package/esm/generated/services/EvmChainsService.js +1 -1
  75. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  76. package/esm/generated/services/EvmTransactionsService.d.ts +46 -13
  77. package/esm/generated/services/EvmTransactionsService.js +1 -1
  78. package/esm/generated/services/NfTsService.d.ts +3 -3
  79. package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +1 -1
  80. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +21 -5
  81. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  82. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
  83. package/esm/generated/services/PrimaryNetworkService.d.ts +43 -9
  84. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  85. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +12 -9
  86. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  87. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +1 -1
  88. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +3 -3
  89. package/esm/generated/services/SignatureAggregatorService.d.ts +25 -0
  90. package/esm/generated/services/SignatureAggregatorService.js +1 -0
  91. package/esm/generated/services/TeleporterService.d.ts +5 -5
  92. package/esm/index.d.ts +17 -9
  93. package/esm/index.js +1 -1
  94. package/package.json +2 -2
  95. package/esm/generated/models/GlacierApiFeature.d.ts +0 -6
  96. package/esm/generated/models/GlacierApiFeature.js +0 -1
  97. package/esm/generated/models/NetworkType.d.ts +0 -6
  98. package/esm/generated/models/NetworkType.js +0 -1
  99. package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
  100. package/esm/generated/models/PrimaryNetwork.js +0 -1
  101. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  102. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  103. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  104. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  105. package/esm/generated/services/GlacierApiUsageMetricsService.d.ts +0 -109
  106. package/esm/generated/services/GlacierApiUsageMetricsService.js +0 -1
  107. package/esm/generated/services/RpcService.d.ts +0 -25
  108. package/esm/generated/services/RpcService.js +0 -1
@@ -1 +1 @@
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,pageToken:n,pageSize:s=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/nodes/{nodeId}/blocks",path:{blockchainId:e,network:r,nodeId:t},query:{pageToken:n,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."}})}listLatestPrimaryNetworkBlocks({blockchainId:e,network:r,pageToken:t,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/blocks",path:{blockchainId:e,network: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."}})}}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};
@@ -17,7 +17,7 @@ declare class PrimaryNetworkRewardsService {
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
  /**
@@ -49,7 +49,7 @@ declare class PrimaryNetworkRewardsService {
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
  /**
@@ -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';
@@ -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
  /**
@@ -50,7 +51,7 @@ 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>;
@@ -62,7 +63,7 @@ declare class PrimaryNetworkService {
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>;
@@ -74,7 +75,7 @@ declare class PrimaryNetworkService {
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
  /**
@@ -98,7 +99,7 @@ declare class PrimaryNetworkService {
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
  /**
@@ -122,7 +123,7 @@ declare class PrimaryNetworkService {
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
  /**
@@ -138,7 +139,7 @@ declare class PrimaryNetworkService {
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
  /**
@@ -212,7 +213,7 @@ declare class PrimaryNetworkService {
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
  /**
@@ -244,7 +245,7 @@ declare class PrimaryNetworkService {
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: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:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}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};
@@ -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
50
  * @returns any Successful response
49
51
  * @throws ApiError
50
52
  */
51
- listLatestPrimaryNetworkTransactions({ addresses, blockchainId, network, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
52
- /**
53
- * 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.
54
- */
55
- addresses: string;
53
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
56
54
  /**
57
55
  * A primary network blockchain id or alias.
58
56
  */
59
57
  blockchainId: BlockchainId;
60
58
  /**
61
- * Either mainnet or a testnet.
59
+ * Either mainnet or testnet/fuji.
62
60
  */
63
61
  network: Network;
62
+ /**
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.
64
+ */
65
+ addresses?: string;
66
+ l1ValidationId?: string;
64
67
  /**
65
68
  * Query param for filtering items based on transaction types.
66
69
  */
@@ -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
  /**
@@ -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 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({addresses:e,blockchainId:t,network: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",path:{blockchainId:t,network:r},query:{addresses:e,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."}})}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};
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};
@@ -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
  /**
@@ -21,7 +21,7 @@ declare class PrimaryNetworkVerticesService {
21
21
  */
22
22
  blockchainId: XChainId;
23
23
  /**
24
- * Either mainnet or a testnet.
24
+ * Either mainnet or testnet/fuji.
25
25
  */
26
26
  network: Network;
27
27
  /**
@@ -49,7 +49,7 @@ declare class PrimaryNetworkVerticesService {
49
49
  */
50
50
  blockchainId: XChainId;
51
51
  /**
52
- * Either mainnet or a testnet.
52
+ * Either mainnet or testnet/fuji.
53
53
  */
54
54
  network: Network;
55
55
  }): CancelablePromise<XChainVertex>;
@@ -69,7 +69,7 @@ declare class PrimaryNetworkVerticesService {
69
69
  */
70
70
  blockchainId: XChainId;
71
71
  /**
72
- * Either mainnet or a testnet.
72
+ * Either mainnet or testnet/fuji.
73
73
  */
74
74
  network: Network;
75
75
  /**
@@ -0,0 +1,25 @@
1
+ import { Network } from '../models/Network.js';
2
+ import { SignatureAggregationResponse } from '../models/SignatureAggregationResponse.js';
3
+ import { SignatureAggregatorRequest } from '../models/SignatureAggregatorRequest.js';
4
+ import { CancelablePromise } from '../core/CancelablePromise.js';
5
+ import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
6
+
7
+ declare class SignatureAggregatorService {
8
+ readonly httpRequest: BaseHttpRequest;
9
+ constructor(httpRequest: BaseHttpRequest);
10
+ /**
11
+ * Aggregate Signatures
12
+ * Aggregates Signatures for a Warp message from Subnet validators.
13
+ * @returns SignatureAggregationResponse Successful response
14
+ * @throws ApiError
15
+ */
16
+ aggregateSignatures({ network, requestBody, }: {
17
+ /**
18
+ * Either mainnet or testnet/fuji.
19
+ */
20
+ network: Network;
21
+ requestBody: SignatureAggregatorRequest;
22
+ }): CancelablePromise<SignatureAggregationResponse>;
23
+ }
24
+
25
+ export { SignatureAggregatorService };
@@ -0,0 +1 @@
1
+ class e{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."}})}}export{e as SignatureAggregatorService};
@@ -1,7 +1,7 @@
1
1
  import { DeliveredSourceNotIndexedTeleporterMessage } from '../models/DeliveredSourceNotIndexedTeleporterMessage.js';
2
2
  import { DeliveredTeleporterMessage } from '../models/DeliveredTeleporterMessage.js';
3
3
  import { ListTeleporterMessagesResponse } from '../models/ListTeleporterMessagesResponse.js';
4
- import { NetworkType } from '../models/NetworkType.js';
4
+ import { Network } from '../models/Network.js';
5
5
  import { PendingTeleporterMessage } from '../models/PendingTeleporterMessage.js';
6
6
  import { CancelablePromise } from '../core/CancelablePromise.js';
7
7
  import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
@@ -57,9 +57,9 @@ declare class TeleporterService {
57
57
  */
58
58
  from?: string;
59
59
  /**
60
- * mainnet or testnet.
60
+ * Either mainnet or testnet/fuji.
61
61
  */
62
- network?: NetworkType;
62
+ network?: Network;
63
63
  }): CancelablePromise<ListTeleporterMessagesResponse>;
64
64
  /**
65
65
  * List teleporter messages by address
@@ -81,9 +81,9 @@ declare class TeleporterService {
81
81
  */
82
82
  pageSize?: number;
83
83
  /**
84
- * mainnet or testnet.
84
+ * Either mainnet or testnet/fuji.
85
85
  */
86
- network?: NetworkType;
86
+ network?: Network;
87
87
  }): CancelablePromise<ListTeleporterMessagesResponse>;
88
88
  }
89
89
 
package/esm/index.d.ts CHANGED
@@ -8,10 +8,12 @@ export { ActiveValidatorDetails } from './generated/models/ActiveValidatorDetail
8
8
  export { AddressActivityMetadata } from './generated/models/AddressActivityMetadata.js';
9
9
  export { AddressesChangeRequest } from './generated/models/AddressesChangeRequest.js';
10
10
  export { AggregatedAssetAmount } from './generated/models/AggregatedAssetAmount.js';
11
+ export { ApiFeature } from './generated/models/ApiFeature.js';
11
12
  export { AssetAmount } from './generated/models/AssetAmount.js';
12
13
  export { AssetWithPriceInfo } from './generated/models/AssetWithPriceInfo.js';
13
14
  export { BadGateway } from './generated/models/BadGateway.js';
14
15
  export { BadRequest } from './generated/models/BadRequest.js';
16
+ export { BalanceOwner } from './generated/models/BalanceOwner.js';
15
17
  export { Blockchain } from './generated/models/Blockchain.js';
16
18
  export { BlockchainId } from './generated/models/BlockchainId.js';
17
19
  export { BlockchainIds } from './generated/models/BlockchainIds.js';
@@ -73,13 +75,16 @@ export { GetNativeBalanceResponse } from './generated/models/GetNativeBalanceRes
73
75
  export { GetNetworkDetailsResponse } from './generated/models/GetNetworkDetailsResponse.js';
74
76
  export { GetPrimaryNetworkBlockResponse } from './generated/models/GetPrimaryNetworkBlockResponse.js';
75
77
  export { GetTransactionResponse } from './generated/models/GetTransactionResponse.js';
76
- export { GlacierApiFeature } from './generated/models/GlacierApiFeature.js';
77
78
  export { HistoricalReward } from './generated/models/HistoricalReward.js';
78
79
  export { ImageAsset } from './generated/models/ImageAsset.js';
79
80
  export { InternalServerError } from './generated/models/InternalServerError.js';
80
81
  export { InternalTransaction } from './generated/models/InternalTransaction.js';
81
82
  export { InternalTransactionDetails } from './generated/models/InternalTransactionDetails.js';
82
83
  export { InternalTransactionOpCall } from './generated/models/InternalTransactionOpCall.js';
84
+ export { L1ValidatorDetailsFull } from './generated/models/L1ValidatorDetailsFull.js';
85
+ export { L1ValidatorDetailsTransaction } from './generated/models/L1ValidatorDetailsTransaction.js';
86
+ export { L1ValidatorManagerDetails } from './generated/models/L1ValidatorManagerDetails.js';
87
+ export { ListAddressChainsResponse } from './generated/models/ListAddressChainsResponse.js';
83
88
  export { ListBlockchainsResponse } from './generated/models/ListBlockchainsResponse.js';
84
89
  export { ListCChainAtomicBalancesResponse } from './generated/models/ListCChainAtomicBalancesResponse.js';
85
90
  export { ListCChainAtomicTransactionsResponse } from './generated/models/ListCChainAtomicTransactionsResponse.js';
@@ -96,6 +101,7 @@ export { ListErc721TransactionsResponse } from './generated/models/ListErc721Tra
96
101
  export { ListEvmBlocksResponse } from './generated/models/ListEvmBlocksResponse.js';
97
102
  export { ListHistoricalRewardsResponse } from './generated/models/ListHistoricalRewardsResponse.js';
98
103
  export { ListInternalTransactionsResponse } from './generated/models/ListInternalTransactionsResponse.js';
104
+ export { ListL1ValidatorsResponse } from './generated/models/ListL1ValidatorsResponse.js';
99
105
  export { ListNativeTransactionsResponse } from './generated/models/ListNativeTransactionsResponse.js';
100
106
  export { ListNftTokens } from './generated/models/ListNftTokens.js';
101
107
  export { ListPChainBalancesResponse } from './generated/models/ListPChainBalancesResponse.js';
@@ -125,7 +131,6 @@ export { NativeTransaction } from './generated/models/NativeTransaction.js';
125
131
  export { Network } from './generated/models/Network.js';
126
132
  export { NetworkToken } from './generated/models/NetworkToken.js';
127
133
  export { NetworkTokenDetails } from './generated/models/NetworkTokenDetails.js';
128
- export { NetworkType } from './generated/models/NetworkType.js';
129
134
  export { NextPageToken } from './generated/models/NextPageToken.js';
130
135
  export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
131
136
  export { NotFound } from './generated/models/NotFound.js';
@@ -144,7 +149,6 @@ export { PendingReward } from './generated/models/PendingReward.js';
144
149
  export { PendingTeleporterMessage } from './generated/models/PendingTeleporterMessage.js';
145
150
  export { PendingValidatorDetails } from './generated/models/PendingValidatorDetails.js';
146
151
  export { PricingProviders } from './generated/models/PricingProviders.js';
147
- export { PrimaryNetwork } from './generated/models/PrimaryNetwork.js';
148
152
  export { PrimaryNetworkAssetCap } from './generated/models/PrimaryNetworkAssetCap.js';
149
153
  export { PrimaryNetworkAssetType } from './generated/models/PrimaryNetworkAssetType.js';
150
154
  export { PrimaryNetworkBlock } from './generated/models/PrimaryNetworkBlock.js';
@@ -152,6 +156,7 @@ export { PrimaryNetworkChainInfo } from './generated/models/PrimaryNetworkChainI
152
156
  export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainName.js';
153
157
  export { PrimaryNetworkOperationType } from './generated/models/PrimaryNetworkOperationType.js';
154
158
  export { PrimaryNetworkOptions } from './generated/models/PrimaryNetworkOptions.js';
159
+ export { PrimaryNetworkRpcMetricsGroupByEnum } from './generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js';
155
160
  export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
156
161
  export { ProposerDetails } from './generated/models/ProposerDetails.js';
157
162
  export { RemovedValidatorDetails } from './generated/models/RemovedValidatorDetails.js';
@@ -161,17 +166,20 @@ export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
161
166
  export { Rewards } from './generated/models/Rewards.js';
162
167
  export { RewardType } from './generated/models/RewardType.js';
163
168
  export { RichAddress } from './generated/models/RichAddress.js';
164
- export { RpcErrorDto } from './generated/models/RpcErrorDto.js';
165
- export { RpcErrorResponseDto } from './generated/models/RpcErrorResponseDto.js';
166
- export { RpcRequestBodyDto } from './generated/models/RpcRequestBodyDto.js';
167
- export { RpcSuccessResponseDto } from './generated/models/RpcSuccessResponseDto.js';
169
+ export { RpcMetrics } from './generated/models/RpcMetrics.js';
170
+ export { RpcUsageMetricsGroupByEnum } from './generated/models/RpcUsageMetricsGroupByEnum.js';
171
+ export { RpcUsageMetricsValueAggregated } from './generated/models/RpcUsageMetricsValueAggregated.js';
168
172
  export { ServiceUnavailable } from './generated/models/ServiceUnavailable.js';
169
173
  export { SharedSecretsResponse } from './generated/models/SharedSecretsResponse.js';
174
+ export { SignatureAggregationResponse } from './generated/models/SignatureAggregationResponse.js';
175
+ export { SignatureAggregatorRequest } from './generated/models/SignatureAggregatorRequest.js';
170
176
  export { SortByOption } from './generated/models/SortByOption.js';
171
177
  export { SortOrder } from './generated/models/SortOrder.js';
172
178
  export { StakingDistribution } from './generated/models/StakingDistribution.js';
173
179
  export { Subnet } from './generated/models/Subnet.js';
174
180
  export { SubnetOwnershipInfo } from './generated/models/SubnetOwnershipInfo.js';
181
+ export { SubnetRpcTimeIntervalGranularity } from './generated/models/SubnetRpcTimeIntervalGranularity.js';
182
+ export { SubnetRpcUsageMetricsResponseDTO } from './generated/models/SubnetRpcUsageMetricsResponseDTO.js';
175
183
  export { TeleporterDestinationTransaction } from './generated/models/TeleporterDestinationTransaction.js';
176
184
  export { TeleporterMessageInfo } from './generated/models/TeleporterMessageInfo.js';
177
185
  export { TeleporterReceipt } from './generated/models/TeleporterReceipt.js';
@@ -211,13 +219,13 @@ export { XChainNonLinearTransaction } from './generated/models/XChainNonLinearTr
211
219
  export { XChainSharedAssetBalance } from './generated/models/XChainSharedAssetBalance.js';
212
220
  export { XChainTransactionType } from './generated/models/XChainTransactionType.js';
213
221
  export { XChainVertex } from './generated/models/XChainVertex.js';
222
+ export { DataApiUsageMetricsService } from './generated/services/DataApiUsageMetricsService.js';
214
223
  export { DefaultService } from './generated/services/DefaultService.js';
215
224
  export { EvmBalancesService } from './generated/services/EvmBalancesService.js';
216
225
  export { EvmBlocksService } from './generated/services/EvmBlocksService.js';
217
226
  export { EvmChainsService } from './generated/services/EvmChainsService.js';
218
227
  export { EvmContractsService } from './generated/services/EvmContractsService.js';
219
228
  export { EvmTransactionsService } from './generated/services/EvmTransactionsService.js';
220
- export { GlacierApiUsageMetricsService } from './generated/services/GlacierApiUsageMetricsService.js';
221
229
  export { HealthCheckService } from './generated/services/HealthCheckService.js';
222
230
  export { NfTsService } from './generated/services/NfTsService.js';
223
231
  export { OperationsService } from './generated/services/OperationsService.js';
@@ -228,6 +236,6 @@ export { PrimaryNetworkRewardsService } from './generated/services/PrimaryNetwor
228
236
  export { PrimaryNetworkTransactionsService } from './generated/services/PrimaryNetworkTransactionsService.js';
229
237
  export { PrimaryNetworkUtxOsService } from './generated/services/PrimaryNetworkUtxOsService.js';
230
238
  export { PrimaryNetworkVerticesService } from './generated/services/PrimaryNetworkVerticesService.js';
231
- export { RpcService } from './generated/services/RpcService.js';
239
+ export { SignatureAggregatorService } from './generated/services/SignatureAggregatorService.js';
232
240
  export { TeleporterService } from './generated/services/TeleporterService.js';
233
241
  export { WebhooksService } from './generated/services/WebhooksService.js';