@avalabs/glacier-sdk 2.8.0-canary.56e6ea2.0 → 2.8.0-canary.5b6e5aa.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 (109) hide show
  1. package/dist/index.d.ts +757 -416
  2. package/dist/index.js +258 -127
  3. package/esm/generated/Glacier.d.ts +2 -0
  4. package/esm/generated/Glacier.js +3 -0
  5. package/esm/generated/models/AddressActivityMetadata.d.ts +12 -1
  6. package/esm/generated/models/{XChainAssetBalance.d.ts → AggregatedAssetAmount.d.ts} +5 -6
  7. package/esm/generated/models/{Asset.d.ts → AssetAmount.d.ts} +5 -6
  8. package/esm/generated/models/AssetWithPriceInfo.d.ts +32 -0
  9. package/esm/generated/models/CChainExportTransaction.d.ts +3 -3
  10. package/esm/generated/models/CChainImportTransaction.d.ts +3 -3
  11. package/esm/generated/models/CChainSharedAssetBalance.d.ts +3 -4
  12. package/esm/generated/models/ChainInfo.d.ts +0 -3
  13. package/esm/generated/models/ChainStatus.d.ts +3 -0
  14. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +2 -6
  15. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +2 -6
  16. package/esm/generated/models/CurrencyCode.d.ts +3 -0
  17. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +27 -0
  18. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.js +8 -0
  19. package/esm/generated/models/DeliveredTeleporterMessage.d.ts +29 -0
  20. package/esm/generated/models/DeliveredTeleporterMessage.js +8 -0
  21. package/esm/generated/models/EVMInput.d.ts +3 -3
  22. package/esm/generated/models/EVMOperationType.d.ts +5 -0
  23. package/esm/generated/models/EVMOperationType.js +6 -0
  24. package/esm/generated/models/EVMOutput.d.ts +3 -3
  25. package/esm/generated/models/Erc1155TokenMetadata.d.ts +0 -3
  26. package/esm/generated/models/Erc721TokenMetadata.d.ts +0 -3
  27. package/esm/generated/models/GetChainResponse.d.ts +0 -3
  28. package/esm/generated/models/HistoricalReward.d.ts +2 -5
  29. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  30. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  31. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +2 -1
  32. package/esm/generated/models/Method.d.ts +0 -3
  33. package/esm/generated/models/Money.d.ts +0 -3
  34. package/esm/generated/models/NextPageToken.d.ts +8 -0
  35. package/esm/generated/models/NftTokenMetadataStatus.d.ts +3 -0
  36. package/esm/generated/models/OperationType.d.ts +4 -2
  37. package/esm/generated/models/OperationType.js +3 -1
  38. package/esm/generated/models/PChainBalance.d.ts +15 -15
  39. package/esm/generated/models/PChainSharedAsset.d.ts +22 -0
  40. package/esm/generated/models/PChainTransaction.d.ts +12 -7
  41. package/esm/generated/models/PChainTransactionType.d.ts +8 -5
  42. package/esm/generated/models/PChainTransactionType.js +8 -5
  43. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  44. package/esm/generated/models/PendingReward.d.ts +3 -3
  45. package/esm/generated/models/PendingTeleporterMessage.d.ts +27 -0
  46. package/esm/generated/models/PendingTeleporterMessage.js +8 -0
  47. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +9 -0
  48. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  49. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +9 -0
  50. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  51. package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
  52. package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
  53. package/esm/generated/models/PrimaryNetworkTxType.d.ts +8 -6
  54. package/esm/generated/models/PrimaryNetworkTxType.js +8 -6
  55. package/esm/generated/models/RegisterWebhookRequest.d.ts +0 -3
  56. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  57. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  58. package/esm/generated/models/Subnet.d.ts +17 -0
  59. package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
  60. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +9 -0
  61. package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
  62. package/esm/generated/models/TeleporterRewardDetails.d.ts +37 -0
  63. package/esm/generated/models/TeleporterRewardDetails.js +8 -0
  64. package/esm/generated/models/TeleporterSourceTransaction.d.ts +7 -0
  65. package/esm/generated/models/TransactionMethodType.d.ts +3 -0
  66. package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
  67. package/esm/generated/models/Utxo.d.ts +30 -30
  68. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  69. package/esm/generated/models/ValidationStatusType.d.ts +2 -1
  70. package/esm/generated/models/ValidationStatusType.js +1 -0
  71. package/esm/generated/models/WebhookResponse.d.ts +2 -0
  72. package/esm/generated/models/XChainAssetDetails.d.ts +5 -8
  73. package/esm/generated/models/XChainBalances.d.ts +3 -3
  74. package/esm/generated/models/XChainLinearTransaction.d.ts +4 -7
  75. package/esm/generated/models/XChainNonLinearTransaction.d.ts +4 -7
  76. package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -4
  77. package/esm/generated/models/XChainTransactionType.d.ts +3 -0
  78. package/esm/generated/services/DefaultService.d.ts +38 -5
  79. package/esm/generated/services/DefaultService.js +34 -3
  80. package/esm/generated/services/EvmBalancesService.d.ts +25 -25
  81. package/esm/generated/services/EvmBalancesService.js +8 -8
  82. package/esm/generated/services/EvmBlocksService.d.ts +7 -7
  83. package/esm/generated/services/EvmBlocksService.js +4 -4
  84. package/esm/generated/services/EvmChainsService.d.ts +1 -1
  85. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  86. package/esm/generated/services/EvmTransactionsService.d.ts +57 -57
  87. package/esm/generated/services/EvmTransactionsService.js +32 -32
  88. package/esm/generated/services/NfTsService.d.ts +8 -8
  89. package/esm/generated/services/NfTsService.js +4 -4
  90. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
  91. package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
  92. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +19 -14
  93. package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -6
  94. package/esm/generated/services/PrimaryNetworkService.d.ts +41 -41
  95. package/esm/generated/services/PrimaryNetworkService.js +20 -20
  96. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
  97. package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
  98. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
  99. package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
  100. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
  101. package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
  102. package/esm/generated/services/TeleporterService.d.ts +57 -0
  103. package/esm/generated/services/TeleporterService.js +39 -0
  104. package/esm/index.d.ts +19 -3
  105. package/esm/index.js +10 -2
  106. package/package.json +2 -2
  107. package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
  108. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
  109. package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -65,7 +65,18 @@ type AddressActivityMetadata = {
65
65
  * Ethereum address for the address_activity event type
66
66
  */
67
67
  address: string;
68
- topic0?: string;
68
+ /**
69
+ * Array of hexadecimal strings of the event signatures.
70
+ */
71
+ eventSignatures?: Array<string>;
72
+ /**
73
+ * Whether to include traces in the webhook payload.
74
+ */
75
+ includeTraces?: boolean;
76
+ /**
77
+ * Whether to include logs in the webhook payload.
78
+ */
79
+ includeLogs?: boolean;
69
80
  };
70
81
 
71
82
  declare enum EventType {
@@ -85,6 +96,8 @@ type WebhookResponse = {
85
96
  chainId: string;
86
97
  status: WebhookStatusType;
87
98
  createdAt: number;
99
+ name: string;
100
+ description: string;
88
101
  };
89
102
 
90
103
  type ListWebhooksResponse = {
@@ -98,9 +111,6 @@ type ListWebhooksResponse = {
98
111
  type RegisterWebhookRequest = {
99
112
  url: string;
100
113
  chainId: string;
101
- /**
102
- * The type of event for the webhook
103
- */
104
114
  eventType: EventType;
105
115
  metadata: AddressActivityMetadata;
106
116
  };
@@ -109,6 +119,15 @@ type SharedSecretsResponse = {
109
119
  secret: string;
110
120
  };
111
121
 
122
+ type UpdateWebhookRequest = {
123
+ name?: string;
124
+ description?: string;
125
+ url?: string;
126
+ status?: WebhookStatusType;
127
+ includeTraces?: boolean;
128
+ includeLogs?: boolean;
129
+ };
130
+
112
131
  declare enum WebhookStatus {
113
132
  ACTIVE = "active",
114
133
  INACTIVE = "inactive"
@@ -137,20 +156,32 @@ declare class DefaultService {
137
156
  * @returns ListWebhooksResponse
138
157
  * @throws ApiError
139
158
  */
140
- listWebhooks({ pageSize, pageToken, status, }: {
141
- /**
142
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
143
- */
144
- pageSize?: number;
159
+ listWebhooks({ pageToken, pageSize, status, }: {
145
160
  /**
146
161
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
147
162
  */
148
163
  pageToken?: string;
164
+ /**
165
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
166
+ */
167
+ pageSize?: number;
149
168
  /**
150
169
  * 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.
151
170
  */
152
171
  status?: WebhookStatus;
153
172
  }): CancelablePromise<ListWebhooksResponse>;
173
+ /**
174
+ * Get a webhook by ID
175
+ * Retrieves a webhook by ID.
176
+ * @returns WebhookResponse
177
+ * @throws ApiError
178
+ */
179
+ getWebhook({ id, }: {
180
+ /**
181
+ * The webhook identifier.
182
+ */
183
+ id: string;
184
+ }): CancelablePromise<WebhookResponse>;
154
185
  /**
155
186
  * Deactivate a webhook
156
187
  * Deactivates a webhook by ID.
@@ -163,6 +194,19 @@ declare class DefaultService {
163
194
  */
164
195
  id: string;
165
196
  }): CancelablePromise<WebhookResponse>;
197
+ /**
198
+ * Update a webhook
199
+ * Updates an existing webhook.
200
+ * @returns WebhookResponse
201
+ * @throws ApiError
202
+ */
203
+ updateWebhook({ id, requestBody, }: {
204
+ /**
205
+ * The webhook identifier.
206
+ */
207
+ id: string;
208
+ requestBody: UpdateWebhookRequest;
209
+ }): CancelablePromise<WebhookResponse>;
166
210
  /**
167
211
  * Generate a shared secret
168
212
  * Generates a new shared secret.
@@ -170,8 +214,18 @@ declare class DefaultService {
170
214
  * @throws ApiError
171
215
  */
172
216
  generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
217
+ /**
218
+ * Get a shared secret
219
+ * Get a previously generated shared secret.
220
+ * @returns SharedSecretsResponse
221
+ * @throws ApiError
222
+ */
223
+ getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
173
224
  }
174
225
 
226
+ /**
227
+ * ISO 4217 currency code.
228
+ */
175
229
  declare enum CurrencyCode {
176
230
  USD = "usd",
177
231
  EUR = "eur",
@@ -190,9 +244,6 @@ declare enum CurrencyCode {
190
244
  }
191
245
 
192
246
  type Money = {
193
- /**
194
- * ISO 4217 currency code.
195
- */
196
247
  currencyCode: CurrencyCode;
197
248
  /**
198
249
  * Monetary value in base 10 decimals.
@@ -242,6 +293,9 @@ type GetNativeBalanceResponse = {
242
293
  nativeTokenBalance: NativeTokenBalance;
243
294
  };
244
295
 
296
+ /**
297
+ * The metadata indexing status of the nft.
298
+ */
245
299
  declare enum NftTokenMetadataStatus {
246
300
  UNKNOWN = "UNKNOWN",
247
301
  MISSING_TOKEN = "MISSING_TOKEN",
@@ -257,9 +311,6 @@ declare enum NftTokenMetadataStatus {
257
311
  }
258
312
 
259
313
  type Erc1155TokenMetadata = {
260
- /**
261
- * The metadata indexing status of the nft.
262
- */
263
314
  indexStatus: NftTokenMetadataStatus;
264
315
  metadataLastUpdatedTimestamp?: number;
265
316
  name?: string;
@@ -298,9 +349,6 @@ declare namespace Erc1155TokenBalance {
298
349
  }
299
350
 
300
351
  type Erc721TokenMetadata = {
301
- /**
302
- * The metadata indexing status of the nft.
303
- */
304
352
  indexStatus: NftTokenMetadataStatus;
305
353
  metadataLastUpdatedTimestamp?: number;
306
354
  name?: string;
@@ -447,7 +495,7 @@ declare class EvmBalancesService {
447
495
  */
448
496
  getNativeBalance({ chainId, address, blockNumber, currency, }: {
449
497
  /**
450
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
498
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
451
499
  */
452
500
  chainId: string;
453
501
  /**
@@ -473,9 +521,9 @@ declare class EvmBalancesService {
473
521
  * @returns ListErc20BalancesResponse
474
522
  * @throws ApiError
475
523
  */
476
- listErc20Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddresses, currency, }: {
524
+ listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
477
525
  /**
478
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
526
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
479
527
  */
480
528
  chainId: string;
481
529
  /**
@@ -486,14 +534,14 @@ declare class EvmBalancesService {
486
534
  * The block number, if not defined the block number will be the latest block.
487
535
  */
488
536
  blockNumber?: string;
489
- /**
490
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
491
- */
492
- pageSize?: number;
493
537
  /**
494
538
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
495
539
  */
496
540
  pageToken?: string;
541
+ /**
542
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
543
+ */
544
+ pageSize?: number;
497
545
  /**
498
546
  * A comma separated list of contract addresses to filter by.
499
547
  */
@@ -511,23 +559,23 @@ declare class EvmBalancesService {
511
559
  * @returns ListErc721BalancesResponse
512
560
  * @throws ApiError
513
561
  */
514
- listErc721Balances({ chainId, address, pageSize, pageToken, contractAddress, }: {
562
+ listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
515
563
  /**
516
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
564
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
517
565
  */
518
566
  chainId: string;
519
567
  /**
520
568
  * A wallet address.
521
569
  */
522
570
  address: string;
523
- /**
524
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
525
- */
526
- pageSize?: number;
527
571
  /**
528
572
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
529
573
  */
530
574
  pageToken?: string;
575
+ /**
576
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
577
+ */
578
+ pageSize?: number;
531
579
  /**
532
580
  * A contract addresses to filter by.
533
581
  */
@@ -543,9 +591,9 @@ declare class EvmBalancesService {
543
591
  * @returns ListErc1155BalancesResponse
544
592
  * @throws ApiError
545
593
  */
546
- listErc1155Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddress, }: {
594
+ listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
547
595
  /**
548
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
596
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
549
597
  */
550
598
  chainId: string;
551
599
  /**
@@ -556,14 +604,14 @@ declare class EvmBalancesService {
556
604
  * The block number, if not defined the block number will be the latest block.
557
605
  */
558
606
  blockNumber?: string;
559
- /**
560
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
561
- */
562
- pageSize?: number;
563
607
  /**
564
608
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
565
609
  */
566
610
  pageToken?: string;
611
+ /**
612
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
613
+ */
614
+ pageSize?: number;
567
615
  /**
568
616
  * A contract addresses to filter by.
569
617
  */
@@ -577,23 +625,23 @@ declare class EvmBalancesService {
577
625
  * @returns ListCollectibleBalancesResponse
578
626
  * @throws ApiError
579
627
  */
580
- listCollectibleBalances({ chainId, address, pageSize, pageToken, contractAddress, }: {
628
+ listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
581
629
  /**
582
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
630
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
583
631
  */
584
632
  chainId: string;
585
633
  /**
586
634
  * A wallet address.
587
635
  */
588
636
  address: string;
589
- /**
590
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
591
- */
592
- pageSize?: number;
593
637
  /**
594
638
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
595
639
  */
596
640
  pageToken?: string;
641
+ /**
642
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
643
+ */
644
+ pageSize?: number;
597
645
  /**
598
646
  * A contract addresses to filter by.
599
647
  */
@@ -706,19 +754,19 @@ declare class EvmBlocksService {
706
754
  * @returns ListEvmBlocksResponse
707
755
  * @throws ApiError
708
756
  */
709
- getLatestBlocks({ chainId, pageSize, pageToken, }: {
757
+ getLatestBlocks({ chainId, pageToken, pageSize, }: {
710
758
  /**
711
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
759
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
712
760
  */
713
761
  chainId: string;
714
- /**
715
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
716
- */
717
- pageSize?: number;
718
762
  /**
719
763
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
720
764
  */
721
765
  pageToken?: string;
766
+ /**
767
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
768
+ */
769
+ pageSize?: number;
722
770
  }): CancelablePromise<ListEvmBlocksResponse>;
723
771
  /**
724
772
  * Get block
@@ -728,7 +776,7 @@ declare class EvmBlocksService {
728
776
  */
729
777
  getBlock({ chainId, blockId, }: {
730
778
  /**
731
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
779
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
732
780
  */
733
781
  chainId: string;
734
782
  /**
@@ -738,6 +786,9 @@ declare class EvmBlocksService {
738
786
  }): CancelablePromise<GetEvmBlockResponse>;
739
787
  }
740
788
 
789
+ /**
790
+ * 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.
791
+ */
741
792
  declare enum ChainStatus {
742
793
  OK = "OK",
743
794
  UNAVAILABLE = "UNAVAILABLE"
@@ -775,9 +826,6 @@ declare enum VmName {
775
826
 
776
827
  type GetChainResponse = {
777
828
  chainId: string;
778
- /**
779
- * 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.
780
- */
781
829
  status: ChainStatus;
782
830
  chainName: string;
783
831
  description: string;
@@ -797,9 +845,6 @@ type GetChainResponse = {
797
845
 
798
846
  type ChainInfo = {
799
847
  chainId: string;
800
- /**
801
- * 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.
802
- */
803
848
  status: ChainStatus;
804
849
  chainName: string;
805
850
  description: string;
@@ -849,7 +894,7 @@ declare class EvmChainsService {
849
894
  */
850
895
  getChainInfo({ chainId, }: {
851
896
  /**
852
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
897
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
853
898
  */
854
899
  chainId: string;
855
900
  }): CancelablePromise<GetChainResponse>;
@@ -1144,7 +1189,7 @@ declare class EvmContractsService {
1144
1189
  */
1145
1190
  getContractMetadata({ chainId, address, }: {
1146
1191
  /**
1147
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1192
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1148
1193
  */
1149
1194
  chainId: string;
1150
1195
  /**
@@ -1160,7 +1205,7 @@ declare class EvmContractsService {
1160
1205
  */
1161
1206
  updateContractInfo({ chainId, address, requestBody, }: {
1162
1207
  /**
1163
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1208
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1164
1209
  */
1165
1210
  chainId: string;
1166
1211
  /**
@@ -1294,6 +1339,9 @@ type Erc721TransferDetails = {
1294
1339
  erc721Token: Erc721Token;
1295
1340
  };
1296
1341
 
1342
+ /**
1343
+ * 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.
1344
+ */
1297
1345
  declare enum TransactionMethodType {
1298
1346
  NATIVE_TRANSFER = "NATIVE_TRANSFER",
1299
1347
  CONTRACT_CALL = "CONTRACT_CALL",
@@ -1301,9 +1349,6 @@ declare enum TransactionMethodType {
1301
1349
  }
1302
1350
 
1303
1351
  type Method = {
1304
- /**
1305
- * 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.
1306
- */
1307
1352
  callType: TransactionMethodType;
1308
1353
  /**
1309
1354
  * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
@@ -1664,7 +1709,7 @@ type ListTransfersResponse = {
1664
1709
  * 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.
1665
1710
  */
1666
1711
  nextPageToken?: string;
1667
- transfers: (Array<Erc20Transfer> | Array<Erc721Transfer> | Array<Erc1155Transfer>);
1712
+ transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
1668
1713
  };
1669
1714
 
1670
1715
  declare enum SortOrder {
@@ -1688,7 +1733,7 @@ declare class EvmTransactionsService {
1688
1733
  */
1689
1734
  getDeploymentTransaction({ chainId, address, currency, }: {
1690
1735
  /**
1691
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1736
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1692
1737
  */
1693
1738
  chainId: string;
1694
1739
  /**
@@ -1706,23 +1751,23 @@ declare class EvmTransactionsService {
1706
1751
  * @returns ListContractsResponse
1707
1752
  * @throws ApiError
1708
1753
  */
1709
- listContractDeployments({ chainId, address, pageSize, pageToken, }: {
1754
+ listContractDeployments({ chainId, address, pageToken, pageSize, }: {
1710
1755
  /**
1711
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1756
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1712
1757
  */
1713
1758
  chainId: string;
1714
1759
  /**
1715
1760
  * A wallet address.
1716
1761
  */
1717
1762
  address: string;
1718
- /**
1719
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1720
- */
1721
- pageSize?: number;
1722
1763
  /**
1723
1764
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1724
1765
  */
1725
1766
  pageToken?: string;
1767
+ /**
1768
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1769
+ */
1770
+ pageSize?: number;
1726
1771
  }): CancelablePromise<ListContractsResponse>;
1727
1772
  /**
1728
1773
  * List ERC transfers
@@ -1730,9 +1775,9 @@ declare class EvmTransactionsService {
1730
1775
  * @returns ListTransfersResponse
1731
1776
  * @throws ApiError
1732
1777
  */
1733
- listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1778
+ listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1734
1779
  /**
1735
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1780
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1736
1781
  */
1737
1782
  chainId: string;
1738
1783
  /**
@@ -1747,14 +1792,14 @@ declare class EvmTransactionsService {
1747
1792
  * 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.
1748
1793
  */
1749
1794
  endBlock?: number;
1750
- /**
1751
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1752
- */
1753
- pageSize?: number;
1754
1795
  /**
1755
1796
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1756
1797
  */
1757
1798
  pageToken?: string;
1799
+ /**
1800
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1801
+ */
1802
+ pageSize?: number;
1758
1803
  }): CancelablePromise<ListTransfersResponse>;
1759
1804
  /**
1760
1805
  * List transactions
@@ -1764,23 +1809,23 @@ declare class EvmTransactionsService {
1764
1809
  * @returns ListTransactionDetailsResponse
1765
1810
  * @throws ApiError
1766
1811
  */
1767
- listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
1812
+ listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
1768
1813
  /**
1769
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1814
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1770
1815
  */
1771
1816
  chainId: string;
1772
1817
  /**
1773
1818
  * A wallet address.
1774
1819
  */
1775
1820
  address: string;
1776
- /**
1777
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1778
- */
1779
- pageSize?: number;
1780
1821
  /**
1781
1822
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1782
1823
  */
1783
1824
  pageToken?: string;
1825
+ /**
1826
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1827
+ */
1828
+ pageSize?: number;
1784
1829
  /**
1785
1830
  * 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.
1786
1831
  */
@@ -1800,9 +1845,9 @@ declare class EvmTransactionsService {
1800
1845
  * @returns ListNativeTransactionsResponse
1801
1846
  * @throws ApiError
1802
1847
  */
1803
- listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1848
+ listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1804
1849
  /**
1805
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1850
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1806
1851
  */
1807
1852
  chainId: string;
1808
1853
  /**
@@ -1817,14 +1862,14 @@ declare class EvmTransactionsService {
1817
1862
  * 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.
1818
1863
  */
1819
1864
  endBlock?: number;
1820
- /**
1821
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1822
- */
1823
- pageSize?: number;
1824
1865
  /**
1825
1866
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1826
1867
  */
1827
1868
  pageToken?: string;
1869
+ /**
1870
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1871
+ */
1872
+ pageSize?: number;
1828
1873
  }): CancelablePromise<ListNativeTransactionsResponse>;
1829
1874
  /**
1830
1875
  * List ERC-20 transfers
@@ -1832,9 +1877,9 @@ declare class EvmTransactionsService {
1832
1877
  * @returns ListErc20TransactionsResponse
1833
1878
  * @throws ApiError
1834
1879
  */
1835
- listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1880
+ listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1836
1881
  /**
1837
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1882
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1838
1883
  */
1839
1884
  chainId: string;
1840
1885
  /**
@@ -1849,14 +1894,14 @@ declare class EvmTransactionsService {
1849
1894
  * 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.
1850
1895
  */
1851
1896
  endBlock?: number;
1852
- /**
1853
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1854
- */
1855
- pageSize?: number;
1856
1897
  /**
1857
1898
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1858
1899
  */
1859
1900
  pageToken?: string;
1901
+ /**
1902
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1903
+ */
1904
+ pageSize?: number;
1860
1905
  }): CancelablePromise<ListErc20TransactionsResponse>;
1861
1906
  /**
1862
1907
  * List ERC-721 transfers
@@ -1864,9 +1909,9 @@ declare class EvmTransactionsService {
1864
1909
  * @returns ListErc721TransactionsResponse
1865
1910
  * @throws ApiError
1866
1911
  */
1867
- listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1912
+ listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1868
1913
  /**
1869
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1914
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1870
1915
  */
1871
1916
  chainId: string;
1872
1917
  /**
@@ -1881,14 +1926,14 @@ declare class EvmTransactionsService {
1881
1926
  * 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.
1882
1927
  */
1883
1928
  endBlock?: number;
1884
- /**
1885
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1886
- */
1887
- pageSize?: number;
1888
1929
  /**
1889
1930
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1890
1931
  */
1891
1932
  pageToken?: string;
1933
+ /**
1934
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1935
+ */
1936
+ pageSize?: number;
1892
1937
  }): CancelablePromise<ListErc721TransactionsResponse>;
1893
1938
  /**
1894
1939
  * List ERC-1155 transfers
@@ -1896,9 +1941,9 @@ declare class EvmTransactionsService {
1896
1941
  * @returns ListErc1155TransactionsResponse
1897
1942
  * @throws ApiError
1898
1943
  */
1899
- listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1944
+ listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1900
1945
  /**
1901
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1946
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1902
1947
  */
1903
1948
  chainId: string;
1904
1949
  /**
@@ -1913,14 +1958,14 @@ declare class EvmTransactionsService {
1913
1958
  * 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.
1914
1959
  */
1915
1960
  endBlock?: number;
1916
- /**
1917
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1918
- */
1919
- pageSize?: number;
1920
1961
  /**
1921
1962
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1922
1963
  */
1923
1964
  pageToken?: string;
1965
+ /**
1966
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1967
+ */
1968
+ pageSize?: number;
1924
1969
  }): CancelablePromise<ListErc1155TransactionsResponse>;
1925
1970
  /**
1926
1971
  * List internal transactions
@@ -1930,9 +1975,9 @@ declare class EvmTransactionsService {
1930
1975
  * @returns ListInternalTransactionsResponse
1931
1976
  * @throws ApiError
1932
1977
  */
1933
- listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1978
+ listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1934
1979
  /**
1935
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1980
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1936
1981
  */
1937
1982
  chainId: string;
1938
1983
  /**
@@ -1947,14 +1992,14 @@ declare class EvmTransactionsService {
1947
1992
  * 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.
1948
1993
  */
1949
1994
  endBlock?: number;
1950
- /**
1951
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1952
- */
1953
- pageSize?: number;
1954
1995
  /**
1955
1996
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1956
1997
  */
1957
1998
  pageToken?: string;
1999
+ /**
2000
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2001
+ */
2002
+ pageSize?: number;
1958
2003
  }): CancelablePromise<ListInternalTransactionsResponse>;
1959
2004
  /**
1960
2005
  * Get transaction
@@ -1964,7 +2009,7 @@ declare class EvmTransactionsService {
1964
2009
  */
1965
2010
  getTransaction({ chainId, txHash, }: {
1966
2011
  /**
1967
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2012
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1968
2013
  */
1969
2014
  chainId: string;
1970
2015
  /**
@@ -1980,7 +2025,7 @@ declare class EvmTransactionsService {
1980
2025
  */
1981
2026
  getTransactionsForBlock({ chainId, blockId, }: {
1982
2027
  /**
1983
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2028
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1984
2029
  */
1985
2030
  chainId: string;
1986
2031
  /**
@@ -1994,19 +2039,19 @@ declare class EvmTransactionsService {
1994
2039
  * @returns ListNativeTransactionsResponse
1995
2040
  * @throws ApiError
1996
2041
  */
1997
- listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
2042
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
1998
2043
  /**
1999
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2044
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2000
2045
  */
2001
2046
  chainId: string;
2002
- /**
2003
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2004
- */
2005
- pageSize?: number;
2006
2047
  /**
2007
2048
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2008
2049
  */
2009
2050
  pageToken?: string;
2051
+ /**
2052
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2053
+ */
2054
+ pageSize?: number;
2010
2055
  /**
2011
2056
  * A status filter for listed transactions.
2012
2057
  */
@@ -2035,7 +2080,7 @@ type ListNftTokens = {
2035
2080
  * 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.
2036
2081
  */
2037
2082
  nextPageToken?: string;
2038
- tokens: (Array<Erc721Token> | Array<Erc1155Token>);
2083
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2039
2084
  };
2040
2085
 
2041
2086
  declare class NfTsService {
@@ -2049,7 +2094,7 @@ declare class NfTsService {
2049
2094
  */
2050
2095
  reindexNft({ chainId, address, tokenId, }: {
2051
2096
  /**
2052
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2097
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2053
2098
  */
2054
2099
  chainId: string;
2055
2100
  /**
@@ -2067,23 +2112,23 @@ declare class NfTsService {
2067
2112
  * @returns ListNftTokens
2068
2113
  * @throws ApiError
2069
2114
  */
2070
- listTokens({ chainId, address, pageSize, pageToken, }: {
2115
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2071
2116
  /**
2072
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2117
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2073
2118
  */
2074
2119
  chainId: string;
2075
2120
  /**
2076
2121
  * Contract address on the relevant chain.
2077
2122
  */
2078
2123
  address: string;
2079
- /**
2080
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2081
- */
2082
- pageSize?: number;
2083
2124
  /**
2084
2125
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2085
2126
  */
2086
2127
  pageToken?: string;
2128
+ /**
2129
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2130
+ */
2131
+ pageSize?: number;
2087
2132
  }): CancelablePromise<ListNftTokens>;
2088
2133
  /**
2089
2134
  * Get token details
@@ -2093,7 +2138,7 @@ declare class NfTsService {
2093
2138
  */
2094
2139
  getTokenDetails({ chainId, address, tokenId, }: {
2095
2140
  /**
2096
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2141
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2097
2142
  */
2098
2143
  chainId: string;
2099
2144
  /**
@@ -2112,8 +2157,12 @@ type EvmNetworkOptions = {
2112
2157
  includeChains: Array<string>;
2113
2158
  };
2114
2159
 
2160
+ declare enum EVMOperationType {
2161
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2162
+ }
2163
+
2115
2164
  type CreateEvmTransactionExportRequest = {
2116
- type: CreateEvmTransactionExportRequest.type;
2165
+ type: EVMOperationType;
2117
2166
  firstDate: string;
2118
2167
  lastDate: string;
2119
2168
  /**
@@ -2126,10 +2175,11 @@ type CreateEvmTransactionExportRequest = {
2126
2175
  endDate: string;
2127
2176
  options: EvmNetworkOptions;
2128
2177
  };
2129
- declare namespace CreateEvmTransactionExportRequest {
2130
- enum type {
2131
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2132
- }
2178
+
2179
+ declare enum PrimaryNetworkOperationType {
2180
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2181
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2182
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"
2133
2183
  }
2134
2184
 
2135
2185
  type PrimaryNetworkOptions = {
@@ -2139,7 +2189,7 @@ type PrimaryNetworkOptions = {
2139
2189
  };
2140
2190
 
2141
2191
  type CreatePrimaryNetworkTransactionExportRequest = {
2142
- type: CreatePrimaryNetworkTransactionExportRequest.type;
2192
+ type: PrimaryNetworkOperationType;
2143
2193
  firstDate: string;
2144
2194
  lastDate: string;
2145
2195
  /**
@@ -2152,11 +2202,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
2152
2202
  endDate: string;
2153
2203
  options: PrimaryNetworkOptions;
2154
2204
  };
2155
- declare namespace CreatePrimaryNetworkTransactionExportRequest {
2156
- enum type {
2157
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2158
- }
2159
- }
2160
2205
 
2161
2206
  declare enum OperationStatus {
2162
2207
  RUNNING = "RUNNING",
@@ -2166,8 +2211,10 @@ declare enum OperationStatus {
2166
2211
  }
2167
2212
 
2168
2213
  declare enum OperationType {
2169
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM",
2170
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2214
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2215
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2216
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",
2217
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2171
2218
  }
2172
2219
 
2173
2220
  declare enum OperationStatusCode {
@@ -2359,13 +2406,44 @@ type BlockchainInfo = {
2359
2406
  blockchainId: string;
2360
2407
  };
2361
2408
 
2409
+ type SubnetOwnershipInfo = {
2410
+ /**
2411
+ * Locktime in seconds after which Subnet owners can control this Subnet.
2412
+ */
2413
+ locktime: number;
2414
+ /**
2415
+ * Minimum number of signatures required to sign the Subnet update transactions.
2416
+ */
2417
+ threshold: number;
2418
+ /**
2419
+ * Addresses that are eligible to sign the Subnet update transactions.
2420
+ */
2421
+ addresses: Array<string>;
2422
+ };
2423
+
2362
2424
  type Subnet = {
2363
2425
  createBlockTimestamp: number;
2364
2426
  createBlockIndex: string;
2365
2427
  subnetId: string;
2428
+ /**
2429
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2430
+ * @deprecated
2431
+ */
2366
2432
  ownerAddresses: Array<string>;
2433
+ /**
2434
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2435
+ * @deprecated
2436
+ */
2367
2437
  threshold: number;
2438
+ /**
2439
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2440
+ * @deprecated
2441
+ */
2368
2442
  locktime: number;
2443
+ /**
2444
+ * Latest subnet owner details for this Subnet.
2445
+ */
2446
+ subnetOwnershipInfo: SubnetOwnershipInfo;
2369
2447
  blockchains: Array<BlockchainInfo>;
2370
2448
  };
2371
2449
 
@@ -2461,6 +2539,24 @@ declare namespace PendingValidatorDetails {
2461
2539
  }
2462
2540
  }
2463
2541
 
2542
+ type RemovedValidatorDetails = {
2543
+ txHash: string;
2544
+ nodeId: string;
2545
+ subnetId: string;
2546
+ amountStaked: string;
2547
+ delegationFee?: string;
2548
+ startTimestamp: number;
2549
+ endTimestamp: number;
2550
+ removeTxHash: string;
2551
+ removeTimestamp: number;
2552
+ validationStatus: RemovedValidatorDetails.validationStatus;
2553
+ };
2554
+ declare namespace RemovedValidatorDetails {
2555
+ enum validationStatus {
2556
+ REMOVED = "removed"
2557
+ }
2558
+ }
2559
+
2464
2560
  type ListValidatorDetailsResponse = {
2465
2561
  /**
2466
2562
  * 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.
@@ -2469,7 +2565,7 @@ type ListValidatorDetailsResponse = {
2469
2565
  /**
2470
2566
  * The list of validator Details.
2471
2567
  */
2472
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2568
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2473
2569
  };
2474
2570
 
2475
2571
  declare enum Network {
@@ -2480,7 +2576,24 @@ declare enum Network {
2480
2576
  declare enum ValidationStatusType {
2481
2577
  COMPLETED = "completed",
2482
2578
  ACTIVE = "active",
2483
- PENDING = "pending"
2579
+ PENDING = "pending",
2580
+ REMOVED = "removed"
2581
+ }
2582
+
2583
+ /**
2584
+ * Cap represents if an asset is a variable or fixed cap asset.
2585
+ */
2586
+ declare enum PrimaryNetworkAssetCap {
2587
+ FIXED = "fixed",
2588
+ VARIABLE = "variable"
2589
+ }
2590
+
2591
+ /**
2592
+ * Type of asset like SECP256K1 or NFT.
2593
+ */
2594
+ declare enum PrimaryNetworkAssetType {
2595
+ SECP256K1 = "secp256k1",
2596
+ NFT = "nft"
2484
2597
  }
2485
2598
 
2486
2599
  type XChainAssetDetails = {
@@ -2500,18 +2613,12 @@ type XChainAssetDetails = {
2500
2613
  * Denomination of this asset to represent fungibility.
2501
2614
  */
2502
2615
  denomination: number;
2503
- /**
2504
- * Type of asset like SECP256K1 or NFT.
2505
- */
2506
- type: string;
2616
+ type: PrimaryNetworkAssetType;
2507
2617
  /**
2508
2618
  * Timestamp in seconds this asset was created on.
2509
2619
  */
2510
2620
  createdAtTimestamp: number;
2511
- /**
2512
- * Cap represents if an asset can be or is fixed cap.
2513
- */
2514
- cap: string;
2621
+ cap: PrimaryNetworkAssetCap;
2515
2622
  };
2516
2623
 
2517
2624
  declare enum XChainId {
@@ -2577,19 +2684,19 @@ declare class PrimaryNetworkService {
2577
2684
  * @returns ListBlockchainsResponse
2578
2685
  * @throws ApiError
2579
2686
  */
2580
- listBlockchains({ network, pageSize, pageToken, sortOrder, }: {
2687
+ listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2581
2688
  /**
2582
2689
  * Either mainnet or a testnet.
2583
2690
  */
2584
2691
  network: Network;
2585
- /**
2586
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2587
- */
2588
- pageSize?: number;
2589
2692
  /**
2590
2693
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2591
2694
  */
2592
2695
  pageToken?: string;
2696
+ /**
2697
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2698
+ */
2699
+ pageSize?: number;
2593
2700
  /**
2594
2701
  * 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.
2595
2702
  */
@@ -2601,19 +2708,19 @@ declare class PrimaryNetworkService {
2601
2708
  * @returns ListSubnetsResponse
2602
2709
  * @throws ApiError
2603
2710
  */
2604
- listSubnets({ network, pageSize, pageToken, sortOrder, }: {
2711
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2605
2712
  /**
2606
2713
  * Either mainnet or a testnet.
2607
2714
  */
2608
2715
  network: Network;
2609
- /**
2610
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2611
- */
2612
- pageSize?: number;
2613
2716
  /**
2614
2717
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2615
2718
  */
2616
2719
  pageToken?: string;
2720
+ /**
2721
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2722
+ */
2723
+ pageSize?: number;
2617
2724
  /**
2618
2725
  * 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.
2619
2726
  */
@@ -2625,55 +2732,55 @@ declare class PrimaryNetworkService {
2625
2732
  * @returns ListValidatorDetailsResponse
2626
2733
  * @throws ApiError
2627
2734
  */
2628
- listValidators({ network, pageSize, pageToken, minTimeRemaining, maxTimeRemaining, minDelegationCapacity, maxDelegationCapacity, minFeePercentage, maxFeePercentage, nodeIds, sortOrder, validationStatus, subnetId, }: {
2735
+ listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2629
2736
  /**
2630
2737
  * Either mainnet or a testnet.
2631
2738
  */
2632
2739
  network: Network;
2740
+ /**
2741
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2742
+ */
2743
+ pageToken?: string;
2633
2744
  /**
2634
2745
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2635
2746
  */
2636
2747
  pageSize?: number;
2637
2748
  /**
2638
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2749
+ * A comma separated list of node ids to filter by.
2639
2750
  */
2640
- pageToken?: string;
2751
+ nodeIds?: string;
2641
2752
  /**
2642
- * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2753
+ * 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.
2643
2754
  */
2644
- minTimeRemaining?: any;
2755
+ sortOrder?: SortOrder;
2645
2756
  /**
2646
- * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2757
+ * Validation status of the node.
2647
2758
  */
2648
- maxTimeRemaining?: any;
2759
+ validationStatus?: ValidationStatusType;
2649
2760
  /**
2650
2761
  * 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
2651
2762
  */
2652
- minDelegationCapacity?: number;
2763
+ minDelegationCapacity?: string;
2653
2764
  /**
2654
2765
  * 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.
2655
2766
  */
2656
- maxDelegationCapacity?: number;
2767
+ maxDelegationCapacity?: string;
2657
2768
  /**
2658
- * 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.
2659
- */
2660
- minFeePercentage?: any;
2661
- /**
2662
- * 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.
2769
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2663
2770
  */
2664
- maxFeePercentage?: any;
2771
+ minTimeRemaining?: number;
2665
2772
  /**
2666
- * A comma separated list of node ids to filter by.
2773
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2667
2774
  */
2668
- nodeIds?: string;
2775
+ maxTimeRemaining?: number;
2669
2776
  /**
2670
- * 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.
2777
+ * 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.
2671
2778
  */
2672
- sortOrder?: SortOrder;
2779
+ minFeePercentage?: number;
2673
2780
  /**
2674
- * Validation status of the node.
2781
+ * 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.
2675
2782
  */
2676
- validationStatus?: ValidationStatusType;
2783
+ maxFeePercentage?: number;
2677
2784
  /**
2678
2785
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2679
2786
  */
@@ -2685,7 +2792,7 @@ declare class PrimaryNetworkService {
2685
2792
  * @returns ListValidatorDetailsResponse
2686
2793
  * @throws ApiError
2687
2794
  */
2688
- getSingleValidatorDetails({ network, nodeId, pageSize, pageToken, sortOrder, validationStatus, }: {
2795
+ getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
2689
2796
  /**
2690
2797
  * Either mainnet or a testnet.
2691
2798
  */
@@ -2694,14 +2801,14 @@ declare class PrimaryNetworkService {
2694
2801
  * A primary network (P or X chain) nodeId.
2695
2802
  */
2696
2803
  nodeId: string;
2697
- /**
2698
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2699
- */
2700
- pageSize?: number;
2701
2804
  /**
2702
2805
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2703
2806
  */
2704
2807
  pageToken?: string;
2808
+ /**
2809
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2810
+ */
2811
+ pageSize?: number;
2705
2812
  /**
2706
2813
  * 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.
2707
2814
  */
@@ -2717,19 +2824,19 @@ declare class PrimaryNetworkService {
2717
2824
  * @returns ListDelegatorDetailsResponse
2718
2825
  * @throws ApiError
2719
2826
  */
2720
- listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2827
+ listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2721
2828
  /**
2722
2829
  * Either mainnet or a testnet.
2723
2830
  */
2724
2831
  network: Network;
2725
- /**
2726
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2727
- */
2728
- pageSize?: number;
2729
2832
  /**
2730
2833
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2731
2834
  */
2732
2835
  pageToken?: string;
2836
+ /**
2837
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2838
+ */
2839
+ pageSize?: number;
2733
2840
  /**
2734
2841
  * A comma separated list of reward addresses to filter by.
2735
2842
  */
@@ -2777,10 +2884,7 @@ type CChainSharedAssetBalance = {
2777
2884
  * Denomination of this asset to represent fungibility.
2778
2885
  */
2779
2886
  denomination: number;
2780
- /**
2781
- * Type of asset like SECP256K1 or NFT.
2782
- */
2783
- type: string;
2887
+ type: PrimaryNetworkAssetType;
2784
2888
  /**
2785
2889
  * Amount of the asset.
2786
2890
  */
@@ -2815,49 +2919,89 @@ type ListCChainAtomicBalancesResponse = {
2815
2919
  chainInfo: PrimaryNetworkChainInfo;
2816
2920
  };
2817
2921
 
2818
- type PChainAsset = {
2922
+ type AggregatedAssetAmount = {
2923
+ /**
2924
+ * Unique ID for an asset.
2925
+ */
2819
2926
  assetId: string;
2927
+ /**
2928
+ * Name of this asset.
2929
+ */
2930
+ name: string;
2931
+ /**
2932
+ * Symbol for this asset (max 4 characters).
2933
+ */
2934
+ symbol: string;
2935
+ /**
2936
+ * Denomination of this asset to represent fungibility.
2937
+ */
2938
+ denomination: number;
2939
+ type: PrimaryNetworkAssetType;
2940
+ /**
2941
+ * Amount of the asset.
2942
+ */
2820
2943
  amount: string;
2944
+ utxoCount: number;
2821
2945
  };
2822
2946
 
2823
2947
  type PChainSharedAsset = {
2948
+ /**
2949
+ * Unique ID for an asset.
2950
+ */
2824
2951
  assetId: string;
2952
+ /**
2953
+ * Name of this asset.
2954
+ */
2955
+ name: string;
2956
+ /**
2957
+ * Symbol for this asset (max 4 characters).
2958
+ */
2959
+ symbol: string;
2960
+ /**
2961
+ * Denomination of this asset to represent fungibility.
2962
+ */
2963
+ denomination: number;
2964
+ type: PrimaryNetworkAssetType;
2965
+ /**
2966
+ * Amount of the asset.
2967
+ */
2825
2968
  amount: string;
2969
+ utxoCount: number;
2826
2970
  sharedWithChainId: string;
2827
2971
  status: string;
2828
2972
  };
2829
2973
 
2830
2974
  type PChainBalance = {
2831
2975
  /**
2832
- * 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.
2976
+ * 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.
2833
2977
  */
2834
- unlockedUnstaked: Array<PChainAsset>;
2978
+ unlockedUnstaked: Array<AggregatedAssetAmount>;
2835
2979
  /**
2836
- * 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.
2980
+ * 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.
2837
2981
  */
2838
- unlockedStaked: Array<PChainAsset>;
2982
+ unlockedStaked: Array<AggregatedAssetAmount>;
2839
2983
  /**
2840
- * 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.
2984
+ * 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.
2841
2985
  */
2842
- lockedPlatform: Array<PChainAsset>;
2986
+ lockedPlatform: Array<AggregatedAssetAmount>;
2843
2987
  /**
2844
- * 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.
2988
+ * 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.
2845
2989
  */
2846
- lockedStakeable: Array<PChainAsset>;
2990
+ lockedStakeable: Array<AggregatedAssetAmount>;
2847
2991
  /**
2848
- * 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.
2992
+ * 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.
2849
2993
  */
2850
- lockedStaked: Array<PChainAsset>;
2994
+ lockedStaked: Array<AggregatedAssetAmount>;
2851
2995
  /**
2852
- * 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.
2996
+ * 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.
2853
2997
  */
2854
- pendingStaked: Array<PChainAsset>;
2998
+ pendingStaked: Array<AggregatedAssetAmount>;
2855
2999
  /**
2856
- * 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.
3000
+ * 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.
2857
3001
  */
2858
3002
  atomicMemoryUnlocked: Array<PChainSharedAsset>;
2859
3003
  /**
2860
- * 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.
3004
+ * 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.
2861
3005
  */
2862
3006
  atomicMemoryLocked: Array<PChainSharedAsset>;
2863
3007
  };
@@ -2867,34 +3011,6 @@ type ListPChainBalancesResponse = {
2867
3011
  chainInfo: PrimaryNetworkChainInfo;
2868
3012
  };
2869
3013
 
2870
- type XChainAssetBalance = {
2871
- /**
2872
- * Unique ID for an asset.
2873
- */
2874
- assetId: string;
2875
- /**
2876
- * Name of this asset.
2877
- */
2878
- name: string;
2879
- /**
2880
- * Symbol for this asset (max 4 characters).
2881
- */
2882
- symbol: string;
2883
- /**
2884
- * Denomination of this asset to represent fungibility.
2885
- */
2886
- denomination: number;
2887
- /**
2888
- * Type of asset like SECP256K1 or NFT.
2889
- */
2890
- type: string;
2891
- /**
2892
- * Amount of the asset.
2893
- */
2894
- amount: string;
2895
- utxoCount: number;
2896
- };
2897
-
2898
3014
  type XChainSharedAssetBalance = {
2899
3015
  /**
2900
3016
  * Unique ID for an asset.
@@ -2912,10 +3028,7 @@ type XChainSharedAssetBalance = {
2912
3028
  * Denomination of this asset to represent fungibility.
2913
3029
  */
2914
3030
  denomination: number;
2915
- /**
2916
- * Type of asset like SECP256K1 or NFT.
2917
- */
2918
- type: string;
3031
+ type: PrimaryNetworkAssetType;
2919
3032
  /**
2920
3033
  * Amount of the asset.
2921
3034
  */
@@ -2928,11 +3041,11 @@ type XChainBalances = {
2928
3041
  /**
2929
3042
  * A list of objects containing X-chain Asset balance information.
2930
3043
  */
2931
- locked: Array<XChainAssetBalance>;
3044
+ locked: Array<AggregatedAssetAmount>;
2932
3045
  /**
2933
3046
  * A list of objects containing X-chain Asset balance information.
2934
3047
  */
2935
- unlocked: Array<XChainAssetBalance>;
3048
+ unlocked: Array<AggregatedAssetAmount>;
2936
3049
  atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
2937
3050
  atomicMemoryLocked: Array<XChainSharedAssetBalance>;
2938
3051
  };
@@ -3045,7 +3158,7 @@ declare class PrimaryNetworkBlocksService {
3045
3158
  * @returns ListPrimaryNetworkBlocksResponse
3046
3159
  * @throws ApiError
3047
3160
  */
3048
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageSize, pageToken, }: {
3161
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
3049
3162
  /**
3050
3163
  * A primary network blockchain id or alias.
3051
3164
  */
@@ -3058,14 +3171,14 @@ declare class PrimaryNetworkBlocksService {
3058
3171
  * A primary network (P or X chain) nodeId.
3059
3172
  */
3060
3173
  nodeId: string;
3061
- /**
3062
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3063
- */
3064
- pageSize?: number;
3065
3174
  /**
3066
3175
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3067
3176
  */
3068
3177
  pageToken?: string;
3178
+ /**
3179
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3180
+ */
3181
+ pageSize?: number;
3069
3182
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3070
3183
  /**
3071
3184
  * List latest blocks
@@ -3073,7 +3186,7 @@ declare class PrimaryNetworkBlocksService {
3073
3186
  * @returns ListPrimaryNetworkBlocksResponse
3074
3187
  * @throws ApiError
3075
3188
  */
3076
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageSize, pageToken, }: {
3189
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
3077
3190
  /**
3078
3191
  * A primary network blockchain id or alias.
3079
3192
  */
@@ -3082,17 +3195,45 @@ declare class PrimaryNetworkBlocksService {
3082
3195
  * Either mainnet or a testnet.
3083
3196
  */
3084
3197
  network: Network;
3085
- /**
3086
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3087
- */
3088
- pageSize?: number;
3089
3198
  /**
3090
3199
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3091
3200
  */
3092
3201
  pageToken?: string;
3202
+ /**
3203
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3204
+ */
3205
+ pageSize?: number;
3093
3206
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3094
3207
  }
3095
3208
 
3209
+ type AssetWithPriceInfo = {
3210
+ /**
3211
+ * Unique ID for an asset.
3212
+ */
3213
+ assetId: string;
3214
+ /**
3215
+ * Name of this asset.
3216
+ */
3217
+ name: string;
3218
+ /**
3219
+ * Symbol for this asset (max 4 characters).
3220
+ */
3221
+ symbol: string;
3222
+ /**
3223
+ * Denomination of this asset to represent fungibility.
3224
+ */
3225
+ denomination: number;
3226
+ type: PrimaryNetworkAssetType;
3227
+ /**
3228
+ * Amount of the asset.
3229
+ */
3230
+ amount: string;
3231
+ /**
3232
+ * 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.
3233
+ */
3234
+ historicalPrice?: Money;
3235
+ };
3236
+
3096
3237
  declare enum RewardType {
3097
3238
  VALIDATOR = "VALIDATOR",
3098
3239
  DELEGATOR = "DELEGATOR",
@@ -3112,10 +3253,7 @@ type HistoricalReward = {
3112
3253
  rewardType: RewardType;
3113
3254
  utxoId: string;
3114
3255
  outputIndex: number;
3115
- /**
3116
- * An object containing P-chain Asset ID and the amount of that Asset ID.
3117
- */
3118
- reward: PChainAsset;
3256
+ reward: AssetWithPriceInfo;
3119
3257
  rewardTxHash: string;
3120
3258
  };
3121
3259
 
@@ -3127,6 +3265,30 @@ type ListHistoricalRewardsResponse = {
3127
3265
  historicalRewards: Array<HistoricalReward>;
3128
3266
  };
3129
3267
 
3268
+ type AssetAmount = {
3269
+ /**
3270
+ * Unique ID for an asset.
3271
+ */
3272
+ assetId: string;
3273
+ /**
3274
+ * Name of this asset.
3275
+ */
3276
+ name: string;
3277
+ /**
3278
+ * Symbol for this asset (max 4 characters).
3279
+ */
3280
+ symbol: string;
3281
+ /**
3282
+ * Denomination of this asset to represent fungibility.
3283
+ */
3284
+ denomination: number;
3285
+ type: PrimaryNetworkAssetType;
3286
+ /**
3287
+ * Amount of the asset.
3288
+ */
3289
+ amount: string;
3290
+ };
3291
+
3130
3292
  type PendingReward = {
3131
3293
  /**
3132
3294
  * An array of P-Chain wallet addresses.
@@ -3140,9 +3302,9 @@ type PendingReward = {
3140
3302
  rewardType: RewardType;
3141
3303
  progress: number;
3142
3304
  /**
3143
- * An object containing P-chain Asset ID and the amount of that Asset ID.
3305
+ * An object containing P-chain Asset basic info and the amount of that Asset ID.
3144
3306
  */
3145
- estimatedReward: PChainAsset;
3307
+ estimatedReward: AssetAmount;
3146
3308
  };
3147
3309
 
3148
3310
  type ListPendingRewardsResponse = {
@@ -3162,25 +3324,25 @@ declare class PrimaryNetworkRewardsService {
3162
3324
  * @returns ListPendingRewardsResponse
3163
3325
  * @throws ApiError
3164
3326
  */
3165
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3327
+ listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
3166
3328
  /**
3167
3329
  * Either mainnet or a testnet.
3168
3330
  */
3169
3331
  network: Network;
3170
3332
  /**
3171
- * 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".
3333
+ * 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.
3172
3334
  */
3173
3335
  addresses?: string;
3174
- /**
3175
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3176
- */
3177
- pageSize?: number;
3178
3336
  /**
3179
3337
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3180
3338
  */
3181
3339
  pageToken?: string;
3182
3340
  /**
3183
- * A comma separated list of node ids to filter by.
3341
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3342
+ */
3343
+ pageSize?: number;
3344
+ /**
3345
+ * A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
3184
3346
  */
3185
3347
  nodeIds?: string;
3186
3348
  /**
@@ -3194,68 +3356,45 @@ declare class PrimaryNetworkRewardsService {
3194
3356
  * @returns ListHistoricalRewardsResponse
3195
3357
  * @throws ApiError
3196
3358
  */
3197
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3359
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3198
3360
  /**
3199
3361
  * Either mainnet or a testnet.
3200
3362
  */
3201
3363
  network: Network;
3202
3364
  /**
3203
- * 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".
3365
+ * 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.
3204
3366
  */
3205
3367
  addresses?: string;
3206
- /**
3207
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3208
- */
3209
- pageSize?: number;
3210
3368
  /**
3211
3369
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3212
3370
  */
3213
3371
  pageToken?: string;
3214
3372
  /**
3215
- * A comma separated list of node ids to filter by.
3373
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3374
+ */
3375
+ pageSize?: number;
3376
+ /**
3377
+ * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3216
3378
  */
3217
3379
  nodeIds?: string;
3218
3380
  /**
3219
3381
  * 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.
3220
3382
  */
3221
3383
  sortOrder?: SortOrder;
3384
+ /**
3385
+ * The currency that return values should use. Defaults to USD.
3386
+ */
3387
+ currency?: CurrencyCode;
3222
3388
  }): CancelablePromise<ListHistoricalRewardsResponse>;
3223
3389
  }
3224
3390
 
3225
- type Asset = {
3226
- /**
3227
- * Unique ID for an asset.
3228
- */
3229
- assetId: string;
3230
- /**
3231
- * Name of this asset.
3232
- */
3233
- name: string;
3234
- /**
3235
- * Symbol for this asset (max 4 characters).
3236
- */
3237
- symbol: string;
3238
- /**
3239
- * Denomination of this asset to represent fungibility.
3240
- */
3241
- denomination: number;
3242
- /**
3243
- * Type of asset like SECP256K1 or NFT.
3244
- */
3245
- type: string;
3246
- /**
3247
- * Amount of the asset.
3248
- */
3249
- amount: string;
3250
- };
3251
-
3252
3391
  type UtxoCredential = {
3253
3392
  /**
3254
- * Signature provided to consume the output
3393
+ * Signature provided to consume the output.
3255
3394
  */
3256
3395
  signature?: string;
3257
3396
  /**
3258
- * Public key associated with the signature
3397
+ * Public key associated with the signature.
3259
3398
  */
3260
3399
  publicKey?: string;
3261
3400
  };
@@ -3266,9 +3405,9 @@ type EVMInput = {
3266
3405
  */
3267
3406
  fromAddress: string;
3268
3407
  /**
3269
- * Asset details for the asset being transferred.
3408
+ * AssetAmount details for the asset being transferred.
3270
3409
  */
3271
- asset: Asset;
3410
+ asset: AssetAmount;
3272
3411
  /**
3273
3412
  * Credentials that signed this transaction.
3274
3413
  */
@@ -3277,66 +3416,66 @@ type EVMInput = {
3277
3416
 
3278
3417
  type Utxo = {
3279
3418
  /**
3280
- * UTXO ID for this output.
3419
+ * Addresses that are eligible to sign the consumption of this output.
3281
3420
  */
3282
- utxoId: string;
3283
- asset: Asset;
3421
+ addresses: Array<string>;
3422
+ asset: AssetAmount;
3284
3423
  /**
3285
- * Type of output.
3424
+ * Blockchain ID on which this output is consumed on.
3286
3425
  */
3287
- utxoType: string;
3426
+ consumedOnChainId: string;
3288
3427
  /**
3289
- * Blockchain ID on which this output is created on.
3428
+ * Transaction ID that consumed this output.
3290
3429
  */
3291
- createdOnChainId: string;
3430
+ consumingTxHash?: string;
3292
3431
  /**
3293
- * Blockchain ID on which this output is consumed on.
3432
+ * Blockchain ID on which this output is created on.
3294
3433
  */
3295
- consumedOnChainId: string;
3434
+ createdOnChainId: string;
3296
3435
  /**
3297
- * Transaction ID that created this output.
3436
+ * UTXO ID for this output.
3298
3437
  */
3299
- creationTxHash: string;
3438
+ utxoId: string;
3300
3439
  /**
3301
- * Transaction ID that consumed this output.
3440
+ * Unix timestamp in seconds at which this output was consumed.
3302
3441
  */
3303
- consumingTxHash?: string;
3442
+ consumingTxTimestamp?: number;
3304
3443
  /**
3305
- * Timestamp in seconds this output is consumed.
3444
+ * Transaction ID that created this output.
3306
3445
  */
3307
- consumingTxTimestamp?: number;
3446
+ creationTxHash: string;
3308
3447
  /**
3309
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3448
+ * Credentials that signed the transaction to consume this utxo
3310
3449
  */
3311
- outputIndex: string;
3450
+ credentials?: Array<UtxoCredential>;
3312
3451
  /**
3313
- * Timestamp in seconds this outptut is created on.
3452
+ * Index representing the minting set for the NFT mint output.
3314
3453
  */
3315
- timestamp: number;
3454
+ groupId?: number;
3316
3455
  /**
3317
3456
  * Locktime in seconds after which this output can be consumed.
3318
3457
  */
3319
3458
  locktime: number;
3320
3459
  /**
3321
- * Minimum number of signatures required to consume this output.
3460
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3322
3461
  */
3323
- threshold: number;
3462
+ outputIndex: string;
3324
3463
  /**
3325
- * Addresses that are eligible to sign the consumption of this output.
3464
+ * Hex encoded data for NFT assets.
3326
3465
  */
3327
- addresses: Array<string>;
3466
+ payload?: string;
3328
3467
  /**
3329
- * Hex encoded data for NFT assets
3468
+ * Minimum number of signatures required to consume this output.
3330
3469
  */
3331
- payload?: string;
3470
+ threshold: number;
3332
3471
  /**
3333
- * Index representing the minting set for the NFT mint output
3472
+ * Unix timestamp in seconds at which this outptut was created.
3334
3473
  */
3335
- groupId?: number;
3474
+ timestamp: number;
3336
3475
  /**
3337
- * Credentials that signed the transaction to consume this utxo
3476
+ * Type of output.
3338
3477
  */
3339
- credentials?: Array<UtxoCredential>;
3478
+ utxoType: string;
3340
3479
  };
3341
3480
 
3342
3481
  type CChainExportTransaction = {
@@ -3363,11 +3502,11 @@ type CChainExportTransaction = {
3363
3502
  /**
3364
3503
  * Assets unlocked by inputs of this transaction.
3365
3504
  */
3366
- amountUnlocked: Array<Asset>;
3505
+ amountUnlocked: Array<AssetAmount>;
3367
3506
  /**
3368
3507
  * Assets created by outputs of this transaction.
3369
3508
  */
3370
- amountCreated: Array<Asset>;
3509
+ amountCreated: Array<AssetAmount>;
3371
3510
  /**
3372
3511
  * Source chain for an atomic transaction.
3373
3512
  */
@@ -3398,9 +3537,9 @@ type EVMOutput = {
3398
3537
  */
3399
3538
  toAddress: string;
3400
3539
  /**
3401
- * Asset details for the asset being transferred.
3540
+ * AssetAmount details for the asset being transferred.
3402
3541
  */
3403
- asset: Asset;
3542
+ asset: AssetAmount;
3404
3543
  };
3405
3544
 
3406
3545
  type CChainImportTransaction = {
@@ -3427,11 +3566,11 @@ type CChainImportTransaction = {
3427
3566
  /**
3428
3567
  * Assets unlocked by inputs of this transaction.
3429
3568
  */
3430
- amountUnlocked: Array<Asset>;
3569
+ amountUnlocked: Array<AssetAmount>;
3431
3570
  /**
3432
3571
  * Assets created by outputs of this transaction.
3433
3572
  */
3434
- amountCreated: Array<Asset>;
3573
+ amountCreated: Array<AssetAmount>;
3435
3574
  /**
3436
3575
  * Source chain for an atomic transaction.
3437
3576
  */
@@ -3467,17 +3606,20 @@ type ListCChainAtomicTransactionsResponse = {
3467
3606
 
3468
3607
  declare enum PChainTransactionType {
3469
3608
  ADD_VALIDATOR_TX = "AddValidatorTx",
3470
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3471
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3472
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3473
3609
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3474
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3475
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3610
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3476
3611
  CREATE_CHAIN_TX = "CreateChainTx",
3477
3612
  CREATE_SUBNET_TX = "CreateSubnetTx",
3478
3613
  IMPORT_TX = "ImportTx",
3479
3614
  EXPORT_TX = "ExportTx",
3480
3615
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3616
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3617
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3618
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3619
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3620
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3621
+ BASE_TX = "BaseTx",
3622
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3481
3623
  UNKNOWN = "UNKNOWN"
3482
3624
  }
3483
3625
 
@@ -3488,29 +3630,48 @@ declare enum UtxoType {
3488
3630
 
3489
3631
  type PChainUtxo = {
3490
3632
  /**
3491
- * An array of P-Chain wallet addresses.
3633
+ * Addresses that are eligible to sign the consumption of this output.
3492
3634
  */
3493
3635
  addresses: Array<string>;
3636
+ asset: AssetAmount;
3637
+ /**
3638
+ * Blockchain ID on which this output is consumed on.
3639
+ */
3640
+ consumedOnChainId: string;
3641
+ /**
3642
+ * Transaction ID that consumed this output.
3643
+ */
3644
+ consumingTxHash?: string;
3645
+ /**
3646
+ * Blockchain ID on which this output is created on.
3647
+ */
3648
+ createdOnChainId: string;
3649
+ /**
3650
+ * UTXO ID for this output.
3651
+ */
3494
3652
  utxoId: string;
3495
- txHash: string;
3496
- outputIndex: number;
3653
+ /**
3654
+ * @deprecated
3655
+ */
3656
+ amount: string;
3657
+ /**
3658
+ * @deprecated
3659
+ */
3660
+ assetId: string;
3497
3661
  blockNumber: string;
3498
3662
  blockTimestamp: number;
3499
- consumingTxHash?: string;
3500
- consumingBlockTimestamp?: number;
3501
3663
  consumingBlockNumber?: string;
3502
- assetId: string;
3503
- utxoType: UtxoType;
3504
- amount: string;
3505
- stakeableLocktime?: number;
3664
+ consumingBlockTimestamp?: number;
3506
3665
  platformLocktime?: number;
3507
- threshold?: number;
3508
- createdOnChainId: string;
3509
- consumedOnChainId: string;
3666
+ outputIndex: number;
3667
+ rewardType?: RewardType;
3668
+ stakeableLocktime?: number;
3510
3669
  staked?: boolean;
3511
- utxoStartTimestamp?: number;
3670
+ threshold?: number;
3671
+ txHash: string;
3512
3672
  utxoEndTimestamp?: number;
3513
- rewardType?: RewardType;
3673
+ utxoStartTimestamp?: number;
3674
+ utxoType: UtxoType;
3514
3675
  };
3515
3676
 
3516
3677
  type PChainTransaction = {
@@ -3536,17 +3697,17 @@ type PChainTransaction = {
3536
3697
  */
3537
3698
  destinationChain?: string;
3538
3699
  /**
3539
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3700
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3540
3701
  */
3541
- value: Array<PChainAsset>;
3702
+ value: Array<AssetAmount>;
3542
3703
  /**
3543
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3704
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3544
3705
  */
3545
- amountBurned: Array<PChainAsset>;
3706
+ amountBurned: Array<AssetAmount>;
3546
3707
  /**
3547
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3708
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3548
3709
  */
3549
- amountStaked: Array<PChainAsset>;
3710
+ amountStaked: Array<AssetAmount>;
3550
3711
  /**
3551
3712
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3552
3713
  */
@@ -3578,6 +3739,10 @@ type PChainTransaction = {
3578
3739
  * Present for RewardValidatorTx
3579
3740
  */
3580
3741
  stakingTxHash?: string;
3742
+ /**
3743
+ * Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
3744
+ */
3745
+ subnetOwnershipInfo?: SubnetOwnershipInfo;
3581
3746
  };
3582
3747
 
3583
3748
  type ListPChainTransactionsResponse = {
@@ -3589,6 +3754,9 @@ type ListPChainTransactionsResponse = {
3589
3754
  chainInfo: PrimaryNetworkChainInfo;
3590
3755
  };
3591
3756
 
3757
+ /**
3758
+ * Type of transaction.
3759
+ */
3592
3760
  declare enum XChainTransactionType {
3593
3761
  BASE_TX = "BaseTx",
3594
3762
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3611,9 +3779,6 @@ type XChainLinearTransaction = {
3611
3779
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3612
3780
  */
3613
3781
  timestamp: number;
3614
- /**
3615
- * Type of transaction.
3616
- */
3617
3782
  txType: XChainTransactionType;
3618
3783
  /**
3619
3784
  * Hex encoded memo bytes for this transaction.
@@ -3624,11 +3789,11 @@ type XChainLinearTransaction = {
3624
3789
  /**
3625
3790
  * Assets unlocked by inputs of this transaction.
3626
3791
  */
3627
- amountUnlocked: Array<Asset>;
3792
+ amountUnlocked: Array<AssetAmount>;
3628
3793
  /**
3629
3794
  * Assets created by outputs of this transaction.
3630
3795
  */
3631
- amountCreated: Array<Asset>;
3796
+ amountCreated: Array<AssetAmount>;
3632
3797
  /**
3633
3798
  * Source chain for an atomic transaction.
3634
3799
  */
@@ -3638,7 +3803,7 @@ type XChainLinearTransaction = {
3638
3803
  */
3639
3804
  destinationChain?: string;
3640
3805
  /**
3641
- * Asset details of the asset created in CreateAssetTx
3806
+ * AssetAmount details of the asset created in CreateAssetTx
3642
3807
  */
3643
3808
  assetCreated?: XChainAssetDetails;
3644
3809
  /**
@@ -3688,9 +3853,6 @@ type XChainNonLinearTransaction = {
3688
3853
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3689
3854
  */
3690
3855
  timestamp: number;
3691
- /**
3692
- * Type of transaction.
3693
- */
3694
3856
  txType: XChainTransactionType;
3695
3857
  /**
3696
3858
  * Hex encoded memo bytes for this transaction.
@@ -3701,11 +3863,11 @@ type XChainNonLinearTransaction = {
3701
3863
  /**
3702
3864
  * Assets unlocked by inputs of this transaction.
3703
3865
  */
3704
- amountUnlocked: Array<Asset>;
3866
+ amountUnlocked: Array<AssetAmount>;
3705
3867
  /**
3706
3868
  * Assets created by outputs of this transaction.
3707
3869
  */
3708
- amountCreated: Array<Asset>;
3870
+ amountCreated: Array<AssetAmount>;
3709
3871
  /**
3710
3872
  * Source chain for an atomic transaction.
3711
3873
  */
@@ -3715,7 +3877,7 @@ type XChainNonLinearTransaction = {
3715
3877
  */
3716
3878
  destinationChain?: string;
3717
3879
  /**
3718
- * Asset details of the asset created in CreateAssetTx
3880
+ * AssetAmount details of the asset created in CreateAssetTx
3719
3881
  */
3720
3882
  assetCreated?: XChainAssetDetails;
3721
3883
  /**
@@ -3749,19 +3911,21 @@ declare enum PChainId {
3749
3911
 
3750
3912
  declare enum PrimaryNetworkTxType {
3751
3913
  ADD_VALIDATOR_TX = "AddValidatorTx",
3752
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3753
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3754
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3755
3914
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3756
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3757
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3915
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3758
3916
  CREATE_CHAIN_TX = "CreateChainTx",
3759
3917
  CREATE_SUBNET_TX = "CreateSubnetTx",
3760
3918
  IMPORT_TX = "ImportTx",
3761
3919
  EXPORT_TX = "ExportTx",
3762
3920
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3763
- UNKNOWN = "UNKNOWN",
3921
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3922
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3923
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3924
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3925
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3764
3926
  BASE_TX = "BaseTx",
3927
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3928
+ UNKNOWN = "UNKNOWN",
3765
3929
  CREATE_ASSET_TX = "CreateAssetTx",
3766
3930
  OPERATION_TX = "OperationTx"
3767
3931
  }
@@ -3793,13 +3957,13 @@ declare class PrimaryNetworkTransactionsService {
3793
3957
  * List latest transactions
3794
3958
  * Lists the latest transactions on one of the Primary Network chains.
3795
3959
  *
3796
- * Transactions are filterable by addresses.
3960
+ * 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.
3797
3961
  *
3798
3962
  * 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.
3799
3963
  * @returns any
3800
3964
  * @throws ApiError
3801
3965
  */
3802
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3966
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3803
3967
  /**
3804
3968
  * A primary network blockchain id or alias.
3805
3969
  */
@@ -3824,14 +3988,14 @@ declare class PrimaryNetworkTransactionsService {
3824
3988
  * Query param for retrieving items before a specific timestamp.
3825
3989
  */
3826
3990
  endTimestamp?: number;
3827
- /**
3828
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3829
- */
3830
- pageSize?: number;
3831
3991
  /**
3832
3992
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3833
3993
  */
3834
3994
  pageToken?: string;
3995
+ /**
3996
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3997
+ */
3998
+ pageSize?: number;
3835
3999
  /**
3836
4000
  * 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.
3837
4001
  */
@@ -3843,7 +4007,7 @@ declare class PrimaryNetworkTransactionsService {
3843
4007
  * @returns ListPChainTransactionsResponse
3844
4008
  * @throws ApiError
3845
4009
  */
3846
- listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
4010
+ listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3847
4011
  /**
3848
4012
  * A primary network blockchain id or alias.
3849
4013
  */
@@ -3868,14 +4032,14 @@ declare class PrimaryNetworkTransactionsService {
3868
4032
  * Query param for retrieving items before a specific timestamp.
3869
4033
  */
3870
4034
  endTimestamp?: number;
3871
- /**
3872
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3873
- */
3874
- pageSize?: number;
3875
4035
  /**
3876
4036
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3877
4037
  */
3878
4038
  pageToken?: string;
4039
+ /**
4040
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4041
+ */
4042
+ pageSize?: number;
3879
4043
  /**
3880
4044
  * 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.
3881
4045
  */
@@ -3887,7 +4051,7 @@ declare class PrimaryNetworkTransactionsService {
3887
4051
  * @returns ListXChainTransactionsResponse
3888
4052
  * @throws ApiError
3889
4053
  */
3890
- listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
4054
+ listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3891
4055
  /**
3892
4056
  * A primary network blockchain id or alias.
3893
4057
  */
@@ -3912,14 +4076,14 @@ declare class PrimaryNetworkTransactionsService {
3912
4076
  * Query param for retrieving items before a specific timestamp.
3913
4077
  */
3914
4078
  endTimestamp?: number;
3915
- /**
3916
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3917
- */
3918
- pageSize?: number;
3919
4079
  /**
3920
4080
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3921
4081
  */
3922
4082
  pageToken?: string;
4083
+ /**
4084
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4085
+ */
4086
+ pageSize?: number;
3923
4087
  }): CancelablePromise<ListXChainTransactionsResponse>;
3924
4088
  }
3925
4089
 
@@ -3950,7 +4114,7 @@ declare class PrimaryNetworkUtxOsService {
3950
4114
  * @returns any
3951
4115
  * @throws ApiError
3952
4116
  */
3953
- getUtxosByAddresses({ blockchainId, network, addresses, pageSize, pageToken, assetId, includeSpent, sortOrder, }: {
4117
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
3954
4118
  /**
3955
4119
  * A primary network blockchain id or alias.
3956
4120
  */
@@ -3963,14 +4127,14 @@ declare class PrimaryNetworkUtxOsService {
3963
4127
  * 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".
3964
4128
  */
3965
4129
  addresses?: string;
3966
- /**
3967
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3968
- */
3969
- pageSize?: number;
3970
4130
  /**
3971
4131
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3972
4132
  */
3973
4133
  pageToken?: string;
4134
+ /**
4135
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4136
+ */
4137
+ pageSize?: number;
3974
4138
  /**
3975
4139
  * Asset ID for any asset (only applicable X-Chain)
3976
4140
  */
@@ -4015,7 +4179,7 @@ declare class PrimaryNetworkVerticesService {
4015
4179
  * @returns ListXChainVerticesResponse
4016
4180
  * @throws ApiError
4017
4181
  */
4018
- listLatestXChainVertices({ blockchainId, network, pageSize, pageToken, }: {
4182
+ listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
4019
4183
  /**
4020
4184
  * A primary network blockchain id or alias.
4021
4185
  */
@@ -4024,14 +4188,14 @@ declare class PrimaryNetworkVerticesService {
4024
4188
  * Either mainnet or a testnet.
4025
4189
  */
4026
4190
  network: Network;
4027
- /**
4028
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4029
- */
4030
- pageSize?: number;
4031
4191
  /**
4032
4192
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4033
4193
  */
4034
4194
  pageToken?: string;
4195
+ /**
4196
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4197
+ */
4198
+ pageSize?: number;
4035
4199
  }): CancelablePromise<ListXChainVerticesResponse>;
4036
4200
  /**
4037
4201
  * Get vertex
@@ -4059,7 +4223,7 @@ declare class PrimaryNetworkVerticesService {
4059
4223
  * @returns ListXChainVerticesResponse
4060
4224
  * @throws ApiError
4061
4225
  */
4062
- getVertexByHeight({ vertexHeight, blockchainId, network, pageSize, pageToken, sortOrder, }: {
4226
+ getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
4063
4227
  /**
4064
4228
  * The height of a vertex.
4065
4229
  */
@@ -4072,19 +4236,195 @@ declare class PrimaryNetworkVerticesService {
4072
4236
  * Either mainnet or a testnet.
4073
4237
  */
4074
4238
  network: Network;
4239
+ /**
4240
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4241
+ */
4242
+ pageToken?: string;
4075
4243
  /**
4076
4244
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4077
4245
  */
4078
4246
  pageSize?: number;
4247
+ /**
4248
+ * 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.
4249
+ */
4250
+ sortOrder?: SortOrder;
4251
+ }): CancelablePromise<ListXChainVerticesResponse>;
4252
+ }
4253
+
4254
+ type TeleporterDestinationTransaction = {
4255
+ txHash: string;
4256
+ timestamp: number;
4257
+ gasSpent: string;
4258
+ rewardRedeemer: string;
4259
+ delivererAddress: string;
4260
+ };
4261
+
4262
+ type TeleporterReceipt = {
4263
+ receivedMessageNonce: string;
4264
+ relayerRewardAddress: string;
4265
+ };
4266
+
4267
+ type TeleporterRewardDetails = {
4268
+ /**
4269
+ * A wallet or contract address in mixed-case checksum encoding.
4270
+ */
4271
+ address: string;
4272
+ /**
4273
+ * The contract name.
4274
+ */
4275
+ name: string;
4276
+ /**
4277
+ * The contract symbol.
4278
+ */
4279
+ symbol: string;
4280
+ /**
4281
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
4282
+ */
4283
+ decimals: number;
4284
+ /**
4285
+ * The logo uri for the address.
4286
+ */
4287
+ logoUri?: string;
4288
+ ercType: TeleporterRewardDetails.ercType;
4289
+ /**
4290
+ * The token price, if available.
4291
+ */
4292
+ price?: Money;
4293
+ value: string;
4294
+ };
4295
+ declare namespace TeleporterRewardDetails {
4296
+ enum ercType {
4297
+ ERC_20 = "ERC-20"
4298
+ }
4299
+ }
4300
+
4301
+ type DeliveredSourceNotIndexedTeleporterMessage = {
4302
+ messageId: string;
4303
+ teleporterContractAddress: string;
4304
+ sourceBlockchainId: string;
4305
+ destinationBlockchainId: string;
4306
+ messageNonce: string;
4307
+ from: string;
4308
+ to: string;
4309
+ data?: string;
4310
+ messageExecuted: boolean;
4311
+ receipts: Array<TeleporterReceipt>;
4312
+ receiptDelivered: boolean;
4313
+ rewardDetails: TeleporterRewardDetails;
4314
+ destinationTransaction: TeleporterDestinationTransaction;
4315
+ status: DeliveredSourceNotIndexedTeleporterMessage.status;
4316
+ };
4317
+ declare namespace DeliveredSourceNotIndexedTeleporterMessage {
4318
+ enum status {
4319
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
4320
+ }
4321
+ }
4322
+
4323
+ type TeleporterSourceTransaction = {
4324
+ txHash: string;
4325
+ timestamp: number;
4326
+ gasSpent: string;
4327
+ };
4328
+
4329
+ type DeliveredTeleporterMessage = {
4330
+ messageId: string;
4331
+ teleporterContractAddress: string;
4332
+ sourceBlockchainId: string;
4333
+ destinationBlockchainId: string;
4334
+ messageNonce: string;
4335
+ from: string;
4336
+ to: string;
4337
+ data?: string;
4338
+ messageExecuted: boolean;
4339
+ receipts: Array<TeleporterReceipt>;
4340
+ receiptDelivered: boolean;
4341
+ rewardDetails: TeleporterRewardDetails;
4342
+ sourceTransaction: TeleporterSourceTransaction;
4343
+ destinationTransaction: TeleporterDestinationTransaction;
4344
+ status: DeliveredTeleporterMessage.status;
4345
+ };
4346
+ declare namespace DeliveredTeleporterMessage {
4347
+ enum status {
4348
+ DELIVERED = "delivered"
4349
+ }
4350
+ }
4351
+
4352
+ type NextPageToken = {
4353
+ /**
4354
+ * 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.
4355
+ */
4356
+ nextPageToken?: string;
4357
+ };
4358
+
4359
+ type PendingTeleporterMessage = {
4360
+ messageId: string;
4361
+ teleporterContractAddress: string;
4362
+ sourceBlockchainId: string;
4363
+ destinationBlockchainId: string;
4364
+ messageNonce: string;
4365
+ from: string;
4366
+ to: string;
4367
+ data?: string;
4368
+ messageExecuted: boolean;
4369
+ receipts: Array<TeleporterReceipt>;
4370
+ receiptDelivered: boolean;
4371
+ rewardDetails: TeleporterRewardDetails;
4372
+ sourceTransaction: TeleporterSourceTransaction;
4373
+ status: PendingTeleporterMessage.status;
4374
+ };
4375
+ declare namespace PendingTeleporterMessage {
4376
+ enum status {
4377
+ PENDING = "pending"
4378
+ }
4379
+ }
4380
+
4381
+ declare class TeleporterService {
4382
+ readonly httpRequest: BaseHttpRequest;
4383
+ constructor(httpRequest: BaseHttpRequest);
4384
+ /**
4385
+ * Get a teleporter message
4386
+ * Gets a teleporter message by message ID.
4387
+ * @returns any
4388
+ * @throws ApiError
4389
+ */
4390
+ getTeleporterMessage({ messageId, }: {
4391
+ /**
4392
+ * The message ID of the teleporter message.
4393
+ */
4394
+ messageId: string;
4395
+ }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4396
+ /**
4397
+ * List teleporter messages
4398
+ * Lists teleporter messages. Ordered by timestamp in descending order.
4399
+ * @returns any
4400
+ * @throws ApiError
4401
+ */
4402
+ listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4079
4403
  /**
4080
4404
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4081
4405
  */
4082
4406
  pageToken?: string;
4083
4407
  /**
4084
- * 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.
4408
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4085
4409
  */
4086
- sortOrder?: SortOrder;
4087
- }): CancelablePromise<ListXChainVerticesResponse>;
4410
+ pageSize?: number;
4411
+ /**
4412
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
4413
+ */
4414
+ sourceBlockchainId?: string;
4415
+ /**
4416
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
4417
+ */
4418
+ destinationBlockchainId?: string;
4419
+ /**
4420
+ * The address of the recipient of the teleporter message.
4421
+ */
4422
+ to?: string;
4423
+ /**
4424
+ * The address of the sender of the teleporter message.
4425
+ */
4426
+ from?: string;
4427
+ }): CancelablePromise<NextPageToken>;
4088
4428
  }
4089
4429
 
4090
4430
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
@@ -4105,6 +4445,7 @@ declare class Glacier {
4105
4445
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
4106
4446
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
4107
4447
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4448
+ readonly teleporter: TeleporterService;
4108
4449
  readonly request: BaseHttpRequest;
4109
4450
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
4110
4451
  }
@@ -4126,4 +4467,4 @@ declare class ApiError extends Error {
4126
4467
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4127
4468
  }
4128
4469
 
4129
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, 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, EVMInput, 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, 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, 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, RegisterWebhookRequest, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
4470
+ 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, 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, 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, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };