@avalabs/glacier-sdk 3.1.0-canary.ddda6be.0 → 3.1.0-canary.e4000e6.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 (53) hide show
  1. package/dist/index.d.ts +400 -190
  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/BalanceOwner.d.ts +6 -0
  6. package/esm/generated/models/CreateWebhookRequest.d.ts +1 -1
  7. package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
  8. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  9. package/esm/generated/models/EvmBlock.d.ts +4 -0
  10. package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
  11. package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
  12. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
  13. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +33 -0
  14. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +23 -0
  15. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  16. package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
  17. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +14 -0
  18. package/esm/generated/models/NativeTransaction.d.ts +4 -0
  19. package/esm/generated/models/PChainTransaction.d.ts +14 -0
  20. package/esm/generated/models/PChainTransactionType.d.ts +5 -0
  21. package/esm/generated/models/PChainTransactionType.js +1 -1
  22. package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -0
  23. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
  24. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  25. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  26. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  27. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
  28. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -7
  29. package/esm/generated/models/Subnet.d.ts +9 -0
  30. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  31. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  32. package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
  33. package/esm/generated/services/DataApiUsageMetricsService.d.ts +21 -22
  34. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  35. package/esm/generated/services/EvmChainsService.d.ts +51 -3
  36. package/esm/generated/services/EvmChainsService.js +1 -1
  37. package/esm/generated/services/EvmTransactionsService.d.ts +9 -1
  38. package/esm/generated/services/EvmTransactionsService.js +1 -1
  39. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +18 -2
  40. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  41. package/esm/generated/services/PrimaryNetworkService.d.ts +34 -0
  42. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  43. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +4 -1
  44. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  45. package/esm/index.d.ts +8 -5
  46. package/esm/index.js +1 -1
  47. package/package.json +2 -2
  48. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  49. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  50. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  51. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  52. package/esm/generated/services/RpcService.d.ts +0 -25
  53. package/esm/generated/services/RpcService.js +0 -1
package/dist/index.d.ts CHANGED
@@ -148,6 +148,12 @@ type LogsResponseDTO = {
148
148
  logs: Array<LogsFormat>;
149
149
  };
150
150
 
151
+ declare enum RpcUsageMetricsGroupByEnum {
152
+ RPC_METHOD = "rpcMethod",
153
+ RESPONSE_CODE = "responseCode",
154
+ RL_BYPASS_TOKEN = "rlBypassToken"
155
+ }
156
+
151
157
  type RpcUsageMetricsValueAggregated = {
152
158
  /**
153
159
  * The total number of requests
@@ -173,6 +179,10 @@ type RpcUsageMetricsValueAggregated = {
173
179
  * The number of invalid requests
174
180
  */
175
181
  invalidRequests: number;
182
+ /**
183
+ * The number of API credits wasted on invalid requests
184
+ */
185
+ apiCreditsWasted: number;
176
186
  /**
177
187
  * Column name used for data aggregation
178
188
  */
@@ -220,6 +230,13 @@ type RpcUsageMetricsResponseDTO = {
220
230
  metrics: Array<RpcMetrics>;
221
231
  };
222
232
 
233
+ declare enum SubnetRpcTimeIntervalGranularity {
234
+ HOURLY = "hourly",
235
+ DAILY = "daily",
236
+ WEEKLY = "weekly",
237
+ MONTHLY = "monthly"
238
+ }
239
+
223
240
  declare enum TimeIntervalGranularityExtended {
224
241
  MINUTE = "minute",
225
242
  HOURLY = "hourly",
@@ -323,7 +340,7 @@ declare class DataApiUsageMetricsService {
323
340
  * @returns UsageMetricsResponseDTO Successful response
324
341
  * @throws ApiError
325
342
  */
326
- getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, requestPath, responseCode, requestType, apiKeyId, }: {
343
+ getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, responseCode, requestType, apiKeyId, requestPath, }: {
327
344
  /**
328
345
  * Organization ID to fetch usage metrics for
329
346
  */
@@ -333,7 +350,7 @@ declare class DataApiUsageMetricsService {
333
350
  */
334
351
  startTimestamp?: number;
335
352
  /**
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`.
353
+ * 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
354
  */
338
355
  endTimestamp?: number;
339
356
  /**
@@ -348,10 +365,6 @@ declare class DataApiUsageMetricsService {
348
365
  * Filter data by chain ID.
349
366
  */
350
367
  chainId?: string;
351
- /**
352
- * Filter data by request path.
353
- */
354
- requestPath?: string;
355
368
  /**
356
369
  * Filter data by response status code.
357
370
  */
@@ -364,6 +377,10 @@ declare class DataApiUsageMetricsService {
364
377
  * Filter data by API key ID.
365
378
  */
366
379
  apiKeyId?: string;
380
+ /**
381
+ * Filter data by request path.
382
+ */
383
+ requestPath?: string;
367
384
  }): CancelablePromise<UsageMetricsResponseDTO>;
368
385
  /**
369
386
  * Get logs for requests made by client
@@ -371,7 +388,7 @@ declare class DataApiUsageMetricsService {
371
388
  * @returns LogsResponseDTO Successful response
372
389
  * @throws ApiError
373
390
  */
374
- getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, requestPath, responseCode, requestType, apiKeyId, pageToken, pageSize, }: {
391
+ getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, responseCode, requestType, apiKeyId, requestPath, pageToken, pageSize, }: {
375
392
  /**
376
393
  * Organization ID to fetch usage metrics for
377
394
  */
@@ -381,17 +398,13 @@ declare class DataApiUsageMetricsService {
381
398
  */
382
399
  startTimestamp?: number;
383
400
  /**
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`.
401
+ * 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
402
  */
386
403
  endTimestamp?: number;
387
404
  /**
388
405
  * Filter data by chain ID.
389
406
  */
390
407
  chainId?: string;
391
- /**
392
- * Filter data by request path.
393
- */
394
- requestPath?: string;
395
408
  /**
396
409
  * Filter data by response status code.
397
410
  */
@@ -404,6 +417,10 @@ declare class DataApiUsageMetricsService {
404
417
  * Filter data by API key ID.
405
418
  */
406
419
  apiKeyId?: string;
420
+ /**
421
+ * Filter data by request path.
422
+ */
423
+ requestPath?: string;
407
424
  /**
408
425
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
409
426
  */
@@ -415,35 +432,32 @@ declare class DataApiUsageMetricsService {
415
432
  }): CancelablePromise<LogsResponseDTO>;
416
433
  /**
417
434
  * 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.
435
+ * Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
419
436
  * @returns RpcUsageMetricsResponseDTO Successful response
420
437
  * @throws ApiError
421
438
  */
422
- getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, requestPath, responseCode, rpcMethod, rlBypassApiToken, }: {
439
+ getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
423
440
  /**
424
- * Query param for setting time interval of data aggregation.
441
+ * Time interval granularity for data aggregation for subnet
442
+ * rpc metrics
425
443
  */
426
- timeInterval?: string;
444
+ timeInterval?: SubnetRpcTimeIntervalGranularity;
427
445
  /**
428
446
  * 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
447
  */
430
448
  startTimestamp?: number;
431
449
  /**
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`.
450
+ * 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
451
  */
434
452
  endTimestamp?: number;
435
453
  /**
436
454
  * Query param for the criterion used for grouping metrics
437
455
  */
438
- groupBy?: UsageMetricsGroupByEnum;
456
+ groupBy?: RpcUsageMetricsGroupByEnum;
439
457
  /**
440
458
  * Filter data by chain ID.
441
459
  */
442
460
  chainId?: string;
443
- /**
444
- * Filter data by request path.
445
- */
446
- requestPath?: string;
447
461
  /**
448
462
  * Filter data by response status code.
449
463
  */
@@ -699,11 +713,22 @@ type Erc20TokenBalance = {
699
713
  * The monetary value of the balance, if a price is available for the token.
700
714
  */
701
715
  balanceValue?: Money;
716
+ /**
717
+ * 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.
718
+ */
719
+ tokenReputation: Erc20TokenBalance.tokenReputation | null;
702
720
  };
703
721
  declare namespace Erc20TokenBalance {
704
722
  enum ercType {
705
723
  ERC_20 = "ERC-20"
706
724
  }
725
+ /**
726
+ * 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.
727
+ */
728
+ enum tokenReputation {
729
+ MALICIOUS = "Malicious",
730
+ BENIGN = "Benign"
731
+ }
707
732
  }
708
733
 
709
734
  type ListErc20BalancesResponse = {
@@ -900,6 +925,10 @@ declare class EvmBalancesService {
900
925
  }
901
926
 
902
927
  type GetEvmBlockResponse = {
928
+ /**
929
+ * The EVM chain ID on which the block was created.
930
+ */
931
+ chainId: string;
903
932
  /**
904
933
  * The block number on the chain.
905
934
  */
@@ -944,6 +973,10 @@ type GetEvmBlockResponse = {
944
973
  };
945
974
 
946
975
  type EvmBlock = {
976
+ /**
977
+ * The EVM chain ID on which the block was created.
978
+ */
979
+ chainId: string;
947
980
  /**
948
981
  * The block number on the chain.
949
982
  */
@@ -1120,10 +1153,122 @@ type ChainInfo = {
1120
1153
  enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
1121
1154
  };
1122
1155
 
1156
+ type ListAddressChainsResponse = {
1157
+ indexedChains?: Array<ChainInfo>;
1158
+ unindexedChains?: Array<string>;
1159
+ };
1160
+
1123
1161
  type ListChainsResponse = {
1124
1162
  chains: Array<ChainInfo>;
1125
1163
  };
1126
1164
 
1165
+ /**
1166
+ * 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.
1167
+ */
1168
+ declare enum TransactionMethodType {
1169
+ NATIVE_TRANSFER = "NATIVE_TRANSFER",
1170
+ CONTRACT_CALL = "CONTRACT_CALL",
1171
+ CONTRACT_CREATION = "CONTRACT_CREATION"
1172
+ }
1173
+
1174
+ type Method = {
1175
+ callType: TransactionMethodType;
1176
+ /**
1177
+ * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1178
+ */
1179
+ methodHash: string;
1180
+ /**
1181
+ * 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'.
1182
+ */
1183
+ methodName?: string;
1184
+ };
1185
+
1186
+ type RichAddress = {
1187
+ /**
1188
+ * The contract name.
1189
+ */
1190
+ name?: string;
1191
+ /**
1192
+ * The contract symbol.
1193
+ */
1194
+ symbol?: string;
1195
+ /**
1196
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1197
+ */
1198
+ decimals?: number;
1199
+ /**
1200
+ * The logo uri for the address.
1201
+ */
1202
+ logoUri?: string;
1203
+ /**
1204
+ * A wallet or contract address in mixed-case checksum encoding.
1205
+ */
1206
+ address: string;
1207
+ };
1208
+
1209
+ type NativeTransaction = {
1210
+ /**
1211
+ * The block number on the chain.
1212
+ */
1213
+ blockNumber: string;
1214
+ /**
1215
+ * The block finality timestamp.
1216
+ */
1217
+ blockTimestamp: number;
1218
+ /**
1219
+ * The block hash identifier.
1220
+ */
1221
+ blockHash: string;
1222
+ /**
1223
+ * The EVM chain ID on which the transaction occured.
1224
+ */
1225
+ chainId: string;
1226
+ /**
1227
+ * The index at which the transaction occured in the block (0-indexed).
1228
+ */
1229
+ blockIndex: number;
1230
+ /**
1231
+ * The transaction hash identifier.
1232
+ */
1233
+ txHash: string;
1234
+ /**
1235
+ * The transaction status, which is either 0 (failed) or 1 (successful).
1236
+ */
1237
+ txStatus: string;
1238
+ /**
1239
+ * The transaction type.
1240
+ */
1241
+ txType: number;
1242
+ /**
1243
+ * The gas limit set for the transaction.
1244
+ */
1245
+ gasLimit: string;
1246
+ /**
1247
+ * The amount of gas used.
1248
+ */
1249
+ gasUsed: string;
1250
+ /**
1251
+ * The gas price denominated by the number of decimals of the native token.
1252
+ */
1253
+ gasPrice: string;
1254
+ /**
1255
+ * The nonce used by the sender of the transaction.
1256
+ */
1257
+ nonce: string;
1258
+ from: RichAddress;
1259
+ to: RichAddress;
1260
+ method?: Method;
1261
+ value: string;
1262
+ };
1263
+
1264
+ type ListNativeTransactionsResponse = {
1265
+ /**
1266
+ * 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.
1267
+ */
1268
+ nextPageToken?: string;
1269
+ transactions: Array<NativeTransaction>;
1270
+ };
1271
+
1127
1272
  declare enum Network {
1128
1273
  MAINNET = "mainnet",
1129
1274
  FUJI = "fuji",
@@ -1131,6 +1276,11 @@ declare enum Network {
1131
1276
  DEVNET = "devnet"
1132
1277
  }
1133
1278
 
1279
+ declare enum TransactionStatus {
1280
+ FAILED = "failed",
1281
+ SUCCESS = "success"
1282
+ }
1283
+
1134
1284
  declare class EvmChainsService {
1135
1285
  readonly httpRequest: BaseHttpRequest;
1136
1286
  constructor(httpRequest: BaseHttpRequest);
@@ -1164,8 +1314,8 @@ declare class EvmChainsService {
1164
1314
  }): CancelablePromise<GetChainResponse>;
1165
1315
  /**
1166
1316
  * Get chains for address
1167
- * Gets the list of chains an address has interacted with.
1168
- * @returns ListChainsResponse Successful response
1317
+ * 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.
1318
+ * @returns ListAddressChainsResponse Successful response
1169
1319
  * @throws ApiError
1170
1320
  */
1171
1321
  getAddressChains({ address, }: {
@@ -1173,7 +1323,51 @@ declare class EvmChainsService {
1173
1323
  * A wallet address.
1174
1324
  */
1175
1325
  address: string;
1176
- }): CancelablePromise<ListChainsResponse>;
1326
+ }): CancelablePromise<ListAddressChainsResponse>;
1327
+ /**
1328
+ * List latest transactions for all supported EVM chains
1329
+ * Lists the latest transactions for all supported EVM chains. Filterable by status.
1330
+ * @returns ListNativeTransactionsResponse Successful response
1331
+ * @throws ApiError
1332
+ */
1333
+ listAllLatestTransactions({ pageToken, pageSize, network, status, }: {
1334
+ /**
1335
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1336
+ */
1337
+ pageToken?: string;
1338
+ /**
1339
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1340
+ */
1341
+ pageSize?: number;
1342
+ /**
1343
+ * Either mainnet or testnet/fuji.
1344
+ */
1345
+ network?: Network;
1346
+ /**
1347
+ * A status filter for listed transactions.
1348
+ */
1349
+ status?: TransactionStatus;
1350
+ }): CancelablePromise<ListNativeTransactionsResponse>;
1351
+ /**
1352
+ * List latest blocks for all supported EVM chains
1353
+ * Lists the latest blocks for all supported EVM chains. Filterable by network.
1354
+ * @returns ListEvmBlocksResponse Successful response
1355
+ * @throws ApiError
1356
+ */
1357
+ listAllLatestBlocks({ pageToken, pageSize, network, }: {
1358
+ /**
1359
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1360
+ */
1361
+ pageToken?: string;
1362
+ /**
1363
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1364
+ */
1365
+ pageSize?: number;
1366
+ /**
1367
+ * Either mainnet or testnet/fuji.
1368
+ */
1369
+ network?: Network;
1370
+ }): CancelablePromise<ListEvmBlocksResponse>;
1177
1371
  }
1178
1372
 
1179
1373
  type ImageAsset = {
@@ -1508,29 +1702,6 @@ declare namespace Erc1155Token {
1508
1702
  }
1509
1703
  }
1510
1704
 
1511
- type RichAddress = {
1512
- /**
1513
- * The contract name.
1514
- */
1515
- name?: string;
1516
- /**
1517
- * The contract symbol.
1518
- */
1519
- symbol?: string;
1520
- /**
1521
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1522
- */
1523
- decimals?: number;
1524
- /**
1525
- * The logo uri for the address.
1526
- */
1527
- logoUri?: string;
1528
- /**
1529
- * A wallet or contract address in mixed-case checksum encoding.
1530
- */
1531
- address: string;
1532
- };
1533
-
1534
1705
  type Erc1155TransferDetails = {
1535
1706
  from: RichAddress;
1536
1707
  to: RichAddress;
@@ -1615,27 +1786,6 @@ type Erc721TransferDetails = {
1615
1786
  erc721Token: Erc721Token;
1616
1787
  };
1617
1788
 
1618
- /**
1619
- * 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.
1620
- */
1621
- declare enum TransactionMethodType {
1622
- NATIVE_TRANSFER = "NATIVE_TRANSFER",
1623
- CONTRACT_CALL = "CONTRACT_CALL",
1624
- CONTRACT_CREATION = "CONTRACT_CREATION"
1625
- }
1626
-
1627
- type Method = {
1628
- callType: TransactionMethodType;
1629
- /**
1630
- * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1631
- */
1632
- methodHash: string;
1633
- /**
1634
- * 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'.
1635
- */
1636
- methodName?: string;
1637
- };
1638
-
1639
1789
  type FullNativeTransactionDetails = {
1640
1790
  /**
1641
1791
  * The block number on the chain.
@@ -1649,6 +1799,10 @@ type FullNativeTransactionDetails = {
1649
1799
  * The block hash identifier.
1650
1800
  */
1651
1801
  blockHash: string;
1802
+ /**
1803
+ * The EVM chain ID on which the transaction occured.
1804
+ */
1805
+ chainId: string;
1652
1806
  /**
1653
1807
  * The index at which the transaction occured in the block (0-indexed).
1654
1808
  */
@@ -1912,65 +2066,6 @@ type ListInternalTransactionsResponse = {
1912
2066
  transactions: Array<InternalTransaction>;
1913
2067
  };
1914
2068
 
1915
- type NativeTransaction = {
1916
- /**
1917
- * The block number on the chain.
1918
- */
1919
- blockNumber: string;
1920
- /**
1921
- * The block finality timestamp.
1922
- */
1923
- blockTimestamp: number;
1924
- /**
1925
- * The block hash identifier.
1926
- */
1927
- blockHash: string;
1928
- /**
1929
- * The index at which the transaction occured in the block (0-indexed).
1930
- */
1931
- blockIndex: number;
1932
- /**
1933
- * The transaction hash identifier.
1934
- */
1935
- txHash: string;
1936
- /**
1937
- * The transaction status, which is either 0 (failed) or 1 (successful).
1938
- */
1939
- txStatus: string;
1940
- /**
1941
- * The transaction type.
1942
- */
1943
- txType: number;
1944
- /**
1945
- * The gas limit set for the transaction.
1946
- */
1947
- gasLimit: string;
1948
- /**
1949
- * The amount of gas used.
1950
- */
1951
- gasUsed: string;
1952
- /**
1953
- * The gas price denominated by the number of decimals of the native token.
1954
- */
1955
- gasPrice: string;
1956
- /**
1957
- * The nonce used by the sender of the transaction.
1958
- */
1959
- nonce: string;
1960
- from: RichAddress;
1961
- to: RichAddress;
1962
- method?: Method;
1963
- value: string;
1964
- };
1965
-
1966
- type ListNativeTransactionsResponse = {
1967
- /**
1968
- * 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.
1969
- */
1970
- nextPageToken?: string;
1971
- transactions: Array<NativeTransaction>;
1972
- };
1973
-
1974
2069
  type TransactionDetails = {
1975
2070
  /**
1976
2071
  * The native (top-level) transaction details.
@@ -2015,11 +2110,6 @@ declare enum SortOrder {
2015
2110
  DESC = "desc"
2016
2111
  }
2017
2112
 
2018
- declare enum TransactionStatus {
2019
- FAILED = "failed",
2020
- SUCCESS = "success"
2021
- }
2022
-
2023
2113
  declare class EvmTransactionsService {
2024
2114
  readonly httpRequest: BaseHttpRequest;
2025
2115
  constructor(httpRequest: BaseHttpRequest);
@@ -2321,7 +2411,7 @@ declare class EvmTransactionsService {
2321
2411
  * @returns ListNativeTransactionsResponse Successful response
2322
2412
  * @throws ApiError
2323
2413
  */
2324
- getTransactionsForBlock({ chainId, blockId, }: {
2414
+ getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
2325
2415
  /**
2326
2416
  * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2327
2417
  */
@@ -2330,6 +2420,14 @@ declare class EvmTransactionsService {
2330
2420
  * A block identifier which is either a block number or the block hash.
2331
2421
  */
2332
2422
  blockId: string;
2423
+ /**
2424
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2425
+ */
2426
+ pageToken?: string;
2427
+ /**
2428
+ * The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
2429
+ */
2430
+ pageSize?: number;
2333
2431
  }): CancelablePromise<ListNativeTransactionsResponse>;
2334
2432
  /**
2335
2433
  * List latest transactions
@@ -2702,10 +2800,61 @@ type ListDelegatorDetailsResponse = {
2702
2800
  delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
2703
2801
  };
2704
2802
 
2803
+ type BalanceOwner = {
2804
+ addresses: Array<string>;
2805
+ threshold: number;
2806
+ };
2807
+
2808
+ type L1ValidatorDetailsFull = {
2809
+ /**
2810
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
2811
+ */
2812
+ validationId: string;
2813
+ nodeId: string;
2814
+ subnetId: string;
2815
+ /**
2816
+ * 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
2817
+ */
2818
+ weight: number;
2819
+ /**
2820
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
2821
+ */
2822
+ remainingBalance: number;
2823
+ /**
2824
+ * The timestamp of the transaction which created this L1 validator
2825
+ */
2826
+ creationTimestamp: number;
2827
+ blsCredentials: Record<string, any>;
2828
+ /**
2829
+ * The L1 validator owner's balance, returned after it's disabled or removed
2830
+ */
2831
+ remainingBalanceOwner: BalanceOwner;
2832
+ /**
2833
+ * Owner ddresses details which can disable or remove the L1 validator
2834
+ */
2835
+ deactivationOwner: BalanceOwner;
2836
+ };
2837
+
2838
+ type ListL1ValidatorsResponse = {
2839
+ /**
2840
+ * 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.
2841
+ */
2842
+ nextPageToken?: string;
2843
+ /**
2844
+ * The list of L1 validations for the given Subnet ID, NodeId or validationId
2845
+ */
2846
+ validators: Array<L1ValidatorDetailsFull>;
2847
+ };
2848
+
2705
2849
  type BlockchainInfo = {
2706
2850
  blockchainId: string;
2707
2851
  };
2708
2852
 
2853
+ type L1ValidatorManagerDetails = {
2854
+ blockchainId: string;
2855
+ contractAddress: string;
2856
+ };
2857
+
2709
2858
  type SubnetOwnershipInfo = {
2710
2859
  /**
2711
2860
  * Locktime in seconds after which Subnet owners can control this Subnet.
@@ -2744,6 +2893,14 @@ type Subnet = {
2744
2893
  * Latest subnet owner details for this Subnet.
2745
2894
  */
2746
2895
  subnetOwnershipInfo: SubnetOwnershipInfo;
2896
+ /**
2897
+ * Whether the subnet is an L1 or not.
2898
+ */
2899
+ isL1: boolean;
2900
+ /**
2901
+ * L1 validator manager details.
2902
+ */
2903
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
2747
2904
  blockchains: Array<BlockchainInfo>;
2748
2905
  };
2749
2906
 
@@ -3210,6 +3367,39 @@ declare class PrimaryNetworkService {
3210
3367
  */
3211
3368
  nodeIds?: string;
3212
3369
  }): CancelablePromise<ListDelegatorDetailsResponse>;
3370
+ /**
3371
+ * List L1 validators
3372
+ * Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.
3373
+ * @returns ListL1ValidatorsResponse Successful response
3374
+ * @throws ApiError
3375
+ */
3376
+ listL1Validators({ network, pageToken, pageSize, l1ValidationId, includeInactiveL1Validators, nodeId, subnetId, }: {
3377
+ /**
3378
+ * Either mainnet or testnet/fuji.
3379
+ */
3380
+ network: Network;
3381
+ /**
3382
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3383
+ */
3384
+ pageToken?: string;
3385
+ /**
3386
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3387
+ */
3388
+ pageSize?: number;
3389
+ /**
3390
+ * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
3391
+ */
3392
+ l1ValidationId?: any;
3393
+ includeInactiveL1Validators?: boolean;
3394
+ /**
3395
+ * A valid node ID in format 'NodeID-HASH'.
3396
+ */
3397
+ nodeId?: string;
3398
+ /**
3399
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
3400
+ */
3401
+ subnetId?: any;
3402
+ }): CancelablePromise<ListL1ValidatorsResponse>;
3213
3403
  }
3214
3404
 
3215
3405
  declare enum BlockchainId {
@@ -3456,6 +3646,8 @@ type GetPrimaryNetworkBlockResponse = {
3456
3646
  txCount: number;
3457
3647
  transactions: Array<string>;
3458
3648
  blockSizeBytes: number;
3649
+ l1ValidatorsAccruedFees?: number;
3650
+ activeL1Validators?: number;
3459
3651
  currentSupply?: string;
3460
3652
  proposerDetails?: ProposerDetails;
3461
3653
  };
@@ -3469,6 +3661,8 @@ type PrimaryNetworkBlock = {
3469
3661
  txCount: number;
3470
3662
  transactions: Array<string>;
3471
3663
  blockSizeBytes: number;
3664
+ l1ValidatorsAccruedFees?: number;
3665
+ activeL1Validators?: number;
3472
3666
  currentSupply?: string;
3473
3667
  proposerDetails?: ProposerDetails;
3474
3668
  };
@@ -3511,7 +3705,7 @@ declare class PrimaryNetworkBlocksService {
3511
3705
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3512
3706
  * @throws ApiError
3513
3707
  */
3514
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
3708
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3515
3709
  /**
3516
3710
  * A primary network blockchain id or alias.
3517
3711
  */
@@ -3524,6 +3718,14 @@ declare class PrimaryNetworkBlocksService {
3524
3718
  * A primary network (P or X chain) nodeId.
3525
3719
  */
3526
3720
  nodeId: string;
3721
+ /**
3722
+ * Query param for retrieving items after a specific timestamp.
3723
+ */
3724
+ startTimestamp?: number;
3725
+ /**
3726
+ * Query param for retrieving items before a specific timestamp.
3727
+ */
3728
+ endTimestamp?: number;
3527
3729
  /**
3528
3730
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3529
3731
  */
@@ -3539,7 +3741,7 @@ declare class PrimaryNetworkBlocksService {
3539
3741
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3540
3742
  * @throws ApiError
3541
3743
  */
3542
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
3744
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3543
3745
  /**
3544
3746
  * A primary network blockchain id or alias.
3545
3747
  */
@@ -3548,6 +3750,14 @@ declare class PrimaryNetworkBlocksService {
3548
3750
  * Either mainnet or testnet/fuji.
3549
3751
  */
3550
3752
  network: Network;
3753
+ /**
3754
+ * Query param for retrieving items after a specific timestamp.
3755
+ */
3756
+ startTimestamp?: number;
3757
+ /**
3758
+ * Query param for retrieving items before a specific timestamp.
3759
+ */
3760
+ endTimestamp?: number;
3551
3761
  /**
3552
3762
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3553
3763
  */
@@ -3957,6 +4167,28 @@ type ListCChainAtomicTransactionsResponse = {
3957
4167
  chainInfo: PrimaryNetworkChainInfo;
3958
4168
  };
3959
4169
 
4170
+ type L1ValidatorDetailsTransaction = {
4171
+ /**
4172
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4173
+ */
4174
+ validationId: string;
4175
+ nodeId: string;
4176
+ subnetId: string;
4177
+ /**
4178
+ * 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
4179
+ */
4180
+ weight: number;
4181
+ /**
4182
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
4183
+ */
4184
+ remainingBalance: number;
4185
+ /**
4186
+ * The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
4187
+ */
4188
+ balanceChange?: number;
4189
+ blsCredentials?: Record<string, any>;
4190
+ };
4191
+
3960
4192
  declare enum PChainTransactionType {
3961
4193
  ADD_VALIDATOR_TX = "AddValidatorTx",
3962
4194
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
@@ -3973,6 +4205,11 @@ declare enum PChainTransactionType {
3973
4205
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3974
4206
  BASE_TX = "BaseTx",
3975
4207
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
4208
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
4209
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
4210
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
4211
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
4212
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
3976
4213
  UNKNOWN = "UNKNOWN"
3977
4214
  }
3978
4215
 
@@ -4061,6 +4298,10 @@ type PChainTransaction = {
4061
4298
  * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4062
4299
  */
4063
4300
  amountStaked: Array<AssetAmount>;
4301
+ /**
4302
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
4303
+ */
4304
+ amountL1ValidatorBalanceBurned: Array<AssetAmount>;
4064
4305
  /**
4065
4306
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4066
4307
  */
@@ -4081,6 +4322,14 @@ type PChainTransaction = {
4081
4322
  * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx
4082
4323
  */
4083
4324
  subnetId?: string;
4325
+ /**
4326
+ * Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1
4327
+ */
4328
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
4329
+ /**
4330
+ * 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
4331
+ */
4332
+ l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
4084
4333
  /**
4085
4334
  * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4086
4335
  */
@@ -4282,6 +4531,11 @@ declare enum PrimaryNetworkTxType {
4282
4531
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
4283
4532
  BASE_TX = "BaseTx",
4284
4533
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
4534
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
4535
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
4536
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
4537
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
4538
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
4285
4539
  UNKNOWN = "UNKNOWN",
4286
4540
  CREATE_ASSET_TX = "CreateAssetTx",
4287
4541
  OPERATION_TX = "OperationTx"
@@ -4316,11 +4570,13 @@ declare class PrimaryNetworkTransactionsService {
4316
4570
  *
4317
4571
  * 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.
4318
4572
  *
4573
+ * 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.
4574
+ *
4319
4575
  * 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.
4320
4576
  * @returns any Successful response
4321
4577
  * @throws ApiError
4322
4578
  */
4323
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4579
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4324
4580
  /**
4325
4581
  * A primary network blockchain id or alias.
4326
4582
  */
@@ -4333,6 +4589,7 @@ declare class PrimaryNetworkTransactionsService {
4333
4589
  * 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.
4334
4590
  */
4335
4591
  addresses?: string;
4592
+ l1ValidationId?: string;
4336
4593
  /**
4337
4594
  * Query param for filtering items based on transaction types.
4338
4595
  */
@@ -4608,61 +4865,12 @@ declare class PrimaryNetworkVerticesService {
4608
4865
  }): CancelablePromise<ListXChainVerticesResponse>;
4609
4866
  }
4610
4867
 
4611
- type RpcErrorDto = {
4612
- code: number;
4613
- message: string;
4614
- data?: Record<string, any>;
4615
- };
4616
-
4617
- type RpcErrorResponseDto = {
4618
- jsonrpc: string;
4619
- id?: (string | number);
4620
- error: RpcErrorDto;
4621
- };
4622
-
4623
- type RpcRequestBodyDto = {
4624
- method: string;
4625
- params?: Record<string, any>;
4626
- id?: (string | number);
4627
- jsonrpc?: string;
4628
- };
4629
-
4630
- type RpcSuccessResponseDto = {
4631
- jsonrpc: string;
4632
- id?: (string | number);
4633
- result: Record<string, any>;
4634
- };
4635
-
4636
- declare class RpcService {
4637
- readonly httpRequest: BaseHttpRequest;
4638
- constructor(httpRequest: BaseHttpRequest);
4639
- /**
4640
- * Calls JSON-RPC method
4641
- * Calls JSON-RPC method.
4642
- * @returns any Successful response
4643
- * @throws ApiError
4644
- */
4645
- rpc({ chainId, requestBody, }: {
4646
- /**
4647
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
4648
- */
4649
- chainId: string;
4650
- requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
4651
- }): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
4652
- }
4653
-
4654
4868
  type SignatureAggregationResponse = {
4655
4869
  signedMessage: string;
4656
4870
  };
4657
4871
 
4658
4872
  type SignatureAggregatorRequest = {
4659
- /**
4660
- * Must be defined if justification is not defined
4661
- */
4662
- message?: string;
4663
- /**
4664
- * Must be defined if message is not defined
4665
- */
4873
+ message: string;
4666
4874
  justification?: string;
4667
4875
  signingSubnetId?: string;
4668
4876
  quorumPercentage?: number;
@@ -4927,7 +5135,7 @@ type CreateWebhookRequest = {
4927
5135
  name?: string;
4928
5136
  description?: string;
4929
5137
  /**
4930
- * Whether to include traces in the webhook payload.
5138
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
4931
5139
  */
4932
5140
  includeInternalTxs?: boolean;
4933
5141
  /**
@@ -4987,6 +5195,9 @@ type UpdateWebhookRequest = {
4987
5195
  description?: string;
4988
5196
  url?: string;
4989
5197
  status?: WebhookStatusType;
5198
+ /**
5199
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
5200
+ */
4990
5201
  includeInternalTxs?: boolean;
4991
5202
  includeLogs?: boolean;
4992
5203
  };
@@ -5146,7 +5357,6 @@ declare class Glacier {
5146
5357
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
5147
5358
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
5148
5359
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
5149
- readonly rpc: RpcService;
5150
5360
  readonly signatureAggregator: SignatureAggregatorService;
5151
5361
  readonly teleporter: TeleporterService;
5152
5362
  readonly webhooks: WebhooksService;
@@ -5302,4 +5512,4 @@ type Unauthorized = {
5302
5512
  error: string;
5303
5513
  };
5304
5514
 
5305
- 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, 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 };
5515
+ 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, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsResponseDTO, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, 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 };