@avalabs/glacier-sdk 2.8.0-canary.aeb3588.0 → 2.8.0-canary.b10baf2.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 (158) hide show
  1. package/dist/index.d.ts +1211 -420
  2. package/dist/index.js +507 -160
  3. package/esm/generated/Glacier.d.ts +8 -0
  4. package/esm/generated/Glacier.js +12 -0
  5. package/esm/generated/core/CancelablePromise.d.ts +2 -8
  6. package/esm/generated/core/CancelablePromise.js +38 -36
  7. package/esm/generated/core/request.js +3 -2
  8. package/esm/generated/models/ActiveDelegatorDetails.d.ts +1 -0
  9. package/esm/generated/models/ActiveValidatorDetails.d.ts +8 -4
  10. package/esm/generated/models/AddressActivityMetadata.d.ts +12 -0
  11. package/esm/generated/models/{XChainAssetBalance.d.ts → AggregatedAssetAmount.d.ts} +5 -6
  12. package/esm/generated/models/{Asset.d.ts → AssetAmount.d.ts} +5 -6
  13. package/esm/generated/models/AssetWithPriceInfo.d.ts +32 -0
  14. package/esm/generated/models/CChainExportTransaction.d.ts +3 -3
  15. package/esm/generated/models/CChainImportTransaction.d.ts +3 -3
  16. package/esm/generated/models/CChainSharedAssetBalance.d.ts +3 -4
  17. package/esm/generated/models/ChainInfo.d.ts +1 -3
  18. package/esm/generated/models/ChainStatus.d.ts +3 -0
  19. package/esm/generated/models/CompletedDelegatorDetails.d.ts +1 -0
  20. package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -1
  21. package/esm/generated/models/ContractSubmissionBody.d.ts +10 -0
  22. package/esm/generated/models/ContractSubmissionErc1155.d.ts +31 -0
  23. package/esm/generated/models/ContractSubmissionErc1155.js +8 -0
  24. package/esm/generated/models/ContractSubmissionErc20.d.ts +31 -0
  25. package/esm/generated/models/ContractSubmissionErc20.js +8 -0
  26. package/esm/generated/models/ContractSubmissionErc721.d.ts +29 -0
  27. package/esm/generated/models/ContractSubmissionErc721.js +8 -0
  28. package/esm/generated/models/ContractSubmissionUnknown.d.ts +25 -0
  29. package/esm/generated/models/ContractSubmissionUnknown.js +8 -0
  30. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +2 -6
  31. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +2 -6
  32. package/esm/generated/models/CurrencyCode.d.ts +3 -0
  33. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +27 -0
  34. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.js +8 -0
  35. package/esm/generated/models/DeliveredTeleporterMessage.d.ts +29 -0
  36. package/esm/generated/models/DeliveredTeleporterMessage.js +8 -0
  37. package/esm/generated/models/EVMInput.d.ts +3 -3
  38. package/esm/generated/models/EVMOperationType.d.ts +5 -0
  39. package/esm/generated/models/EVMOperationType.js +6 -0
  40. package/esm/generated/models/EVMOutput.d.ts +3 -3
  41. package/esm/generated/models/Erc1155TokenMetadata.d.ts +0 -3
  42. package/esm/generated/models/Erc721TokenMetadata.d.ts +0 -3
  43. package/esm/generated/models/EventType.d.ts +5 -0
  44. package/esm/generated/models/EventType.js +6 -0
  45. package/esm/generated/models/GetChainResponse.d.ts +1 -3
  46. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -0
  47. package/esm/generated/models/GlacierApiFeature.d.ts +5 -0
  48. package/esm/generated/models/GlacierApiFeature.js +6 -0
  49. package/esm/generated/models/HistoricalReward.d.ts +2 -5
  50. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  51. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  52. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +3 -2
  53. package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
  54. package/esm/generated/models/Method.d.ts +0 -3
  55. package/esm/generated/models/Money.d.ts +0 -3
  56. package/esm/generated/models/NextPageToken.d.ts +8 -0
  57. package/esm/generated/models/NftTokenMetadataStatus.d.ts +3 -0
  58. package/esm/generated/models/OperationType.d.ts +4 -2
  59. package/esm/generated/models/OperationType.js +3 -1
  60. package/esm/generated/models/PChainBalance.d.ts +15 -15
  61. package/esm/generated/models/PChainSharedAsset.d.ts +22 -0
  62. package/esm/generated/models/PChainTransaction.d.ts +13 -7
  63. package/esm/generated/models/PChainTransactionType.d.ts +8 -4
  64. package/esm/generated/models/PChainTransactionType.js +8 -4
  65. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  66. package/esm/generated/models/PendingDelegatorDetails.d.ts +1 -0
  67. package/esm/generated/models/PendingReward.d.ts +3 -3
  68. package/esm/generated/models/PendingTeleporterMessage.d.ts +27 -0
  69. package/esm/generated/models/PendingTeleporterMessage.js +8 -0
  70. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -1
  71. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +9 -0
  72. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  73. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +9 -0
  74. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  75. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -0
  76. package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
  77. package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
  78. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  79. package/esm/generated/models/PrimaryNetworkTxType.d.ts +8 -5
  80. package/esm/generated/models/PrimaryNetworkTxType.js +8 -5
  81. package/esm/generated/models/RegisterWebhookRequest.d.ts +19 -0
  82. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  83. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  84. package/esm/generated/models/RewardType.d.ts +2 -1
  85. package/esm/generated/models/RewardType.js +1 -0
  86. package/esm/generated/models/Rewards.d.ts +2 -0
  87. package/esm/generated/models/RpcErrorDto.d.ts +7 -0
  88. package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
  89. package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
  90. package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
  91. package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
  92. package/esm/generated/models/Subnet.d.ts +17 -0
  93. package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
  94. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +9 -0
  95. package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
  96. package/esm/generated/models/TeleporterRewardDetails.d.ts +37 -0
  97. package/esm/generated/models/TeleporterRewardDetails.js +8 -0
  98. package/esm/generated/models/TeleporterSourceTransaction.d.ts +7 -0
  99. package/esm/generated/models/TransactionMethodType.d.ts +3 -0
  100. package/esm/generated/models/UpdateContractResponse.d.ts +10 -0
  101. package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
  102. package/esm/generated/models/Utxo.d.ts +30 -30
  103. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  104. package/esm/generated/models/ValidationStatusType.d.ts +2 -1
  105. package/esm/generated/models/ValidationStatusType.js +1 -0
  106. package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
  107. package/esm/generated/models/WebhookResponse.d.ts +25 -0
  108. package/esm/generated/models/WebhookStatus.d.ts +6 -0
  109. package/esm/generated/models/WebhookStatus.js +7 -0
  110. package/esm/generated/models/WebhookStatusType.d.ts +6 -0
  111. package/esm/generated/models/WebhookStatusType.js +7 -0
  112. package/esm/generated/models/XChainAssetDetails.d.ts +5 -8
  113. package/esm/generated/models/XChainBalances.d.ts +3 -3
  114. package/esm/generated/models/XChainLinearTransaction.d.ts +6 -8
  115. package/esm/generated/models/XChainNonLinearTransaction.d.ts +6 -8
  116. package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -4
  117. package/esm/generated/models/XChainTransactionType.d.ts +13 -0
  118. package/esm/generated/models/XChainTransactionType.js +11 -0
  119. package/esm/generated/services/DefaultService.d.ts +14 -0
  120. package/esm/generated/services/DefaultService.js +13 -0
  121. package/esm/generated/services/EvmBalancesService.d.ts +25 -25
  122. package/esm/generated/services/EvmBalancesService.js +8 -8
  123. package/esm/generated/services/EvmBlocksService.d.ts +7 -7
  124. package/esm/generated/services/EvmBlocksService.js +4 -4
  125. package/esm/generated/services/EvmChainsService.d.ts +7 -2
  126. package/esm/generated/services/EvmChainsService.js +4 -2
  127. package/esm/generated/services/EvmContractsService.d.ts +20 -1
  128. package/esm/generated/services/EvmContractsService.js +16 -0
  129. package/esm/generated/services/EvmTransactionsService.d.ts +91 -49
  130. package/esm/generated/services/EvmTransactionsService.js +32 -32
  131. package/esm/generated/services/NfTsService.d.ts +27 -2
  132. package/esm/generated/services/NfTsService.js +19 -0
  133. package/esm/generated/services/OperationsService.d.ts +11 -11
  134. package/esm/generated/services/OperationsService.js +10 -10
  135. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
  136. package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
  137. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +21 -8
  138. package/esm/generated/services/PrimaryNetworkRewardsService.js +12 -6
  139. package/esm/generated/services/PrimaryNetworkService.d.ts +53 -29
  140. package/esm/generated/services/PrimaryNetworkService.js +26 -14
  141. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
  142. package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
  143. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
  144. package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
  145. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
  146. package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
  147. package/esm/generated/services/RpcService.d.ts +25 -0
  148. package/esm/generated/services/RpcService.js +24 -0
  149. package/esm/generated/services/TeleporterService.d.ts +57 -0
  150. package/esm/generated/services/TeleporterService.js +39 -0
  151. package/esm/generated/services/WebhooksService.d.ts +95 -0
  152. package/esm/generated/services/WebhooksService.js +80 -0
  153. package/esm/index.d.ts +44 -3
  154. package/esm/index.js +22 -2
  155. package/package.json +3 -3
  156. package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
  157. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
  158. package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -23,15 +23,9 @@ interface OnCancel {
23
23
  (cancelHandler: () => void): void;
24
24
  }
25
25
  declare class CancelablePromise<T> implements Promise<T> {
26
- readonly [Symbol.toStringTag]: string;
27
- private _isResolved;
28
- private _isRejected;
29
- private _isCancelled;
30
- private readonly _cancelHandlers;
31
- private readonly _promise;
32
- private _resolve?;
33
- private _reject?;
26
+ #private;
34
27
  constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: OnCancel) => void);
28
+ get [Symbol.toStringTag](): string;
35
29
  then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
36
30
  catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
37
31
  finally(onFinally?: (() => void) | null): Promise<T>;
@@ -60,6 +54,19 @@ declare abstract class BaseHttpRequest {
60
54
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
61
55
  }
62
56
 
57
+ declare class DefaultService {
58
+ readonly httpRequest: BaseHttpRequest;
59
+ constructor(httpRequest: BaseHttpRequest);
60
+ /**
61
+ * @returns any
62
+ * @throws ApiError
63
+ */
64
+ mediaControllerUploadImage(): CancelablePromise<any>;
65
+ }
66
+
67
+ /**
68
+ * ISO 4217 currency code.
69
+ */
63
70
  declare enum CurrencyCode {
64
71
  USD = "usd",
65
72
  EUR = "eur",
@@ -78,9 +85,6 @@ declare enum CurrencyCode {
78
85
  }
79
86
 
80
87
  type Money = {
81
- /**
82
- * ISO 4217 currency code.
83
- */
84
88
  currencyCode: CurrencyCode;
85
89
  /**
86
90
  * Monetary value in base 10 decimals.
@@ -130,6 +134,9 @@ type GetNativeBalanceResponse = {
130
134
  nativeTokenBalance: NativeTokenBalance;
131
135
  };
132
136
 
137
+ /**
138
+ * The metadata indexing status of the nft.
139
+ */
133
140
  declare enum NftTokenMetadataStatus {
134
141
  UNKNOWN = "UNKNOWN",
135
142
  MISSING_TOKEN = "MISSING_TOKEN",
@@ -145,9 +152,6 @@ declare enum NftTokenMetadataStatus {
145
152
  }
146
153
 
147
154
  type Erc1155TokenMetadata = {
148
- /**
149
- * The metadata indexing status of the nft.
150
- */
151
155
  indexStatus: NftTokenMetadataStatus;
152
156
  metadataLastUpdatedTimestamp?: number;
153
157
  name?: string;
@@ -186,9 +190,6 @@ declare namespace Erc1155TokenBalance {
186
190
  }
187
191
 
188
192
  type Erc721TokenMetadata = {
189
- /**
190
- * The metadata indexing status of the nft.
191
- */
192
193
  indexStatus: NftTokenMetadataStatus;
193
194
  metadataLastUpdatedTimestamp?: number;
194
195
  name?: string;
@@ -335,7 +336,7 @@ declare class EvmBalancesService {
335
336
  */
336
337
  getNativeBalance({ chainId, address, blockNumber, currency, }: {
337
338
  /**
338
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
339
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
339
340
  */
340
341
  chainId: string;
341
342
  /**
@@ -361,9 +362,9 @@ declare class EvmBalancesService {
361
362
  * @returns ListErc20BalancesResponse
362
363
  * @throws ApiError
363
364
  */
364
- listErc20Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddresses, currency, }: {
365
+ listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
365
366
  /**
366
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
367
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
367
368
  */
368
369
  chainId: string;
369
370
  /**
@@ -374,14 +375,14 @@ declare class EvmBalancesService {
374
375
  * The block number, if not defined the block number will be the latest block.
375
376
  */
376
377
  blockNumber?: string;
377
- /**
378
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
379
- */
380
- pageSize?: number;
381
378
  /**
382
379
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
383
380
  */
384
381
  pageToken?: string;
382
+ /**
383
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
384
+ */
385
+ pageSize?: number;
385
386
  /**
386
387
  * A comma separated list of contract addresses to filter by.
387
388
  */
@@ -399,23 +400,23 @@ declare class EvmBalancesService {
399
400
  * @returns ListErc721BalancesResponse
400
401
  * @throws ApiError
401
402
  */
402
- listErc721Balances({ chainId, address, pageSize, pageToken, contractAddress, }: {
403
+ listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
403
404
  /**
404
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
405
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
405
406
  */
406
407
  chainId: string;
407
408
  /**
408
409
  * A wallet address.
409
410
  */
410
411
  address: string;
411
- /**
412
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
413
- */
414
- pageSize?: number;
415
412
  /**
416
413
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
417
414
  */
418
415
  pageToken?: string;
416
+ /**
417
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
418
+ */
419
+ pageSize?: number;
419
420
  /**
420
421
  * A contract addresses to filter by.
421
422
  */
@@ -431,9 +432,9 @@ declare class EvmBalancesService {
431
432
  * @returns ListErc1155BalancesResponse
432
433
  * @throws ApiError
433
434
  */
434
- listErc1155Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddress, }: {
435
+ listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
435
436
  /**
436
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
437
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
437
438
  */
438
439
  chainId: string;
439
440
  /**
@@ -444,14 +445,14 @@ declare class EvmBalancesService {
444
445
  * The block number, if not defined the block number will be the latest block.
445
446
  */
446
447
  blockNumber?: string;
447
- /**
448
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
449
- */
450
- pageSize?: number;
451
448
  /**
452
449
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
453
450
  */
454
451
  pageToken?: string;
452
+ /**
453
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
454
+ */
455
+ pageSize?: number;
455
456
  /**
456
457
  * A contract addresses to filter by.
457
458
  */
@@ -465,23 +466,23 @@ declare class EvmBalancesService {
465
466
  * @returns ListCollectibleBalancesResponse
466
467
  * @throws ApiError
467
468
  */
468
- listCollectibleBalances({ chainId, address, pageSize, pageToken, contractAddress, }: {
469
+ listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
469
470
  /**
470
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
471
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
471
472
  */
472
473
  chainId: string;
473
474
  /**
474
475
  * A wallet address.
475
476
  */
476
477
  address: string;
477
- /**
478
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
479
- */
480
- pageSize?: number;
481
478
  /**
482
479
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
483
480
  */
484
481
  pageToken?: string;
482
+ /**
483
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
484
+ */
485
+ pageSize?: number;
485
486
  /**
486
487
  * A contract addresses to filter by.
487
488
  */
@@ -594,19 +595,19 @@ declare class EvmBlocksService {
594
595
  * @returns ListEvmBlocksResponse
595
596
  * @throws ApiError
596
597
  */
597
- getLatestBlocks({ chainId, pageSize, pageToken, }: {
598
+ getLatestBlocks({ chainId, pageToken, pageSize, }: {
598
599
  /**
599
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
600
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
600
601
  */
601
602
  chainId: string;
602
- /**
603
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
604
- */
605
- pageSize?: number;
606
603
  /**
607
604
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
608
605
  */
609
606
  pageToken?: string;
607
+ /**
608
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
609
+ */
610
+ pageSize?: number;
610
611
  }): CancelablePromise<ListEvmBlocksResponse>;
611
612
  /**
612
613
  * Get block
@@ -616,7 +617,7 @@ declare class EvmBlocksService {
616
617
  */
617
618
  getBlock({ chainId, blockId, }: {
618
619
  /**
619
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
620
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
620
621
  */
621
622
  chainId: string;
622
623
  /**
@@ -626,6 +627,9 @@ declare class EvmBlocksService {
626
627
  }): CancelablePromise<GetEvmBlockResponse>;
627
628
  }
628
629
 
630
+ /**
631
+ * Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
632
+ */
629
633
  declare enum ChainStatus {
630
634
  OK = "OK",
631
635
  UNAVAILABLE = "UNAVAILABLE"
@@ -663,9 +667,6 @@ declare enum VmName {
663
667
 
664
668
  type GetChainResponse = {
665
669
  chainId: string;
666
- /**
667
- * Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
668
- */
669
670
  status: ChainStatus;
670
671
  chainName: string;
671
672
  description: string;
@@ -681,13 +682,15 @@ type GetChainResponse = {
681
682
  networkToken: NetworkToken;
682
683
  chainLogoUri?: string;
683
684
  private?: boolean;
685
+ enabledFeatures?: Array<'nftIndexing'>;
684
686
  };
685
687
 
688
+ declare enum GlacierApiFeature {
689
+ NFT_INDEXING = "nftIndexing"
690
+ }
691
+
686
692
  type ChainInfo = {
687
693
  chainId: string;
688
- /**
689
- * Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
690
- */
691
694
  status: ChainStatus;
692
695
  chainName: string;
693
696
  description: string;
@@ -703,6 +706,7 @@ type ChainInfo = {
703
706
  networkToken: NetworkToken;
704
707
  chainLogoUri?: string;
705
708
  private?: boolean;
709
+ enabledFeatures?: Array<'nftIndexing'>;
706
710
  };
707
711
 
708
712
  type ListChainsResponse = {
@@ -723,11 +727,15 @@ declare class EvmChainsService {
723
727
  * @returns ListChainsResponse
724
728
  * @throws ApiError
725
729
  */
726
- supportedChains({ network, }: {
730
+ supportedChains({ network, feature, }: {
727
731
  /**
728
732
  * mainnet or testnet.
729
733
  */
730
734
  network?: NetworkType;
735
+ /**
736
+ * Filter by feature.
737
+ */
738
+ feature?: GlacierApiFeature;
731
739
  }): CancelablePromise<ListChainsResponse>;
732
740
  /**
733
741
  * Get chain information
@@ -737,24 +745,12 @@ declare class EvmChainsService {
737
745
  */
738
746
  getChainInfo({ chainId, }: {
739
747
  /**
740
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
748
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
741
749
  */
742
750
  chainId: string;
743
751
  }): CancelablePromise<GetChainResponse>;
744
752
  }
745
753
 
746
- type ContractDeploymentDetails = {
747
- txHash: string;
748
- /**
749
- * The address that initiated the transaction which deployed this contract.
750
- */
751
- deployerAddress: string;
752
- /**
753
- * The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution.
754
- */
755
- deployerContractAddress?: string;
756
- };
757
-
758
754
  type ImageAsset = {
759
755
  assetId?: string;
760
756
  /**
@@ -793,6 +789,120 @@ type ResourceLink = {
793
789
  url: string;
794
790
  };
795
791
 
792
+ type ContractSubmissionErc1155 = {
793
+ description?: string;
794
+ officialSite?: string;
795
+ email?: string;
796
+ logoAsset?: ImageAsset;
797
+ bannerAsset?: ImageAsset;
798
+ color?: string;
799
+ resourceLinks?: Array<ResourceLink>;
800
+ tags?: Array<string>;
801
+ /**
802
+ * The contract name.
803
+ */
804
+ name: string;
805
+ ercType: ContractSubmissionErc1155.ercType;
806
+ /**
807
+ * The contract symbol.
808
+ */
809
+ symbol: string;
810
+ pricingProviders?: PricingProviders;
811
+ };
812
+ declare namespace ContractSubmissionErc1155 {
813
+ enum ercType {
814
+ ERC_1155 = "ERC-1155"
815
+ }
816
+ }
817
+
818
+ type ContractSubmissionErc20 = {
819
+ description?: string;
820
+ officialSite?: string;
821
+ email?: string;
822
+ logoAsset?: ImageAsset;
823
+ bannerAsset?: ImageAsset;
824
+ color?: string;
825
+ resourceLinks?: Array<ResourceLink>;
826
+ tags?: Array<string>;
827
+ /**
828
+ * The contract name.
829
+ */
830
+ name: string;
831
+ ercType: ContractSubmissionErc20.ercType;
832
+ /**
833
+ * The contract symbol.
834
+ */
835
+ symbol: string;
836
+ pricingProviders?: PricingProviders;
837
+ };
838
+ declare namespace ContractSubmissionErc20 {
839
+ enum ercType {
840
+ ERC_20 = "ERC-20"
841
+ }
842
+ }
843
+
844
+ type ContractSubmissionErc721 = {
845
+ description?: string;
846
+ officialSite?: string;
847
+ email?: string;
848
+ logoAsset?: ImageAsset;
849
+ bannerAsset?: ImageAsset;
850
+ color?: string;
851
+ resourceLinks?: Array<ResourceLink>;
852
+ tags?: Array<string>;
853
+ /**
854
+ * The contract name.
855
+ */
856
+ name: string;
857
+ ercType: ContractSubmissionErc721.ercType;
858
+ /**
859
+ * The contract symbol.
860
+ */
861
+ symbol: string;
862
+ };
863
+ declare namespace ContractSubmissionErc721 {
864
+ enum ercType {
865
+ ERC_721 = "ERC-721"
866
+ }
867
+ }
868
+
869
+ type ContractSubmissionUnknown = {
870
+ description?: string;
871
+ officialSite?: string;
872
+ email?: string;
873
+ logoAsset?: ImageAsset;
874
+ bannerAsset?: ImageAsset;
875
+ color?: string;
876
+ resourceLinks?: Array<ResourceLink>;
877
+ tags?: Array<string>;
878
+ /**
879
+ * The contract name.
880
+ */
881
+ name: string;
882
+ ercType: ContractSubmissionUnknown.ercType;
883
+ };
884
+ declare namespace ContractSubmissionUnknown {
885
+ enum ercType {
886
+ UNKNOWN = "UNKNOWN"
887
+ }
888
+ }
889
+
890
+ type ContractSubmissionBody = {
891
+ contract: (ContractSubmissionErc1155 | ContractSubmissionErc20 | ContractSubmissionErc721 | ContractSubmissionUnknown);
892
+ };
893
+
894
+ type ContractDeploymentDetails = {
895
+ txHash: string;
896
+ /**
897
+ * The address that initiated the transaction which deployed this contract.
898
+ */
899
+ deployerAddress: string;
900
+ /**
901
+ * The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution.
902
+ */
903
+ deployerContractAddress?: string;
904
+ };
905
+
796
906
  type Erc1155Contract = {
797
907
  /**
798
908
  * The contract name.
@@ -915,6 +1025,10 @@ declare namespace UnknownContract {
915
1025
  }
916
1026
  }
917
1027
 
1028
+ type UpdateContractResponse = {
1029
+ contract: (UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract);
1030
+ };
1031
+
918
1032
  declare class EvmContractsService {
919
1033
  readonly httpRequest: BaseHttpRequest;
920
1034
  constructor(httpRequest: BaseHttpRequest);
@@ -926,7 +1040,7 @@ declare class EvmContractsService {
926
1040
  */
927
1041
  getContractMetadata({ chainId, address, }: {
928
1042
  /**
929
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1043
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
930
1044
  */
931
1045
  chainId: string;
932
1046
  /**
@@ -934,6 +1048,23 @@ declare class EvmContractsService {
934
1048
  */
935
1049
  address: string;
936
1050
  }): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1051
+ /**
1052
+ * Update contract information
1053
+ * Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
1054
+ * @returns UpdateContractResponse
1055
+ * @throws ApiError
1056
+ */
1057
+ updateContractInfo({ chainId, address, requestBody, }: {
1058
+ /**
1059
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1060
+ */
1061
+ chainId: string;
1062
+ /**
1063
+ * Contract address on the relevant chain.
1064
+ */
1065
+ address: string;
1066
+ requestBody: ContractSubmissionBody;
1067
+ }): CancelablePromise<UpdateContractResponse>;
937
1068
  }
938
1069
 
939
1070
  type Erc1155Token = {
@@ -1059,6 +1190,9 @@ type Erc721TransferDetails = {
1059
1190
  erc721Token: Erc721Token;
1060
1191
  };
1061
1192
 
1193
+ /**
1194
+ * 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.
1195
+ */
1062
1196
  declare enum TransactionMethodType {
1063
1197
  NATIVE_TRANSFER = "NATIVE_TRANSFER",
1064
1198
  CONTRACT_CALL = "CONTRACT_CALL",
@@ -1066,9 +1200,6 @@ declare enum TransactionMethodType {
1066
1200
  }
1067
1201
 
1068
1202
  type Method = {
1069
- /**
1070
- * 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.
1071
- */
1072
1203
  callType: TransactionMethodType;
1073
1204
  /**
1074
1205
  * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
@@ -1429,7 +1560,7 @@ type ListTransfersResponse = {
1429
1560
  * 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.
1430
1561
  */
1431
1562
  nextPageToken?: string;
1432
- transfers: (Array<Erc20Transfer> | Array<Erc721Transfer> | Array<Erc1155Transfer>);
1563
+ transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
1433
1564
  };
1434
1565
 
1435
1566
  declare enum SortOrder {
@@ -1453,7 +1584,7 @@ declare class EvmTransactionsService {
1453
1584
  */
1454
1585
  getDeploymentTransaction({ chainId, address, currency, }: {
1455
1586
  /**
1456
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1587
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1457
1588
  */
1458
1589
  chainId: string;
1459
1590
  /**
@@ -1471,23 +1602,23 @@ declare class EvmTransactionsService {
1471
1602
  * @returns ListContractsResponse
1472
1603
  * @throws ApiError
1473
1604
  */
1474
- listContractDeployments({ chainId, address, pageSize, pageToken, }: {
1605
+ listContractDeployments({ chainId, address, pageToken, pageSize, }: {
1475
1606
  /**
1476
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1607
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1477
1608
  */
1478
1609
  chainId: string;
1479
1610
  /**
1480
1611
  * A wallet address.
1481
1612
  */
1482
1613
  address: string;
1483
- /**
1484
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1485
- */
1486
- pageSize?: number;
1487
1614
  /**
1488
1615
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1489
1616
  */
1490
1617
  pageToken?: string;
1618
+ /**
1619
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1620
+ */
1621
+ pageSize?: number;
1491
1622
  }): CancelablePromise<ListContractsResponse>;
1492
1623
  /**
1493
1624
  * List ERC transfers
@@ -1495,25 +1626,31 @@ declare class EvmTransactionsService {
1495
1626
  * @returns ListTransfersResponse
1496
1627
  * @throws ApiError
1497
1628
  */
1498
- listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1629
+ listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1499
1630
  /**
1500
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1631
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1501
1632
  */
1502
1633
  chainId: string;
1503
1634
  /**
1504
1635
  * A wallet address.
1505
1636
  */
1506
1637
  address: string;
1638
+ /**
1639
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1640
+ */
1507
1641
  startBlock?: number;
1508
- endBlock?: number;
1509
1642
  /**
1510
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1643
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1511
1644
  */
1512
- pageSize?: number;
1645
+ endBlock?: number;
1513
1646
  /**
1514
1647
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1515
1648
  */
1516
1649
  pageToken?: string;
1650
+ /**
1651
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1652
+ */
1653
+ pageSize?: number;
1517
1654
  }): CancelablePromise<ListTransfersResponse>;
1518
1655
  /**
1519
1656
  * List transactions
@@ -1523,24 +1660,30 @@ declare class EvmTransactionsService {
1523
1660
  * @returns ListTransactionDetailsResponse
1524
1661
  * @throws ApiError
1525
1662
  */
1526
- listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
1663
+ listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
1527
1664
  /**
1528
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1665
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1529
1666
  */
1530
1667
  chainId: string;
1531
1668
  /**
1532
1669
  * A wallet address.
1533
1670
  */
1534
1671
  address: string;
1672
+ /**
1673
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1674
+ */
1675
+ pageToken?: string;
1535
1676
  /**
1536
1677
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1537
1678
  */
1538
1679
  pageSize?: number;
1539
1680
  /**
1540
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1681
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1541
1682
  */
1542
- pageToken?: string;
1543
1683
  startBlock?: number;
1684
+ /**
1685
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1686
+ */
1544
1687
  endBlock?: number;
1545
1688
  /**
1546
1689
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
@@ -1553,25 +1696,31 @@ declare class EvmTransactionsService {
1553
1696
  * @returns ListNativeTransactionsResponse
1554
1697
  * @throws ApiError
1555
1698
  */
1556
- listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1699
+ listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1557
1700
  /**
1558
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1701
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1559
1702
  */
1560
1703
  chainId: string;
1561
1704
  /**
1562
1705
  * A wallet address.
1563
1706
  */
1564
1707
  address: string;
1708
+ /**
1709
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1710
+ */
1565
1711
  startBlock?: number;
1566
- endBlock?: number;
1567
1712
  /**
1568
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1713
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1569
1714
  */
1570
- pageSize?: number;
1715
+ endBlock?: number;
1571
1716
  /**
1572
1717
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1573
1718
  */
1574
1719
  pageToken?: string;
1720
+ /**
1721
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1722
+ */
1723
+ pageSize?: number;
1575
1724
  }): CancelablePromise<ListNativeTransactionsResponse>;
1576
1725
  /**
1577
1726
  * List ERC-20 transfers
@@ -1579,25 +1728,31 @@ declare class EvmTransactionsService {
1579
1728
  * @returns ListErc20TransactionsResponse
1580
1729
  * @throws ApiError
1581
1730
  */
1582
- listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1731
+ listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1583
1732
  /**
1584
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1733
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1585
1734
  */
1586
1735
  chainId: string;
1587
1736
  /**
1588
1737
  * A wallet address.
1589
1738
  */
1590
1739
  address: string;
1740
+ /**
1741
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1742
+ */
1591
1743
  startBlock?: number;
1592
- endBlock?: number;
1593
1744
  /**
1594
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1745
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1595
1746
  */
1596
- pageSize?: number;
1747
+ endBlock?: number;
1597
1748
  /**
1598
1749
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1599
1750
  */
1600
1751
  pageToken?: string;
1752
+ /**
1753
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1754
+ */
1755
+ pageSize?: number;
1601
1756
  }): CancelablePromise<ListErc20TransactionsResponse>;
1602
1757
  /**
1603
1758
  * List ERC-721 transfers
@@ -1605,25 +1760,31 @@ declare class EvmTransactionsService {
1605
1760
  * @returns ListErc721TransactionsResponse
1606
1761
  * @throws ApiError
1607
1762
  */
1608
- listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1763
+ listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1609
1764
  /**
1610
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1765
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1611
1766
  */
1612
1767
  chainId: string;
1613
1768
  /**
1614
1769
  * A wallet address.
1615
1770
  */
1616
1771
  address: string;
1772
+ /**
1773
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1774
+ */
1617
1775
  startBlock?: number;
1618
- endBlock?: number;
1619
1776
  /**
1620
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1777
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1621
1778
  */
1622
- pageSize?: number;
1779
+ endBlock?: number;
1623
1780
  /**
1624
1781
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1625
1782
  */
1626
1783
  pageToken?: string;
1784
+ /**
1785
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1786
+ */
1787
+ pageSize?: number;
1627
1788
  }): CancelablePromise<ListErc721TransactionsResponse>;
1628
1789
  /**
1629
1790
  * List ERC-1155 transfers
@@ -1631,25 +1792,31 @@ declare class EvmTransactionsService {
1631
1792
  * @returns ListErc1155TransactionsResponse
1632
1793
  * @throws ApiError
1633
1794
  */
1634
- listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1795
+ listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1635
1796
  /**
1636
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1797
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1637
1798
  */
1638
1799
  chainId: string;
1639
1800
  /**
1640
1801
  * A wallet address.
1641
1802
  */
1642
1803
  address: string;
1804
+ /**
1805
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1806
+ */
1643
1807
  startBlock?: number;
1644
- endBlock?: number;
1645
1808
  /**
1646
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1809
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1647
1810
  */
1648
- pageSize?: number;
1811
+ endBlock?: number;
1649
1812
  /**
1650
1813
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1651
1814
  */
1652
1815
  pageToken?: string;
1816
+ /**
1817
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1818
+ */
1819
+ pageSize?: number;
1653
1820
  }): CancelablePromise<ListErc1155TransactionsResponse>;
1654
1821
  /**
1655
1822
  * List internal transactions
@@ -1659,25 +1826,31 @@ declare class EvmTransactionsService {
1659
1826
  * @returns ListInternalTransactionsResponse
1660
1827
  * @throws ApiError
1661
1828
  */
1662
- listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1829
+ listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1663
1830
  /**
1664
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1831
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1665
1832
  */
1666
1833
  chainId: string;
1667
1834
  /**
1668
1835
  * A wallet address.
1669
1836
  */
1670
1837
  address: string;
1671
- startBlock?: number;
1672
- endBlock?: number;
1673
1838
  /**
1674
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1839
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1675
1840
  */
1676
- pageSize?: number;
1841
+ startBlock?: number;
1842
+ /**
1843
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1844
+ */
1845
+ endBlock?: number;
1677
1846
  /**
1678
1847
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1679
1848
  */
1680
1849
  pageToken?: string;
1850
+ /**
1851
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1852
+ */
1853
+ pageSize?: number;
1681
1854
  }): CancelablePromise<ListInternalTransactionsResponse>;
1682
1855
  /**
1683
1856
  * Get transaction
@@ -1687,7 +1860,7 @@ declare class EvmTransactionsService {
1687
1860
  */
1688
1861
  getTransaction({ chainId, txHash, }: {
1689
1862
  /**
1690
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1863
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1691
1864
  */
1692
1865
  chainId: string;
1693
1866
  /**
@@ -1703,7 +1876,7 @@ declare class EvmTransactionsService {
1703
1876
  */
1704
1877
  getTransactionsForBlock({ chainId, blockId, }: {
1705
1878
  /**
1706
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1879
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1707
1880
  */
1708
1881
  chainId: string;
1709
1882
  /**
@@ -1717,19 +1890,19 @@ declare class EvmTransactionsService {
1717
1890
  * @returns ListNativeTransactionsResponse
1718
1891
  * @throws ApiError
1719
1892
  */
1720
- listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
1893
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
1721
1894
  /**
1722
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1895
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1723
1896
  */
1724
1897
  chainId: string;
1725
- /**
1726
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1727
- */
1728
- pageSize?: number;
1729
1898
  /**
1730
1899
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1731
1900
  */
1732
1901
  pageToken?: string;
1902
+ /**
1903
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1904
+ */
1905
+ pageSize?: number;
1733
1906
  /**
1734
1907
  * A status filter for listed transactions.
1735
1908
  */
@@ -1753,6 +1926,14 @@ declare class HealthCheckService {
1753
1926
  }>;
1754
1927
  }
1755
1928
 
1929
+ type ListNftTokens = {
1930
+ /**
1931
+ * 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.
1932
+ */
1933
+ nextPageToken?: string;
1934
+ tokens: Array<(Erc721Token | Erc1155Token)>;
1935
+ };
1936
+
1756
1937
  declare class NfTsService {
1757
1938
  readonly httpRequest: BaseHttpRequest;
1758
1939
  constructor(httpRequest: BaseHttpRequest);
@@ -1764,7 +1945,7 @@ declare class NfTsService {
1764
1945
  */
1765
1946
  reindexNft({ chainId, address, tokenId, }: {
1766
1947
  /**
1767
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1948
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1768
1949
  */
1769
1950
  chainId: string;
1770
1951
  /**
@@ -1776,6 +1957,30 @@ declare class NfTsService {
1776
1957
  */
1777
1958
  tokenId: string;
1778
1959
  }): CancelablePromise<any>;
1960
+ /**
1961
+ * List tokens
1962
+ * Lists tokens for an NFT contract.
1963
+ * @returns ListNftTokens
1964
+ * @throws ApiError
1965
+ */
1966
+ listTokens({ chainId, address, pageToken, pageSize, }: {
1967
+ /**
1968
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1969
+ */
1970
+ chainId: string;
1971
+ /**
1972
+ * Contract address on the relevant chain.
1973
+ */
1974
+ address: string;
1975
+ /**
1976
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1977
+ */
1978
+ pageToken?: string;
1979
+ /**
1980
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1981
+ */
1982
+ pageSize?: number;
1983
+ }): CancelablePromise<ListNftTokens>;
1779
1984
  /**
1780
1985
  * Get token details
1781
1986
  * Gets token details for a specific token of an NFT contract.
@@ -1784,7 +1989,7 @@ declare class NfTsService {
1784
1989
  */
1785
1990
  getTokenDetails({ chainId, address, tokenId, }: {
1786
1991
  /**
1787
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1992
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1788
1993
  */
1789
1994
  chainId: string;
1790
1995
  /**
@@ -1803,8 +2008,12 @@ type EvmNetworkOptions = {
1803
2008
  includeChains: Array<string>;
1804
2009
  };
1805
2010
 
2011
+ declare enum EVMOperationType {
2012
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2013
+ }
2014
+
1806
2015
  type CreateEvmTransactionExportRequest = {
1807
- type: CreateEvmTransactionExportRequest.type;
2016
+ type: EVMOperationType;
1808
2017
  firstDate: string;
1809
2018
  lastDate: string;
1810
2019
  /**
@@ -1817,20 +2026,21 @@ type CreateEvmTransactionExportRequest = {
1817
2026
  endDate: string;
1818
2027
  options: EvmNetworkOptions;
1819
2028
  };
1820
- declare namespace CreateEvmTransactionExportRequest {
1821
- enum type {
1822
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
1823
- }
2029
+
2030
+ declare enum PrimaryNetworkOperationType {
2031
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2032
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2033
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"
1824
2034
  }
1825
2035
 
1826
2036
  type PrimaryNetworkOptions = {
1827
- addresses: Array<string>;
2037
+ addresses?: Array<string>;
1828
2038
  cChainEvmAddresses?: Array<string>;
1829
2039
  includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
1830
2040
  };
1831
2041
 
1832
2042
  type CreatePrimaryNetworkTransactionExportRequest = {
1833
- type: CreatePrimaryNetworkTransactionExportRequest.type;
2043
+ type: PrimaryNetworkOperationType;
1834
2044
  firstDate: string;
1835
2045
  lastDate: string;
1836
2046
  /**
@@ -1843,11 +2053,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
1843
2053
  endDate: string;
1844
2054
  options: PrimaryNetworkOptions;
1845
2055
  };
1846
- declare namespace CreatePrimaryNetworkTransactionExportRequest {
1847
- enum type {
1848
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
1849
- }
1850
- }
1851
2056
 
1852
2057
  declare enum OperationStatus {
1853
2058
  RUNNING = "RUNNING",
@@ -1857,8 +2062,10 @@ declare enum OperationStatus {
1857
2062
  }
1858
2063
 
1859
2064
  declare enum OperationType {
1860
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM",
1861
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2065
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2066
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2067
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",
2068
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
1862
2069
  }
1863
2070
 
1864
2071
  declare enum OperationStatusCode {
@@ -1892,17 +2099,6 @@ type OperationStatusResponse = {
1892
2099
  declare class OperationsService {
1893
2100
  readonly httpRequest: BaseHttpRequest;
1894
2101
  constructor(httpRequest: BaseHttpRequest);
1895
- /**
1896
- * Create transaction export operation
1897
- * Trigger a transaction export operation with given parameters.
1898
- *
1899
- * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
1900
- * @returns OperationStatusResponse
1901
- * @throws ApiError
1902
- */
1903
- postTransactionExportJob({ requestBody, }: {
1904
- requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
1905
- }): CancelablePromise<OperationStatusResponse>;
1906
2102
  /**
1907
2103
  * Get operation
1908
2104
  * Gets operation details for the given operation id.
@@ -1915,6 +2111,17 @@ declare class OperationsService {
1915
2111
  */
1916
2112
  operationId: string;
1917
2113
  }): CancelablePromise<OperationStatusResponse>;
2114
+ /**
2115
+ * Create transaction export operation
2116
+ * Trigger a transaction export operation with given parameters.
2117
+ *
2118
+ * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
2119
+ * @returns OperationStatusResponse
2120
+ * @throws ApiError
2121
+ */
2122
+ postTransactionExportJob({ requestBody, }: {
2123
+ requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2124
+ }): CancelablePromise<OperationStatusResponse>;
1918
2125
  }
1919
2126
 
1920
2127
  declare enum BlockchainIds {
@@ -1983,6 +2190,7 @@ type ListBlockchainsResponse = {
1983
2190
 
1984
2191
  type ActiveDelegatorDetails = {
1985
2192
  txHash: string;
2193
+ nodeId: string;
1986
2194
  rewardAddresses: Array<string>;
1987
2195
  amountDelegated: string;
1988
2196
  delegationFee: string;
@@ -2000,6 +2208,7 @@ declare namespace ActiveDelegatorDetails {
2000
2208
 
2001
2209
  type CompletedDelegatorDetails = {
2002
2210
  txHash: string;
2211
+ nodeId: string;
2003
2212
  rewardAddresses: Array<string>;
2004
2213
  amountDelegated: string;
2005
2214
  delegationFee: string;
@@ -2017,6 +2226,7 @@ declare namespace CompletedDelegatorDetails {
2017
2226
 
2018
2227
  type PendingDelegatorDetails = {
2019
2228
  txHash: string;
2229
+ nodeId: string;
2020
2230
  rewardAddresses: Array<string>;
2021
2231
  amountDelegated: string;
2022
2232
  delegationFee: string;
@@ -2047,13 +2257,44 @@ type BlockchainInfo = {
2047
2257
  blockchainId: string;
2048
2258
  };
2049
2259
 
2260
+ type SubnetOwnershipInfo = {
2261
+ /**
2262
+ * Locktime in seconds after which Subnet owners can control this Subnet.
2263
+ */
2264
+ locktime: number;
2265
+ /**
2266
+ * Minimum number of signatures required to sign the Subnet update transactions.
2267
+ */
2268
+ threshold: number;
2269
+ /**
2270
+ * Addresses that are eligible to sign the Subnet update transactions.
2271
+ */
2272
+ addresses: Array<string>;
2273
+ };
2274
+
2050
2275
  type Subnet = {
2051
2276
  createBlockTimestamp: number;
2052
2277
  createBlockIndex: string;
2053
2278
  subnetId: string;
2279
+ /**
2280
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2281
+ * @deprecated
2282
+ */
2054
2283
  ownerAddresses: Array<string>;
2284
+ /**
2285
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2286
+ * @deprecated
2287
+ */
2055
2288
  threshold: number;
2289
+ /**
2290
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2291
+ * @deprecated
2292
+ */
2056
2293
  locktime: number;
2294
+ /**
2295
+ * Latest subnet owner details for this Subnet.
2296
+ */
2297
+ subnetOwnershipInfo: SubnetOwnershipInfo;
2057
2298
  blockchains: Array<BlockchainInfo>;
2058
2299
  };
2059
2300
 
@@ -2068,22 +2309,46 @@ type ListSubnetsResponse = {
2068
2309
  type Rewards = {
2069
2310
  validationRewardAmount: string;
2070
2311
  delegationRewardAmount: string;
2312
+ rewardAddresses?: Array<string>;
2313
+ rewardTxHash?: string;
2314
+ };
2315
+
2316
+ type ValidatorHealthDetails = {
2317
+ /**
2318
+ * Percent of requests responded to in last polling.
2319
+ */
2320
+ reachabilityPercent: number;
2321
+ /**
2322
+ * Percent of requests benched on the P-Chain in last polling.
2323
+ */
2324
+ benchedPChainRequestsPercent: number;
2325
+ /**
2326
+ * Percentage of requests benched on the X-Chain in last polling.
2327
+ */
2328
+ benchedXChainRequestsPercent: number;
2329
+ /**
2330
+ * Percentage of requests benched on the C-Chain in last polling.
2331
+ */
2332
+ benchedCChainRequestsPercent: number;
2071
2333
  };
2072
2334
 
2073
2335
  type ActiveValidatorDetails = {
2336
+ txHash: string;
2074
2337
  nodeId: string;
2338
+ subnetId: string;
2075
2339
  amountStaked: string;
2076
- delegationFee: string;
2340
+ delegationFee?: string;
2077
2341
  startTimestamp: number;
2078
2342
  endTimestamp: number;
2079
2343
  stakePercentage: number;
2080
2344
  delegatorCount: number;
2081
- amountDelegated: string;
2345
+ amountDelegated?: string;
2082
2346
  uptimePerformance: number;
2083
- avalancheGoVersion: string;
2084
- delegationCapacity: string;
2347
+ avalancheGoVersion?: string;
2348
+ delegationCapacity?: string;
2085
2349
  potentialRewards: Rewards;
2086
2350
  validationStatus: ActiveValidatorDetails.validationStatus;
2351
+ validatorHealth: ValidatorHealthDetails;
2087
2352
  };
2088
2353
  declare namespace ActiveValidatorDetails {
2089
2354
  enum validationStatus {
@@ -2092,9 +2357,11 @@ declare namespace ActiveValidatorDetails {
2092
2357
  }
2093
2358
 
2094
2359
  type CompletedValidatorDetails = {
2360
+ txHash: string;
2095
2361
  nodeId: string;
2362
+ subnetId: string;
2096
2363
  amountStaked: string;
2097
- delegationFee: string;
2364
+ delegationFee?: string;
2098
2365
  startTimestamp: number;
2099
2366
  endTimestamp: number;
2100
2367
  delegatorCount: number;
@@ -2108,9 +2375,11 @@ declare namespace CompletedValidatorDetails {
2108
2375
  }
2109
2376
 
2110
2377
  type PendingValidatorDetails = {
2378
+ txHash: string;
2111
2379
  nodeId: string;
2380
+ subnetId: string;
2112
2381
  amountStaked: string;
2113
- delegationFee: string;
2382
+ delegationFee?: string;
2114
2383
  startTimestamp: number;
2115
2384
  endTimestamp: number;
2116
2385
  validationStatus: PendingValidatorDetails.validationStatus;
@@ -2121,15 +2390,33 @@ declare namespace PendingValidatorDetails {
2121
2390
  }
2122
2391
  }
2123
2392
 
2393
+ type RemovedValidatorDetails = {
2394
+ txHash: string;
2395
+ nodeId: string;
2396
+ subnetId: string;
2397
+ amountStaked: string;
2398
+ delegationFee?: string;
2399
+ startTimestamp: number;
2400
+ endTimestamp: number;
2401
+ removeTxHash: string;
2402
+ removeTimestamp: number;
2403
+ validationStatus: RemovedValidatorDetails.validationStatus;
2404
+ };
2405
+ declare namespace RemovedValidatorDetails {
2406
+ enum validationStatus {
2407
+ REMOVED = "removed"
2408
+ }
2409
+ }
2410
+
2124
2411
  type ListValidatorDetailsResponse = {
2125
2412
  /**
2126
2413
  * 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.
2127
2414
  */
2128
2415
  nextPageToken?: string;
2129
2416
  /**
2130
- * The list of Validator Details.
2417
+ * The list of validator Details.
2131
2418
  */
2132
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2419
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2133
2420
  };
2134
2421
 
2135
2422
  declare enum Network {
@@ -2140,7 +2427,24 @@ declare enum Network {
2140
2427
  declare enum ValidationStatusType {
2141
2428
  COMPLETED = "completed",
2142
2429
  ACTIVE = "active",
2143
- PENDING = "pending"
2430
+ PENDING = "pending",
2431
+ REMOVED = "removed"
2432
+ }
2433
+
2434
+ /**
2435
+ * Cap represents if an asset is a variable or fixed cap asset.
2436
+ */
2437
+ declare enum PrimaryNetworkAssetCap {
2438
+ FIXED = "fixed",
2439
+ VARIABLE = "variable"
2440
+ }
2441
+
2442
+ /**
2443
+ * Type of asset like SECP256K1 or NFT.
2444
+ */
2445
+ declare enum PrimaryNetworkAssetType {
2446
+ SECP256K1 = "secp256k1",
2447
+ NFT = "nft"
2144
2448
  }
2145
2449
 
2146
2450
  type XChainAssetDetails = {
@@ -2160,18 +2464,12 @@ type XChainAssetDetails = {
2160
2464
  * Denomination of this asset to represent fungibility.
2161
2465
  */
2162
2466
  denomination: number;
2163
- /**
2164
- * Type of asset like SECP256K1 or NFT.
2165
- */
2166
- type: string;
2467
+ type: PrimaryNetworkAssetType;
2167
2468
  /**
2168
2469
  * Timestamp in seconds this asset was created on.
2169
2470
  */
2170
2471
  createdAtTimestamp: number;
2171
- /**
2172
- * Cap represents if an asset can be or is fixed cap.
2173
- */
2174
- cap: string;
2472
+ cap: PrimaryNetworkAssetCap;
2175
2473
  };
2176
2474
 
2177
2475
  declare enum XChainId {
@@ -2237,19 +2535,19 @@ declare class PrimaryNetworkService {
2237
2535
  * @returns ListBlockchainsResponse
2238
2536
  * @throws ApiError
2239
2537
  */
2240
- listBlockchains({ network, pageSize, pageToken, sortOrder, }: {
2538
+ listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2241
2539
  /**
2242
2540
  * Either mainnet or a testnet.
2243
2541
  */
2244
2542
  network: Network;
2245
- /**
2246
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2247
- */
2248
- pageSize?: number;
2249
2543
  /**
2250
2544
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2251
2545
  */
2252
2546
  pageToken?: string;
2547
+ /**
2548
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2549
+ */
2550
+ pageSize?: number;
2253
2551
  /**
2254
2552
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2255
2553
  */
@@ -2261,19 +2559,19 @@ declare class PrimaryNetworkService {
2261
2559
  * @returns ListSubnetsResponse
2262
2560
  * @throws ApiError
2263
2561
  */
2264
- listSubnets({ network, pageSize, pageToken, sortOrder, }: {
2562
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2265
2563
  /**
2266
2564
  * Either mainnet or a testnet.
2267
2565
  */
2268
2566
  network: Network;
2269
- /**
2270
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2271
- */
2272
- pageSize?: number;
2273
2567
  /**
2274
2568
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2275
2569
  */
2276
2570
  pageToken?: string;
2571
+ /**
2572
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2573
+ */
2574
+ pageSize?: number;
2277
2575
  /**
2278
2576
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2279
2577
  */
@@ -2285,19 +2583,19 @@ declare class PrimaryNetworkService {
2285
2583
  * @returns ListValidatorDetailsResponse
2286
2584
  * @throws ApiError
2287
2585
  */
2288
- listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, }: {
2586
+ listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2289
2587
  /**
2290
2588
  * Either mainnet or a testnet.
2291
2589
  */
2292
2590
  network: Network;
2293
- /**
2294
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2295
- */
2296
- pageSize?: number;
2297
2591
  /**
2298
2592
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2299
2593
  */
2300
2594
  pageToken?: string;
2595
+ /**
2596
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2597
+ */
2598
+ pageSize?: number;
2301
2599
  /**
2302
2600
  * A comma separated list of node ids to filter by.
2303
2601
  */
@@ -2311,9 +2609,33 @@ declare class PrimaryNetworkService {
2311
2609
  */
2312
2610
  validationStatus?: ValidationStatusType;
2313
2611
  /**
2314
- * The minimum delegation capacity, used to filter the set of nodes being returned (Units - nAVAX). Default is 0.
2612
+ * The minimum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000
2613
+ */
2614
+ minDelegationCapacity?: string;
2615
+ /**
2616
+ * The maximum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000.
2617
+ */
2618
+ maxDelegationCapacity?: string;
2619
+ /**
2620
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2621
+ */
2622
+ minTimeRemaining?: number;
2623
+ /**
2624
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2625
+ */
2626
+ maxTimeRemaining?: number;
2627
+ /**
2628
+ * The minimum fee percentage, used to filter the set of nodes being returned.If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 2, as per the Avalanche spec.
2629
+ */
2630
+ minFeePercentage?: number;
2631
+ /**
2632
+ * The maximum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 100.
2633
+ */
2634
+ maxFeePercentage?: number;
2635
+ /**
2636
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
2315
2637
  */
2316
- minDelegationCapacity?: any;
2638
+ subnetId?: any;
2317
2639
  }): CancelablePromise<ListValidatorDetailsResponse>;
2318
2640
  /**
2319
2641
  * Get single validator details
@@ -2321,7 +2643,7 @@ declare class PrimaryNetworkService {
2321
2643
  * @returns ListValidatorDetailsResponse
2322
2644
  * @throws ApiError
2323
2645
  */
2324
- getSingleValidatorDetails({ network, nodeId, pageSize, pageToken, sortOrder, validationStatus, }: {
2646
+ getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
2325
2647
  /**
2326
2648
  * Either mainnet or a testnet.
2327
2649
  */
@@ -2330,14 +2652,14 @@ declare class PrimaryNetworkService {
2330
2652
  * A primary network (P or X chain) nodeId.
2331
2653
  */
2332
2654
  nodeId: string;
2333
- /**
2334
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2335
- */
2336
- pageSize?: number;
2337
2655
  /**
2338
2656
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2339
2657
  */
2340
2658
  pageToken?: string;
2659
+ /**
2660
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2661
+ */
2662
+ pageSize?: number;
2341
2663
  /**
2342
2664
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2343
2665
  */
@@ -2353,19 +2675,23 @@ declare class PrimaryNetworkService {
2353
2675
  * @returns ListDelegatorDetailsResponse
2354
2676
  * @throws ApiError
2355
2677
  */
2356
- listDelegators({ network, pageSize, pageToken, sortOrder, delegationStatus, rewardAddresses, nodeIds, }: {
2678
+ listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2357
2679
  /**
2358
2680
  * Either mainnet or a testnet.
2359
2681
  */
2360
2682
  network: Network;
2683
+ /**
2684
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2685
+ */
2686
+ pageToken?: string;
2361
2687
  /**
2362
2688
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2363
2689
  */
2364
2690
  pageSize?: number;
2365
2691
  /**
2366
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2692
+ * A comma separated list of reward addresses to filter by.
2367
2693
  */
2368
- pageToken?: string;
2694
+ rewardAddresses?: string;
2369
2695
  /**
2370
2696
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2371
2697
  */
@@ -2374,10 +2700,6 @@ declare class PrimaryNetworkService {
2374
2700
  * Delegation status of the node.
2375
2701
  */
2376
2702
  delegationStatus?: DelegationStatusType;
2377
- /**
2378
- * A comma separated list of reward addresses to filter by.
2379
- */
2380
- rewardAddresses?: string;
2381
2703
  /**
2382
2704
  * A comma separated list of node ids to filter by.
2383
2705
  */
@@ -2413,10 +2735,7 @@ type CChainSharedAssetBalance = {
2413
2735
  * Denomination of this asset to represent fungibility.
2414
2736
  */
2415
2737
  denomination: number;
2416
- /**
2417
- * Type of asset like SECP256K1 or NFT.
2418
- */
2419
- type: string;
2738
+ type: PrimaryNetworkAssetType;
2420
2739
  /**
2421
2740
  * Amount of the asset.
2422
2741
  */
@@ -2451,49 +2770,89 @@ type ListCChainAtomicBalancesResponse = {
2451
2770
  chainInfo: PrimaryNetworkChainInfo;
2452
2771
  };
2453
2772
 
2454
- type PChainAsset = {
2773
+ type AggregatedAssetAmount = {
2774
+ /**
2775
+ * Unique ID for an asset.
2776
+ */
2455
2777
  assetId: string;
2778
+ /**
2779
+ * Name of this asset.
2780
+ */
2781
+ name: string;
2782
+ /**
2783
+ * Symbol for this asset (max 4 characters).
2784
+ */
2785
+ symbol: string;
2786
+ /**
2787
+ * Denomination of this asset to represent fungibility.
2788
+ */
2789
+ denomination: number;
2790
+ type: PrimaryNetworkAssetType;
2791
+ /**
2792
+ * Amount of the asset.
2793
+ */
2456
2794
  amount: string;
2795
+ utxoCount: number;
2457
2796
  };
2458
2797
 
2459
2798
  type PChainSharedAsset = {
2799
+ /**
2800
+ * Unique ID for an asset.
2801
+ */
2460
2802
  assetId: string;
2803
+ /**
2804
+ * Name of this asset.
2805
+ */
2806
+ name: string;
2807
+ /**
2808
+ * Symbol for this asset (max 4 characters).
2809
+ */
2810
+ symbol: string;
2811
+ /**
2812
+ * Denomination of this asset to represent fungibility.
2813
+ */
2814
+ denomination: number;
2815
+ type: PrimaryNetworkAssetType;
2816
+ /**
2817
+ * Amount of the asset.
2818
+ */
2461
2819
  amount: string;
2820
+ utxoCount: number;
2462
2821
  sharedWithChainId: string;
2463
2822
  status: string;
2464
2823
  };
2465
2824
 
2466
2825
  type PChainBalance = {
2467
2826
  /**
2468
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is consumable by any transaction.
2827
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is consumable by any transaction.
2469
2828
  */
2470
- unlockedUnstaked: Array<PChainAsset>;
2829
+ unlockedUnstaked: Array<AggregatedAssetAmount>;
2471
2830
  /**
2472
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax that is consumable by any transaction when the staking period ends.
2831
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax that is consumable by any transaction when the staking period ends.
2473
2832
  */
2474
- unlockedStaked: Array<PChainAsset>;
2833
+ unlockedStaked: Array<AggregatedAssetAmount>;
2475
2834
  /**
2476
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and not consumable by any transaction at the current time.
2835
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and not consumable by any transaction at the current time.
2477
2836
  */
2478
- lockedPlatform: Array<PChainAsset>;
2837
+ lockedPlatform: Array<AggregatedAssetAmount>;
2479
2838
  /**
2480
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and only consumeable for staking transactions.
2839
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and only consumeable for staking transactions.
2481
2840
  */
2482
- lockedStakeable: Array<PChainAsset>;
2841
+ lockedStakeable: Array<AggregatedAssetAmount>;
2483
2842
  /**
2484
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax that will be locked when the staking period ends.
2843
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax that will be locked when the staking period ends.
2485
2844
  */
2486
- lockedStaked: Array<PChainAsset>;
2845
+ lockedStaked: Array<AggregatedAssetAmount>;
2487
2846
  /**
2488
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax whose staking period has not yet started.
2847
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax whose staking period has not yet started.
2489
2848
  */
2490
- pendingStaked: Array<PChainAsset>;
2849
+ pendingStaked: Array<AggregatedAssetAmount>;
2491
2850
  /**
2492
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.
2851
+ * A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.
2493
2852
  */
2494
2853
  atomicMemoryUnlocked: Array<PChainSharedAsset>;
2495
2854
  /**
2496
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of locked Avax in the atomic memory between P-Chain and other chain.
2855
+ * A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of locked Avax in the atomic memory between P-Chain and other chain.
2497
2856
  */
2498
2857
  atomicMemoryLocked: Array<PChainSharedAsset>;
2499
2858
  };
@@ -2503,7 +2862,7 @@ type ListPChainBalancesResponse = {
2503
2862
  chainInfo: PrimaryNetworkChainInfo;
2504
2863
  };
2505
2864
 
2506
- type XChainAssetBalance = {
2865
+ type XChainSharedAssetBalance = {
2507
2866
  /**
2508
2867
  * Unique ID for an asset.
2509
2868
  */
@@ -2520,55 +2879,24 @@ type XChainAssetBalance = {
2520
2879
  * Denomination of this asset to represent fungibility.
2521
2880
  */
2522
2881
  denomination: number;
2523
- /**
2524
- * Type of asset like SECP256K1 or NFT.
2525
- */
2526
- type: string;
2882
+ type: PrimaryNetworkAssetType;
2527
2883
  /**
2528
2884
  * Amount of the asset.
2529
2885
  */
2530
2886
  amount: string;
2531
2887
  utxoCount: number;
2888
+ sharedWithChainId: string;
2532
2889
  };
2533
2890
 
2534
- type XChainSharedAssetBalance = {
2535
- /**
2536
- * Unique ID for an asset.
2537
- */
2538
- assetId: string;
2539
- /**
2540
- * Name of this asset.
2541
- */
2542
- name: string;
2543
- /**
2544
- * Symbol for this asset (max 4 characters).
2545
- */
2546
- symbol: string;
2891
+ type XChainBalances = {
2547
2892
  /**
2548
- * Denomination of this asset to represent fungibility.
2893
+ * A list of objects containing X-chain Asset balance information.
2549
2894
  */
2550
- denomination: number;
2895
+ locked: Array<AggregatedAssetAmount>;
2551
2896
  /**
2552
- * Type of asset like SECP256K1 or NFT.
2897
+ * A list of objects containing X-chain Asset balance information.
2553
2898
  */
2554
- type: string;
2555
- /**
2556
- * Amount of the asset.
2557
- */
2558
- amount: string;
2559
- utxoCount: number;
2560
- sharedWithChainId: string;
2561
- };
2562
-
2563
- type XChainBalances = {
2564
- /**
2565
- * A list of objects containing X-chain Asset balance information.
2566
- */
2567
- locked: Array<XChainAssetBalance>;
2568
- /**
2569
- * A list of objects containing X-chain Asset balance information.
2570
- */
2571
- unlocked: Array<XChainAssetBalance>;
2899
+ unlocked: Array<AggregatedAssetAmount>;
2572
2900
  atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
2573
2901
  atomicMemoryLocked: Array<XChainSharedAssetBalance>;
2574
2902
  };
@@ -2626,6 +2954,7 @@ type GetPrimaryNetworkBlockResponse = {
2626
2954
  txCount: number;
2627
2955
  transactions: Array<string>;
2628
2956
  blockSizeBytes: number;
2957
+ currentSupply?: string;
2629
2958
  proposerDetails?: ProposerDetails;
2630
2959
  };
2631
2960
 
@@ -2638,6 +2967,7 @@ type PrimaryNetworkBlock = {
2638
2967
  txCount: number;
2639
2968
  transactions: Array<string>;
2640
2969
  blockSizeBytes: number;
2970
+ currentSupply?: string;
2641
2971
  proposerDetails?: ProposerDetails;
2642
2972
  };
2643
2973
 
@@ -2679,7 +3009,7 @@ declare class PrimaryNetworkBlocksService {
2679
3009
  * @returns ListPrimaryNetworkBlocksResponse
2680
3010
  * @throws ApiError
2681
3011
  */
2682
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageSize, pageToken, }: {
3012
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
2683
3013
  /**
2684
3014
  * A primary network blockchain id or alias.
2685
3015
  */
@@ -2692,14 +3022,14 @@ declare class PrimaryNetworkBlocksService {
2692
3022
  * A primary network (P or X chain) nodeId.
2693
3023
  */
2694
3024
  nodeId: string;
2695
- /**
2696
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2697
- */
2698
- pageSize?: number;
2699
3025
  /**
2700
3026
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2701
3027
  */
2702
3028
  pageToken?: string;
3029
+ /**
3030
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3031
+ */
3032
+ pageSize?: number;
2703
3033
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2704
3034
  /**
2705
3035
  * List latest blocks
@@ -2707,7 +3037,7 @@ declare class PrimaryNetworkBlocksService {
2707
3037
  * @returns ListPrimaryNetworkBlocksResponse
2708
3038
  * @throws ApiError
2709
3039
  */
2710
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageSize, pageToken, }: {
3040
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
2711
3041
  /**
2712
3042
  * A primary network blockchain id or alias.
2713
3043
  */
@@ -2716,20 +3046,49 @@ declare class PrimaryNetworkBlocksService {
2716
3046
  * Either mainnet or a testnet.
2717
3047
  */
2718
3048
  network: Network;
2719
- /**
2720
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2721
- */
2722
- pageSize?: number;
2723
3049
  /**
2724
3050
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2725
3051
  */
2726
3052
  pageToken?: string;
3053
+ /**
3054
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3055
+ */
3056
+ pageSize?: number;
2727
3057
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2728
3058
  }
2729
3059
 
3060
+ type AssetWithPriceInfo = {
3061
+ /**
3062
+ * Unique ID for an asset.
3063
+ */
3064
+ assetId: string;
3065
+ /**
3066
+ * Name of this asset.
3067
+ */
3068
+ name: string;
3069
+ /**
3070
+ * Symbol for this asset (max 4 characters).
3071
+ */
3072
+ symbol: string;
3073
+ /**
3074
+ * Denomination of this asset to represent fungibility.
3075
+ */
3076
+ denomination: number;
3077
+ type: PrimaryNetworkAssetType;
3078
+ /**
3079
+ * Amount of the asset.
3080
+ */
3081
+ amount: string;
3082
+ /**
3083
+ * The historical asset price at the time the reward was granted, if available. Note, this is only provided if the reward occured more than 24 hours ago.
3084
+ */
3085
+ historicalPrice?: Money;
3086
+ };
3087
+
2730
3088
  declare enum RewardType {
2731
3089
  VALIDATOR = "VALIDATOR",
2732
- DELEGATOR = "DELEGATOR"
3090
+ DELEGATOR = "DELEGATOR",
3091
+ VALIDATOR_FEE = "VALIDATOR_FEE"
2733
3092
  }
2734
3093
 
2735
3094
  type HistoricalReward = {
@@ -2745,10 +3104,7 @@ type HistoricalReward = {
2745
3104
  rewardType: RewardType;
2746
3105
  utxoId: string;
2747
3106
  outputIndex: number;
2748
- /**
2749
- * An object containing P-chain Asset ID and the amount of that Asset ID.
2750
- */
2751
- reward: PChainAsset;
3107
+ reward: AssetWithPriceInfo;
2752
3108
  rewardTxHash: string;
2753
3109
  };
2754
3110
 
@@ -2760,6 +3116,30 @@ type ListHistoricalRewardsResponse = {
2760
3116
  historicalRewards: Array<HistoricalReward>;
2761
3117
  };
2762
3118
 
3119
+ type AssetAmount = {
3120
+ /**
3121
+ * Unique ID for an asset.
3122
+ */
3123
+ assetId: string;
3124
+ /**
3125
+ * Name of this asset.
3126
+ */
3127
+ name: string;
3128
+ /**
3129
+ * Symbol for this asset (max 4 characters).
3130
+ */
3131
+ symbol: string;
3132
+ /**
3133
+ * Denomination of this asset to represent fungibility.
3134
+ */
3135
+ denomination: number;
3136
+ type: PrimaryNetworkAssetType;
3137
+ /**
3138
+ * Amount of the asset.
3139
+ */
3140
+ amount: string;
3141
+ };
3142
+
2763
3143
  type PendingReward = {
2764
3144
  /**
2765
3145
  * An array of P-Chain wallet addresses.
@@ -2773,9 +3153,9 @@ type PendingReward = {
2773
3153
  rewardType: RewardType;
2774
3154
  progress: number;
2775
3155
  /**
2776
- * An object containing P-chain Asset ID and the amount of that Asset ID.
3156
+ * An object containing P-chain Asset basic info and the amount of that Asset ID.
2777
3157
  */
2778
- estimatedReward: PChainAsset;
3158
+ estimatedReward: AssetAmount;
2779
3159
  };
2780
3160
 
2781
3161
  type ListPendingRewardsResponse = {
@@ -2795,23 +3175,27 @@ declare class PrimaryNetworkRewardsService {
2795
3175
  * @returns ListPendingRewardsResponse
2796
3176
  * @throws ApiError
2797
3177
  */
2798
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3178
+ listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
2799
3179
  /**
2800
3180
  * Either mainnet or a testnet.
2801
3181
  */
2802
3182
  network: Network;
2803
3183
  /**
2804
- * 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".
3184
+ * 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". One of addresses or nodeIds is required.
2805
3185
  */
2806
3186
  addresses?: string;
3187
+ /**
3188
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3189
+ */
3190
+ pageToken?: string;
2807
3191
  /**
2808
3192
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2809
3193
  */
2810
3194
  pageSize?: number;
2811
3195
  /**
2812
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3196
+ * A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
2813
3197
  */
2814
- pageToken?: string;
3198
+ nodeIds?: string;
2815
3199
  /**
2816
3200
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2817
3201
  */
@@ -2823,64 +3207,45 @@ declare class PrimaryNetworkRewardsService {
2823
3207
  * @returns ListHistoricalRewardsResponse
2824
3208
  * @throws ApiError
2825
3209
  */
2826
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3210
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
2827
3211
  /**
2828
3212
  * Either mainnet or a testnet.
2829
3213
  */
2830
3214
  network: Network;
2831
3215
  /**
2832
- * 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".
3216
+ * 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". Optional, but at least one of addresses or nodeIds is required.
2833
3217
  */
2834
3218
  addresses?: string;
3219
+ /**
3220
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3221
+ */
3222
+ pageToken?: string;
2835
3223
  /**
2836
3224
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2837
3225
  */
2838
3226
  pageSize?: number;
2839
3227
  /**
2840
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3228
+ * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
2841
3229
  */
2842
- pageToken?: string;
3230
+ nodeIds?: string;
2843
3231
  /**
2844
3232
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2845
3233
  */
2846
3234
  sortOrder?: SortOrder;
3235
+ /**
3236
+ * The currency that return values should use. Defaults to USD.
3237
+ */
3238
+ currency?: CurrencyCode;
2847
3239
  }): CancelablePromise<ListHistoricalRewardsResponse>;
2848
3240
  }
2849
3241
 
2850
- type Asset = {
2851
- /**
2852
- * Unique ID for an asset.
2853
- */
2854
- assetId: string;
2855
- /**
2856
- * Name of this asset.
2857
- */
2858
- name: string;
2859
- /**
2860
- * Symbol for this asset (max 4 characters).
2861
- */
2862
- symbol: string;
2863
- /**
2864
- * Denomination of this asset to represent fungibility.
2865
- */
2866
- denomination: number;
2867
- /**
2868
- * Type of asset like SECP256K1 or NFT.
2869
- */
2870
- type: string;
2871
- /**
2872
- * Amount of the asset.
2873
- */
2874
- amount: string;
2875
- };
2876
-
2877
3242
  type UtxoCredential = {
2878
3243
  /**
2879
- * Signature provided to consume the output
3244
+ * Signature provided to consume the output.
2880
3245
  */
2881
3246
  signature?: string;
2882
3247
  /**
2883
- * Public key associated with the signature
3248
+ * Public key associated with the signature.
2884
3249
  */
2885
3250
  publicKey?: string;
2886
3251
  };
@@ -2891,9 +3256,9 @@ type EVMInput = {
2891
3256
  */
2892
3257
  fromAddress: string;
2893
3258
  /**
2894
- * Asset details for the asset being transferred.
3259
+ * AssetAmount details for the asset being transferred.
2895
3260
  */
2896
- asset: Asset;
3261
+ asset: AssetAmount;
2897
3262
  /**
2898
3263
  * Credentials that signed this transaction.
2899
3264
  */
@@ -2902,66 +3267,66 @@ type EVMInput = {
2902
3267
 
2903
3268
  type Utxo = {
2904
3269
  /**
2905
- * UTXO ID for this output.
3270
+ * Addresses that are eligible to sign the consumption of this output.
2906
3271
  */
2907
- utxoId: string;
2908
- asset: Asset;
3272
+ addresses: Array<string>;
3273
+ asset: AssetAmount;
2909
3274
  /**
2910
- * Type of output.
3275
+ * Blockchain ID on which this output is consumed on.
2911
3276
  */
2912
- utxoType: string;
3277
+ consumedOnChainId: string;
2913
3278
  /**
2914
- * Blockchain ID on which this output is created on.
3279
+ * Transaction ID that consumed this output.
2915
3280
  */
2916
- createdOnChainId: string;
3281
+ consumingTxHash?: string;
2917
3282
  /**
2918
- * Blockchain ID on which this output is consumed on.
3283
+ * Blockchain ID on which this output is created on.
2919
3284
  */
2920
- consumedOnChainId: string;
3285
+ createdOnChainId: string;
2921
3286
  /**
2922
- * Transaction ID that created this output.
3287
+ * UTXO ID for this output.
2923
3288
  */
2924
- creationTxHash: string;
3289
+ utxoId: string;
2925
3290
  /**
2926
- * Transaction ID that consumed this output.
3291
+ * Unix timestamp in seconds at which this output was consumed.
2927
3292
  */
2928
- consumingTxHash?: string;
3293
+ consumingTxTimestamp?: number;
2929
3294
  /**
2930
- * Timestamp in seconds this output is consumed.
3295
+ * Transaction ID that created this output.
2931
3296
  */
2932
- consumingTxTimestamp?: number;
3297
+ creationTxHash: string;
2933
3298
  /**
2934
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3299
+ * Credentials that signed the transaction to consume this utxo
2935
3300
  */
2936
- outputIndex: string;
3301
+ credentials?: Array<UtxoCredential>;
2937
3302
  /**
2938
- * Timestamp in seconds this outptut is created on.
3303
+ * Index representing the minting set for the NFT mint output.
2939
3304
  */
2940
- timestamp: number;
3305
+ groupId?: number;
2941
3306
  /**
2942
3307
  * Locktime in seconds after which this output can be consumed.
2943
3308
  */
2944
3309
  locktime: number;
2945
3310
  /**
2946
- * Minimum number of signatures required to consume this output.
3311
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
2947
3312
  */
2948
- threshold: number;
3313
+ outputIndex: string;
2949
3314
  /**
2950
- * Addresses that are eligible to sign the consumption of this output.
3315
+ * Hex encoded data for NFT assets.
2951
3316
  */
2952
- addresses: Array<string>;
3317
+ payload?: string;
2953
3318
  /**
2954
- * Hex encoded data for NFT assets
3319
+ * Minimum number of signatures required to consume this output.
2955
3320
  */
2956
- payload?: string;
3321
+ threshold: number;
2957
3322
  /**
2958
- * Index representing the minting set for the NFT mint output
3323
+ * Unix timestamp in seconds at which this outptut was created.
2959
3324
  */
2960
- groupId?: number;
3325
+ timestamp: number;
2961
3326
  /**
2962
- * Credentials that signed the transaction to consume this utxo
3327
+ * Type of output.
2963
3328
  */
2964
- credentials?: Array<UtxoCredential>;
3329
+ utxoType: string;
2965
3330
  };
2966
3331
 
2967
3332
  type CChainExportTransaction = {
@@ -2988,11 +3353,11 @@ type CChainExportTransaction = {
2988
3353
  /**
2989
3354
  * Assets unlocked by inputs of this transaction.
2990
3355
  */
2991
- amountUnlocked: Array<Asset>;
3356
+ amountUnlocked: Array<AssetAmount>;
2992
3357
  /**
2993
3358
  * Assets created by outputs of this transaction.
2994
3359
  */
2995
- amountCreated: Array<Asset>;
3360
+ amountCreated: Array<AssetAmount>;
2996
3361
  /**
2997
3362
  * Source chain for an atomic transaction.
2998
3363
  */
@@ -3023,9 +3388,9 @@ type EVMOutput = {
3023
3388
  */
3024
3389
  toAddress: string;
3025
3390
  /**
3026
- * Asset details for the asset being transferred.
3391
+ * AssetAmount details for the asset being transferred.
3027
3392
  */
3028
- asset: Asset;
3393
+ asset: AssetAmount;
3029
3394
  };
3030
3395
 
3031
3396
  type CChainImportTransaction = {
@@ -3052,11 +3417,11 @@ type CChainImportTransaction = {
3052
3417
  /**
3053
3418
  * Assets unlocked by inputs of this transaction.
3054
3419
  */
3055
- amountUnlocked: Array<Asset>;
3420
+ amountUnlocked: Array<AssetAmount>;
3056
3421
  /**
3057
3422
  * Assets created by outputs of this transaction.
3058
3423
  */
3059
- amountCreated: Array<Asset>;
3424
+ amountCreated: Array<AssetAmount>;
3060
3425
  /**
3061
3426
  * Source chain for an atomic transaction.
3062
3427
  */
@@ -3092,16 +3457,20 @@ type ListCChainAtomicTransactionsResponse = {
3092
3457
 
3093
3458
  declare enum PChainTransactionType {
3094
3459
  ADD_VALIDATOR_TX = "AddValidatorTx",
3095
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3096
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3097
3460
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3098
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3099
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3461
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3100
3462
  CREATE_CHAIN_TX = "CreateChainTx",
3101
3463
  CREATE_SUBNET_TX = "CreateSubnetTx",
3102
3464
  IMPORT_TX = "ImportTx",
3103
3465
  EXPORT_TX = "ExportTx",
3104
3466
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3467
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3468
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3469
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3470
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3471
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3472
+ BASE_TX = "BaseTx",
3473
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3105
3474
  UNKNOWN = "UNKNOWN"
3106
3475
  }
3107
3476
 
@@ -3112,29 +3481,48 @@ declare enum UtxoType {
3112
3481
 
3113
3482
  type PChainUtxo = {
3114
3483
  /**
3115
- * An array of P-Chain wallet addresses.
3484
+ * Addresses that are eligible to sign the consumption of this output.
3116
3485
  */
3117
3486
  addresses: Array<string>;
3487
+ asset: AssetAmount;
3488
+ /**
3489
+ * Blockchain ID on which this output is consumed on.
3490
+ */
3491
+ consumedOnChainId: string;
3492
+ /**
3493
+ * Transaction ID that consumed this output.
3494
+ */
3495
+ consumingTxHash?: string;
3496
+ /**
3497
+ * Blockchain ID on which this output is created on.
3498
+ */
3499
+ createdOnChainId: string;
3500
+ /**
3501
+ * UTXO ID for this output.
3502
+ */
3118
3503
  utxoId: string;
3119
- txHash: string;
3120
- outputIndex: number;
3504
+ /**
3505
+ * @deprecated
3506
+ */
3507
+ amount: string;
3508
+ /**
3509
+ * @deprecated
3510
+ */
3511
+ assetId: string;
3121
3512
  blockNumber: string;
3122
3513
  blockTimestamp: number;
3123
- consumingTxHash?: string;
3124
- consumingBlockTimestamp?: number;
3125
3514
  consumingBlockNumber?: string;
3126
- assetId: string;
3127
- utxoType: UtxoType;
3128
- amount: string;
3129
- stakeableLocktime?: number;
3515
+ consumingBlockTimestamp?: number;
3130
3516
  platformLocktime?: number;
3131
- threshold?: number;
3132
- createdOnChainId: string;
3133
- consumedOnChainId: string;
3517
+ outputIndex: number;
3518
+ rewardType?: RewardType;
3519
+ stakeableLocktime?: number;
3134
3520
  staked?: boolean;
3135
- utxoStartTimestamp?: number;
3521
+ threshold?: number;
3522
+ txHash: string;
3136
3523
  utxoEndTimestamp?: number;
3137
- rewardType?: RewardType;
3524
+ utxoStartTimestamp?: number;
3525
+ utxoType: UtxoType;
3138
3526
  };
3139
3527
 
3140
3528
  type PChainTransaction = {
@@ -3160,17 +3548,17 @@ type PChainTransaction = {
3160
3548
  */
3161
3549
  destinationChain?: string;
3162
3550
  /**
3163
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3551
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3164
3552
  */
3165
- value: Array<PChainAsset>;
3553
+ value: Array<AssetAmount>;
3166
3554
  /**
3167
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3555
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3168
3556
  */
3169
- amountBurned: Array<PChainAsset>;
3557
+ amountBurned: Array<AssetAmount>;
3170
3558
  /**
3171
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3559
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3172
3560
  */
3173
- amountStaked: Array<PChainAsset>;
3561
+ amountStaked: Array<AssetAmount>;
3174
3562
  /**
3175
3563
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3176
3564
  */
@@ -3196,11 +3584,16 @@ type PChainTransaction = {
3196
3584
  */
3197
3585
  estimatedReward?: string;
3198
3586
  rewardTxHash?: string;
3587
+ rewardAddresses?: Array<string>;
3199
3588
  memo?: string;
3200
3589
  /**
3201
3590
  * Present for RewardValidatorTx
3202
3591
  */
3203
3592
  stakingTxHash?: string;
3593
+ /**
3594
+ * Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
3595
+ */
3596
+ subnetOwnershipInfo?: SubnetOwnershipInfo;
3204
3597
  };
3205
3598
 
3206
3599
  type ListPChainTransactionsResponse = {
@@ -3212,6 +3605,18 @@ type ListPChainTransactionsResponse = {
3212
3605
  chainInfo: PrimaryNetworkChainInfo;
3213
3606
  };
3214
3607
 
3608
+ /**
3609
+ * Type of transaction.
3610
+ */
3611
+ declare enum XChainTransactionType {
3612
+ BASE_TX = "BaseTx",
3613
+ CREATE_ASSET_TX = "CreateAssetTx",
3614
+ OPERATION_TX = "OperationTx",
3615
+ IMPORT_TX = "ImportTx",
3616
+ EXPORT_TX = "ExportTx",
3617
+ UNKNOWN = "UNKNOWN"
3618
+ }
3619
+
3215
3620
  type XChainLinearTransaction = {
3216
3621
  /**
3217
3622
  * Unique ID for this transaction.
@@ -3225,10 +3630,7 @@ type XChainLinearTransaction = {
3225
3630
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3226
3631
  */
3227
3632
  timestamp: number;
3228
- /**
3229
- * Type of transaction.
3230
- */
3231
- txType: string;
3633
+ txType: XChainTransactionType;
3232
3634
  /**
3233
3635
  * Hex encoded memo bytes for this transaction.
3234
3636
  */
@@ -3238,11 +3640,11 @@ type XChainLinearTransaction = {
3238
3640
  /**
3239
3641
  * Assets unlocked by inputs of this transaction.
3240
3642
  */
3241
- amountUnlocked: Array<Asset>;
3643
+ amountUnlocked: Array<AssetAmount>;
3242
3644
  /**
3243
3645
  * Assets created by outputs of this transaction.
3244
3646
  */
3245
- amountCreated: Array<Asset>;
3647
+ amountCreated: Array<AssetAmount>;
3246
3648
  /**
3247
3649
  * Source chain for an atomic transaction.
3248
3650
  */
@@ -3252,7 +3654,7 @@ type XChainLinearTransaction = {
3252
3654
  */
3253
3655
  destinationChain?: string;
3254
3656
  /**
3255
- * Asset details of the asset created in CreateAssetTx
3657
+ * AssetAmount details of the asset created in CreateAssetTx
3256
3658
  */
3257
3659
  assetCreated?: XChainAssetDetails;
3258
3660
  /**
@@ -3302,10 +3704,7 @@ type XChainNonLinearTransaction = {
3302
3704
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3303
3705
  */
3304
3706
  timestamp: number;
3305
- /**
3306
- * Type of transaction.
3307
- */
3308
- txType: string;
3707
+ txType: XChainTransactionType;
3309
3708
  /**
3310
3709
  * Hex encoded memo bytes for this transaction.
3311
3710
  */
@@ -3315,11 +3714,11 @@ type XChainNonLinearTransaction = {
3315
3714
  /**
3316
3715
  * Assets unlocked by inputs of this transaction.
3317
3716
  */
3318
- amountUnlocked: Array<Asset>;
3717
+ amountUnlocked: Array<AssetAmount>;
3319
3718
  /**
3320
3719
  * Assets created by outputs of this transaction.
3321
3720
  */
3322
- amountCreated: Array<Asset>;
3721
+ amountCreated: Array<AssetAmount>;
3323
3722
  /**
3324
3723
  * Source chain for an atomic transaction.
3325
3724
  */
@@ -3329,7 +3728,7 @@ type XChainNonLinearTransaction = {
3329
3728
  */
3330
3729
  destinationChain?: string;
3331
3730
  /**
3332
- * Asset details of the asset created in CreateAssetTx
3731
+ * AssetAmount details of the asset created in CreateAssetTx
3333
3732
  */
3334
3733
  assetCreated?: XChainAssetDetails;
3335
3734
  /**
@@ -3363,18 +3762,21 @@ declare enum PChainId {
3363
3762
 
3364
3763
  declare enum PrimaryNetworkTxType {
3365
3764
  ADD_VALIDATOR_TX = "AddValidatorTx",
3366
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3367
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3368
3765
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3369
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3370
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3766
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3371
3767
  CREATE_CHAIN_TX = "CreateChainTx",
3372
3768
  CREATE_SUBNET_TX = "CreateSubnetTx",
3373
3769
  IMPORT_TX = "ImportTx",
3374
3770
  EXPORT_TX = "ExportTx",
3375
3771
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3376
- UNKNOWN = "UNKNOWN",
3772
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3773
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3774
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3775
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3776
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3377
3777
  BASE_TX = "BaseTx",
3778
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3779
+ UNKNOWN = "UNKNOWN",
3378
3780
  CREATE_ASSET_TX = "CreateAssetTx",
3379
3781
  OPERATION_TX = "OperationTx"
3380
3782
  }
@@ -3406,13 +3808,13 @@ declare class PrimaryNetworkTransactionsService {
3406
3808
  * List latest transactions
3407
3809
  * Lists the latest transactions on one of the Primary Network chains.
3408
3810
  *
3409
- * Transactions are filterable by addresses.
3811
+ * 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.
3410
3812
  *
3411
3813
  * 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.
3412
3814
  * @returns any
3413
3815
  * @throws ApiError
3414
3816
  */
3415
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3817
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3416
3818
  /**
3417
3819
  * A primary network blockchain id or alias.
3418
3820
  */
@@ -3437,14 +3839,14 @@ declare class PrimaryNetworkTransactionsService {
3437
3839
  * Query param for retrieving items before a specific timestamp.
3438
3840
  */
3439
3841
  endTimestamp?: number;
3440
- /**
3441
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3442
- */
3443
- pageSize?: number;
3444
3842
  /**
3445
3843
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3446
3844
  */
3447
3845
  pageToken?: string;
3846
+ /**
3847
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3848
+ */
3849
+ pageSize?: number;
3448
3850
  /**
3449
3851
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
3450
3852
  */
@@ -3456,7 +3858,7 @@ declare class PrimaryNetworkTransactionsService {
3456
3858
  * @returns ListPChainTransactionsResponse
3457
3859
  * @throws ApiError
3458
3860
  */
3459
- listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3861
+ listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3460
3862
  /**
3461
3863
  * A primary network blockchain id or alias.
3462
3864
  */
@@ -3481,14 +3883,14 @@ declare class PrimaryNetworkTransactionsService {
3481
3883
  * Query param for retrieving items before a specific timestamp.
3482
3884
  */
3483
3885
  endTimestamp?: number;
3484
- /**
3485
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3486
- */
3487
- pageSize?: number;
3488
3886
  /**
3489
3887
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3490
3888
  */
3491
3889
  pageToken?: string;
3890
+ /**
3891
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3892
+ */
3893
+ pageSize?: number;
3492
3894
  /**
3493
3895
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
3494
3896
  */
@@ -3500,7 +3902,7 @@ declare class PrimaryNetworkTransactionsService {
3500
3902
  * @returns ListXChainTransactionsResponse
3501
3903
  * @throws ApiError
3502
3904
  */
3503
- listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
3905
+ listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3504
3906
  /**
3505
3907
  * A primary network blockchain id or alias.
3506
3908
  */
@@ -3525,14 +3927,14 @@ declare class PrimaryNetworkTransactionsService {
3525
3927
  * Query param for retrieving items before a specific timestamp.
3526
3928
  */
3527
3929
  endTimestamp?: number;
3528
- /**
3529
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3530
- */
3531
- pageSize?: number;
3532
3930
  /**
3533
3931
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3534
3932
  */
3535
3933
  pageToken?: string;
3934
+ /**
3935
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3936
+ */
3937
+ pageSize?: number;
3536
3938
  }): CancelablePromise<ListXChainTransactionsResponse>;
3537
3939
  }
3538
3940
 
@@ -3563,7 +3965,7 @@ declare class PrimaryNetworkUtxOsService {
3563
3965
  * @returns any
3564
3966
  * @throws ApiError
3565
3967
  */
3566
- getUtxosByAddresses({ blockchainId, network, addresses, pageSize, pageToken, assetId, includeSpent, sortOrder, }: {
3968
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
3567
3969
  /**
3568
3970
  * A primary network blockchain id or alias.
3569
3971
  */
@@ -3576,14 +3978,14 @@ declare class PrimaryNetworkUtxOsService {
3576
3978
  * 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".
3577
3979
  */
3578
3980
  addresses?: string;
3579
- /**
3580
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3581
- */
3582
- pageSize?: number;
3583
3981
  /**
3584
3982
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3585
3983
  */
3586
3984
  pageToken?: string;
3985
+ /**
3986
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3987
+ */
3988
+ pageSize?: number;
3587
3989
  /**
3588
3990
  * Asset ID for any asset (only applicable X-Chain)
3589
3991
  */
@@ -3628,7 +4030,7 @@ declare class PrimaryNetworkVerticesService {
3628
4030
  * @returns ListXChainVerticesResponse
3629
4031
  * @throws ApiError
3630
4032
  */
3631
- listLatestXChainVertices({ blockchainId, network, pageSize, pageToken, }: {
4033
+ listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
3632
4034
  /**
3633
4035
  * A primary network blockchain id or alias.
3634
4036
  */
@@ -3637,14 +4039,14 @@ declare class PrimaryNetworkVerticesService {
3637
4039
  * Either mainnet or a testnet.
3638
4040
  */
3639
4041
  network: Network;
3640
- /**
3641
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3642
- */
3643
- pageSize?: number;
3644
4042
  /**
3645
4043
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3646
4044
  */
3647
4045
  pageToken?: string;
4046
+ /**
4047
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4048
+ */
4049
+ pageSize?: number;
3648
4050
  }): CancelablePromise<ListXChainVerticesResponse>;
3649
4051
  /**
3650
4052
  * Get vertex
@@ -3672,7 +4074,7 @@ declare class PrimaryNetworkVerticesService {
3672
4074
  * @returns ListXChainVerticesResponse
3673
4075
  * @throws ApiError
3674
4076
  */
3675
- getVertexByHeight({ vertexHeight, blockchainId, network, pageSize, pageToken, sortOrder, }: {
4077
+ getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
3676
4078
  /**
3677
4079
  * The height of a vertex.
3678
4080
  */
@@ -3685,23 +4087,409 @@ declare class PrimaryNetworkVerticesService {
3685
4087
  * Either mainnet or a testnet.
3686
4088
  */
3687
4089
  network: Network;
4090
+ /**
4091
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4092
+ */
4093
+ pageToken?: string;
4094
+ /**
4095
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4096
+ */
4097
+ pageSize?: number;
4098
+ /**
4099
+ * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
4100
+ */
4101
+ sortOrder?: SortOrder;
4102
+ }): CancelablePromise<ListXChainVerticesResponse>;
4103
+ }
4104
+
4105
+ type RpcErrorDto = {
4106
+ code: number;
4107
+ message: string;
4108
+ data?: Record<string, any>;
4109
+ };
4110
+
4111
+ type RpcErrorResponseDto = {
4112
+ jsonrpc: string;
4113
+ id?: (string | number);
4114
+ error: RpcErrorDto;
4115
+ };
4116
+
4117
+ type RpcRequestBodyDto = {
4118
+ method: string;
4119
+ params?: Record<string, any>;
4120
+ id?: (string | number);
4121
+ jsonrpc?: string;
4122
+ };
4123
+
4124
+ type RpcSuccessResponseDto = {
4125
+ jsonrpc: string;
4126
+ id?: (string | number);
4127
+ result: Record<string, any>;
4128
+ };
4129
+
4130
+ declare class RpcService {
4131
+ readonly httpRequest: BaseHttpRequest;
4132
+ constructor(httpRequest: BaseHttpRequest);
4133
+ /**
4134
+ * Calls JSON-RPC method
4135
+ * Calls JSON-RPC method.
4136
+ * @returns any
4137
+ * @throws ApiError
4138
+ */
4139
+ rpc({ chainId, requestBody, }: {
4140
+ /**
4141
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
4142
+ */
4143
+ chainId: string;
4144
+ requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
4145
+ }): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
4146
+ }
4147
+
4148
+ type TeleporterDestinationTransaction = {
4149
+ txHash: string;
4150
+ timestamp: number;
4151
+ gasSpent: string;
4152
+ rewardRedeemer: string;
4153
+ delivererAddress: string;
4154
+ };
4155
+
4156
+ type TeleporterReceipt = {
4157
+ receivedMessageNonce: string;
4158
+ relayerRewardAddress: string;
4159
+ };
4160
+
4161
+ type TeleporterRewardDetails = {
4162
+ /**
4163
+ * A wallet or contract address in mixed-case checksum encoding.
4164
+ */
4165
+ address: string;
4166
+ /**
4167
+ * The contract name.
4168
+ */
4169
+ name: string;
4170
+ /**
4171
+ * The contract symbol.
4172
+ */
4173
+ symbol: string;
4174
+ /**
4175
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
4176
+ */
4177
+ decimals: number;
4178
+ /**
4179
+ * The logo uri for the address.
4180
+ */
4181
+ logoUri?: string;
4182
+ ercType: TeleporterRewardDetails.ercType;
4183
+ /**
4184
+ * The token price, if available.
4185
+ */
4186
+ price?: Money;
4187
+ value: string;
4188
+ };
4189
+ declare namespace TeleporterRewardDetails {
4190
+ enum ercType {
4191
+ ERC_20 = "ERC-20"
4192
+ }
4193
+ }
4194
+
4195
+ type DeliveredSourceNotIndexedTeleporterMessage = {
4196
+ messageId: string;
4197
+ teleporterContractAddress: string;
4198
+ sourceBlockchainId: string;
4199
+ destinationBlockchainId: string;
4200
+ messageNonce: string;
4201
+ from: string;
4202
+ to: string;
4203
+ data?: string;
4204
+ messageExecuted: boolean;
4205
+ receipts: Array<TeleporterReceipt>;
4206
+ receiptDelivered: boolean;
4207
+ rewardDetails: TeleporterRewardDetails;
4208
+ destinationTransaction: TeleporterDestinationTransaction;
4209
+ status: DeliveredSourceNotIndexedTeleporterMessage.status;
4210
+ };
4211
+ declare namespace DeliveredSourceNotIndexedTeleporterMessage {
4212
+ enum status {
4213
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
4214
+ }
4215
+ }
4216
+
4217
+ type TeleporterSourceTransaction = {
4218
+ txHash: string;
4219
+ timestamp: number;
4220
+ gasSpent: string;
4221
+ };
4222
+
4223
+ type DeliveredTeleporterMessage = {
4224
+ messageId: string;
4225
+ teleporterContractAddress: string;
4226
+ sourceBlockchainId: string;
4227
+ destinationBlockchainId: string;
4228
+ messageNonce: string;
4229
+ from: string;
4230
+ to: string;
4231
+ data?: string;
4232
+ messageExecuted: boolean;
4233
+ receipts: Array<TeleporterReceipt>;
4234
+ receiptDelivered: boolean;
4235
+ rewardDetails: TeleporterRewardDetails;
4236
+ sourceTransaction: TeleporterSourceTransaction;
4237
+ destinationTransaction: TeleporterDestinationTransaction;
4238
+ status: DeliveredTeleporterMessage.status;
4239
+ };
4240
+ declare namespace DeliveredTeleporterMessage {
4241
+ enum status {
4242
+ DELIVERED = "delivered"
4243
+ }
4244
+ }
4245
+
4246
+ type NextPageToken = {
4247
+ /**
4248
+ * 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.
4249
+ */
4250
+ nextPageToken?: string;
4251
+ };
4252
+
4253
+ type PendingTeleporterMessage = {
4254
+ messageId: string;
4255
+ teleporterContractAddress: string;
4256
+ sourceBlockchainId: string;
4257
+ destinationBlockchainId: string;
4258
+ messageNonce: string;
4259
+ from: string;
4260
+ to: string;
4261
+ data?: string;
4262
+ messageExecuted: boolean;
4263
+ receipts: Array<TeleporterReceipt>;
4264
+ receiptDelivered: boolean;
4265
+ rewardDetails: TeleporterRewardDetails;
4266
+ sourceTransaction: TeleporterSourceTransaction;
4267
+ status: PendingTeleporterMessage.status;
4268
+ };
4269
+ declare namespace PendingTeleporterMessage {
4270
+ enum status {
4271
+ PENDING = "pending"
4272
+ }
4273
+ }
4274
+
4275
+ declare class TeleporterService {
4276
+ readonly httpRequest: BaseHttpRequest;
4277
+ constructor(httpRequest: BaseHttpRequest);
4278
+ /**
4279
+ * Get a teleporter message
4280
+ * Gets a teleporter message by message ID.
4281
+ * @returns any
4282
+ * @throws ApiError
4283
+ */
4284
+ getTeleporterMessage({ messageId, }: {
4285
+ /**
4286
+ * The message ID of the teleporter message.
4287
+ */
4288
+ messageId: string;
4289
+ }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4290
+ /**
4291
+ * List teleporter messages
4292
+ * Lists teleporter messages. Ordered by timestamp in descending order.
4293
+ * @returns any
4294
+ * @throws ApiError
4295
+ */
4296
+ listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4297
+ /**
4298
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4299
+ */
4300
+ pageToken?: string;
3688
4301
  /**
3689
4302
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3690
4303
  */
3691
4304
  pageSize?: number;
4305
+ /**
4306
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
4307
+ */
4308
+ sourceBlockchainId?: string;
4309
+ /**
4310
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
4311
+ */
4312
+ destinationBlockchainId?: string;
4313
+ /**
4314
+ * The address of the recipient of the teleporter message.
4315
+ */
4316
+ to?: string;
4317
+ /**
4318
+ * The address of the sender of the teleporter message.
4319
+ */
4320
+ from?: string;
4321
+ }): CancelablePromise<NextPageToken>;
4322
+ }
4323
+
4324
+ type AddressActivityMetadata = {
4325
+ /**
4326
+ * Ethereum address for the address_activity event type
4327
+ */
4328
+ address: string;
4329
+ /**
4330
+ * Array of hexadecimal strings of the event signatures.
4331
+ */
4332
+ eventSignatures?: Array<string>;
4333
+ };
4334
+
4335
+ declare enum EventType {
4336
+ ADDRESS_ACTIVITY = "address_activity"
4337
+ }
4338
+
4339
+ declare enum WebhookStatusType {
4340
+ ACTIVE = "active",
4341
+ INACTIVE = "inactive"
4342
+ }
4343
+
4344
+ type WebhookResponse = {
4345
+ id: string;
4346
+ eventType: EventType;
4347
+ metadata: AddressActivityMetadata;
4348
+ /**
4349
+ * Whether to include traces in the webhook payload.
4350
+ */
4351
+ includeInternalTxs?: boolean;
4352
+ /**
4353
+ * Whether to include logs in the webhook payload.
4354
+ */
4355
+ includeLogs?: boolean;
4356
+ url: string;
4357
+ chainId: string;
4358
+ status: WebhookStatusType;
4359
+ createdAt: number;
4360
+ name: string;
4361
+ description: string;
4362
+ };
4363
+
4364
+ type ListWebhooksResponse = {
4365
+ /**
4366
+ * 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.
4367
+ */
4368
+ nextPageToken?: string;
4369
+ webhooks: Array<WebhookResponse>;
4370
+ };
4371
+
4372
+ type RegisterWebhookRequest = {
4373
+ url: string;
4374
+ chainId: string;
4375
+ eventType: EventType;
4376
+ metadata: AddressActivityMetadata;
4377
+ /**
4378
+ * Whether to include traces in the webhook payload.
4379
+ */
4380
+ includeInternalTxs?: boolean;
4381
+ /**
4382
+ * Whether to include logs in the webhook payload.
4383
+ */
4384
+ includeLogs?: boolean;
4385
+ };
4386
+
4387
+ type SharedSecretsResponse = {
4388
+ secret: string;
4389
+ };
4390
+
4391
+ type UpdateWebhookRequest = {
4392
+ name?: string;
4393
+ description?: string;
4394
+ url?: string;
4395
+ status?: WebhookStatusType;
4396
+ includeInternalTxs?: boolean;
4397
+ includeLogs?: boolean;
4398
+ };
4399
+
4400
+ declare enum WebhookStatus {
4401
+ ACTIVE = "active",
4402
+ INACTIVE = "inactive"
4403
+ }
4404
+
4405
+ declare class WebhooksService {
4406
+ readonly httpRequest: BaseHttpRequest;
4407
+ constructor(httpRequest: BaseHttpRequest);
4408
+ /**
4409
+ * Register a webhook
4410
+ * Registers a new webhook.
4411
+ * @returns WebhookResponse
4412
+ * @throws ApiError
4413
+ */
4414
+ registerWebhook({ requestBody, }: {
4415
+ requestBody: RegisterWebhookRequest;
4416
+ }): CancelablePromise<WebhookResponse>;
4417
+ /**
4418
+ * List webhooks
4419
+ * Lists webhooks for the user.
4420
+ * @returns ListWebhooksResponse
4421
+ * @throws ApiError
4422
+ */
4423
+ listWebhooks({ pageToken, pageSize, status, }: {
3692
4424
  /**
3693
4425
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3694
4426
  */
3695
4427
  pageToken?: string;
3696
4428
  /**
3697
- * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
4429
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3698
4430
  */
3699
- sortOrder?: SortOrder;
3700
- }): CancelablePromise<ListXChainVerticesResponse>;
4431
+ pageSize?: number;
4432
+ /**
4433
+ * Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
4434
+ */
4435
+ status?: WebhookStatus;
4436
+ }): CancelablePromise<ListWebhooksResponse>;
4437
+ /**
4438
+ * Get a webhook by ID
4439
+ * Retrieves a webhook by ID.
4440
+ * @returns WebhookResponse
4441
+ * @throws ApiError
4442
+ */
4443
+ getWebhook({ id, }: {
4444
+ /**
4445
+ * The webhook identifier.
4446
+ */
4447
+ id: string;
4448
+ }): CancelablePromise<WebhookResponse>;
4449
+ /**
4450
+ * Deactivate a webhook
4451
+ * Deactivates a webhook by ID.
4452
+ * @returns WebhookResponse
4453
+ * @throws ApiError
4454
+ */
4455
+ deactivateWebhook({ id, }: {
4456
+ /**
4457
+ * The webhook identifier.
4458
+ */
4459
+ id: string;
4460
+ }): CancelablePromise<WebhookResponse>;
4461
+ /**
4462
+ * Update a webhook
4463
+ * Updates an existing webhook.
4464
+ * @returns WebhookResponse
4465
+ * @throws ApiError
4466
+ */
4467
+ updateWebhook({ id, requestBody, }: {
4468
+ /**
4469
+ * The webhook identifier.
4470
+ */
4471
+ id: string;
4472
+ requestBody: UpdateWebhookRequest;
4473
+ }): CancelablePromise<WebhookResponse>;
4474
+ /**
4475
+ * Generate a shared secret
4476
+ * Generates a new shared secret.
4477
+ * @returns SharedSecretsResponse
4478
+ * @throws ApiError
4479
+ */
4480
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4481
+ /**
4482
+ * Get a shared secret
4483
+ * Get a previously generated shared secret.
4484
+ * @returns SharedSecretsResponse
4485
+ * @throws ApiError
4486
+ */
4487
+ getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
3701
4488
  }
3702
4489
 
3703
4490
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
3704
4491
  declare class Glacier {
4492
+ readonly default: DefaultService;
3705
4493
  readonly evmBalances: EvmBalancesService;
3706
4494
  readonly evmBlocks: EvmBlocksService;
3707
4495
  readonly evmChains: EvmChainsService;
@@ -3717,6 +4505,9 @@ declare class Glacier {
3717
4505
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
3718
4506
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
3719
4507
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4508
+ readonly rpc: RpcService;
4509
+ readonly teleporter: TeleporterService;
4510
+ readonly webhooks: WebhooksService;
3720
4511
  readonly request: BaseHttpRequest;
3721
4512
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
3722
4513
  }
@@ -3738,4 +4529,4 @@ declare class ApiError extends Error {
3738
4529
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3739
4530
  }
3740
4531
 
3741
- export { ActiveDelegatorDetails, ActiveValidatorDetails, ApiError, Asset, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DelegationStatusType, DelegatorsDetails, EVMInput, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainAsset, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorsDetails, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainVertex };
4532
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, GlacierApiFeature, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };