@avalabs/glacier-sdk 3.1.0-canary.c11d301.0 → 3.1.0-canary.c2c4953.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 (56) hide show
  1. package/dist/index.d.ts +401 -197
  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/PrimaryNetworkChainInfo.d.ts +2 -2
  24. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
  25. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  26. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  27. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  28. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
  29. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -7
  30. package/esm/generated/models/Subnet.d.ts +9 -0
  31. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  32. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  33. package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
  34. package/esm/generated/services/DataApiUsageMetricsService.d.ts +21 -22
  35. package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
  36. package/esm/generated/services/EvmChainsService.d.ts +51 -3
  37. package/esm/generated/services/EvmChainsService.js +1 -1
  38. package/esm/generated/services/EvmTransactionsService.d.ts +9 -1
  39. package/esm/generated/services/EvmTransactionsService.js +1 -1
  40. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +18 -2
  41. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  42. package/esm/generated/services/PrimaryNetworkService.d.ts +34 -0
  43. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  44. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +4 -1
  45. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  46. package/esm/index.d.ts +8 -6
  47. package/esm/index.js +1 -1
  48. package/package.json +2 -2
  49. package/esm/generated/models/PrimaryNetwork.d.ts +0 -7
  50. package/esm/generated/models/PrimaryNetwork.js +0 -1
  51. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  52. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  53. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  54. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  55. package/esm/generated/services/RpcService.d.ts +0 -25
  56. 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 {
@@ -3256,12 +3446,6 @@ type CChainAtomicBalances = {
3256
3446
  atomicMemoryLocked: Array<CChainSharedAssetBalance>;
3257
3447
  };
3258
3448
 
3259
- declare enum PrimaryNetwork {
3260
- MAINNET = "mainnet",
3261
- FUJI = "fuji",
3262
- DEVNET = "devnet"
3263
- }
3264
-
3265
3449
  declare enum PrimaryNetworkChainName {
3266
3450
  P_CHAIN = "p-chain",
3267
3451
  X_CHAIN = "x-chain",
@@ -3270,7 +3454,7 @@ declare enum PrimaryNetworkChainName {
3270
3454
 
3271
3455
  type PrimaryNetworkChainInfo = {
3272
3456
  chainName: PrimaryNetworkChainName;
3273
- network: PrimaryNetwork;
3457
+ network: Network;
3274
3458
  };
3275
3459
 
3276
3460
  type ListCChainAtomicBalancesResponse = {
@@ -3462,6 +3646,8 @@ type GetPrimaryNetworkBlockResponse = {
3462
3646
  txCount: number;
3463
3647
  transactions: Array<string>;
3464
3648
  blockSizeBytes: number;
3649
+ l1ValidatorsAccruedFees?: number;
3650
+ activeL1Validators?: number;
3465
3651
  currentSupply?: string;
3466
3652
  proposerDetails?: ProposerDetails;
3467
3653
  };
@@ -3475,6 +3661,8 @@ type PrimaryNetworkBlock = {
3475
3661
  txCount: number;
3476
3662
  transactions: Array<string>;
3477
3663
  blockSizeBytes: number;
3664
+ l1ValidatorsAccruedFees?: number;
3665
+ activeL1Validators?: number;
3478
3666
  currentSupply?: string;
3479
3667
  proposerDetails?: ProposerDetails;
3480
3668
  };
@@ -3517,7 +3705,7 @@ declare class PrimaryNetworkBlocksService {
3517
3705
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3518
3706
  * @throws ApiError
3519
3707
  */
3520
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
3708
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3521
3709
  /**
3522
3710
  * A primary network blockchain id or alias.
3523
3711
  */
@@ -3530,6 +3718,14 @@ declare class PrimaryNetworkBlocksService {
3530
3718
  * A primary network (P or X chain) nodeId.
3531
3719
  */
3532
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;
3533
3729
  /**
3534
3730
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3535
3731
  */
@@ -3545,7 +3741,7 @@ declare class PrimaryNetworkBlocksService {
3545
3741
  * @returns ListPrimaryNetworkBlocksResponse Successful response
3546
3742
  * @throws ApiError
3547
3743
  */
3548
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
3744
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3549
3745
  /**
3550
3746
  * A primary network blockchain id or alias.
3551
3747
  */
@@ -3554,6 +3750,14 @@ declare class PrimaryNetworkBlocksService {
3554
3750
  * Either mainnet or testnet/fuji.
3555
3751
  */
3556
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;
3557
3761
  /**
3558
3762
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3559
3763
  */
@@ -3963,6 +4167,28 @@ type ListCChainAtomicTransactionsResponse = {
3963
4167
  chainInfo: PrimaryNetworkChainInfo;
3964
4168
  };
3965
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
+
3966
4192
  declare enum PChainTransactionType {
3967
4193
  ADD_VALIDATOR_TX = "AddValidatorTx",
3968
4194
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
@@ -3979,6 +4205,11 @@ declare enum PChainTransactionType {
3979
4205
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3980
4206
  BASE_TX = "BaseTx",
3981
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",
3982
4213
  UNKNOWN = "UNKNOWN"
3983
4214
  }
3984
4215
 
@@ -4067,6 +4298,10 @@ type PChainTransaction = {
4067
4298
  * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4068
4299
  */
4069
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>;
4070
4305
  /**
4071
4306
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4072
4307
  */
@@ -4087,6 +4322,14 @@ type PChainTransaction = {
4087
4322
  * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx
4088
4323
  */
4089
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>;
4090
4333
  /**
4091
4334
  * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
4092
4335
  */
@@ -4288,6 +4531,11 @@ declare enum PrimaryNetworkTxType {
4288
4531
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
4289
4532
  BASE_TX = "BaseTx",
4290
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",
4291
4539
  UNKNOWN = "UNKNOWN",
4292
4540
  CREATE_ASSET_TX = "CreateAssetTx",
4293
4541
  OPERATION_TX = "OperationTx"
@@ -4322,11 +4570,13 @@ declare class PrimaryNetworkTransactionsService {
4322
4570
  *
4323
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.
4324
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
+ *
4325
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.
4326
4576
  * @returns any Successful response
4327
4577
  * @throws ApiError
4328
4578
  */
4329
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4579
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
4330
4580
  /**
4331
4581
  * A primary network blockchain id or alias.
4332
4582
  */
@@ -4339,6 +4589,7 @@ declare class PrimaryNetworkTransactionsService {
4339
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.
4340
4590
  */
4341
4591
  addresses?: string;
4592
+ l1ValidationId?: string;
4342
4593
  /**
4343
4594
  * Query param for filtering items based on transaction types.
4344
4595
  */
@@ -4614,61 +4865,12 @@ declare class PrimaryNetworkVerticesService {
4614
4865
  }): CancelablePromise<ListXChainVerticesResponse>;
4615
4866
  }
4616
4867
 
4617
- type RpcErrorDto = {
4618
- code: number;
4619
- message: string;
4620
- data?: Record<string, any>;
4621
- };
4622
-
4623
- type RpcErrorResponseDto = {
4624
- jsonrpc: string;
4625
- id?: (string | number);
4626
- error: RpcErrorDto;
4627
- };
4628
-
4629
- type RpcRequestBodyDto = {
4630
- method: string;
4631
- params?: Record<string, any>;
4632
- id?: (string | number);
4633
- jsonrpc?: string;
4634
- };
4635
-
4636
- type RpcSuccessResponseDto = {
4637
- jsonrpc: string;
4638
- id?: (string | number);
4639
- result: Record<string, any>;
4640
- };
4641
-
4642
- declare class RpcService {
4643
- readonly httpRequest: BaseHttpRequest;
4644
- constructor(httpRequest: BaseHttpRequest);
4645
- /**
4646
- * Calls JSON-RPC method
4647
- * Calls JSON-RPC method.
4648
- * @returns any Successful response
4649
- * @throws ApiError
4650
- */
4651
- rpc({ chainId, requestBody, }: {
4652
- /**
4653
- * A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
4654
- */
4655
- chainId: string;
4656
- requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
4657
- }): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
4658
- }
4659
-
4660
4868
  type SignatureAggregationResponse = {
4661
4869
  signedMessage: string;
4662
4870
  };
4663
4871
 
4664
4872
  type SignatureAggregatorRequest = {
4665
- /**
4666
- * Must be defined if justification is not defined
4667
- */
4668
- message?: string;
4669
- /**
4670
- * Must be defined if message is not defined
4671
- */
4873
+ message: string;
4672
4874
  justification?: string;
4673
4875
  signingSubnetId?: string;
4674
4876
  quorumPercentage?: number;
@@ -4933,7 +5135,7 @@ type CreateWebhookRequest = {
4933
5135
  name?: string;
4934
5136
  description?: string;
4935
5137
  /**
4936
- * 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.
4937
5139
  */
4938
5140
  includeInternalTxs?: boolean;
4939
5141
  /**
@@ -4993,6 +5195,9 @@ type UpdateWebhookRequest = {
4993
5195
  description?: string;
4994
5196
  url?: string;
4995
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
+ */
4996
5201
  includeInternalTxs?: boolean;
4997
5202
  includeLogs?: boolean;
4998
5203
  };
@@ -5152,7 +5357,6 @@ declare class Glacier {
5152
5357
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
5153
5358
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
5154
5359
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
5155
- readonly rpc: RpcService;
5156
5360
  readonly signatureAggregator: SignatureAggregatorService;
5157
5361
  readonly teleporter: TeleporterService;
5158
5362
  readonly webhooks: WebhooksService;
@@ -5308,4 +5512,4 @@ type Unauthorized = {
5308
5512
  error: string;
5309
5513
  };
5310
5514
 
5311
- 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 };
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 };