@avalabs/glacier-sdk 3.1.0-canary.1831fe3.0 → 3.1.0-canary.18b53a8.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 (76) hide show
  1. package/dist/index.d.ts +666 -406
  2. package/dist/index.js +1 -1
  3. package/esm/generated/Glacier.d.ts +2 -2
  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/ChainInfo.d.ts +1 -1
  11. package/esm/generated/models/CompletedValidatorDetails.d.ts +1 -0
  12. package/esm/generated/models/DataListChainsResponse.d.ts +7 -0
  13. package/esm/generated/models/Forbidden.d.ts +16 -0
  14. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  15. package/esm/generated/models/GetTransactionResponse.d.ts +5 -0
  16. package/esm/generated/models/InternalServerError.d.ts +16 -0
  17. package/esm/generated/models/LogsFormat.d.ts +1 -1
  18. package/esm/generated/models/Metric.d.ts +14 -0
  19. package/esm/generated/models/NotFound.d.ts +16 -0
  20. package/esm/generated/models/RequestType.d.ts +2 -2
  21. package/esm/generated/models/RequestType.js +1 -1
  22. package/esm/generated/models/ServiceUnavailable.d.ts +16 -0
  23. package/esm/generated/models/TeleporterMessageInfo.d.ts +16 -0
  24. package/esm/generated/models/TooManyRequests.d.ts +16 -0
  25. package/esm/generated/models/TransactionDirectionType.d.ts +6 -0
  26. package/esm/generated/models/TransactionDirectionType.js +1 -0
  27. package/esm/generated/models/Unauthorized.d.ts +16 -0
  28. package/esm/generated/models/UsageMetricsGroupByEnum.d.ts +2 -1
  29. package/esm/generated/models/UsageMetricsGroupByEnum.js +1 -1
  30. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +3 -1
  31. package/esm/generated/models/UsageMetricsValueDTO.d.ts +53 -0
  32. package/esm/generated/models/UsageMetricsValueDTO.js +1 -0
  33. package/esm/generated/services/{GlacierApiUsageMetricsService.d.ts → DataApiUsageMetricsService.d.ts} +37 -13
  34. package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
  35. package/esm/generated/services/EvmBalancesService.d.ts +5 -5
  36. package/esm/generated/services/EvmBalancesService.js +1 -1
  37. package/esm/generated/services/EvmBlocksService.d.ts +2 -2
  38. package/esm/generated/services/EvmBlocksService.js +1 -1
  39. package/esm/generated/services/EvmChainsService.d.ts +4 -4
  40. package/esm/generated/services/EvmChainsService.js +1 -1
  41. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  42. package/esm/generated/services/EvmContractsService.js +1 -1
  43. package/esm/generated/services/EvmTransactionsService.d.ts +12 -12
  44. package/esm/generated/services/EvmTransactionsService.js +1 -1
  45. package/esm/generated/services/HealthCheckService.d.ts +1 -1
  46. package/esm/generated/services/HealthCheckService.js +1 -1
  47. package/esm/generated/services/NfTsService.d.ts +3 -3
  48. package/esm/generated/services/NfTsService.js +1 -1
  49. package/esm/generated/services/OperationsService.d.ts +2 -2
  50. package/esm/generated/services/OperationsService.js +1 -1
  51. package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +1 -1
  52. package/esm/generated/services/PrimaryNetworkBalancesService.js +1 -1
  53. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +3 -3
  54. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  55. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
  56. package/esm/generated/services/PrimaryNetworkRewardsService.js +1 -1
  57. package/esm/generated/services/PrimaryNetworkService.d.ts +9 -9
  58. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  59. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +9 -9
  60. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  61. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +1 -1
  62. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  63. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +3 -3
  64. package/esm/generated/services/PrimaryNetworkVerticesService.js +1 -1
  65. package/esm/generated/services/RpcService.d.ts +1 -1
  66. package/esm/generated/services/RpcService.js +1 -1
  67. package/esm/generated/services/TeleporterService.d.ts +26 -2
  68. package/esm/generated/services/TeleporterService.js +1 -1
  69. package/esm/generated/services/WebhooksService.d.ts +10 -10
  70. package/esm/generated/services/WebhooksService.js +1 -1
  71. package/esm/index.d.ts +15 -2
  72. package/esm/index.js +1 -1
  73. package/package.json +2 -2
  74. package/esm/generated/models/GlacierApiFeature.d.ts +0 -6
  75. package/esm/generated/models/GlacierApiFeature.js +0 -1
  76. package/esm/generated/services/GlacierApiUsageMetricsService.js +0 -1
package/dist/index.d.ts CHANGED
@@ -54,6 +54,295 @@ declare abstract class BaseHttpRequest {
54
54
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
55
55
  }
56
56
 
57
+ type LogsFormatMetadata = {
58
+ /**
59
+ * The IP address of the client that made the request.
60
+ */
61
+ ipAddress: string;
62
+ /**
63
+ * The host for the request made by the client.
64
+ */
65
+ host: string;
66
+ /**
67
+ * The user agent of the client that made the request.
68
+ */
69
+ userAgent: string;
70
+ };
71
+
72
+ /**
73
+ * The type of request made by the client.
74
+ */
75
+ declare enum RequestType {
76
+ DATA = "data",
77
+ RPC = "rpc"
78
+ }
79
+
80
+ type LogsFormat = {
81
+ /**
82
+ * The organization id of the request.
83
+ */
84
+ orgId: string;
85
+ /**
86
+ * The unique log id of the request.
87
+ */
88
+ logId: string;
89
+ /**
90
+ * The timestamp of the request.
91
+ */
92
+ eventTimestamp: number;
93
+ /**
94
+ * The apiKey used to make the request.
95
+ */
96
+ apiKeyId: string;
97
+ /**
98
+ * The alias of the apiKey used to make the request.
99
+ */
100
+ apiKeyAlias: string;
101
+ /**
102
+ * The region of the host for the request made by the client.
103
+ */
104
+ hostRegion: string;
105
+ requestType: RequestType;
106
+ /**
107
+ * The path of the request made by the client.
108
+ */
109
+ requestPath: string;
110
+ /**
111
+ * The number of API credits consumed by the request.
112
+ */
113
+ apiCreditsConsumed: number;
114
+ /**
115
+ * The duration of the request in milliseconds.
116
+ */
117
+ requestDurationMsecs: number;
118
+ /**
119
+ * The response code of the request.
120
+ */
121
+ responseCode: number;
122
+ /**
123
+ * The chain id of the request.
124
+ */
125
+ chainId?: string;
126
+ /**
127
+ * The rpc method of the request.
128
+ */
129
+ rpcMethod?: string;
130
+ /**
131
+ * The metadata of the request.
132
+ */
133
+ metadata: LogsFormatMetadata;
134
+ };
135
+
136
+ type LogsResponseDTO = {
137
+ /**
138
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
139
+ */
140
+ nextPageToken?: string;
141
+ /**
142
+ * The organization id of the request.
143
+ */
144
+ orgId: string;
145
+ /**
146
+ * An array of logs representing the requests made by clients.
147
+ */
148
+ logs: Array<LogsFormat>;
149
+ };
150
+
151
+ declare enum TimeIntervalGranularityExtended {
152
+ MINUTE = "minute",
153
+ HOURLY = "hourly",
154
+ DAILY = "daily",
155
+ WEEKLY = "weekly",
156
+ MONTHLY = "monthly"
157
+ }
158
+
159
+ declare enum UsageMetricsGroupByEnum {
160
+ REQUEST_PATH = "requestPath",
161
+ RESPONSE_CODE = "responseCode",
162
+ CHAIN_ID = "chainId",
163
+ API_KEY_ID = "apiKeyId",
164
+ REQUEST_TYPE = "requestType"
165
+ }
166
+
167
+ type UsageMetricsValueDTO = {
168
+ /**
169
+ * Column name used for data aggregation
170
+ */
171
+ groupedBy: UsageMetricsValueDTO.groupedBy;
172
+ /**
173
+ * The value of the column used for data aggregation
174
+ */
175
+ groupValue?: (string | number);
176
+ /**
177
+ * The total number of requests
178
+ */
179
+ totalRequests: number;
180
+ /**
181
+ * The number of requests per second
182
+ */
183
+ requestsPerSecond: number;
184
+ /**
185
+ * The success rate percentage
186
+ */
187
+ successRatePercent: number;
188
+ /**
189
+ * The median response time in milliseconds
190
+ */
191
+ medianResponseTimeMsecs: number;
192
+ /**
193
+ * The number of invalid requests
194
+ */
195
+ invalidRequests: number;
196
+ /**
197
+ * The number of API credits used
198
+ */
199
+ apiCreditsUsed: number;
200
+ /**
201
+ * The number of API credits wasted on invalid requests
202
+ */
203
+ apiCreditsWasted: number;
204
+ };
205
+ declare namespace UsageMetricsValueDTO {
206
+ /**
207
+ * Column name used for data aggregation
208
+ */
209
+ enum groupedBy {
210
+ REQUEST_PATH = "requestPath",
211
+ RESPONSE_CODE = "responseCode",
212
+ CHAIN_ID = "chainId",
213
+ API_KEY_ID = "apiKeyId",
214
+ REQUEST_TYPE = "requestType",
215
+ NONE = "None"
216
+ }
217
+ }
218
+
219
+ type Metric = {
220
+ /**
221
+ * The timestamp of the metrics value
222
+ */
223
+ timestamp: number;
224
+ /**
225
+ * The metrics values for the timestamp
226
+ */
227
+ values: Array<UsageMetricsValueDTO>;
228
+ };
229
+
230
+ type UsageMetricsResponseDTO = {
231
+ /**
232
+ * Duration in which the metrics value is aggregated
233
+ */
234
+ aggregateDuration: string;
235
+ /**
236
+ * Org ID for which the metrics are aggregated
237
+ */
238
+ orgId: string;
239
+ /**
240
+ * Metrics values
241
+ */
242
+ metrics: Array<Metric>;
243
+ };
244
+
245
+ declare class DataApiUsageMetricsService {
246
+ readonly httpRequest: BaseHttpRequest;
247
+ constructor(httpRequest: BaseHttpRequest);
248
+ /**
249
+ * Get usage metrics for the Data API
250
+ * Gets metrics for Data API usage over a specified time interval aggregated at the specified time-duration granularity.
251
+ * @returns UsageMetricsResponseDTO Successful response
252
+ * @throws ApiError
253
+ */
254
+ getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, requestPath, requestType, responseCode, chainId, apiKeyId, }: {
255
+ /**
256
+ * Organization ID to fetch usage metrics for
257
+ */
258
+ orgId?: string;
259
+ /**
260
+ * Query param for retrieving items after a specific timestamp.
261
+ */
262
+ startTimestamp?: number;
263
+ /**
264
+ * Query param for retrieving items before a specific timestamp.
265
+ */
266
+ endTimestamp?: number;
267
+ /**
268
+ * Time interval granularity for data aggregation
269
+ */
270
+ timeInterval?: TimeIntervalGranularityExtended;
271
+ /**
272
+ * Query param for the criterion used for grouping metrics
273
+ */
274
+ groupBy?: UsageMetricsGroupByEnum;
275
+ /**
276
+ * Filter data by request path.
277
+ */
278
+ requestPath?: string;
279
+ /**
280
+ * Filter data by request type.
281
+ */
282
+ requestType?: 'data' | 'rpc';
283
+ /**
284
+ * Filter data by response status code.
285
+ */
286
+ responseCode?: string;
287
+ /**
288
+ * Filter data by chain ID.
289
+ */
290
+ chainId?: string;
291
+ /**
292
+ * Filter data by API key ID.
293
+ */
294
+ apiKeyId?: string;
295
+ }): CancelablePromise<UsageMetricsResponseDTO>;
296
+ /**
297
+ * Get logs for requests made by client
298
+ * Gets logs for requests made by client over a specified time interval for a specific organization.
299
+ * @returns LogsResponseDTO Successful response
300
+ * @throws ApiError
301
+ */
302
+ getApiLogs({ orgId, startTimestamp, endTimestamp, requestPath, requestType, responseCode, chainId, apiKeyId, pageToken, pageSize, }: {
303
+ /**
304
+ * Organization ID to fetch usage metrics for
305
+ */
306
+ orgId?: string;
307
+ /**
308
+ * Query param for retrieving items after a specific timestamp.
309
+ */
310
+ startTimestamp?: number;
311
+ /**
312
+ * Query param for retrieving items before a specific timestamp.
313
+ */
314
+ endTimestamp?: number;
315
+ /**
316
+ * Filter data by request path.
317
+ */
318
+ requestPath?: string;
319
+ /**
320
+ * Filter data by request type.
321
+ */
322
+ requestType?: 'data' | 'rpc';
323
+ /**
324
+ * Filter data by response status code.
325
+ */
326
+ responseCode?: string;
327
+ /**
328
+ * Filter data by chain ID.
329
+ */
330
+ chainId?: string;
331
+ /**
332
+ * Filter data by API key ID.
333
+ */
334
+ apiKeyId?: string;
335
+ /**
336
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
337
+ */
338
+ pageToken?: string;
339
+ /**
340
+ * The maximum number of items to return.
341
+ */
342
+ pageSize?: number;
343
+ }): CancelablePromise<LogsResponseDTO>;
344
+ }
345
+
57
346
  declare class DefaultService {
58
347
  readonly httpRequest: BaseHttpRequest;
59
348
  constructor(httpRequest: BaseHttpRequest);
@@ -331,7 +620,7 @@ declare class EvmBalancesService {
331
620
  * Gets native token balance of a wallet address.
332
621
  *
333
622
  * Balance at a given block can be retrieved with the `blockNumber` parameter.
334
- * @returns GetNativeBalanceResponse
623
+ * @returns GetNativeBalanceResponse Successful response
335
624
  * @throws ApiError
336
625
  */
337
626
  getNativeBalance({ chainId, address, blockNumber, currency, }: {
@@ -359,7 +648,7 @@ declare class EvmBalancesService {
359
648
  * Balance at a given block can be retrieved with the `blockNumber` parameter.
360
649
  *
361
650
  * Balance for specific contracts can be retrieved with the `contractAddresses` parameter.
362
- * @returns ListErc20BalancesResponse
651
+ * @returns ListErc20BalancesResponse Successful response
363
652
  * @throws ApiError
364
653
  */
365
654
  listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, filterSpamTokens, contractAddresses, currency, }: {
@@ -401,7 +690,7 @@ declare class EvmBalancesService {
401
690
  * Lists ERC-721 token balances of a wallet address.
402
691
  *
403
692
  * Balance for a specific contract can be retrieved with the `contractAddress` parameter.
404
- * @returns ListErc721BalancesResponse
693
+ * @returns ListErc721BalancesResponse Successful response
405
694
  * @throws ApiError
406
695
  */
407
696
  listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
@@ -433,7 +722,7 @@ declare class EvmBalancesService {
433
722
  * Balance at a given block can be retrieved with the `blockNumber` parameter.
434
723
  *
435
724
  * Balance for a specific contract can be retrieved with the `contractAddress` parameter.
436
- * @returns ListErc1155BalancesResponse
725
+ * @returns ListErc1155BalancesResponse Successful response
437
726
  * @throws ApiError
438
727
  */
439
728
  listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
@@ -467,7 +756,7 @@ declare class EvmBalancesService {
467
756
  * Lists ERC-721 and ERC-1155 token balances of a wallet address.
468
757
  *
469
758
  * Balance for a specific contract can be retrieved with the `contractAddress` parameter.
470
- * @returns ListCollectibleBalancesResponse
759
+ * @returns ListCollectibleBalancesResponse Successful response
471
760
  * @throws ApiError
472
761
  */
473
762
  listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
@@ -596,7 +885,7 @@ declare class EvmBlocksService {
596
885
  /**
597
886
  * List latest blocks
598
887
  * Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
599
- * @returns ListEvmBlocksResponse
888
+ * @returns ListEvmBlocksResponse Successful response
600
889
  * @throws ApiError
601
890
  */
602
891
  getLatestBlocks({ chainId, pageToken, pageSize, }: {
@@ -616,7 +905,7 @@ declare class EvmBlocksService {
616
905
  /**
617
906
  * Get block
618
907
  * Gets the details of an individual block on the EVM-compatible chain.
619
- * @returns GetEvmBlockResponse
908
+ * @returns GetEvmBlockResponse Successful response
620
909
  * @throws ApiError
621
910
  */
622
911
  getBlock({ chainId, blockId, }: {
@@ -631,6 +920,12 @@ declare class EvmBlocksService {
631
920
  }): CancelablePromise<GetEvmBlockResponse>;
632
921
  }
633
922
 
923
+ declare enum ApiFeature {
924
+ NFT_INDEXING = "nftIndexing",
925
+ WEBHOOKS = "webhooks",
926
+ TELEPORTER = "teleporter"
927
+ }
928
+
634
929
  /**
635
930
  * Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
636
931
  */
@@ -686,14 +981,9 @@ type GetChainResponse = {
686
981
  networkToken: NetworkToken;
687
982
  chainLogoUri?: string;
688
983
  private?: boolean;
689
- enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
984
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
690
985
  };
691
986
 
692
- declare enum GlacierApiFeature {
693
- NFT_INDEXING = "nftIndexing",
694
- WEBHOOKS = "webhooks"
695
- }
696
-
697
987
  type ChainInfo = {
698
988
  chainId: string;
699
989
  status: ChainStatus;
@@ -711,7 +1001,7 @@ type ChainInfo = {
711
1001
  networkToken: NetworkToken;
712
1002
  chainLogoUri?: string;
713
1003
  private?: boolean;
714
- enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
1004
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
715
1005
  };
716
1006
 
717
1007
  type ListChainsResponse = {
@@ -729,7 +1019,7 @@ declare class EvmChainsService {
729
1019
  /**
730
1020
  * List chains
731
1021
  * Lists the supported EVM-compatible chains. Filterable by network.
732
- * @returns ListChainsResponse
1022
+ * @returns ListChainsResponse Successful response
733
1023
  * @throws ApiError
734
1024
  */
735
1025
  supportedChains({ network, feature, }: {
@@ -740,12 +1030,12 @@ declare class EvmChainsService {
740
1030
  /**
741
1031
  * Filter by feature.
742
1032
  */
743
- feature?: GlacierApiFeature;
1033
+ feature?: ApiFeature;
744
1034
  }): CancelablePromise<ListChainsResponse>;
745
1035
  /**
746
1036
  * Get chain information
747
1037
  * Gets chain information for the EVM-compatible chain if supported by the api.
748
- * @returns GetChainResponse
1038
+ * @returns GetChainResponse Successful response
749
1039
  * @throws ApiError
750
1040
  */
751
1041
  getChainInfo({ chainId, }: {
@@ -1040,7 +1330,7 @@ declare class EvmContractsService {
1040
1330
  /**
1041
1331
  * Get contract metadata
1042
1332
  * Gets metadata about the contract at the given address.
1043
- * @returns any
1333
+ * @returns any Successful response
1044
1334
  * @throws ApiError
1045
1335
  */
1046
1336
  getContractMetadata({ chainId, address, }: {
@@ -1056,7 +1346,7 @@ declare class EvmContractsService {
1056
1346
  /**
1057
1347
  * Update contract information
1058
1348
  * Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
1059
- * @returns UpdateContractResponse
1349
+ * @returns UpdateContractResponse Successful response
1060
1350
  * @throws ApiError
1061
1351
  */
1062
1352
  updateContractInfo({ chainId, address, requestBody, }: {
@@ -1309,6 +1599,24 @@ type NetworkTokenDetails = {
1309
1599
  historicalPrice?: Money;
1310
1600
  };
1311
1601
 
1602
+ declare enum TransactionDirectionType {
1603
+ SOURCE_TRANSACTION = "SOURCE_TRANSACTION",
1604
+ DESTINATION_TRANSACTION = "DESTINATION_TRANSACTION"
1605
+ }
1606
+
1607
+ type TeleporterMessageInfo = {
1608
+ teleporterMessageId: string;
1609
+ direction: TransactionDirectionType;
1610
+ /**
1611
+ * chain id of the source chain. valid only for destination transactions
1612
+ */
1613
+ sourceChainId?: Record<string, any>;
1614
+ /**
1615
+ * chain id of the destination chain. valid only for source transactions
1616
+ */
1617
+ destinationChainId?: Record<string, any>;
1618
+ };
1619
+
1312
1620
  type GetTransactionResponse = {
1313
1621
  /**
1314
1622
  * The list of ERC-20 transfers.
@@ -1328,6 +1636,10 @@ type GetTransactionResponse = {
1328
1636
  internalTransactions?: Array<InternalTransactionDetails>;
1329
1637
  networkTokenDetails: NetworkTokenDetails;
1330
1638
  nativeTransaction: FullNativeTransactionDetails;
1639
+ /**
1640
+ * Corresponding teleporter message info if available.
1641
+ */
1642
+ teleporterMessageInfo?: TeleporterMessageInfo;
1331
1643
  };
1332
1644
 
1333
1645
  type ListContractsResponse = {
@@ -1584,7 +1896,7 @@ declare class EvmTransactionsService {
1584
1896
  /**
1585
1897
  * Get deployment transaction
1586
1898
  * If the address is a smart contract, returns the transaction in which it was deployed.
1587
- * @returns GetTransactionResponse
1899
+ * @returns GetTransactionResponse Successful response
1588
1900
  * @throws ApiError
1589
1901
  */
1590
1902
  getDeploymentTransaction({ chainId, address, currency, }: {
@@ -1604,7 +1916,7 @@ declare class EvmTransactionsService {
1604
1916
  /**
1605
1917
  * List deployed contracts
1606
1918
  * Lists all contracts deployed by the given address.
1607
- * @returns ListContractsResponse
1919
+ * @returns ListContractsResponse Successful response
1608
1920
  * @throws ApiError
1609
1921
  */
1610
1922
  listContractDeployments({ chainId, address, pageToken, pageSize, }: {
@@ -1628,7 +1940,7 @@ declare class EvmTransactionsService {
1628
1940
  /**
1629
1941
  * List ERC transfers
1630
1942
  * Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address.
1631
- * @returns ListTransfersResponse
1943
+ * @returns ListTransfersResponse Successful response
1632
1944
  * @throws ApiError
1633
1945
  */
1634
1946
  listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
@@ -1662,7 +1974,7 @@ declare class EvmTransactionsService {
1662
1974
  * Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers, ERC-721 transfers, ERC-1155, and internal transactions returned are only those where the input address had an interaction. Specifically, those lists only inlcude entries where the input address was the sender (`from` field) or the receiver (`to` field) for the sub-transaction. Therefore the transactions returned from this list may not be complete representations of the on-chain data. For a complete view of a transaction use the `/chains/:chainId/transactions/:txHash` endpoint.
1663
1975
  *
1664
1976
  * Filterable by block ranges.
1665
- * @returns ListTransactionDetailsResponse
1977
+ * @returns ListTransactionDetailsResponse Successful response
1666
1978
  * @throws ApiError
1667
1979
  */
1668
1980
  listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
@@ -1698,7 +2010,7 @@ declare class EvmTransactionsService {
1698
2010
  /**
1699
2011
  * List native transactions
1700
2012
  * Lists native transactions for an address. Filterable by block range.
1701
- * @returns ListNativeTransactionsResponse
2013
+ * @returns ListNativeTransactionsResponse Successful response
1702
2014
  * @throws ApiError
1703
2015
  */
1704
2016
  listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
@@ -1730,7 +2042,7 @@ declare class EvmTransactionsService {
1730
2042
  /**
1731
2043
  * List ERC-20 transfers
1732
2044
  * Lists ERC-20 transfers for an address. Filterable by block range.
1733
- * @returns ListErc20TransactionsResponse
2045
+ * @returns ListErc20TransactionsResponse Successful response
1734
2046
  * @throws ApiError
1735
2047
  */
1736
2048
  listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
@@ -1744,376 +2056,175 @@ declare class EvmTransactionsService {
1744
2056
  address: string;
1745
2057
  /**
1746
2058
  * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1747
- */
1748
- startBlock?: number;
1749
- /**
1750
- * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1751
- */
1752
- endBlock?: number;
1753
- /**
1754
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1755
- */
1756
- pageToken?: string;
1757
- /**
1758
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1759
- */
1760
- pageSize?: number;
1761
- }): CancelablePromise<ListErc20TransactionsResponse>;
1762
- /**
1763
- * List ERC-721 transfers
1764
- * Lists ERC-721 transfers for an address. Filterable by block range.
1765
- * @returns ListErc721TransactionsResponse
1766
- * @throws ApiError
1767
- */
1768
- listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1769
- /**
1770
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1771
- */
1772
- chainId: string;
1773
- /**
1774
- * A wallet address.
1775
- */
1776
- address: string;
1777
- /**
1778
- * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1779
- */
1780
- startBlock?: number;
1781
- /**
1782
- * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1783
- */
1784
- endBlock?: number;
1785
- /**
1786
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1787
- */
1788
- pageToken?: string;
1789
- /**
1790
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1791
- */
1792
- pageSize?: number;
1793
- }): CancelablePromise<ListErc721TransactionsResponse>;
1794
- /**
1795
- * List ERC-1155 transfers
1796
- * Lists ERC-1155 transfers for an address. Filterable by block range.
1797
- * @returns ListErc1155TransactionsResponse
1798
- * @throws ApiError
1799
- */
1800
- listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1801
- /**
1802
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1803
- */
1804
- chainId: string;
1805
- /**
1806
- * A wallet address.
1807
- */
1808
- address: string;
1809
- /**
1810
- * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1811
- */
1812
- startBlock?: number;
1813
- /**
1814
- * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1815
- */
1816
- endBlock?: number;
1817
- /**
1818
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1819
- */
1820
- pageToken?: string;
1821
- /**
1822
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1823
- */
1824
- pageSize?: number;
1825
- }): CancelablePromise<ListErc1155TransactionsResponse>;
1826
- /**
1827
- * List internal transactions
1828
- * Returns a list of internal transactions for an address and chain. Filterable by block range.
1829
- *
1830
- * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
1831
- * @returns ListInternalTransactionsResponse
1832
- * @throws ApiError
1833
- */
1834
- listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1835
- /**
1836
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1837
- */
1838
- chainId: string;
1839
- /**
1840
- * A wallet address.
1841
- */
1842
- address: string;
1843
- /**
1844
- * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1845
- */
1846
- startBlock?: number;
1847
- /**
1848
- * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1849
- */
1850
- endBlock?: number;
1851
- /**
1852
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1853
- */
1854
- pageToken?: string;
1855
- /**
1856
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1857
- */
1858
- pageSize?: number;
1859
- }): CancelablePromise<ListInternalTransactionsResponse>;
1860
- /**
1861
- * Get transaction
1862
- * Gets the details of a single transaction.
1863
- * @returns GetTransactionResponse
1864
- * @throws ApiError
1865
- */
1866
- getTransaction({ chainId, txHash, }: {
1867
- /**
1868
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1869
- */
1870
- chainId: string;
1871
- /**
1872
- * A transaction hash.
1873
- */
1874
- txHash: string;
1875
- }): CancelablePromise<GetTransactionResponse>;
1876
- /**
1877
- * List transactions for a block
1878
- * Lists the transactions that occured in a given block.
1879
- * @returns ListNativeTransactionsResponse
1880
- * @throws ApiError
1881
- */
1882
- getTransactionsForBlock({ chainId, blockId, }: {
1883
- /**
1884
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1885
- */
1886
- chainId: string;
1887
- /**
1888
- * A block identifier which is either a block number or the block hash.
1889
- */
1890
- blockId: string;
1891
- }): CancelablePromise<ListNativeTransactionsResponse>;
1892
- /**
1893
- * List latest transactions
1894
- * Lists the latest transactions. Filterable by status.
1895
- * @returns ListNativeTransactionsResponse
1896
- * @throws ApiError
1897
- */
1898
- listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
1899
- /**
1900
- * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1901
- */
1902
- chainId: string;
1903
- /**
1904
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1905
- */
1906
- pageToken?: string;
1907
- /**
1908
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1909
- */
1910
- pageSize?: number;
1911
- /**
1912
- * A status filter for listed transactions.
1913
- */
1914
- status?: TransactionStatus;
1915
- }): CancelablePromise<ListNativeTransactionsResponse>;
1916
- }
1917
-
1918
- type LogsFormatMetadata = {
1919
- /**
1920
- * The IP address of the client that made the request.
1921
- */
1922
- ipAddress: string;
1923
- /**
1924
- * The host for the request made by the client.
1925
- */
1926
- host: string;
1927
- /**
1928
- * The user agent of the client that made the request.
1929
- */
1930
- userAgent: string;
1931
- };
1932
-
1933
- /**
1934
- * The type of request made by the client.
1935
- */
1936
- declare enum RequestType {
1937
- GLACIER_API_REQUEST = "Glacier API Request",
1938
- GLACIER_RPC_REQUEST = "Glacier RPC Request"
1939
- }
1940
-
1941
- type LogsFormat = {
1942
- /**
1943
- * The organization id of the request.
1944
- */
1945
- orgId: string;
1946
- /**
1947
- * The unique log id of the request.
1948
- */
1949
- logId: string;
1950
- /**
1951
- * The timestamp of the request.
1952
- */
1953
- eventTimestamp: number;
1954
- /**
1955
- * The apiKey used to make the request.
1956
- */
1957
- apiKeyId: string;
1958
- /**
1959
- * The alias of the apiKey used to make the request.
1960
- */
1961
- apiKeyAlias: string;
1962
- /**
1963
- * The region of the host for the request made by the client.
1964
- */
1965
- hostRegion: string;
1966
- requestType: RequestType;
1967
- /**
1968
- * The path of the request made by the client.
1969
- */
1970
- requestPath: string;
1971
- /**
1972
- * The number of API credits consumed by the request.
1973
- */
1974
- apiCreditsConsumed: number;
1975
- /**
1976
- * The duration of the request in milliseconds.
1977
- */
1978
- requestDurationMsecs: number;
1979
- /**
1980
- * The response code of the request.
1981
- */
1982
- responseCode: number;
1983
- /**
1984
- * The chain id of the request.
1985
- */
1986
- chainId?: number;
1987
- /**
1988
- * The rpc method of the request.
1989
- */
1990
- rpcMethod?: string;
1991
- /**
1992
- * The metadata of the request.
1993
- */
1994
- metadata: LogsFormatMetadata;
1995
- };
1996
-
1997
- type LogsResponseDTO = {
1998
- /**
1999
- * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2000
- */
2001
- nextPageToken?: string;
2002
- /**
2003
- * The organization id of the request.
2004
- */
2005
- orgId: string;
2006
- /**
2007
- * An array of logs representing the requests made by clients.
2008
- */
2009
- logs: Array<LogsFormat>;
2010
- };
2011
-
2012
- declare enum TimeIntervalGranularityExtended {
2013
- MINUTE = "minute",
2014
- HOURLY = "hourly",
2015
- DAILY = "daily",
2016
- WEEKLY = "weekly",
2017
- MONTHLY = "monthly"
2018
- }
2019
-
2020
- declare enum UsageMetricsGroupByEnum {
2021
- REQUEST_PATH = "requestPath",
2022
- RESPONSE_CODE = "responseCode",
2023
- CHAIN_ID = "chainId",
2024
- API_KEY_ID = "apiKeyId"
2025
- }
2026
-
2027
- type UsageMetricsResponseDTO = {
2028
- /**
2029
- * Duration in which the metrics value is aggregated
2030
- */
2031
- aggregateDuration: string;
2032
- /**
2033
- * Org ID for which the metrics are aggregated
2034
- */
2035
- orgId: string;
2059
+ */
2060
+ startBlock?: number;
2061
+ /**
2062
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
2063
+ */
2064
+ endBlock?: number;
2065
+ /**
2066
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2067
+ */
2068
+ pageToken?: string;
2069
+ /**
2070
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2071
+ */
2072
+ pageSize?: number;
2073
+ }): CancelablePromise<ListErc20TransactionsResponse>;
2036
2074
  /**
2037
- * Metrics values
2075
+ * List ERC-721 transfers
2076
+ * Lists ERC-721 transfers for an address. Filterable by block range.
2077
+ * @returns ListErc721TransactionsResponse Successful response
2078
+ * @throws ApiError
2038
2079
  */
2039
- metrics: Array<string>;
2040
- };
2041
-
2042
- declare class GlacierApiUsageMetricsService {
2043
- readonly httpRequest: BaseHttpRequest;
2044
- constructor(httpRequest: BaseHttpRequest);
2080
+ listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
2081
+ /**
2082
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2083
+ */
2084
+ chainId: string;
2085
+ /**
2086
+ * A wallet address.
2087
+ */
2088
+ address: string;
2089
+ /**
2090
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
2091
+ */
2092
+ startBlock?: number;
2093
+ /**
2094
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
2095
+ */
2096
+ endBlock?: number;
2097
+ /**
2098
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2099
+ */
2100
+ pageToken?: string;
2101
+ /**
2102
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2103
+ */
2104
+ pageSize?: number;
2105
+ }): CancelablePromise<ListErc721TransactionsResponse>;
2045
2106
  /**
2046
- * Get usage metrics for the Glacier API
2047
- * Gets metrics for Glacier API usage over a specified time interval aggregated at the specified time-duration granularity.
2048
- * @returns UsageMetricsResponseDTO
2107
+ * List ERC-1155 transfers
2108
+ * Lists ERC-1155 transfers for an address. Filterable by block range.
2109
+ * @returns ListErc1155TransactionsResponse Successful response
2049
2110
  * @throws ApiError
2050
2111
  */
2051
- getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, requestPath, responseStatusCode, chainId, apiKeyId, }: {
2112
+ listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
2052
2113
  /**
2053
- * Organization ID to fetch usage metrics for
2114
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2054
2115
  */
2055
- orgId?: string;
2116
+ chainId: string;
2056
2117
  /**
2057
- * Query param for retrieving items after a specific timestamp.
2118
+ * A wallet address.
2058
2119
  */
2059
- startTimestamp?: number;
2120
+ address: string;
2060
2121
  /**
2061
- * Query param for retrieving items before a specific timestamp.
2122
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
2062
2123
  */
2063
- endTimestamp?: number;
2124
+ startBlock?: number;
2064
2125
  /**
2065
- * Time interval granularity for data aggregation
2126
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
2066
2127
  */
2067
- timeInterval?: TimeIntervalGranularityExtended;
2128
+ endBlock?: number;
2068
2129
  /**
2069
- * Query param for the criterion used for grouping metrics
2130
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2070
2131
  */
2071
- groupBy?: UsageMetricsGroupByEnum;
2132
+ pageToken?: string;
2072
2133
  /**
2073
- * Filter aggregated usage metrics by request path.
2134
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2074
2135
  */
2075
- requestPath?: string;
2136
+ pageSize?: number;
2137
+ }): CancelablePromise<ListErc1155TransactionsResponse>;
2138
+ /**
2139
+ * List internal transactions
2140
+ * Returns a list of internal transactions for an address and chain. Filterable by block range.
2141
+ *
2142
+ * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
2143
+ * @returns ListInternalTransactionsResponse Successful response
2144
+ * @throws ApiError
2145
+ */
2146
+ listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
2076
2147
  /**
2077
- * Filter aggregated usage metrics by response status code.
2148
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2078
2149
  */
2079
- responseStatusCode?: string;
2150
+ chainId: string;
2080
2151
  /**
2081
- * Filter aggregated usage metrics by chain ID.
2152
+ * A wallet address.
2082
2153
  */
2083
- chainId?: string;
2154
+ address: string;
2084
2155
  /**
2085
- * Filter aggregated usage metrics by API key ID.
2156
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
2086
2157
  */
2087
- apiKeyId?: string;
2088
- }): CancelablePromise<UsageMetricsResponseDTO>;
2158
+ startBlock?: number;
2159
+ /**
2160
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
2161
+ */
2162
+ endBlock?: number;
2163
+ /**
2164
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2165
+ */
2166
+ pageToken?: string;
2167
+ /**
2168
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2169
+ */
2170
+ pageSize?: number;
2171
+ }): CancelablePromise<ListInternalTransactionsResponse>;
2089
2172
  /**
2090
- * Get logs for requests made by client
2091
- * Gets logs for requests made by client over a specified time interval for a specific organization.
2092
- * @returns LogsResponseDTO
2173
+ * Get transaction
2174
+ * Gets the details of a single transaction.
2175
+ * @returns GetTransactionResponse Successful response
2093
2176
  * @throws ApiError
2094
2177
  */
2095
- getApiLogss({ orgId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
2178
+ getTransaction({ chainId, txHash, }: {
2096
2179
  /**
2097
- * Organization ID to fetch usage metrics for
2180
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2098
2181
  */
2099
- orgId?: string;
2182
+ chainId: string;
2100
2183
  /**
2101
- * Query param for retrieving items after a specific timestamp.
2184
+ * A transaction hash.
2102
2185
  */
2103
- startTimestamp?: number;
2186
+ txHash: string;
2187
+ }): CancelablePromise<GetTransactionResponse>;
2188
+ /**
2189
+ * List transactions for a block
2190
+ * Lists the transactions that occured in a given block.
2191
+ * @returns ListNativeTransactionsResponse Successful response
2192
+ * @throws ApiError
2193
+ */
2194
+ getTransactionsForBlock({ chainId, blockId, }: {
2104
2195
  /**
2105
- * Query param for retrieving items before a specific timestamp.
2196
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2106
2197
  */
2107
- endTimestamp?: number;
2198
+ chainId: string;
2199
+ /**
2200
+ * A block identifier which is either a block number or the block hash.
2201
+ */
2202
+ blockId: string;
2203
+ }): CancelablePromise<ListNativeTransactionsResponse>;
2204
+ /**
2205
+ * List latest transactions
2206
+ * Lists the latest transactions. Filterable by status.
2207
+ * @returns ListNativeTransactionsResponse Successful response
2208
+ * @throws ApiError
2209
+ */
2210
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
2211
+ /**
2212
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2213
+ */
2214
+ chainId: string;
2108
2215
  /**
2109
2216
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2110
2217
  */
2111
2218
  pageToken?: string;
2112
2219
  /**
2113
- * The maximum number of items to return.
2220
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2114
2221
  */
2115
2222
  pageSize?: number;
2116
- }): CancelablePromise<LogsResponseDTO>;
2223
+ /**
2224
+ * A status filter for listed transactions.
2225
+ */
2226
+ status?: TransactionStatus;
2227
+ }): CancelablePromise<ListNativeTransactionsResponse>;
2117
2228
  }
2118
2229
 
2119
2230
  declare class HealthCheckService {
@@ -2124,7 +2235,7 @@ declare class HealthCheckService {
2124
2235
  * @returns any The Health Check is successful
2125
2236
  * @throws ApiError
2126
2237
  */
2127
- healthCheck(): CancelablePromise<{
2238
+ dataHealthCheck(): CancelablePromise<{
2128
2239
  status?: string;
2129
2240
  info?: Record<string, Record<string, string>> | null;
2130
2241
  error?: Record<string, Record<string, string>> | null;
@@ -2146,7 +2257,7 @@ declare class NfTsService {
2146
2257
  /**
2147
2258
  * Reindex NFT metadata
2148
2259
  * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
2149
- * @returns any
2260
+ * @returns any Successful response
2150
2261
  * @throws ApiError
2151
2262
  */
2152
2263
  reindexNft({ chainId, address, tokenId, }: {
@@ -2166,7 +2277,7 @@ declare class NfTsService {
2166
2277
  /**
2167
2278
  * List tokens
2168
2279
  * Lists tokens for an NFT contract.
2169
- * @returns ListNftTokens
2280
+ * @returns ListNftTokens Successful response
2170
2281
  * @throws ApiError
2171
2282
  */
2172
2283
  listTokens({ chainId, address, pageToken, pageSize, }: {
@@ -2190,7 +2301,7 @@ declare class NfTsService {
2190
2301
  /**
2191
2302
  * Get token details
2192
2303
  * Gets token details for a specific token of an NFT contract.
2193
- * @returns any
2304
+ * @returns any Successful response
2194
2305
  * @throws ApiError
2195
2306
  */
2196
2307
  getTokenDetails({ chainId, address, tokenId, }: {
@@ -2308,7 +2419,7 @@ declare class OperationsService {
2308
2419
  /**
2309
2420
  * Get operation
2310
2421
  * Gets operation details for the given operation id.
2311
- * @returns OperationStatusResponse
2422
+ * @returns OperationStatusResponse Successful response
2312
2423
  * @throws ApiError
2313
2424
  */
2314
2425
  getOperationResult({ operationId, }: {
@@ -2322,7 +2433,7 @@ declare class OperationsService {
2322
2433
  * Trigger a transaction export operation with given parameters.
2323
2434
  *
2324
2435
  * 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.
2325
- * @returns OperationStatusResponse
2436
+ * @returns OperationStatusResponse Successful response
2326
2437
  * @throws ApiError
2327
2438
  */
2328
2439
  postTransactionExportJob({ requestBody, }: {
@@ -2584,6 +2695,7 @@ type CompletedValidatorDetails = {
2584
2695
  */
2585
2696
  blsCredentials?: BlsCredentials;
2586
2697
  delegatorCount: number;
2698
+ amountDelegated?: string;
2587
2699
  rewards: Rewards;
2588
2700
  validationStatus: CompletedValidatorDetails.validationStatus;
2589
2701
  };
@@ -2719,7 +2831,7 @@ declare class PrimaryNetworkService {
2719
2831
  /**
2720
2832
  * Get asset details
2721
2833
  * Gets asset details corresponding to the given asset id on the X-Chain.
2722
- * @returns XChainAssetDetails
2834
+ * @returns XChainAssetDetails Successful response
2723
2835
  * @throws ApiError
2724
2836
  */
2725
2837
  getAssetDetails({ blockchainId, network, assetId, }: {
@@ -2739,7 +2851,7 @@ declare class PrimaryNetworkService {
2739
2851
  /**
2740
2852
  * Get chain interactions for addresses
2741
2853
  * 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.
2742
- * @returns ChainAddressChainIdMapListResponse
2854
+ * @returns ChainAddressChainIdMapListResponse Successful response
2743
2855
  * @throws ApiError
2744
2856
  */
2745
2857
  getChainIdsForAddresses({ addresses, network, }: {
@@ -2755,7 +2867,7 @@ declare class PrimaryNetworkService {
2755
2867
  /**
2756
2868
  * Get network details
2757
2869
  * Gets network details such as validator and delegator stats.
2758
- * @returns GetNetworkDetailsResponse
2870
+ * @returns GetNetworkDetailsResponse Successful response
2759
2871
  * @throws ApiError
2760
2872
  */
2761
2873
  getNetworkDetails({ network, }: {
@@ -2767,7 +2879,7 @@ declare class PrimaryNetworkService {
2767
2879
  /**
2768
2880
  * List blockchains
2769
2881
  * Lists all blockchains registered on the network.
2770
- * @returns ListBlockchainsResponse
2882
+ * @returns ListBlockchainsResponse Successful response
2771
2883
  * @throws ApiError
2772
2884
  */
2773
2885
  listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
@@ -2791,7 +2903,7 @@ declare class PrimaryNetworkService {
2791
2903
  /**
2792
2904
  * List subnets
2793
2905
  * Lists all subnets registered on the network.
2794
- * @returns ListSubnetsResponse
2906
+ * @returns ListSubnetsResponse Successful response
2795
2907
  * @throws ApiError
2796
2908
  */
2797
2909
  listSubnets({ network, pageToken, pageSize, sortOrder, }: {
@@ -2815,7 +2927,7 @@ declare class PrimaryNetworkService {
2815
2927
  /**
2816
2928
  * Get Subnet details by ID
2817
2929
  * Get details of the Subnet registered on the network.
2818
- * @returns Subnet
2930
+ * @returns Subnet Successful response
2819
2931
  * @throws ApiError
2820
2932
  */
2821
2933
  getSubnetById({ network, subnetId, }: {
@@ -2831,7 +2943,7 @@ declare class PrimaryNetworkService {
2831
2943
  /**
2832
2944
  * List validators
2833
2945
  * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
2834
- * @returns ListValidatorDetailsResponse
2946
+ * @returns ListValidatorDetailsResponse Successful response
2835
2947
  * @throws ApiError
2836
2948
  */
2837
2949
  listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
@@ -2905,7 +3017,7 @@ declare class PrimaryNetworkService {
2905
3017
  /**
2906
3018
  * Get single validator details
2907
3019
  * List validator details for a single validator. Filterable by validation status.
2908
- * @returns ListValidatorDetailsResponse
3020
+ * @returns ListValidatorDetailsResponse Successful response
2909
3021
  * @throws ApiError
2910
3022
  */
2911
3023
  getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
@@ -2937,7 +3049,7 @@ declare class PrimaryNetworkService {
2937
3049
  /**
2938
3050
  * List delegators
2939
3051
  * Lists details for delegators.
2940
- * @returns ListDelegatorDetailsResponse
3052
+ * @returns ListDelegatorDetailsResponse Successful response
2941
3053
  * @throws ApiError
2942
3054
  */
2943
3055
  listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
@@ -3179,7 +3291,7 @@ declare class PrimaryNetworkBalancesService {
3179
3291
  * Gets primary network balances for one of the Primary Network chains for the supplied addresses.
3180
3292
  *
3181
3293
  * C-Chain balances returned are only the shared atomic memory balance. For EVM balance, use the `/v1/chains/:chainId/addresses/:addressId/balances:getNative` endpoint.
3182
- * @returns any
3294
+ * @returns any Successful response
3183
3295
  * @throws ApiError
3184
3296
  */
3185
3297
  getBalancesByAddresses({ blockchainId, network, blockTimestamp, addresses, }: {
@@ -3251,7 +3363,7 @@ declare class PrimaryNetworkBlocksService {
3251
3363
  /**
3252
3364
  * Get block
3253
3365
  * Gets a block by block height or block hash on one of the Primary Network chains.
3254
- * @returns GetPrimaryNetworkBlockResponse
3366
+ * @returns GetPrimaryNetworkBlockResponse Successful response
3255
3367
  * @throws ApiError
3256
3368
  */
3257
3369
  getBlockById({ blockchainId, network, blockId, }: {
@@ -3271,7 +3383,7 @@ declare class PrimaryNetworkBlocksService {
3271
3383
  /**
3272
3384
  * List blocks proposed by node
3273
3385
  * Lists the latest blocks proposed by a given NodeID on one of the Primary Network chains.
3274
- * @returns ListPrimaryNetworkBlocksResponse
3386
+ * @returns ListPrimaryNetworkBlocksResponse Successful response
3275
3387
  * @throws ApiError
3276
3388
  */
3277
3389
  listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
@@ -3299,7 +3411,7 @@ declare class PrimaryNetworkBlocksService {
3299
3411
  /**
3300
3412
  * List latest blocks
3301
3413
  * Lists latest blocks on one of the Primary Network chains.
3302
- * @returns ListPrimaryNetworkBlocksResponse
3414
+ * @returns ListPrimaryNetworkBlocksResponse Successful response
3303
3415
  * @throws ApiError
3304
3416
  */
3305
3417
  listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
@@ -3437,7 +3549,7 @@ declare class PrimaryNetworkRewardsService {
3437
3549
  /**
3438
3550
  * List pending rewards
3439
3551
  * Lists pending rewards on the Primary Network for the supplied addresses.
3440
- * @returns ListPendingRewardsResponse
3552
+ * @returns ListPendingRewardsResponse Successful response
3441
3553
  * @throws ApiError
3442
3554
  */
3443
3555
  listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
@@ -3469,7 +3581,7 @@ declare class PrimaryNetworkRewardsService {
3469
3581
  /**
3470
3582
  * List historical rewards
3471
3583
  * Lists historical rewards on the Primary Network for the supplied addresses.
3472
- * @returns ListHistoricalRewardsResponse
3584
+ * @returns ListHistoricalRewardsResponse Successful response
3473
3585
  * @throws ApiError
3474
3586
  */
3475
3587
  listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
@@ -4056,7 +4168,7 @@ declare class PrimaryNetworkTransactionsService {
4056
4168
  /**
4057
4169
  * Get transaction
4058
4170
  * Gets the details of a single transaction on one of the Primary Network chains.
4059
- * @returns any
4171
+ * @returns any Successful response
4060
4172
  * @throws ApiError
4061
4173
  */
4062
4174
  getTxByHash({ blockchainId, network, txHash, }: {
@@ -4080,10 +4192,14 @@ declare class PrimaryNetworkTransactionsService {
4080
4192
  * 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.
4081
4193
  *
4082
4194
  * 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.
4083
- * @returns any
4195
+ * @returns any Successful response
4084
4196
  * @throws ApiError
4085
4197
  */
4086
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4198
+ listLatestPrimaryNetworkTransactions({ addresses, blockchainId, network, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4199
+ /**
4200
+ * 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.
4201
+ */
4202
+ addresses: string;
4087
4203
  /**
4088
4204
  * A primary network blockchain id or alias.
4089
4205
  */
@@ -4092,10 +4208,6 @@ declare class PrimaryNetworkTransactionsService {
4092
4208
  * Either mainnet or a testnet.
4093
4209
  */
4094
4210
  network: Network;
4095
- /**
4096
- * 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".
4097
- */
4098
- addresses?: string;
4099
4211
  /**
4100
4212
  * Query param for filtering items based on transaction types.
4101
4213
  */
@@ -4124,7 +4236,7 @@ declare class PrimaryNetworkTransactionsService {
4124
4236
  /**
4125
4237
  * List staking transactions
4126
4238
  * Lists active staking transactions on the P-Chain for the supplied addresses.
4127
- * @returns ListPChainTransactionsResponse
4239
+ * @returns ListPChainTransactionsResponse Successful response
4128
4240
  * @throws ApiError
4129
4241
  */
4130
4242
  listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
@@ -4168,7 +4280,7 @@ declare class PrimaryNetworkTransactionsService {
4168
4280
  /**
4169
4281
  * List asset transactions
4170
4282
  * Lists asset transactions corresponding to the given asset id on the X-Chain.
4171
- * @returns ListXChainTransactionsResponse
4283
+ * @returns ListXChainTransactionsResponse Successful response
4172
4284
  * @throws ApiError
4173
4285
  */
4174
4286
  listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
@@ -4231,7 +4343,7 @@ declare class PrimaryNetworkUtxOsService {
4231
4343
  /**
4232
4344
  * List UTXOs
4233
4345
  * Lists UTXOs on one of the Primary Network chains for the supplied addresses.
4234
- * @returns any
4346
+ * @returns any Successful response
4235
4347
  * @throws ApiError
4236
4348
  */
4237
4349
  getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
@@ -4296,7 +4408,7 @@ declare class PrimaryNetworkVerticesService {
4296
4408
  /**
4297
4409
  * List vertices
4298
4410
  * Lists latest vertices on the X-Chain.
4299
- * @returns ListXChainVerticesResponse
4411
+ * @returns ListXChainVerticesResponse Successful response
4300
4412
  * @throws ApiError
4301
4413
  */
4302
4414
  listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
@@ -4320,7 +4432,7 @@ declare class PrimaryNetworkVerticesService {
4320
4432
  /**
4321
4433
  * Get vertex
4322
4434
  * Gets a single vertex on the X-Chain.
4323
- * @returns XChainVertex
4435
+ * @returns XChainVertex Successful response
4324
4436
  * @throws ApiError
4325
4437
  */
4326
4438
  getVertexByHash({ vertexHash, blockchainId, network, }: {
@@ -4340,7 +4452,7 @@ declare class PrimaryNetworkVerticesService {
4340
4452
  /**
4341
4453
  * List vertices by height
4342
4454
  * Lists vertices at the given vertex height on the X-Chain.
4343
- * @returns ListXChainVerticesResponse
4455
+ * @returns ListXChainVerticesResponse Successful response
4344
4456
  * @throws ApiError
4345
4457
  */
4346
4458
  getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
@@ -4402,7 +4514,7 @@ declare class RpcService {
4402
4514
  /**
4403
4515
  * Calls JSON-RPC method
4404
4516
  * Calls JSON-RPC method.
4405
- * @returns any
4517
+ * @returns any Successful response
4406
4518
  * @throws ApiError
4407
4519
  */
4408
4520
  rpc({ chainId, requestBody, }: {
@@ -4554,7 +4666,7 @@ declare class TeleporterService {
4554
4666
  /**
4555
4667
  * Get a teleporter message
4556
4668
  * Gets a teleporter message by message ID.
4557
- * @returns any
4669
+ * @returns any Successful response
4558
4670
  * @throws ApiError
4559
4671
  */
4560
4672
  getTeleporterMessage({ messageId, }: {
@@ -4566,7 +4678,7 @@ declare class TeleporterService {
4566
4678
  /**
4567
4679
  * List teleporter messages
4568
4680
  * Lists teleporter messages. Ordered by timestamp in descending order.
4569
- * @returns ListTeleporterMessagesResponse
4681
+ * @returns ListTeleporterMessagesResponse Successful response
4570
4682
  * @throws ApiError
4571
4683
  */
4572
4684
  listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
@@ -4603,13 +4715,37 @@ declare class TeleporterService {
4603
4715
  */
4604
4716
  network?: NetworkType;
4605
4717
  }): CancelablePromise<ListTeleporterMessagesResponse>;
4718
+ /**
4719
+ * List teleporter messages by address
4720
+ * Lists teleporter messages by address. Ordered by timestamp in descending order.
4721
+ * @returns ListTeleporterMessagesResponse Successful response
4722
+ * @throws ApiError
4723
+ */
4724
+ listTeleporterMessagesByAddress({ address, pageToken, pageSize, network, }: {
4725
+ /**
4726
+ * An EVM address.
4727
+ */
4728
+ address: string;
4729
+ /**
4730
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4731
+ */
4732
+ pageToken?: string;
4733
+ /**
4734
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4735
+ */
4736
+ pageSize?: number;
4737
+ /**
4738
+ * mainnet or testnet.
4739
+ */
4740
+ network?: NetworkType;
4741
+ }): CancelablePromise<ListTeleporterMessagesResponse>;
4606
4742
  }
4607
4743
 
4608
4744
  type AddressesChangeRequest = {
4609
4745
  /**
4610
4746
  * Ethereum address(es) for the address_activity event type
4611
4747
  */
4612
- addresses: Array<any[]>;
4748
+ addresses: Array<string>;
4613
4749
  };
4614
4750
 
4615
4751
  type AddressActivityMetadata = {
@@ -4710,7 +4846,7 @@ declare class WebhooksService {
4710
4846
  /**
4711
4847
  * Create a webhook
4712
4848
  * Create a new webhook.
4713
- * @returns WebhookResponse
4849
+ * @returns WebhookResponse Successful response
4714
4850
  * @throws ApiError
4715
4851
  */
4716
4852
  createWebhook({ requestBody, }: {
@@ -4719,7 +4855,7 @@ declare class WebhooksService {
4719
4855
  /**
4720
4856
  * List webhooks
4721
4857
  * Lists webhooks for the user.
4722
- * @returns ListWebhooksResponse
4858
+ * @returns ListWebhooksResponse Successful response
4723
4859
  * @throws ApiError
4724
4860
  */
4725
4861
  listWebhooks({ pageToken, pageSize, status, }: {
@@ -4739,7 +4875,7 @@ declare class WebhooksService {
4739
4875
  /**
4740
4876
  * Get a webhook by ID
4741
4877
  * Retrieves a webhook by ID.
4742
- * @returns WebhookResponse
4878
+ * @returns WebhookResponse Successful response
4743
4879
  * @throws ApiError
4744
4880
  */
4745
4881
  getWebhook({ id, }: {
@@ -4751,7 +4887,7 @@ declare class WebhooksService {
4751
4887
  /**
4752
4888
  * Deactivate a webhook
4753
4889
  * Deactivates a webhook by ID.
4754
- * @returns WebhookResponse
4890
+ * @returns WebhookResponse Successful response
4755
4891
  * @throws ApiError
4756
4892
  */
4757
4893
  deactivateWebhook({ id, }: {
@@ -4763,7 +4899,7 @@ declare class WebhooksService {
4763
4899
  /**
4764
4900
  * Update a webhook
4765
4901
  * Updates an existing webhook.
4766
- * @returns WebhookResponse
4902
+ * @returns WebhookResponse Successful response
4767
4903
  * @throws ApiError
4768
4904
  */
4769
4905
  updateWebhook({ id, requestBody, }: {
@@ -4776,21 +4912,21 @@ declare class WebhooksService {
4776
4912
  /**
4777
4913
  * Generate a shared secret
4778
4914
  * Generates a new shared secret.
4779
- * @returns SharedSecretsResponse
4915
+ * @returns SharedSecretsResponse Successful response
4780
4916
  * @throws ApiError
4781
4917
  */
4782
4918
  generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4783
4919
  /**
4784
4920
  * Get a shared secret
4785
4921
  * Get a previously generated shared secret.
4786
- * @returns SharedSecretsResponse
4922
+ * @returns SharedSecretsResponse Successful response
4787
4923
  * @throws ApiError
4788
4924
  */
4789
4925
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4790
4926
  /**
4791
4927
  * Add addresses to webhook
4792
4928
  * Add addresses to webhook.
4793
- * @returns WebhookResponse
4929
+ * @returns WebhookResponse Successful response
4794
4930
  * @throws ApiError
4795
4931
  */
4796
4932
  addAddressesToWebhook({ id, requestBody, }: {
@@ -4803,7 +4939,7 @@ declare class WebhooksService {
4803
4939
  /**
4804
4940
  * Remove addresses from webhook
4805
4941
  * Remove addresses from webhook.
4806
- * @returns WebhookResponse
4942
+ * @returns WebhookResponse Successful response
4807
4943
  * @throws ApiError
4808
4944
  */
4809
4945
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -4816,7 +4952,7 @@ declare class WebhooksService {
4816
4952
  /**
4817
4953
  * List adresses by webhook
4818
4954
  * List adresses by webhook.
4819
- * @returns ListWebhookAddressesResponse
4955
+ * @returns ListWebhookAddressesResponse Successful response
4820
4956
  * @throws ApiError
4821
4957
  */
4822
4958
  getAddressesFromWebhook({ id, pageToken, pageSize, }: {
@@ -4837,13 +4973,13 @@ declare class WebhooksService {
4837
4973
 
4838
4974
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
4839
4975
  declare class Glacier {
4976
+ readonly dataApiUsageMetrics: DataApiUsageMetricsService;
4840
4977
  readonly default: DefaultService;
4841
4978
  readonly evmBalances: EvmBalancesService;
4842
4979
  readonly evmBlocks: EvmBlocksService;
4843
4980
  readonly evmChains: EvmChainsService;
4844
4981
  readonly evmContracts: EvmContractsService;
4845
4982
  readonly evmTransactions: EvmTransactionsService;
4846
- readonly glacierApiUsageMetrics: GlacierApiUsageMetricsService;
4847
4983
  readonly healthCheck: HealthCheckService;
4848
4984
  readonly nfTs: NfTsService;
4849
4985
  readonly operations: OperationsService;
@@ -4878,6 +5014,70 @@ declare class ApiError extends Error {
4878
5014
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4879
5015
  }
4880
5016
 
5017
+ type BadGateway = {
5018
+ /**
5019
+ * The error message describing the reason for the exception
5020
+ */
5021
+ message: (string | Array<string>);
5022
+ /**
5023
+ * The HTTP status code of the response
5024
+ */
5025
+ statusCode: number;
5026
+ /**
5027
+ * The type of error
5028
+ */
5029
+ error: string;
5030
+ };
5031
+
5032
+ type BadRequest = {
5033
+ /**
5034
+ * The error message describing the reason for the exception
5035
+ */
5036
+ message: (string | Array<string>);
5037
+ /**
5038
+ * The HTTP status code of the response
5039
+ */
5040
+ statusCode: number;
5041
+ /**
5042
+ * The type of error
5043
+ */
5044
+ error: string;
5045
+ };
5046
+
5047
+ type DataListChainsResponse = {
5048
+ chains: Array<ChainInfo>;
5049
+ };
5050
+
5051
+ type Forbidden = {
5052
+ /**
5053
+ * The error message describing the reason for the exception
5054
+ */
5055
+ message: (string | Array<string>);
5056
+ /**
5057
+ * The HTTP status code of the response
5058
+ */
5059
+ statusCode: number;
5060
+ /**
5061
+ * The type of error
5062
+ */
5063
+ error: string;
5064
+ };
5065
+
5066
+ type InternalServerError = {
5067
+ /**
5068
+ * The error message describing the reason for the exception
5069
+ */
5070
+ message: (string | Array<string>);
5071
+ /**
5072
+ * The HTTP status code of the response
5073
+ */
5074
+ statusCode: number;
5075
+ /**
5076
+ * The type of error
5077
+ */
5078
+ error: string;
5079
+ };
5080
+
4881
5081
  type NextPageToken = {
4882
5082
  /**
4883
5083
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -4885,4 +5085,64 @@ type NextPageToken = {
4885
5085
  nextPageToken?: string;
4886
5086
  };
4887
5087
 
4888
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, GlacierApiFeature, GlacierApiUsageMetricsService, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, SharedSecretsResponse, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
5088
+ type NotFound = {
5089
+ /**
5090
+ * The error message describing the reason for the exception
5091
+ */
5092
+ message: (string | Array<string>);
5093
+ /**
5094
+ * The HTTP status code of the response
5095
+ */
5096
+ statusCode: number;
5097
+ /**
5098
+ * The type of error
5099
+ */
5100
+ error: string;
5101
+ };
5102
+
5103
+ type ServiceUnavailable = {
5104
+ /**
5105
+ * The error message describing the reason for the exception
5106
+ */
5107
+ message: (string | Array<string>);
5108
+ /**
5109
+ * The HTTP status code of the response
5110
+ */
5111
+ statusCode: number;
5112
+ /**
5113
+ * The type of error
5114
+ */
5115
+ error: string;
5116
+ };
5117
+
5118
+ type TooManyRequests = {
5119
+ /**
5120
+ * The error message describing the reason for the exception
5121
+ */
5122
+ message: (string | Array<string>);
5123
+ /**
5124
+ * The HTTP status code of the response
5125
+ */
5126
+ statusCode: number;
5127
+ /**
5128
+ * The type of error
5129
+ */
5130
+ error: string;
5131
+ };
5132
+
5133
+ type Unauthorized = {
5134
+ /**
5135
+ * The error message describing the reason for the exception
5136
+ */
5137
+ message: (string | Array<string>);
5138
+ /**
5139
+ * The HTTP status code of the response
5140
+ */
5141
+ statusCode: number;
5142
+ /**
5143
+ * The type of error
5144
+ */
5145
+ error: string;
5146
+ };
5147
+
5148
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, ServiceUnavailable, SharedSecretsResponse, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };