@avalabs/glacier-sdk 3.1.0-canary.d324cd1.0 → 3.1.0-canary.d6c7924.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 +688 -228
  2. package/dist/index.js +1 -1
  3. package/esm/generated/Glacier.d.ts +0 -2
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/models/ActiveValidatorDetails.d.ts +21 -0
  6. package/esm/generated/models/BalanceOwner.d.ts +6 -0
  7. package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
  8. package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
  9. package/esm/generated/models/CreateWebhookRequest.d.ts +1 -1
  10. package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
  11. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  12. package/esm/generated/models/EvmBlock.d.ts +4 -0
  13. package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
  14. package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
  15. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
  16. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +33 -0
  17. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +23 -0
  18. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  19. package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
  20. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +5 -0
  21. package/esm/generated/models/ListErc20BalancesResponse.d.ts +5 -0
  22. package/esm/generated/models/ListErc721BalancesResponse.d.ts +5 -0
  23. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +14 -0
  24. package/esm/generated/models/NativeTransaction.d.ts +4 -0
  25. package/esm/generated/models/PChainTransaction.d.ts +33 -7
  26. package/esm/generated/models/PChainTransactionType.d.ts +5 -0
  27. package/esm/generated/models/PChainTransactionType.js +1 -1
  28. package/esm/generated/models/PChainUtxo.d.ts +27 -0
  29. package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
  30. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
  31. package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -0
  32. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +2 -2
  33. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +9 -0
  34. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  35. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
  36. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  37. package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
  38. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  39. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  40. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
  41. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -7
  42. package/esm/generated/models/StakingDistribution.d.ts +9 -0
  43. package/esm/generated/models/Subnet.d.ts +13 -0
  44. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  45. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  46. package/esm/generated/models/{RpcUsageMetricsResponseDTO.d.ts → SubnetRpcUsageMetricsResponseDTO.d.ts} +6 -6
  47. package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
  48. package/esm/generated/models/UtxoType.d.ts +3 -0
  49. package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
  50. package/esm/generated/services/DataApiUsageMetricsService.d.ts +75 -25
  51. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  52. package/esm/generated/services/EvmBlocksService.d.ts +21 -0
  53. package/esm/generated/services/EvmBlocksService.js +1 -1
  54. package/esm/generated/services/EvmChainsService.d.ts +80 -2
  55. package/esm/generated/services/EvmChainsService.js +1 -1
  56. package/esm/generated/services/EvmTransactionsService.d.ts +34 -1
  57. package/esm/generated/services/EvmTransactionsService.js +1 -1
  58. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +18 -2
  59. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  60. package/esm/generated/services/PrimaryNetworkService.d.ts +34 -0
  61. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  62. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +4 -1
  63. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  64. package/esm/generated/services/SignatureAggregatorService.d.ts +6 -1
  65. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  66. package/esm/index.d.ts +10 -7
  67. package/esm/index.js +1 -1
  68. package/package.json +2 -2
  69. package/esm/generated/models/PrimaryNetwork.d.ts +0 -7
  70. package/esm/generated/models/PrimaryNetwork.js +0 -1
  71. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  72. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  73. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  74. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  75. package/esm/generated/services/RpcService.d.ts +0 -25
  76. package/esm/generated/services/RpcService.js +0 -1
package/dist/index.d.ts CHANGED
@@ -148,6 +148,34 @@ type LogsResponseDTO = {
148
148
  logs: Array<LogsFormat>;
149
149
  };
150
150
 
151
+ declare enum Network {
152
+ MAINNET = "mainnet",
153
+ FUJI = "fuji",
154
+ TESTNET = "testnet",
155
+ DEVNET = "devnet"
156
+ }
157
+
158
+ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
159
+ REQUEST_PATH = "requestPath",
160
+ RESPONSE_CODE = "responseCode",
161
+ COUNTRY = "country",
162
+ CONTINENT = "continent",
163
+ USER_AGENT = "userAgent"
164
+ }
165
+
166
+ declare enum RpcUsageMetricsGroupByEnum {
167
+ RPC_METHOD = "rpcMethod",
168
+ RESPONSE_CODE = "responseCode",
169
+ RL_BYPASS_TOKEN = "rlBypassToken"
170
+ }
171
+
172
+ declare enum SubnetRpcTimeIntervalGranularity {
173
+ HOURLY = "hourly",
174
+ DAILY = "daily",
175
+ WEEKLY = "weekly",
176
+ MONTHLY = "monthly"
177
+ }
178
+
151
179
  type RpcUsageMetricsValueAggregated = {
152
180
  /**
153
181
  * The total number of requests
@@ -173,6 +201,10 @@ type RpcUsageMetricsValueAggregated = {
173
201
  * The number of invalid requests
174
202
  */
175
203
  invalidRequests: number;
204
+ /**
205
+ * The number of API credits wasted on invalid requests
206
+ */
207
+ apiCreditsWasted: number;
176
208
  /**
177
209
  * Column name used for data aggregation
178
210
  */
@@ -205,19 +237,19 @@ type RpcMetrics = {
205
237
  values: Array<RpcUsageMetricsValueAggregated>;
206
238
  };
207
239
 
208
- type RpcUsageMetricsResponseDTO = {
240
+ type SubnetRpcUsageMetricsResponseDTO = {
209
241
  /**
210
242
  * Duration in which the metrics value is aggregated
211
243
  */
212
244
  aggregateDuration: string;
213
- /**
214
- * ChainId for which the metrics are aggregated
215
- */
216
- chainId: string;
217
245
  /**
218
246
  * Metrics values
219
247
  */
220
248
  metrics: Array<RpcMetrics>;
249
+ /**
250
+ * ChainId for which the metrics are aggregated
251
+ */
252
+ chainId: string;
221
253
  };
222
254
 
223
255
  declare enum TimeIntervalGranularityExtended {
@@ -323,7 +355,7 @@ declare class DataApiUsageMetricsService {
323
355
  * @returns UsageMetricsResponseDTO Successful response
324
356
  * @throws ApiError
325
357
  */
326
- getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, requestPath, responseCode, requestType, apiKeyId, }: {
358
+ getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, responseCode, requestType, apiKeyId, requestPath, }: {
327
359
  /**
328
360
  * Organization ID to fetch usage metrics for
329
361
  */
@@ -333,7 +365,7 @@ declare class DataApiUsageMetricsService {
333
365
  */
334
366
  startTimestamp?: number;
335
367
  /**
336
- * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day. `endTimestamp` must be no earlier than 0:00 UTC of the day after `startTimestamp`.
368
+ * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
337
369
  */
338
370
  endTimestamp?: number;
339
371
  /**
@@ -348,10 +380,6 @@ declare class DataApiUsageMetricsService {
348
380
  * Filter data by chain ID.
349
381
  */
350
382
  chainId?: string;
351
- /**
352
- * Filter data by request path.
353
- */
354
- requestPath?: string;
355
383
  /**
356
384
  * Filter data by response status code.
357
385
  */
@@ -364,6 +392,10 @@ declare class DataApiUsageMetricsService {
364
392
  * Filter data by API key ID.
365
393
  */
366
394
  apiKeyId?: string;
395
+ /**
396
+ * Filter data by request path.
397
+ */
398
+ requestPath?: string;
367
399
  }): CancelablePromise<UsageMetricsResponseDTO>;
368
400
  /**
369
401
  * Get logs for requests made by client
@@ -371,7 +403,7 @@ declare class DataApiUsageMetricsService {
371
403
  * @returns LogsResponseDTO Successful response
372
404
  * @throws ApiError
373
405
  */
374
- getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, requestPath, responseCode, requestType, apiKeyId, pageToken, pageSize, }: {
406
+ getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, responseCode, requestType, apiKeyId, requestPath, pageToken, pageSize, }: {
375
407
  /**
376
408
  * Organization ID to fetch usage metrics for
377
409
  */
@@ -381,17 +413,13 @@ declare class DataApiUsageMetricsService {
381
413
  */
382
414
  startTimestamp?: number;
383
415
  /**
384
- * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day. `endTimestamp` must be no earlier than 0:00 UTC of the day after `startTimestamp`.
416
+ * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
385
417
  */
386
418
  endTimestamp?: number;
387
419
  /**
388
420
  * Filter data by chain ID.
389
421
  */
390
422
  chainId?: string;
391
- /**
392
- * Filter data by request path.
393
- */
394
- requestPath?: string;
395
423
  /**
396
424
  * Filter data by response status code.
397
425
  */
@@ -404,6 +432,10 @@ declare class DataApiUsageMetricsService {
404
432
  * Filter data by API key ID.
405
433
  */
406
434
  apiKeyId?: string;
435
+ /**
436
+ * Filter data by request path.
437
+ */
438
+ requestPath?: string;
407
439
  /**
408
440
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
409
441
  */
@@ -415,35 +447,32 @@ declare class DataApiUsageMetricsService {
415
447
  }): CancelablePromise<LogsResponseDTO>;
416
448
  /**
417
449
  * Get usage metrics for the Subnet RPC
418
- * Gets metrics for Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
419
- * @returns RpcUsageMetricsResponseDTO Successful response
450
+ * Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
451
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
420
452
  * @throws ApiError
421
453
  */
422
- getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, requestPath, responseCode, rpcMethod, rlBypassApiToken, }: {
454
+ getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
423
455
  /**
424
- * Query param for setting time interval of data aggregation.
456
+ * Time interval granularity for data aggregation for subnet
457
+ * rpc metrics
425
458
  */
426
- timeInterval?: string;
459
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
427
460
  /**
428
461
  * The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
429
462
  */
430
463
  startTimestamp?: number;
431
464
  /**
432
- * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day. `endTimestamp` must be no earlier than 0:00 UTC of the day after `startTimestamp`.
465
+ * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
433
466
  */
434
467
  endTimestamp?: number;
435
468
  /**
436
469
  * Query param for the criterion used for grouping metrics
437
470
  */
438
- groupBy?: UsageMetricsGroupByEnum;
471
+ groupBy?: RpcUsageMetricsGroupByEnum;
439
472
  /**
440
473
  * Filter data by chain ID.
441
474
  */
442
475
  chainId?: string;
443
- /**
444
- * Filter data by request path.
445
- */
446
- requestPath?: string;
447
476
  /**
448
477
  * Filter data by response status code.
449
478
  */
@@ -456,7 +485,56 @@ declare class DataApiUsageMetricsService {
456
485
  * Filter data by Rl Bypass API Token.
457
486
  */
458
487
  rlBypassApiToken?: string;
459
- }): CancelablePromise<RpcUsageMetricsResponseDTO>;
488
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
489
+ /**
490
+ * Get usage metrics for the Primary Network RPC
491
+ * Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
492
+ * @returns SubnetRpcUsageMetricsResponseDTO Successful response
493
+ * @throws ApiError
494
+ */
495
+ getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, }: {
496
+ /**
497
+ * Either mainnet or testnet/fuji.
498
+ */
499
+ network: Network;
500
+ /**
501
+ * Time interval granularity for data aggregation for subnet
502
+ * rpc metrics
503
+ */
504
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
505
+ /**
506
+ * The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
507
+ */
508
+ startTimestamp?: number;
509
+ /**
510
+ * The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
511
+ */
512
+ endTimestamp?: number;
513
+ /**
514
+ * Query param for the criterion used for grouping metrics
515
+ */
516
+ groupBy?: PrimaryNetworkRpcMetricsGroupByEnum;
517
+ /**
518
+ * Filter data by response status code.
519
+ */
520
+ responseCode?: string;
521
+ /**
522
+ * Filter data by request path.
523
+ */
524
+ requestPath?: string;
525
+ /**
526
+ * Filter data by Country.
527
+ */
528
+ country?: string;
529
+ /**
530
+ * Filter data by Continent.
531
+ */
532
+ continent?: string;
533
+ /**
534
+ * Filter data by User Agent.
535
+ */
536
+ userAgent?: string;
537
+ }): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
460
538
  }
461
539
 
462
540
  declare class DefaultService {
@@ -655,6 +733,10 @@ type ListErc1155BalancesResponse = {
655
733
  * 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.
656
734
  */
657
735
  nextPageToken?: string;
736
+ /**
737
+ * The native token balance for the address.
738
+ */
739
+ nativeTokenBalance: NativeTokenBalance;
658
740
  /**
659
741
  * The list of ERC-1155 token balances for the address.
660
742
  */
@@ -699,11 +781,22 @@ type Erc20TokenBalance = {
699
781
  * The monetary value of the balance, if a price is available for the token.
700
782
  */
701
783
  balanceValue?: Money;
784
+ /**
785
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
786
+ */
787
+ tokenReputation: Erc20TokenBalance.tokenReputation | null;
702
788
  };
703
789
  declare namespace Erc20TokenBalance {
704
790
  enum ercType {
705
791
  ERC_20 = "ERC-20"
706
792
  }
793
+ /**
794
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
795
+ */
796
+ enum tokenReputation {
797
+ MALICIOUS = "Malicious",
798
+ BENIGN = "Benign"
799
+ }
707
800
  }
708
801
 
709
802
  type ListErc20BalancesResponse = {
@@ -711,6 +804,10 @@ type ListErc20BalancesResponse = {
711
804
  * 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.
712
805
  */
713
806
  nextPageToken?: string;
807
+ /**
808
+ * The native token balance for the address.
809
+ */
810
+ nativeTokenBalance: NativeTokenBalance;
714
811
  /**
715
812
  * The list of ERC-20 token balances for the address.
716
813
  */
@@ -722,6 +819,10 @@ type ListErc721BalancesResponse = {
722
819
  * 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.
723
820
  */
724
821
  nextPageToken?: string;
822
+ /**
823
+ * The native token balance for the address.
824
+ */
825
+ nativeTokenBalance: NativeTokenBalance;
725
826
  /**
726
827
  * The list of ERC-721 token balances for the address.
727
828
  */
@@ -900,6 +1001,10 @@ declare class EvmBalancesService {
900
1001
  }
901
1002
 
902
1003
  type GetEvmBlockResponse = {
1004
+ /**
1005
+ * The EVM chain ID on which the block was created.
1006
+ */
1007
+ chainId: string;
903
1008
  /**
904
1009
  * The block number on the chain.
905
1010
  */
@@ -944,6 +1049,10 @@ type GetEvmBlockResponse = {
944
1049
  };
945
1050
 
946
1051
  type EvmBlock = {
1052
+ /**
1053
+ * The EVM chain ID on which the block was created.
1054
+ */
1055
+ chainId: string;
947
1056
  /**
948
1057
  * The block number on the chain.
949
1058
  */
@@ -998,6 +1107,26 @@ type ListEvmBlocksResponse = {
998
1107
  declare class EvmBlocksService {
999
1108
  readonly httpRequest: BaseHttpRequest;
1000
1109
  constructor(httpRequest: BaseHttpRequest);
1110
+ /**
1111
+ * List latest blocks across all supported EVM chains
1112
+ * Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
1113
+ * @returns ListEvmBlocksResponse Successful response
1114
+ * @throws ApiError
1115
+ */
1116
+ listLatestBlocksAllChains({ pageToken, pageSize, network, }: {
1117
+ /**
1118
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1119
+ */
1120
+ pageToken?: string;
1121
+ /**
1122
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1123
+ */
1124
+ pageSize?: number;
1125
+ /**
1126
+ * Either mainnet or testnet/fuji.
1127
+ */
1128
+ network?: Network;
1129
+ }): CancelablePromise<ListEvmBlocksResponse>;
1001
1130
  /**
1002
1131
  * List latest blocks
1003
1132
  * Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
@@ -1120,23 +1249,145 @@ type ChainInfo = {
1120
1249
  enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
1121
1250
  };
1122
1251
 
1252
+ type ListAddressChainsResponse = {
1253
+ indexedChains?: Array<ChainInfo>;
1254
+ unindexedChains?: Array<string>;
1255
+ };
1256
+
1123
1257
  type ListChainsResponse = {
1124
1258
  chains: Array<ChainInfo>;
1125
1259
  };
1126
1260
 
1127
- declare enum Network {
1128
- MAINNET = "mainnet",
1129
- FUJI = "fuji",
1130
- TESTNET = "testnet",
1131
- DEVNET = "devnet"
1261
+ /**
1262
+ * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
1263
+ */
1264
+ declare enum TransactionMethodType {
1265
+ NATIVE_TRANSFER = "NATIVE_TRANSFER",
1266
+ CONTRACT_CALL = "CONTRACT_CALL",
1267
+ CONTRACT_CREATION = "CONTRACT_CREATION"
1268
+ }
1269
+
1270
+ type Method = {
1271
+ callType: TransactionMethodType;
1272
+ /**
1273
+ * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1274
+ */
1275
+ methodHash: string;
1276
+ /**
1277
+ * The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
1278
+ */
1279
+ methodName?: string;
1280
+ };
1281
+
1282
+ type RichAddress = {
1283
+ /**
1284
+ * The contract name.
1285
+ */
1286
+ name?: string;
1287
+ /**
1288
+ * The contract symbol.
1289
+ */
1290
+ symbol?: string;
1291
+ /**
1292
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1293
+ */
1294
+ decimals?: number;
1295
+ /**
1296
+ * The logo uri for the address.
1297
+ */
1298
+ logoUri?: string;
1299
+ /**
1300
+ * A wallet or contract address in mixed-case checksum encoding.
1301
+ */
1302
+ address: string;
1303
+ };
1304
+
1305
+ type NativeTransaction = {
1306
+ /**
1307
+ * The block number on the chain.
1308
+ */
1309
+ blockNumber: string;
1310
+ /**
1311
+ * The block finality timestamp.
1312
+ */
1313
+ blockTimestamp: number;
1314
+ /**
1315
+ * The block hash identifier.
1316
+ */
1317
+ blockHash: string;
1318
+ /**
1319
+ * The EVM chain ID on which the transaction occured.
1320
+ */
1321
+ chainId: string;
1322
+ /**
1323
+ * The index at which the transaction occured in the block (0-indexed).
1324
+ */
1325
+ blockIndex: number;
1326
+ /**
1327
+ * The transaction hash identifier.
1328
+ */
1329
+ txHash: string;
1330
+ /**
1331
+ * The transaction status, which is either 0 (failed) or 1 (successful).
1332
+ */
1333
+ txStatus: string;
1334
+ /**
1335
+ * The transaction type.
1336
+ */
1337
+ txType: number;
1338
+ /**
1339
+ * The gas limit set for the transaction.
1340
+ */
1341
+ gasLimit: string;
1342
+ /**
1343
+ * The amount of gas used.
1344
+ */
1345
+ gasUsed: string;
1346
+ /**
1347
+ * The gas price denominated by the number of decimals of the native token.
1348
+ */
1349
+ gasPrice: string;
1350
+ /**
1351
+ * The nonce used by the sender of the transaction.
1352
+ */
1353
+ nonce: string;
1354
+ from: RichAddress;
1355
+ to: RichAddress;
1356
+ method?: Method;
1357
+ value: string;
1358
+ };
1359
+
1360
+ type ListNativeTransactionsResponse = {
1361
+ /**
1362
+ * 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.
1363
+ */
1364
+ nextPageToken?: string;
1365
+ transactions: Array<NativeTransaction>;
1366
+ };
1367
+
1368
+ declare enum TransactionStatus {
1369
+ FAILED = "failed",
1370
+ SUCCESS = "success"
1132
1371
  }
1133
1372
 
1134
1373
  declare class EvmChainsService {
1135
1374
  readonly httpRequest: BaseHttpRequest;
1136
1375
  constructor(httpRequest: BaseHttpRequest);
1376
+ /**
1377
+ * List all chains associated with a given address
1378
+ * Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.
1379
+ * @returns ListAddressChainsResponse Successful response
1380
+ * @throws ApiError
1381
+ */
1382
+ listAddressChains({ address, }: {
1383
+ /**
1384
+ * A wallet address.
1385
+ */
1386
+ address: string;
1387
+ }): CancelablePromise<ListAddressChainsResponse>;
1137
1388
  /**
1138
1389
  * List chains
1139
- * Lists the supported EVM-compatible chains. Filterable by network.
1390
+ * Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
1140
1391
  * @returns ListChainsResponse Successful response
1141
1392
  * @throws ApiError
1142
1393
  */
@@ -1152,7 +1403,7 @@ declare class EvmChainsService {
1152
1403
  }): CancelablePromise<ListChainsResponse>;
1153
1404
  /**
1154
1405
  * Get chain information
1155
- * Gets chain information for the EVM-compatible chain if supported by the api.
1406
+ * Gets chain information for the EVM-compatible chain if supported by AvaCloud.
1156
1407
  * @returns GetChainResponse Successful response
1157
1408
  * @throws ApiError
1158
1409
  */
@@ -1162,6 +1413,68 @@ declare class EvmChainsService {
1162
1413
  */
1163
1414
  chainId: string;
1164
1415
  }): CancelablePromise<GetChainResponse>;
1416
+ /**
1417
+ * @deprecated
1418
+ * **[Deprecated]** Gets a list of all chains where the address was either a sender or receiver in a transaction or ERC transfer. The list is currently updated every 15 minutes.
1419
+ *
1420
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/address/:address/chains endpoint instead** .
1421
+ * @returns ListAddressChainsResponse Successful response
1422
+ * @throws ApiError
1423
+ */
1424
+ getAddressChains({ address, }: {
1425
+ /**
1426
+ * A wallet address.
1427
+ */
1428
+ address: string;
1429
+ }): CancelablePromise<ListAddressChainsResponse>;
1430
+ /**
1431
+ * @deprecated
1432
+ * **[Deprecated]** Lists the latest transactions for all supported EVM chains. Filterable by status.
1433
+ *
1434
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/transactions endpoint instead** .
1435
+ * @returns ListNativeTransactionsResponse Successful response
1436
+ * @throws ApiError
1437
+ */
1438
+ listAllLatestTransactions({ pageToken, pageSize, network, status, }: {
1439
+ /**
1440
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1441
+ */
1442
+ pageToken?: string;
1443
+ /**
1444
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1445
+ */
1446
+ pageSize?: number;
1447
+ /**
1448
+ * Either mainnet or testnet/fuji.
1449
+ */
1450
+ network?: Network;
1451
+ /**
1452
+ * A status filter for listed transactions.
1453
+ */
1454
+ status?: TransactionStatus;
1455
+ }): CancelablePromise<ListNativeTransactionsResponse>;
1456
+ /**
1457
+ * @deprecated
1458
+ * **[Deprecated]** Lists the latest blocks for all supported EVM chains. Filterable by network.
1459
+ *
1460
+ * ⚠️ **This operation will be removed in a future release. Please use /v1/blocks endpoint instead** .
1461
+ * @returns ListEvmBlocksResponse Successful response
1462
+ * @throws ApiError
1463
+ */
1464
+ listAllLatestBlocks({ pageToken, pageSize, network, }: {
1465
+ /**
1466
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1467
+ */
1468
+ pageToken?: string;
1469
+ /**
1470
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1471
+ */
1472
+ pageSize?: number;
1473
+ /**
1474
+ * Either mainnet or testnet/fuji.
1475
+ */
1476
+ network?: Network;
1477
+ }): CancelablePromise<ListEvmBlocksResponse>;
1165
1478
  }
1166
1479
 
1167
1480
  type ImageAsset = {
@@ -1496,29 +1809,6 @@ declare namespace Erc1155Token {
1496
1809
  }
1497
1810
  }
1498
1811
 
1499
- type RichAddress = {
1500
- /**
1501
- * The contract name.
1502
- */
1503
- name?: string;
1504
- /**
1505
- * The contract symbol.
1506
- */
1507
- symbol?: string;
1508
- /**
1509
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1510
- */
1511
- decimals?: number;
1512
- /**
1513
- * The logo uri for the address.
1514
- */
1515
- logoUri?: string;
1516
- /**
1517
- * A wallet or contract address in mixed-case checksum encoding.
1518
- */
1519
- address: string;
1520
- };
1521
-
1522
1812
  type Erc1155TransferDetails = {
1523
1813
  from: RichAddress;
1524
1814
  to: RichAddress;
@@ -1603,27 +1893,6 @@ type Erc721TransferDetails = {
1603
1893
  erc721Token: Erc721Token;
1604
1894
  };
1605
1895
 
1606
- /**
1607
- * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
1608
- */
1609
- declare enum TransactionMethodType {
1610
- NATIVE_TRANSFER = "NATIVE_TRANSFER",
1611
- CONTRACT_CALL = "CONTRACT_CALL",
1612
- CONTRACT_CREATION = "CONTRACT_CREATION"
1613
- }
1614
-
1615
- type Method = {
1616
- callType: TransactionMethodType;
1617
- /**
1618
- * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1619
- */
1620
- methodHash: string;
1621
- /**
1622
- * The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
1623
- */
1624
- methodName?: string;
1625
- };
1626
-
1627
1896
  type FullNativeTransactionDetails = {
1628
1897
  /**
1629
1898
  * The block number on the chain.
@@ -1637,6 +1906,10 @@ type FullNativeTransactionDetails = {
1637
1906
  * The block hash identifier.
1638
1907
  */
1639
1908
  blockHash: string;
1909
+ /**
1910
+ * The EVM chain ID on which the transaction occured.
1911
+ */
1912
+ chainId: string;
1640
1913
  /**
1641
1914
  * The index at which the transaction occured in the block (0-indexed).
1642
1915
  */
@@ -1875,88 +2148,29 @@ type InternalTransaction = {
1875
2148
  /**
1876
2149
  * The block hash identifier.
1877
2150
  */
1878
- blockHash: string;
1879
- /**
1880
- * The transaction hash identifier.
1881
- */
1882
- txHash: string;
1883
- from: RichAddress;
1884
- to: RichAddress;
1885
- internalTxType: InternalTransactionOpCall;
1886
- value: string;
1887
- /**
1888
- * True if the internal transaction was reverted.
1889
- */
1890
- isReverted: boolean;
1891
- gasUsed: string;
1892
- gasLimit: string;
1893
- };
1894
-
1895
- type ListInternalTransactionsResponse = {
1896
- /**
1897
- * 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.
1898
- */
1899
- nextPageToken?: string;
1900
- transactions: Array<InternalTransaction>;
1901
- };
1902
-
1903
- type NativeTransaction = {
1904
- /**
1905
- * The block number on the chain.
1906
- */
1907
- blockNumber: string;
1908
- /**
1909
- * The block finality timestamp.
1910
- */
1911
- blockTimestamp: number;
1912
- /**
1913
- * The block hash identifier.
1914
- */
1915
- blockHash: string;
1916
- /**
1917
- * The index at which the transaction occured in the block (0-indexed).
1918
- */
1919
- blockIndex: number;
1920
- /**
1921
- * The transaction hash identifier.
1922
- */
1923
- txHash: string;
1924
- /**
1925
- * The transaction status, which is either 0 (failed) or 1 (successful).
1926
- */
1927
- txStatus: string;
1928
- /**
1929
- * The transaction type.
1930
- */
1931
- txType: number;
1932
- /**
1933
- * The gas limit set for the transaction.
1934
- */
1935
- gasLimit: string;
1936
- /**
1937
- * The amount of gas used.
1938
- */
1939
- gasUsed: string;
1940
- /**
1941
- * The gas price denominated by the number of decimals of the native token.
1942
- */
1943
- gasPrice: string;
2151
+ blockHash: string;
1944
2152
  /**
1945
- * The nonce used by the sender of the transaction.
2153
+ * The transaction hash identifier.
1946
2154
  */
1947
- nonce: string;
2155
+ txHash: string;
1948
2156
  from: RichAddress;
1949
2157
  to: RichAddress;
1950
- method?: Method;
2158
+ internalTxType: InternalTransactionOpCall;
1951
2159
  value: string;
2160
+ /**
2161
+ * True if the internal transaction was reverted.
2162
+ */
2163
+ isReverted: boolean;
2164
+ gasUsed: string;
2165
+ gasLimit: string;
1952
2166
  };
1953
2167
 
1954
- type ListNativeTransactionsResponse = {
2168
+ type ListInternalTransactionsResponse = {
1955
2169
  /**
1956
2170
  * 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.
1957
2171
  */
1958
2172
  nextPageToken?: string;
1959
- transactions: Array<NativeTransaction>;
2173
+ transactions: Array<InternalTransaction>;
1960
2174
  };
1961
2175
 
1962
2176
  type TransactionDetails = {
@@ -2003,14 +2217,33 @@ declare enum SortOrder {
2003
2217
  DESC = "desc"
2004
2218
  }
2005
2219
 
2006
- declare enum TransactionStatus {
2007
- FAILED = "failed",
2008
- SUCCESS = "success"
2009
- }
2010
-
2011
2220
  declare class EvmTransactionsService {
2012
2221
  readonly httpRequest: BaseHttpRequest;
2013
2222
  constructor(httpRequest: BaseHttpRequest);
2223
+ /**
2224
+ * List the latest transactions across all supported EVM chains
2225
+ * Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
2226
+ * @returns ListNativeTransactionsResponse Successful response
2227
+ * @throws ApiError
2228
+ */
2229
+ listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
2230
+ /**
2231
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2232
+ */
2233
+ pageToken?: string;
2234
+ /**
2235
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2236
+ */
2237
+ pageSize?: number;
2238
+ /**
2239
+ * Either mainnet or testnet/fuji.
2240
+ */
2241
+ network?: Network;
2242
+ /**
2243
+ * A status filter for listed transactions.
2244
+ */
2245
+ status?: TransactionStatus;
2246
+ }): CancelablePromise<ListNativeTransactionsResponse>;
2014
2247
  /**
2015
2248
  * Get deployment transaction
2016
2249
  * If the address is a smart contract, returns the transaction in which it was deployed.
@@ -2309,7 +2542,7 @@ declare class EvmTransactionsService {
2309
2542
  * @returns ListNativeTransactionsResponse Successful response
2310
2543
  * @throws ApiError
2311
2544
  */
2312
- getTransactionsForBlock({ chainId, blockId, }: {
2545
+ getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
2313
2546
  /**
2314
2547
  * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2315
2548
  */
@@ -2318,6 +2551,14 @@ declare class EvmTransactionsService {
2318
2551
  * A block identifier which is either a block number or the block hash.
2319
2552
  */
2320
2553
  blockId: string;
2554
+ /**
2555
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2556
+ */
2557
+ pageToken?: string;
2558
+ /**
2559
+ * The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
2560
+ */
2561
+ pageSize?: number;
2321
2562
  }): CancelablePromise<ListNativeTransactionsResponse>;
2322
2563
  /**
2323
2564
  * List latest transactions
@@ -2590,16 +2831,31 @@ type DelegatorsDetails = {
2590
2831
  };
2591
2832
 
2592
2833
  type StakingDistribution = {
2834
+ /**
2835
+ * AvalancheGo version for the validator node.
2836
+ */
2593
2837
  version: string;
2838
+ /**
2839
+ * The total amount staked by validators using this version.
2840
+ */
2594
2841
  amountStaked: string;
2842
+ /**
2843
+ * The number of validators using this version.
2844
+ */
2595
2845
  validatorCount: number;
2596
2846
  };
2597
2847
 
2598
2848
  type ValidatorsDetails = {
2599
2849
  validatorCount: number;
2600
2850
  totalAmountStaked: string;
2851
+ /**
2852
+ * Total potential rewards from currently active validations and delegations.
2853
+ */
2601
2854
  estimatedAnnualStakingReward: string;
2602
2855
  stakingDistributionByVersion: Array<StakingDistribution>;
2856
+ /**
2857
+ * Ratio of total active stake amount to the current supply.
2858
+ */
2603
2859
  stakingRatio: string;
2604
2860
  };
2605
2861
 
@@ -2651,7 +2907,13 @@ type CompletedDelegatorDetails = {
2651
2907
  delegationFee: string;
2652
2908
  startTimestamp: number;
2653
2909
  endTimestamp: number;
2910
+ /**
2911
+ * Total rewards distributed for the successful delegation.
2912
+ */
2654
2913
  grossReward: string;
2914
+ /**
2915
+ * Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
2916
+ */
2655
2917
  netReward: string;
2656
2918
  delegationStatus: CompletedDelegatorDetails.delegationStatus;
2657
2919
  };
@@ -2669,7 +2931,13 @@ type PendingDelegatorDetails = {
2669
2931
  delegationFee: string;
2670
2932
  startTimestamp: number;
2671
2933
  endTimestamp: number;
2934
+ /**
2935
+ * Estimated total rewards that will be distributed for the successful delegation.
2936
+ */
2672
2937
  estimatedGrossReward: string;
2938
+ /**
2939
+ * Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
2940
+ */
2673
2941
  estimatedNetReward: string;
2674
2942
  delegationStatus: PendingDelegatorDetails.delegationStatus;
2675
2943
  };
@@ -2690,10 +2958,61 @@ type ListDelegatorDetailsResponse = {
2690
2958
  delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
2691
2959
  };
2692
2960
 
2961
+ type BalanceOwner = {
2962
+ addresses: Array<string>;
2963
+ threshold: number;
2964
+ };
2965
+
2966
+ type L1ValidatorDetailsFull = {
2967
+ /**
2968
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
2969
+ */
2970
+ validationId: string;
2971
+ nodeId: string;
2972
+ subnetId: string;
2973
+ /**
2974
+ * Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
2975
+ */
2976
+ weight: number;
2977
+ /**
2978
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
2979
+ */
2980
+ remainingBalance: number;
2981
+ /**
2982
+ * The timestamp of the transaction which created this L1 validator
2983
+ */
2984
+ creationTimestamp: number;
2985
+ blsCredentials: Record<string, any>;
2986
+ /**
2987
+ * The L1 validator owner's balance, returned after it's disabled or removed
2988
+ */
2989
+ remainingBalanceOwner: BalanceOwner;
2990
+ /**
2991
+ * Owner ddresses details which can disable or remove the L1 validator
2992
+ */
2993
+ deactivationOwner: BalanceOwner;
2994
+ };
2995
+
2996
+ type ListL1ValidatorsResponse = {
2997
+ /**
2998
+ * 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.
2999
+ */
3000
+ nextPageToken?: string;
3001
+ /**
3002
+ * The list of L1 validations for the given Subnet ID, NodeId or validationId
3003
+ */
3004
+ validators: Array<L1ValidatorDetailsFull>;
3005
+ };
3006
+
2693
3007
  type BlockchainInfo = {
2694
3008
  blockchainId: string;
2695
3009
  };
2696
3010
 
3011
+ type L1ValidatorManagerDetails = {
3012
+ blockchainId: string;
3013
+ contractAddress: string;
3014
+ };
3015
+
2697
3016
  type SubnetOwnershipInfo = {
2698
3017
  /**
2699
3018
  * Locktime in seconds after which Subnet owners can control this Subnet.
@@ -2732,6 +3051,18 @@ type Subnet = {
2732
3051
  * Latest subnet owner details for this Subnet.
2733
3052
  */
2734
3053
  subnetOwnershipInfo: SubnetOwnershipInfo;
3054
+ /**
3055
+ * Whether the subnet is an L1 or not.
3056
+ */
3057
+ isL1: boolean;
3058
+ /**
3059
+ * Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
3060
+ */
3061
+ l1ConversionTransactionHash?: string;
3062
+ /**
3063
+ * L1 validator manager details.
3064
+ */
3065
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
2735
3066
  blockchains: Array<BlockchainInfo>;
2736
3067
  };
2737
3068
 
@@ -2779,6 +3110,9 @@ type ActiveValidatorDetails = {
2779
3110
  nodeId: string;
2780
3111
  subnetId: string;
2781
3112
  amountStaked: string;
3113
+ /**
3114
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3115
+ */
2782
3116
  delegationFee?: string;
2783
3117
  startTimestamp: number;
2784
3118
  endTimestamp: number;
@@ -2786,12 +3120,30 @@ type ActiveValidatorDetails = {
2786
3120
  * Present for AddPermissionlessValidatorTx
2787
3121
  */
2788
3122
  blsCredentials?: BlsCredentials;
3123
+ /**
3124
+ * The percentage of this validator's stake amount to the total active stake.
3125
+ */
2789
3126
  stakePercentage: number;
3127
+ /**
3128
+ * The number of delegators linked to the validator.
3129
+ */
2790
3130
  delegatorCount: number;
3131
+ /**
3132
+ * The total amount in nAVAX delegated to the validator.
3133
+ */
2791
3134
  amountDelegated?: string;
3135
+ /**
3136
+ * The validator's uptime percentage, as observed by our internal node and measured over time.
3137
+ */
2792
3138
  uptimePerformance: number;
2793
3139
  avalancheGoVersion?: string;
3140
+ /**
3141
+ * The amount of stake in nAVAX that can be delegated to this validator.
3142
+ */
2794
3143
  delegationCapacity?: string;
3144
+ /**
3145
+ * Estimated rewards for the validator if the validation is successful.
3146
+ */
2795
3147
  potentialRewards: Rewards;
2796
3148
  validationStatus: ActiveValidatorDetails.validationStatus;
2797
3149
  validatorHealth: ValidatorHealthDetails;
@@ -2807,6 +3159,9 @@ type CompletedValidatorDetails = {
2807
3159
  nodeId: string;
2808
3160
  subnetId: string;
2809
3161
  amountStaked: string;
3162
+ /**
3163
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3164
+ */
2810
3165
  delegationFee?: string;
2811
3166
  startTimestamp: number;
2812
3167
  endTimestamp: number;
@@ -2830,6 +3185,9 @@ type PendingValidatorDetails = {
2830
3185
  nodeId: string;
2831
3186
  subnetId: string;
2832
3187
  amountStaked: string;
3188
+ /**
3189
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3190
+ */
2833
3191
  delegationFee?: string;
2834
3192
  startTimestamp: number;
2835
3193
  endTimestamp: number;
@@ -2850,6 +3208,9 @@ type RemovedValidatorDetails = {
2850
3208
  nodeId: string;
2851
3209
  subnetId: string;
2852
3210
  amountStaked: string;
3211
+ /**
3212
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
3213
+ */
2853
3214
  delegationFee?: string;
2854
3215
  startTimestamp: number;
2855
3216
  endTimestamp: number;
@@ -2857,7 +3218,13 @@ type RemovedValidatorDetails = {
2857
3218
  * Present for AddPermissionlessValidatorTx
2858
3219
  */
2859
3220
  blsCredentials?: BlsCredentials;
3221
+ /**
3222
+ * The transaction hash that removed the permissioned subnet validator.
3223
+ */
2860
3224
  removeTxHash: string;
3225
+ /**
3226
+ * The timestamp of the transaction that removed the permissioned subnet validator.
3227
+ */
2861
3228
  removeTimestamp: number;
2862
3229
  validationStatus: RemovedValidatorDetails.validationStatus;
2863
3230
  };
@@ -3198,6 +3565,39 @@ declare class PrimaryNetworkService {
3198
3565
  */
3199
3566
  nodeIds?: string;
3200
3567
  }): CancelablePromise<ListDelegatorDetailsResponse>;
3568
+ /**
3569
+ * List L1 validators
3570
+ * Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.
3571
+ * @returns ListL1ValidatorsResponse Successful response
3572
+ * @throws ApiError
3573
+ */
3574
+ listL1Validators({ network, pageToken, pageSize, l1ValidationId, includeInactiveL1Validators, nodeId, subnetId, }: {
3575
+ /**
3576
+ * Either mainnet or testnet/fuji.
3577
+ */
3578
+ network: Network;
3579
+ /**
3580
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3581
+ */
3582
+ pageToken?: string;
3583
+ /**
3584
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3585
+ */
3586
+ pageSize?: number;
3587
+ /**
3588
+ * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3589
+ */
3590
+ l1ValidationId?: any;
3591
+ includeInactiveL1Validators?: boolean;
3592
+ /**
3593
+ * A valid node ID in format 'NodeID-HASH'.
3594
+ */
3595
+ nodeId?: string;
3596
+ /**
3597
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
3598
+ */
3599
+ subnetId?: any;
3600
+ }): CancelablePromise<ListL1ValidatorsResponse>;
3201
3601
  }
3202
3602
 
3203
3603
  declare enum BlockchainId {
@@ -3244,12 +3644,6 @@ type CChainAtomicBalances = {
3244
3644
  atomicMemoryLocked: Array<CChainSharedAssetBalance>;
3245
3645
  };
3246
3646
 
3247
- declare enum PrimaryNetwork {
3248
- MAINNET = "mainnet",
3249
- FUJI = "fuji",
3250
- DEVNET = "devnet"
3251
- }
3252
-
3253
3647
  declare enum PrimaryNetworkChainName {
3254
3648
  P_CHAIN = "p-chain",
3255
3649
  X_CHAIN = "x-chain",
@@ -3258,7 +3652,7 @@ declare enum PrimaryNetworkChainName {
3258
3652
 
3259
3653
  type PrimaryNetworkChainInfo = {
3260
3654
  chainName: PrimaryNetworkChainName;
3261
- network: PrimaryNetwork;
3655
+ network: Network;
3262
3656
  };
3263
3657
 
3264
3658
  type ListCChainAtomicBalancesResponse = {
@@ -3450,6 +3844,8 @@ type GetPrimaryNetworkBlockResponse = {
3450
3844
  txCount: number;
3451
3845
  transactions: Array<string>;
3452
3846
  blockSizeBytes: number;
3847
+ l1ValidatorsAccruedFees?: number;
3848
+ activeL1Validators?: number;
3453
3849
  currentSupply?: string;
3454
3850
  proposerDetails?: ProposerDetails;
3455
3851
  };
@@ -3463,6 +3859,8 @@ type PrimaryNetworkBlock = {
3463
3859
  txCount: number;
3464
3860
  transactions: Array<string>;
3465
3861
  blockSizeBytes: number;
3862
+ l1ValidatorsAccruedFees?: number;
3863
+ activeL1Validators?: number;
3466
3864
  currentSupply?: string;
3467
3865
  proposerDetails?: ProposerDetails;
3468
3866
  };
@@ -3505,7 +3903,7 @@ declare class PrimaryNetworkBlocksService {
3505
3903
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3506
3904
  * @throws ApiError
3507
3905
  */
3508
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
3906
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3509
3907
  /**
3510
3908
  * A primary network blockchain id or alias.
3511
3909
  */
@@ -3518,6 +3916,14 @@ declare class PrimaryNetworkBlocksService {
3518
3916
  * A primary network (P or X chain) nodeId.
3519
3917
  */
3520
3918
  nodeId: string;
3919
+ /**
3920
+ * Query param for retrieving items after a specific timestamp.
3921
+ */
3922
+ startTimestamp?: number;
3923
+ /**
3924
+ * Query param for retrieving items before a specific timestamp.
3925
+ */
3926
+ endTimestamp?: number;
3521
3927
  /**
3522
3928
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3523
3929
  */
@@ -3533,7 +3939,7 @@ declare class PrimaryNetworkBlocksService {
3533
3939
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3534
3940
  * @throws ApiError
3535
3941
  */
3536
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
3942
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3537
3943
  /**
3538
3944
  * A primary network blockchain id or alias.
3539
3945
  */
@@ -3542,6 +3948,14 @@ declare class PrimaryNetworkBlocksService {
3542
3948
  * Either mainnet or testnet/fuji.
3543
3949
  */
3544
3950
  network: Network;
3951
+ /**
3952
+ * Query param for retrieving items after a specific timestamp.
3953
+ */
3954
+ startTimestamp?: number;
3955
+ /**
3956
+ * Query param for retrieving items before a specific timestamp.
3957
+ */
3958
+ endTimestamp?: number;
3545
3959
  /**
3546
3960
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3547
3961
  */
@@ -3951,6 +4365,28 @@ type ListCChainAtomicTransactionsResponse = {
3951
4365
  chainInfo: PrimaryNetworkChainInfo;
3952
4366
  };
3953
4367
 
4368
+ type L1ValidatorDetailsTransaction = {
4369
+ /**
4370
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4371
+ */
4372
+ validationId: string;
4373
+ nodeId: string;
4374
+ subnetId: string;
4375
+ /**
4376
+ * Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
4377
+ */
4378
+ weight: number;
4379
+ /**
4380
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
4381
+ */
4382
+ remainingBalance: number;
4383
+ /**
4384
+ * The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4385
+ */
4386
+ balanceChange?: number;
4387
+ blsCredentials?: Record<string, any>;
4388
+ };
4389
+
3954
4390
  declare enum PChainTransactionType {
3955
4391
  ADD_VALIDATOR_TX = "AddValidatorTx",
3956
4392
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
@@ -3967,9 +4403,17 @@ declare enum PChainTransactionType {
3967
4403
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3968
4404
  BASE_TX = "BaseTx",
3969
4405
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
4406
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
4407
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
4408
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
4409
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
4410
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
3970
4411
  UNKNOWN = "UNKNOWN"
3971
4412
  }
3972
4413
 
4414
+ /**
4415
+ * Indicates whether the UTXO is staked or transferable
4416
+ */
3973
4417
  declare enum UtxoType {
3974
4418
  STAKE = "STAKE",
3975
4419
  TRANSFER = "TRANSFER"
@@ -4007,16 +4451,43 @@ type PChainUtxo = {
4007
4451
  assetId: string;
4008
4452
  blockNumber: string;
4009
4453
  blockTimestamp: number;
4454
+ /**
4455
+ * Block height in which the transaction consuming this UTXO was included
4456
+ */
4010
4457
  consumingBlockNumber?: string;
4458
+ /**
4459
+ * Timestamp in seconds at which this UTXO is used in a consuming transaction
4460
+ */
4011
4461
  consumingBlockTimestamp?: number;
4462
+ /**
4463
+ * Timestamp in seconds after which this UTXO can be consumed
4464
+ */
4012
4465
  platformLocktime?: number;
4466
+ /**
4467
+ * The index of the UTXO in the transaction
4468
+ */
4013
4469
  outputIndex: number;
4014
4470
  rewardType?: RewardType;
4471
+ /**
4472
+ * Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
4473
+ */
4015
4474
  stakeableLocktime?: number;
4016
4475
  staked?: boolean;
4476
+ /**
4477
+ * The minimum number of signatures required to spend this UTXO
4478
+ */
4017
4479
  threshold?: number;
4480
+ /**
4481
+ * The hash of the transaction that created this UTXO
4482
+ */
4018
4483
  txHash: string;
4484
+ /**
4485
+ * Timestamp in seconds after which the staked UTXO will be unlocked.
4486
+ */
4019
4487
  utxoEndTimestamp?: number;
4488
+ /**
4489
+ * Timestamp in seconds at which the staked UTXO was locked.
4490
+ */
4020
4491
  utxoStartTimestamp?: number;
4021
4492
  utxoType: UtxoType;
4022
4493
  };
@@ -4031,9 +4502,18 @@ type PChainTransaction = {
4031
4502
  * The block finality timestamp.
4032
4503
  */
4033
4504
  blockTimestamp: number;
4505
+ /**
4506
+ * The height of the block in which the transaction was included
4507
+ */
4034
4508
  blockNumber: string;
4035
4509
  blockHash: string;
4510
+ /**
4511
+ * The consumed UTXOs of the transaction
4512
+ */
4036
4513
  consumedUtxos: Array<PChainUtxo>;
4514
+ /**
4515
+ * The newly created UTXOs of the transaction
4516
+ */
4037
4517
  emittedUtxos: Array<PChainUtxo>;
4038
4518
  /**
4039
4519
  * Source chain for an atomic transaction.
@@ -4044,17 +4524,21 @@ type PChainTransaction = {
4044
4524
  */
4045
4525
  destinationChain?: string;
4046
4526
  /**
4047
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
4527
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction
4048
4528
  */
4049
4529
  value: Array<AssetAmount>;
4050
4530
  /**
4051
- * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
4531
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee
4052
4532
  */
4053
4533
  amountBurned: Array<AssetAmount>;
4054
4534
  /**
4055
4535
  * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4056
4536
  */
4057
4537
  amountStaked: Array<AssetAmount>;
4538
+ /**
4539
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.
4540
+ */
4541
+ amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4058
4542
  /**
4059
4543
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4060
4544
  */
@@ -4064,11 +4548,11 @@ type PChainTransaction = {
4064
4548
  */
4065
4549
  endTimestamp?: number;
4066
4550
  /**
4067
- * Present for AddValidatorTx, AddPermissionlessValidatorTx
4551
+ * The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
4068
4552
  */
4069
4553
  delegationFeePercent?: string;
4070
4554
  /**
4071
- * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4555
+ * The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4072
4556
  */
4073
4557
  nodeId?: string;
4074
4558
  /**
@@ -4076,14 +4560,25 @@ type PChainTransaction = {
4076
4560
  */
4077
4561
  subnetId?: string;
4078
4562
  /**
4079
- * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4563
+ * Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1
4564
+ */
4565
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
4566
+ /**
4567
+ * Details of L1 validators registered or changed in the current transaction. The details reflect the state at the time of the transaction, not in real-time
4568
+ */
4569
+ l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
4570
+ /**
4571
+ * Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4080
4572
  */
4081
4573
  estimatedReward?: string;
4574
+ /**
4575
+ * Reward transaction hash for the completed validations or delegations
4576
+ */
4082
4577
  rewardTxHash?: string;
4083
4578
  rewardAddresses?: Array<string>;
4084
4579
  memo?: string;
4085
4580
  /**
4086
- * Present for RewardValidatorTx
4581
+ * Staking transaction corresponding to the RewardValidatorTx
4087
4582
  */
4088
4583
  stakingTxHash?: string;
4089
4584
  /**
@@ -4091,7 +4586,7 @@ type PChainTransaction = {
4091
4586
  */
4092
4587
  subnetOwnershipInfo?: SubnetOwnershipInfo;
4093
4588
  /**
4094
- * Present for AddPermissionlessValidatorTx
4589
+ * Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
4095
4590
  */
4096
4591
  blsCredentials?: BlsCredentials;
4097
4592
  };
@@ -4276,6 +4771,11 @@ declare enum PrimaryNetworkTxType {
4276
4771
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
4277
4772
  BASE_TX = "BaseTx",
4278
4773
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
4774
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
4775
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
4776
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
4777
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
4778
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
4279
4779
  UNKNOWN = "UNKNOWN",
4280
4780
  CREATE_ASSET_TX = "CreateAssetTx",
4281
4781
  OPERATION_TX = "OperationTx"
@@ -4310,11 +4810,13 @@ declare class PrimaryNetworkTransactionsService {
4310
4810
  *
4311
4811
  * 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.
4312
4812
  *
4813
+ * 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.
4814
+ *
4313
4815
  * 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.
4314
4816
  * @returns any Successful response
4315
4817
  * @throws ApiError
4316
4818
  */
4317
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4819
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4318
4820
  /**
4319
4821
  * A primary network blockchain id or alias.
4320
4822
  */
@@ -4327,6 +4829,7 @@ declare class PrimaryNetworkTransactionsService {
4327
4829
  * 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.
4328
4830
  */
4329
4831
  addresses?: string;
4832
+ l1ValidationId?: string;
4330
4833
  /**
4331
4834
  * Query param for filtering items based on transaction types.
4332
4835
  */
@@ -4602,61 +5105,12 @@ declare class PrimaryNetworkVerticesService {
4602
5105
  }): CancelablePromise<ListXChainVerticesResponse>;
4603
5106
  }
4604
5107
 
4605
- type RpcErrorDto = {
4606
- code: number;
4607
- message: string;
4608
- data?: Record<string, any>;
4609
- };
4610
-
4611
- type RpcErrorResponseDto = {
4612
- jsonrpc: string;
4613
- id?: (string | number);
4614
- error: RpcErrorDto;
4615
- };
4616
-
4617
- type RpcRequestBodyDto = {
4618
- method: string;
4619
- params?: Record<string, any>;
4620
- id?: (string | number);
4621
- jsonrpc?: string;
4622
- };
4623
-
4624
- type RpcSuccessResponseDto = {
4625
- jsonrpc: string;
4626
- id?: (string | number);
4627
- result: Record<string, any>;
4628
- };
4629
-
4630
- declare class RpcService {
4631
- readonly httpRequest: BaseHttpRequest;
4632
- constructor(httpRequest: BaseHttpRequest);
4633
- /**
4634
- * Calls JSON-RPC method
4635
- * Calls JSON-RPC method.
4636
- * @returns any Successful response
4637
- * @throws ApiError
4638
- */
4639
- rpc({ chainId, requestBody, }: {
4640
- /**
4641
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
4642
- */
4643
- chainId: string;
4644
- requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
4645
- }): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
4646
- }
4647
-
4648
5108
  type SignatureAggregationResponse = {
4649
5109
  signedMessage: string;
4650
5110
  };
4651
5111
 
4652
5112
  type SignatureAggregatorRequest = {
4653
- /**
4654
- * Must be defined if justification is not defined
4655
- */
4656
- message?: string;
4657
- /**
4658
- * Must be defined if message is not defined
4659
- */
5113
+ message: string;
4660
5114
  justification?: string;
4661
5115
  signingSubnetId?: string;
4662
5116
  quorumPercentage?: number;
@@ -4671,7 +5125,11 @@ declare class SignatureAggregatorService {
4671
5125
  * @returns SignatureAggregationResponse Successful response
4672
5126
  * @throws ApiError
4673
5127
  */
4674
- aggregateSignatures({ requestBody, }: {
5128
+ aggregateSignatures({ network, requestBody, }: {
5129
+ /**
5130
+ * Either mainnet or testnet/fuji.
5131
+ */
5132
+ network: Network;
4675
5133
  requestBody: SignatureAggregatorRequest;
4676
5134
  }): CancelablePromise<SignatureAggregationResponse>;
4677
5135
  }
@@ -4921,7 +5379,7 @@ type CreateWebhookRequest = {
4921
5379
  name?: string;
4922
5380
  description?: string;
4923
5381
  /**
4924
- * Whether to include traces in the webhook payload.
5382
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
4925
5383
  */
4926
5384
  includeInternalTxs?: boolean;
4927
5385
  /**
@@ -4981,6 +5439,9 @@ type UpdateWebhookRequest = {
4981
5439
  description?: string;
4982
5440
  url?: string;
4983
5441
  status?: WebhookStatusType;
5442
+ /**
5443
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5444
+ */
4984
5445
  includeInternalTxs?: boolean;
4985
5446
  includeLogs?: boolean;
4986
5447
  };
@@ -5140,7 +5601,6 @@ declare class Glacier {
5140
5601
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
5141
5602
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
5142
5603
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
5143
- readonly rpc: RpcService;
5144
5604
  readonly signatureAggregator: SignatureAggregatorService;
5145
5605
  readonly teleporter: TeleporterService;
5146
5606
  readonly webhooks: WebhooksService;
@@ -5296,4 +5756,4 @@ type Unauthorized = {
5296
5756
  error: string;
5297
5757
  };
5298
5758
 
5299
- 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, 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, RpcMetrics, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, RpcUsageMetricsResponseDTO, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, 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 };
5759
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, 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, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, 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, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, 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 };