@avalabs/glacier-sdk 2.8.0-canary.23654bb.0 → 2.8.0-canary.238a9f2.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 (79) hide show
  1. package/dist/index.d.ts +639 -303
  2. package/dist/index.js +242 -115
  3. package/esm/generated/models/AddressActivityMetadata.d.ts +12 -0
  4. package/esm/generated/models/Asset.d.ts +3 -1
  5. package/esm/generated/models/AssetWithPriceInfo.d.ts +35 -0
  6. package/esm/generated/models/CChainSharedAssetBalance.d.ts +3 -1
  7. package/esm/generated/models/EventType.d.ts +5 -0
  8. package/esm/generated/models/EventType.js +6 -0
  9. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -0
  10. package/esm/generated/models/HistoricalReward.d.ts +2 -5
  11. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  12. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +2 -1
  13. package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
  14. package/esm/generated/models/PChainBalance.d.ts +7 -7
  15. package/esm/generated/models/PChainSharedAsset.d.ts +24 -0
  16. package/esm/generated/models/PChainTransaction.d.ts +9 -4
  17. package/esm/generated/models/PChainTransactionType.d.ts +8 -5
  18. package/esm/generated/models/PChainTransactionType.js +8 -5
  19. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  20. package/esm/generated/models/PendingReward.d.ts +2 -2
  21. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +6 -0
  22. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  23. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +6 -0
  24. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  25. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -0
  26. package/esm/generated/models/PrimaryNetworkTxType.d.ts +8 -6
  27. package/esm/generated/models/PrimaryNetworkTxType.js +8 -6
  28. package/esm/generated/models/RegisterWebhookRequest.d.ts +14 -0
  29. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  30. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  31. package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
  32. package/esm/generated/models/Subnet.d.ts +17 -0
  33. package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
  34. package/esm/generated/models/Utxo.d.ts +28 -28
  35. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  36. package/esm/generated/models/ValidationStatusType.d.ts +2 -1
  37. package/esm/generated/models/ValidationStatusType.js +1 -0
  38. package/esm/generated/models/WebhookResponse.d.ts +17 -0
  39. package/esm/generated/models/WebhookStatus.d.ts +6 -0
  40. package/esm/generated/models/WebhookStatus.js +7 -0
  41. package/esm/generated/models/WebhookStatusType.d.ts +6 -0
  42. package/esm/generated/models/WebhookStatusType.js +7 -0
  43. package/esm/generated/models/XChainAssetBalance.d.ts +3 -1
  44. package/esm/generated/models/XChainAssetDetails.d.ts +6 -3
  45. package/esm/generated/models/XChainLinearTransaction.d.ts +2 -1
  46. package/esm/generated/models/XChainNonLinearTransaction.d.ts +2 -1
  47. package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -1
  48. package/esm/generated/models/XChainTransactionType.d.ts +10 -0
  49. package/esm/generated/models/XChainTransactionType.js +11 -0
  50. package/esm/generated/services/DefaultService.d.ts +60 -0
  51. package/esm/generated/services/DefaultService.js +48 -0
  52. package/esm/generated/services/EvmBalancesService.d.ts +25 -25
  53. package/esm/generated/services/EvmBalancesService.js +8 -8
  54. package/esm/generated/services/EvmBlocksService.d.ts +7 -7
  55. package/esm/generated/services/EvmBlocksService.js +4 -4
  56. package/esm/generated/services/EvmChainsService.d.ts +1 -1
  57. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  58. package/esm/generated/services/EvmTransactionsService.d.ts +91 -49
  59. package/esm/generated/services/EvmTransactionsService.js +32 -32
  60. package/esm/generated/services/NfTsService.d.ts +27 -2
  61. package/esm/generated/services/NfTsService.js +19 -0
  62. package/esm/generated/services/OperationsService.d.ts +11 -11
  63. package/esm/generated/services/OperationsService.js +10 -10
  64. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
  65. package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
  66. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +19 -14
  67. package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -6
  68. package/esm/generated/services/PrimaryNetworkService.d.ts +41 -41
  69. package/esm/generated/services/PrimaryNetworkService.js +20 -20
  70. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
  71. package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
  72. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
  73. package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
  74. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
  75. package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
  76. package/esm/index.d.ts +15 -1
  77. package/esm/index.js +7 -0
  78. package/package.json +2 -2
  79. package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -60,6 +60,65 @@ declare abstract class BaseHttpRequest {
60
60
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
61
61
  }
62
62
 
63
+ type AddressActivityMetadata = {
64
+ /**
65
+ * Ethereum address for the address_activity event type
66
+ */
67
+ address: string;
68
+ /**
69
+ * Array of hexadecimal strings of the event signatures.
70
+ */
71
+ eventSignatures?: Array<string>;
72
+ };
73
+
74
+ declare enum EventType {
75
+ ADDRESS_ACTIVITY = "address_activity"
76
+ }
77
+
78
+ declare enum WebhookStatusType {
79
+ ACTIVE = "active",
80
+ INACTIVE = "inactive"
81
+ }
82
+
83
+ type WebhookResponse = {
84
+ id: string;
85
+ eventType: EventType;
86
+ metadata: AddressActivityMetadata;
87
+ url: string;
88
+ chainId: string;
89
+ status: WebhookStatusType;
90
+ createdAt: number;
91
+ name: string;
92
+ description: string;
93
+ };
94
+
95
+ type ListWebhooksResponse = {
96
+ /**
97
+ * 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.
98
+ */
99
+ nextPageToken?: string;
100
+ webhooks: Array<WebhookResponse>;
101
+ };
102
+
103
+ type RegisterWebhookRequest = {
104
+ url: string;
105
+ chainId: string;
106
+ /**
107
+ * The type of event for the webhook
108
+ */
109
+ eventType: EventType;
110
+ metadata: AddressActivityMetadata;
111
+ };
112
+
113
+ type SharedSecretsResponse = {
114
+ secret: string;
115
+ };
116
+
117
+ declare enum WebhookStatus {
118
+ ACTIVE = "active",
119
+ INACTIVE = "inactive"
120
+ }
121
+
63
122
  declare class DefaultService {
64
123
  readonly httpRequest: BaseHttpRequest;
65
124
  constructor(httpRequest: BaseHttpRequest);
@@ -68,6 +127,61 @@ declare class DefaultService {
68
127
  * @throws ApiError
69
128
  */
70
129
  mediaControllerUploadImage(): CancelablePromise<any>;
130
+ /**
131
+ * Register a webhook
132
+ * Registers a new webhook.
133
+ * @returns WebhookResponse
134
+ * @throws ApiError
135
+ */
136
+ registerWebhook({ requestBody, }: {
137
+ requestBody: RegisterWebhookRequest;
138
+ }): CancelablePromise<WebhookResponse>;
139
+ /**
140
+ * List webhooks
141
+ * Lists webhooks for the user.
142
+ * @returns ListWebhooksResponse
143
+ * @throws ApiError
144
+ */
145
+ listWebhooks({ pageToken, pageSize, status, }: {
146
+ /**
147
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
148
+ */
149
+ pageToken?: string;
150
+ /**
151
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
152
+ */
153
+ pageSize?: number;
154
+ /**
155
+ * 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.
156
+ */
157
+ status?: WebhookStatus;
158
+ }): CancelablePromise<ListWebhooksResponse>;
159
+ /**
160
+ * Deactivate a webhook
161
+ * Deactivates a webhook by ID.
162
+ * @returns WebhookResponse
163
+ * @throws ApiError
164
+ */
165
+ deactivateWebhook({ id, }: {
166
+ /**
167
+ * The webhook identifier.
168
+ */
169
+ id: string;
170
+ }): CancelablePromise<WebhookResponse>;
171
+ /**
172
+ * Generate a shared secret
173
+ * Generates a new shared secret.
174
+ * @returns SharedSecretsResponse
175
+ * @throws ApiError
176
+ */
177
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
178
+ /**
179
+ * Get a shared secret
180
+ * Get a previously generated shared secret.
181
+ * @returns SharedSecretsResponse
182
+ * @throws ApiError
183
+ */
184
+ getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
71
185
  }
72
186
 
73
187
  declare enum CurrencyCode {
@@ -345,7 +459,7 @@ declare class EvmBalancesService {
345
459
  */
346
460
  getNativeBalance({ chainId, address, blockNumber, currency, }: {
347
461
  /**
348
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
462
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
349
463
  */
350
464
  chainId: string;
351
465
  /**
@@ -371,9 +485,9 @@ declare class EvmBalancesService {
371
485
  * @returns ListErc20BalancesResponse
372
486
  * @throws ApiError
373
487
  */
374
- listErc20Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddresses, currency, }: {
488
+ listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
375
489
  /**
376
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
490
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
377
491
  */
378
492
  chainId: string;
379
493
  /**
@@ -384,14 +498,14 @@ declare class EvmBalancesService {
384
498
  * The block number, if not defined the block number will be the latest block.
385
499
  */
386
500
  blockNumber?: string;
387
- /**
388
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
389
- */
390
- pageSize?: number;
391
501
  /**
392
502
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
393
503
  */
394
504
  pageToken?: string;
505
+ /**
506
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
507
+ */
508
+ pageSize?: number;
395
509
  /**
396
510
  * A comma separated list of contract addresses to filter by.
397
511
  */
@@ -409,23 +523,23 @@ declare class EvmBalancesService {
409
523
  * @returns ListErc721BalancesResponse
410
524
  * @throws ApiError
411
525
  */
412
- listErc721Balances({ chainId, address, pageSize, pageToken, contractAddress, }: {
526
+ listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
413
527
  /**
414
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
528
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
415
529
  */
416
530
  chainId: string;
417
531
  /**
418
532
  * A wallet address.
419
533
  */
420
534
  address: string;
421
- /**
422
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
423
- */
424
- pageSize?: number;
425
535
  /**
426
536
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
427
537
  */
428
538
  pageToken?: string;
539
+ /**
540
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
541
+ */
542
+ pageSize?: number;
429
543
  /**
430
544
  * A contract addresses to filter by.
431
545
  */
@@ -441,9 +555,9 @@ declare class EvmBalancesService {
441
555
  * @returns ListErc1155BalancesResponse
442
556
  * @throws ApiError
443
557
  */
444
- listErc1155Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddress, }: {
558
+ listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
445
559
  /**
446
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
560
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
447
561
  */
448
562
  chainId: string;
449
563
  /**
@@ -454,14 +568,14 @@ declare class EvmBalancesService {
454
568
  * The block number, if not defined the block number will be the latest block.
455
569
  */
456
570
  blockNumber?: string;
457
- /**
458
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
459
- */
460
- pageSize?: number;
461
571
  /**
462
572
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
463
573
  */
464
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;
465
579
  /**
466
580
  * A contract addresses to filter by.
467
581
  */
@@ -475,23 +589,23 @@ declare class EvmBalancesService {
475
589
  * @returns ListCollectibleBalancesResponse
476
590
  * @throws ApiError
477
591
  */
478
- listCollectibleBalances({ chainId, address, pageSize, pageToken, contractAddress, }: {
592
+ listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
479
593
  /**
480
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
594
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
481
595
  */
482
596
  chainId: string;
483
597
  /**
484
598
  * A wallet address.
485
599
  */
486
600
  address: string;
487
- /**
488
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
489
- */
490
- pageSize?: number;
491
601
  /**
492
602
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
493
603
  */
494
604
  pageToken?: string;
605
+ /**
606
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
607
+ */
608
+ pageSize?: number;
495
609
  /**
496
610
  * A contract addresses to filter by.
497
611
  */
@@ -604,19 +718,19 @@ declare class EvmBlocksService {
604
718
  * @returns ListEvmBlocksResponse
605
719
  * @throws ApiError
606
720
  */
607
- getLatestBlocks({ chainId, pageSize, pageToken, }: {
721
+ getLatestBlocks({ chainId, pageToken, pageSize, }: {
608
722
  /**
609
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
723
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
610
724
  */
611
725
  chainId: string;
612
- /**
613
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
614
- */
615
- pageSize?: number;
616
726
  /**
617
727
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
618
728
  */
619
729
  pageToken?: string;
730
+ /**
731
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
732
+ */
733
+ pageSize?: number;
620
734
  }): CancelablePromise<ListEvmBlocksResponse>;
621
735
  /**
622
736
  * Get block
@@ -626,7 +740,7 @@ declare class EvmBlocksService {
626
740
  */
627
741
  getBlock({ chainId, blockId, }: {
628
742
  /**
629
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
743
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
630
744
  */
631
745
  chainId: string;
632
746
  /**
@@ -747,7 +861,7 @@ declare class EvmChainsService {
747
861
  */
748
862
  getChainInfo({ chainId, }: {
749
863
  /**
750
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
864
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
751
865
  */
752
866
  chainId: string;
753
867
  }): CancelablePromise<GetChainResponse>;
@@ -1042,7 +1156,7 @@ declare class EvmContractsService {
1042
1156
  */
1043
1157
  getContractMetadata({ chainId, address, }: {
1044
1158
  /**
1045
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1159
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1046
1160
  */
1047
1161
  chainId: string;
1048
1162
  /**
@@ -1058,7 +1172,7 @@ declare class EvmContractsService {
1058
1172
  */
1059
1173
  updateContractInfo({ chainId, address, requestBody, }: {
1060
1174
  /**
1061
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1175
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1062
1176
  */
1063
1177
  chainId: string;
1064
1178
  /**
@@ -1586,7 +1700,7 @@ declare class EvmTransactionsService {
1586
1700
  */
1587
1701
  getDeploymentTransaction({ chainId, address, currency, }: {
1588
1702
  /**
1589
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1703
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1590
1704
  */
1591
1705
  chainId: string;
1592
1706
  /**
@@ -1604,23 +1718,23 @@ declare class EvmTransactionsService {
1604
1718
  * @returns ListContractsResponse
1605
1719
  * @throws ApiError
1606
1720
  */
1607
- listContractDeployments({ chainId, address, pageSize, pageToken, }: {
1721
+ listContractDeployments({ chainId, address, pageToken, pageSize, }: {
1608
1722
  /**
1609
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1723
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1610
1724
  */
1611
1725
  chainId: string;
1612
1726
  /**
1613
1727
  * A wallet address.
1614
1728
  */
1615
1729
  address: string;
1616
- /**
1617
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1618
- */
1619
- pageSize?: number;
1620
1730
  /**
1621
1731
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1622
1732
  */
1623
1733
  pageToken?: string;
1734
+ /**
1735
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1736
+ */
1737
+ pageSize?: number;
1624
1738
  }): CancelablePromise<ListContractsResponse>;
1625
1739
  /**
1626
1740
  * List ERC transfers
@@ -1628,25 +1742,31 @@ declare class EvmTransactionsService {
1628
1742
  * @returns ListTransfersResponse
1629
1743
  * @throws ApiError
1630
1744
  */
1631
- listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1745
+ listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1632
1746
  /**
1633
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1747
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1634
1748
  */
1635
1749
  chainId: string;
1636
1750
  /**
1637
1751
  * A wallet address.
1638
1752
  */
1639
1753
  address: string;
1754
+ /**
1755
+ * 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.
1756
+ */
1640
1757
  startBlock?: number;
1641
- endBlock?: number;
1642
1758
  /**
1643
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1759
+ * 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.
1644
1760
  */
1645
- pageSize?: number;
1761
+ endBlock?: number;
1646
1762
  /**
1647
1763
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1648
1764
  */
1649
1765
  pageToken?: string;
1766
+ /**
1767
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1768
+ */
1769
+ pageSize?: number;
1650
1770
  }): CancelablePromise<ListTransfersResponse>;
1651
1771
  /**
1652
1772
  * List transactions
@@ -1656,24 +1776,30 @@ declare class EvmTransactionsService {
1656
1776
  * @returns ListTransactionDetailsResponse
1657
1777
  * @throws ApiError
1658
1778
  */
1659
- listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
1779
+ listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
1660
1780
  /**
1661
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1781
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1662
1782
  */
1663
1783
  chainId: string;
1664
1784
  /**
1665
1785
  * A wallet address.
1666
1786
  */
1667
1787
  address: string;
1788
+ /**
1789
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1790
+ */
1791
+ pageToken?: string;
1668
1792
  /**
1669
1793
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1670
1794
  */
1671
1795
  pageSize?: number;
1672
1796
  /**
1673
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1797
+ * 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.
1674
1798
  */
1675
- pageToken?: string;
1676
1799
  startBlock?: number;
1800
+ /**
1801
+ * 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.
1802
+ */
1677
1803
  endBlock?: number;
1678
1804
  /**
1679
1805
  * 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.
@@ -1686,25 +1812,31 @@ declare class EvmTransactionsService {
1686
1812
  * @returns ListNativeTransactionsResponse
1687
1813
  * @throws ApiError
1688
1814
  */
1689
- listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1815
+ listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1690
1816
  /**
1691
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1817
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1692
1818
  */
1693
1819
  chainId: string;
1694
1820
  /**
1695
1821
  * A wallet address.
1696
1822
  */
1697
1823
  address: string;
1824
+ /**
1825
+ * 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.
1826
+ */
1698
1827
  startBlock?: number;
1699
- endBlock?: number;
1700
1828
  /**
1701
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1829
+ * 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.
1702
1830
  */
1703
- pageSize?: number;
1831
+ endBlock?: number;
1704
1832
  /**
1705
1833
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1706
1834
  */
1707
1835
  pageToken?: string;
1836
+ /**
1837
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1838
+ */
1839
+ pageSize?: number;
1708
1840
  }): CancelablePromise<ListNativeTransactionsResponse>;
1709
1841
  /**
1710
1842
  * List ERC-20 transfers
@@ -1712,25 +1844,31 @@ declare class EvmTransactionsService {
1712
1844
  * @returns ListErc20TransactionsResponse
1713
1845
  * @throws ApiError
1714
1846
  */
1715
- listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1847
+ listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1716
1848
  /**
1717
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1849
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1718
1850
  */
1719
1851
  chainId: string;
1720
1852
  /**
1721
1853
  * A wallet address.
1722
1854
  */
1723
1855
  address: string;
1856
+ /**
1857
+ * 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.
1858
+ */
1724
1859
  startBlock?: number;
1725
- endBlock?: number;
1726
1860
  /**
1727
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1861
+ * 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.
1728
1862
  */
1729
- pageSize?: number;
1863
+ endBlock?: number;
1730
1864
  /**
1731
1865
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1732
1866
  */
1733
1867
  pageToken?: string;
1868
+ /**
1869
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1870
+ */
1871
+ pageSize?: number;
1734
1872
  }): CancelablePromise<ListErc20TransactionsResponse>;
1735
1873
  /**
1736
1874
  * List ERC-721 transfers
@@ -1738,25 +1876,31 @@ declare class EvmTransactionsService {
1738
1876
  * @returns ListErc721TransactionsResponse
1739
1877
  * @throws ApiError
1740
1878
  */
1741
- listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1879
+ listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1742
1880
  /**
1743
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1881
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1744
1882
  */
1745
1883
  chainId: string;
1746
1884
  /**
1747
1885
  * A wallet address.
1748
1886
  */
1749
1887
  address: string;
1888
+ /**
1889
+ * 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.
1890
+ */
1750
1891
  startBlock?: number;
1751
- endBlock?: number;
1752
1892
  /**
1753
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1893
+ * 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.
1754
1894
  */
1755
- pageSize?: number;
1895
+ endBlock?: number;
1756
1896
  /**
1757
1897
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1758
1898
  */
1759
1899
  pageToken?: string;
1900
+ /**
1901
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1902
+ */
1903
+ pageSize?: number;
1760
1904
  }): CancelablePromise<ListErc721TransactionsResponse>;
1761
1905
  /**
1762
1906
  * List ERC-1155 transfers
@@ -1764,25 +1908,31 @@ declare class EvmTransactionsService {
1764
1908
  * @returns ListErc1155TransactionsResponse
1765
1909
  * @throws ApiError
1766
1910
  */
1767
- listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1911
+ listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1768
1912
  /**
1769
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1913
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1770
1914
  */
1771
1915
  chainId: string;
1772
1916
  /**
1773
1917
  * A wallet address.
1774
1918
  */
1775
1919
  address: string;
1920
+ /**
1921
+ * 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.
1922
+ */
1776
1923
  startBlock?: number;
1777
- endBlock?: number;
1778
1924
  /**
1779
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1925
+ * 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.
1780
1926
  */
1781
- pageSize?: number;
1927
+ endBlock?: number;
1782
1928
  /**
1783
1929
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1784
1930
  */
1785
1931
  pageToken?: string;
1932
+ /**
1933
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1934
+ */
1935
+ pageSize?: number;
1786
1936
  }): CancelablePromise<ListErc1155TransactionsResponse>;
1787
1937
  /**
1788
1938
  * List internal transactions
@@ -1792,25 +1942,31 @@ declare class EvmTransactionsService {
1792
1942
  * @returns ListInternalTransactionsResponse
1793
1943
  * @throws ApiError
1794
1944
  */
1795
- listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1945
+ listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1796
1946
  /**
1797
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1947
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1798
1948
  */
1799
1949
  chainId: string;
1800
1950
  /**
1801
1951
  * A wallet address.
1802
1952
  */
1803
1953
  address: string;
1954
+ /**
1955
+ * 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.
1956
+ */
1804
1957
  startBlock?: number;
1805
- endBlock?: number;
1806
1958
  /**
1807
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1959
+ * 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.
1808
1960
  */
1809
- pageSize?: number;
1961
+ endBlock?: number;
1810
1962
  /**
1811
1963
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1812
1964
  */
1813
1965
  pageToken?: string;
1966
+ /**
1967
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1968
+ */
1969
+ pageSize?: number;
1814
1970
  }): CancelablePromise<ListInternalTransactionsResponse>;
1815
1971
  /**
1816
1972
  * Get transaction
@@ -1820,7 +1976,7 @@ declare class EvmTransactionsService {
1820
1976
  */
1821
1977
  getTransaction({ chainId, txHash, }: {
1822
1978
  /**
1823
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1979
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1824
1980
  */
1825
1981
  chainId: string;
1826
1982
  /**
@@ -1836,7 +1992,7 @@ declare class EvmTransactionsService {
1836
1992
  */
1837
1993
  getTransactionsForBlock({ chainId, blockId, }: {
1838
1994
  /**
1839
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1995
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1840
1996
  */
1841
1997
  chainId: string;
1842
1998
  /**
@@ -1850,19 +2006,19 @@ declare class EvmTransactionsService {
1850
2006
  * @returns ListNativeTransactionsResponse
1851
2007
  * @throws ApiError
1852
2008
  */
1853
- listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
2009
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
1854
2010
  /**
1855
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2011
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1856
2012
  */
1857
2013
  chainId: string;
1858
- /**
1859
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1860
- */
1861
- pageSize?: number;
1862
2014
  /**
1863
2015
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1864
2016
  */
1865
2017
  pageToken?: string;
2018
+ /**
2019
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2020
+ */
2021
+ pageSize?: number;
1866
2022
  /**
1867
2023
  * A status filter for listed transactions.
1868
2024
  */
@@ -1886,6 +2042,14 @@ declare class HealthCheckService {
1886
2042
  }>;
1887
2043
  }
1888
2044
 
2045
+ type ListNftTokens = {
2046
+ /**
2047
+ * 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.
2048
+ */
2049
+ nextPageToken?: string;
2050
+ tokens: (Array<Erc721Token> | Array<Erc1155Token>);
2051
+ };
2052
+
1889
2053
  declare class NfTsService {
1890
2054
  readonly httpRequest: BaseHttpRequest;
1891
2055
  constructor(httpRequest: BaseHttpRequest);
@@ -1897,7 +2061,7 @@ declare class NfTsService {
1897
2061
  */
1898
2062
  reindexNft({ chainId, address, tokenId, }: {
1899
2063
  /**
1900
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2064
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1901
2065
  */
1902
2066
  chainId: string;
1903
2067
  /**
@@ -1909,6 +2073,30 @@ declare class NfTsService {
1909
2073
  */
1910
2074
  tokenId: string;
1911
2075
  }): CancelablePromise<any>;
2076
+ /**
2077
+ * List tokens
2078
+ * Lists tokens for an NFT contract.
2079
+ * @returns ListNftTokens
2080
+ * @throws ApiError
2081
+ */
2082
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2083
+ /**
2084
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2085
+ */
2086
+ chainId: string;
2087
+ /**
2088
+ * Contract address on the relevant chain.
2089
+ */
2090
+ address: string;
2091
+ /**
2092
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2093
+ */
2094
+ pageToken?: string;
2095
+ /**
2096
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2097
+ */
2098
+ pageSize?: number;
2099
+ }): CancelablePromise<ListNftTokens>;
1912
2100
  /**
1913
2101
  * Get token details
1914
2102
  * Gets token details for a specific token of an NFT contract.
@@ -1917,7 +2105,7 @@ declare class NfTsService {
1917
2105
  */
1918
2106
  getTokenDetails({ chainId, address, tokenId, }: {
1919
2107
  /**
1920
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2108
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1921
2109
  */
1922
2110
  chainId: string;
1923
2111
  /**
@@ -2025,17 +2213,6 @@ type OperationStatusResponse = {
2025
2213
  declare class OperationsService {
2026
2214
  readonly httpRequest: BaseHttpRequest;
2027
2215
  constructor(httpRequest: BaseHttpRequest);
2028
- /**
2029
- * Create transaction export operation
2030
- * Trigger a transaction export operation with given parameters.
2031
- *
2032
- * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
2033
- * @returns OperationStatusResponse
2034
- * @throws ApiError
2035
- */
2036
- postTransactionExportJob({ requestBody, }: {
2037
- requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2038
- }): CancelablePromise<OperationStatusResponse>;
2039
2216
  /**
2040
2217
  * Get operation
2041
2218
  * Gets operation details for the given operation id.
@@ -2048,6 +2225,17 @@ declare class OperationsService {
2048
2225
  */
2049
2226
  operationId: string;
2050
2227
  }): CancelablePromise<OperationStatusResponse>;
2228
+ /**
2229
+ * Create transaction export operation
2230
+ * Trigger a transaction export operation with given parameters.
2231
+ *
2232
+ * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
2233
+ * @returns OperationStatusResponse
2234
+ * @throws ApiError
2235
+ */
2236
+ postTransactionExportJob({ requestBody, }: {
2237
+ requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2238
+ }): CancelablePromise<OperationStatusResponse>;
2051
2239
  }
2052
2240
 
2053
2241
  declare enum BlockchainIds {
@@ -2183,13 +2371,44 @@ type BlockchainInfo = {
2183
2371
  blockchainId: string;
2184
2372
  };
2185
2373
 
2374
+ type SubnetOwnershipInfo = {
2375
+ /**
2376
+ * Locktime in seconds after which Subnet owners can control this Subnet.
2377
+ */
2378
+ locktime: number;
2379
+ /**
2380
+ * Minimum number of signatures required to sign the Subnet update transactions.
2381
+ */
2382
+ threshold: number;
2383
+ /**
2384
+ * Addresses that are eligible to sign the Subnet update transactions.
2385
+ */
2386
+ addresses: Array<string>;
2387
+ };
2388
+
2186
2389
  type Subnet = {
2187
2390
  createBlockTimestamp: number;
2188
2391
  createBlockIndex: string;
2189
2392
  subnetId: string;
2393
+ /**
2394
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2395
+ * @deprecated
2396
+ */
2190
2397
  ownerAddresses: Array<string>;
2398
+ /**
2399
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2400
+ * @deprecated
2401
+ */
2191
2402
  threshold: number;
2403
+ /**
2404
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2405
+ * @deprecated
2406
+ */
2192
2407
  locktime: number;
2408
+ /**
2409
+ * Latest subnet owner details for this Subnet.
2410
+ */
2411
+ subnetOwnershipInfo: SubnetOwnershipInfo;
2193
2412
  blockchains: Array<BlockchainInfo>;
2194
2413
  };
2195
2414
 
@@ -2285,15 +2504,33 @@ declare namespace PendingValidatorDetails {
2285
2504
  }
2286
2505
  }
2287
2506
 
2288
- type ListValidatorDetailsResponse = {
2289
- /**
2507
+ type RemovedValidatorDetails = {
2508
+ txHash: string;
2509
+ nodeId: string;
2510
+ subnetId: string;
2511
+ amountStaked: string;
2512
+ delegationFee?: string;
2513
+ startTimestamp: number;
2514
+ endTimestamp: number;
2515
+ removeTxHash: string;
2516
+ removeTimestamp: number;
2517
+ validationStatus: RemovedValidatorDetails.validationStatus;
2518
+ };
2519
+ declare namespace RemovedValidatorDetails {
2520
+ enum validationStatus {
2521
+ REMOVED = "removed"
2522
+ }
2523
+ }
2524
+
2525
+ type ListValidatorDetailsResponse = {
2526
+ /**
2290
2527
  * 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.
2291
2528
  */
2292
2529
  nextPageToken?: string;
2293
2530
  /**
2294
2531
  * The list of validator Details.
2295
2532
  */
2296
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2533
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2297
2534
  };
2298
2535
 
2299
2536
  declare enum Network {
@@ -2304,7 +2541,18 @@ declare enum Network {
2304
2541
  declare enum ValidationStatusType {
2305
2542
  COMPLETED = "completed",
2306
2543
  ACTIVE = "active",
2307
- PENDING = "pending"
2544
+ PENDING = "pending",
2545
+ REMOVED = "removed"
2546
+ }
2547
+
2548
+ declare enum PrimaryNetworkAssetCap {
2549
+ FIXED = "fixed",
2550
+ VARIABLE = "variable"
2551
+ }
2552
+
2553
+ declare enum PrimaryNetworkAssetType {
2554
+ SECP256K1 = "secp256k1",
2555
+ NFT = "nft"
2308
2556
  }
2309
2557
 
2310
2558
  type XChainAssetDetails = {
@@ -2327,15 +2575,15 @@ type XChainAssetDetails = {
2327
2575
  /**
2328
2576
  * Type of asset like SECP256K1 or NFT.
2329
2577
  */
2330
- type: string;
2578
+ type: PrimaryNetworkAssetType;
2331
2579
  /**
2332
2580
  * Timestamp in seconds this asset was created on.
2333
2581
  */
2334
2582
  createdAtTimestamp: number;
2335
2583
  /**
2336
- * Cap represents if an asset can be or is fixed cap.
2584
+ * Cap represents if an asset is a variable or fixed cap asset.
2337
2585
  */
2338
- cap: string;
2586
+ cap: PrimaryNetworkAssetCap;
2339
2587
  };
2340
2588
 
2341
2589
  declare enum XChainId {
@@ -2401,19 +2649,19 @@ declare class PrimaryNetworkService {
2401
2649
  * @returns ListBlockchainsResponse
2402
2650
  * @throws ApiError
2403
2651
  */
2404
- listBlockchains({ network, pageSize, pageToken, sortOrder, }: {
2652
+ listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2405
2653
  /**
2406
2654
  * Either mainnet or a testnet.
2407
2655
  */
2408
2656
  network: Network;
2409
- /**
2410
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2411
- */
2412
- pageSize?: number;
2413
2657
  /**
2414
2658
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2415
2659
  */
2416
2660
  pageToken?: string;
2661
+ /**
2662
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2663
+ */
2664
+ pageSize?: number;
2417
2665
  /**
2418
2666
  * 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.
2419
2667
  */
@@ -2425,19 +2673,19 @@ declare class PrimaryNetworkService {
2425
2673
  * @returns ListSubnetsResponse
2426
2674
  * @throws ApiError
2427
2675
  */
2428
- listSubnets({ network, pageSize, pageToken, sortOrder, }: {
2676
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2429
2677
  /**
2430
2678
  * Either mainnet or a testnet.
2431
2679
  */
2432
2680
  network: Network;
2433
- /**
2434
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2435
- */
2436
- pageSize?: number;
2437
2681
  /**
2438
2682
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2439
2683
  */
2440
2684
  pageToken?: string;
2685
+ /**
2686
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2687
+ */
2688
+ pageSize?: number;
2441
2689
  /**
2442
2690
  * 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.
2443
2691
  */
@@ -2449,55 +2697,55 @@ declare class PrimaryNetworkService {
2449
2697
  * @returns ListValidatorDetailsResponse
2450
2698
  * @throws ApiError
2451
2699
  */
2452
- listValidators({ network, pageSize, pageToken, minTimeRemaining, maxTimeRemaining, minDelegationCapacity, maxDelegationCapacity, minFeePercentage, maxFeePercentage, nodeIds, sortOrder, validationStatus, subnetId, }: {
2700
+ listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2453
2701
  /**
2454
2702
  * Either mainnet or a testnet.
2455
2703
  */
2456
2704
  network: Network;
2705
+ /**
2706
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2707
+ */
2708
+ pageToken?: string;
2457
2709
  /**
2458
2710
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2459
2711
  */
2460
2712
  pageSize?: number;
2461
2713
  /**
2462
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2714
+ * A comma separated list of node ids to filter by.
2463
2715
  */
2464
- pageToken?: string;
2716
+ nodeIds?: string;
2465
2717
  /**
2466
- * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2718
+ * 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.
2467
2719
  */
2468
- minTimeRemaining?: any;
2720
+ sortOrder?: SortOrder;
2469
2721
  /**
2470
- * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2722
+ * Validation status of the node.
2471
2723
  */
2472
- maxTimeRemaining?: any;
2724
+ validationStatus?: ValidationStatusType;
2473
2725
  /**
2474
2726
  * 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
2475
2727
  */
2476
- minDelegationCapacity?: number;
2728
+ minDelegationCapacity?: string;
2477
2729
  /**
2478
2730
  * 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.
2479
2731
  */
2480
- maxDelegationCapacity?: number;
2732
+ maxDelegationCapacity?: string;
2481
2733
  /**
2482
- * 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.
2483
- */
2484
- minFeePercentage?: any;
2485
- /**
2486
- * 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.
2734
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2487
2735
  */
2488
- maxFeePercentage?: any;
2736
+ minTimeRemaining?: number;
2489
2737
  /**
2490
- * A comma separated list of node ids to filter by.
2738
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2491
2739
  */
2492
- nodeIds?: string;
2740
+ maxTimeRemaining?: number;
2493
2741
  /**
2494
- * 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.
2742
+ * 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.
2495
2743
  */
2496
- sortOrder?: SortOrder;
2744
+ minFeePercentage?: number;
2497
2745
  /**
2498
- * Validation status of the node.
2746
+ * 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.
2499
2747
  */
2500
- validationStatus?: ValidationStatusType;
2748
+ maxFeePercentage?: number;
2501
2749
  /**
2502
2750
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2503
2751
  */
@@ -2509,7 +2757,7 @@ declare class PrimaryNetworkService {
2509
2757
  * @returns ListValidatorDetailsResponse
2510
2758
  * @throws ApiError
2511
2759
  */
2512
- getSingleValidatorDetails({ network, nodeId, pageSize, pageToken, sortOrder, validationStatus, }: {
2760
+ getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
2513
2761
  /**
2514
2762
  * Either mainnet or a testnet.
2515
2763
  */
@@ -2518,14 +2766,14 @@ declare class PrimaryNetworkService {
2518
2766
  * A primary network (P or X chain) nodeId.
2519
2767
  */
2520
2768
  nodeId: string;
2521
- /**
2522
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2523
- */
2524
- pageSize?: number;
2525
2769
  /**
2526
2770
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2527
2771
  */
2528
2772
  pageToken?: string;
2773
+ /**
2774
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2775
+ */
2776
+ pageSize?: number;
2529
2777
  /**
2530
2778
  * 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.
2531
2779
  */
@@ -2541,19 +2789,19 @@ declare class PrimaryNetworkService {
2541
2789
  * @returns ListDelegatorDetailsResponse
2542
2790
  * @throws ApiError
2543
2791
  */
2544
- listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2792
+ listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2545
2793
  /**
2546
2794
  * Either mainnet or a testnet.
2547
2795
  */
2548
2796
  network: Network;
2549
- /**
2550
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2551
- */
2552
- pageSize?: number;
2553
2797
  /**
2554
2798
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2555
2799
  */
2556
2800
  pageToken?: string;
2801
+ /**
2802
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2803
+ */
2804
+ pageSize?: number;
2557
2805
  /**
2558
2806
  * A comma separated list of reward addresses to filter by.
2559
2807
  */
@@ -2604,7 +2852,7 @@ type CChainSharedAssetBalance = {
2604
2852
  /**
2605
2853
  * Type of asset like SECP256K1 or NFT.
2606
2854
  */
2607
- type: string;
2855
+ type: PrimaryNetworkAssetType;
2608
2856
  /**
2609
2857
  * Amount of the asset.
2610
2858
  */
@@ -2639,13 +2887,57 @@ type ListCChainAtomicBalancesResponse = {
2639
2887
  chainInfo: PrimaryNetworkChainInfo;
2640
2888
  };
2641
2889
 
2642
- type PChainAsset = {
2890
+ type Asset = {
2891
+ /**
2892
+ * Unique ID for an asset.
2893
+ */
2643
2894
  assetId: string;
2895
+ /**
2896
+ * Name of this asset.
2897
+ */
2898
+ name: string;
2899
+ /**
2900
+ * Symbol for this asset (max 4 characters).
2901
+ */
2902
+ symbol: string;
2903
+ /**
2904
+ * Denomination of this asset to represent fungibility.
2905
+ */
2906
+ denomination: number;
2907
+ /**
2908
+ * Type of asset like SECP256K1 or NFT.
2909
+ */
2910
+ type: PrimaryNetworkAssetType;
2911
+ /**
2912
+ * Amount of the asset.
2913
+ */
2644
2914
  amount: string;
2645
2915
  };
2646
2916
 
2647
2917
  type PChainSharedAsset = {
2918
+ /**
2919
+ * Unique ID for an asset.
2920
+ */
2648
2921
  assetId: string;
2922
+ /**
2923
+ * Name of this asset.
2924
+ */
2925
+ name: string;
2926
+ /**
2927
+ * Symbol for this asset (max 4 characters).
2928
+ */
2929
+ symbol: string;
2930
+ /**
2931
+ * Denomination of this asset to represent fungibility.
2932
+ */
2933
+ denomination: number;
2934
+ /**
2935
+ * Type of asset like SECP256K1 or NFT.
2936
+ */
2937
+ type: PrimaryNetworkAssetType;
2938
+ /**
2939
+ * Amount of the asset.
2940
+ */
2649
2941
  amount: string;
2650
2942
  sharedWithChainId: string;
2651
2943
  status: string;
@@ -2655,27 +2947,27 @@ type PChainBalance = {
2655
2947
  /**
2656
2948
  * 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.
2657
2949
  */
2658
- unlockedUnstaked: Array<PChainAsset>;
2950
+ unlockedUnstaked: Array<Asset>;
2659
2951
  /**
2660
2952
  * 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.
2661
2953
  */
2662
- unlockedStaked: Array<PChainAsset>;
2954
+ unlockedStaked: Array<Asset>;
2663
2955
  /**
2664
2956
  * 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.
2665
2957
  */
2666
- lockedPlatform: Array<PChainAsset>;
2958
+ lockedPlatform: Array<Asset>;
2667
2959
  /**
2668
2960
  * 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.
2669
2961
  */
2670
- lockedStakeable: Array<PChainAsset>;
2962
+ lockedStakeable: Array<Asset>;
2671
2963
  /**
2672
2964
  * 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.
2673
2965
  */
2674
- lockedStaked: Array<PChainAsset>;
2966
+ lockedStaked: Array<Asset>;
2675
2967
  /**
2676
2968
  * 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.
2677
2969
  */
2678
- pendingStaked: Array<PChainAsset>;
2970
+ pendingStaked: Array<Asset>;
2679
2971
  /**
2680
2972
  * 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.
2681
2973
  */
@@ -2711,7 +3003,7 @@ type XChainAssetBalance = {
2711
3003
  /**
2712
3004
  * Type of asset like SECP256K1 or NFT.
2713
3005
  */
2714
- type: string;
3006
+ type: PrimaryNetworkAssetType;
2715
3007
  /**
2716
3008
  * Amount of the asset.
2717
3009
  */
@@ -2739,7 +3031,7 @@ type XChainSharedAssetBalance = {
2739
3031
  /**
2740
3032
  * Type of asset like SECP256K1 or NFT.
2741
3033
  */
2742
- type: string;
3034
+ type: PrimaryNetworkAssetType;
2743
3035
  /**
2744
3036
  * Amount of the asset.
2745
3037
  */
@@ -2814,6 +3106,7 @@ type GetPrimaryNetworkBlockResponse = {
2814
3106
  txCount: number;
2815
3107
  transactions: Array<string>;
2816
3108
  blockSizeBytes: number;
3109
+ currentSupply?: string;
2817
3110
  proposerDetails?: ProposerDetails;
2818
3111
  };
2819
3112
 
@@ -2826,6 +3119,7 @@ type PrimaryNetworkBlock = {
2826
3119
  txCount: number;
2827
3120
  transactions: Array<string>;
2828
3121
  blockSizeBytes: number;
3122
+ currentSupply?: string;
2829
3123
  proposerDetails?: ProposerDetails;
2830
3124
  };
2831
3125
 
@@ -2867,7 +3161,7 @@ declare class PrimaryNetworkBlocksService {
2867
3161
  * @returns ListPrimaryNetworkBlocksResponse
2868
3162
  * @throws ApiError
2869
3163
  */
2870
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageSize, pageToken, }: {
3164
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
2871
3165
  /**
2872
3166
  * A primary network blockchain id or alias.
2873
3167
  */
@@ -2880,14 +3174,14 @@ declare class PrimaryNetworkBlocksService {
2880
3174
  * A primary network (P or X chain) nodeId.
2881
3175
  */
2882
3176
  nodeId: string;
2883
- /**
2884
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2885
- */
2886
- pageSize?: number;
2887
3177
  /**
2888
3178
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2889
3179
  */
2890
3180
  pageToken?: string;
3181
+ /**
3182
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3183
+ */
3184
+ pageSize?: number;
2891
3185
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2892
3186
  /**
2893
3187
  * List latest blocks
@@ -2895,7 +3189,7 @@ declare class PrimaryNetworkBlocksService {
2895
3189
  * @returns ListPrimaryNetworkBlocksResponse
2896
3190
  * @throws ApiError
2897
3191
  */
2898
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageSize, pageToken, }: {
3192
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
2899
3193
  /**
2900
3194
  * A primary network blockchain id or alias.
2901
3195
  */
@@ -2904,17 +3198,48 @@ declare class PrimaryNetworkBlocksService {
2904
3198
  * Either mainnet or a testnet.
2905
3199
  */
2906
3200
  network: Network;
2907
- /**
2908
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2909
- */
2910
- pageSize?: number;
2911
3201
  /**
2912
3202
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2913
3203
  */
2914
3204
  pageToken?: string;
3205
+ /**
3206
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3207
+ */
3208
+ pageSize?: number;
2915
3209
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2916
3210
  }
2917
3211
 
3212
+ type AssetWithPriceInfo = {
3213
+ /**
3214
+ * Unique ID for an asset.
3215
+ */
3216
+ assetId: string;
3217
+ /**
3218
+ * Name of this asset.
3219
+ */
3220
+ name: string;
3221
+ /**
3222
+ * Symbol for this asset (max 4 characters).
3223
+ */
3224
+ symbol: string;
3225
+ /**
3226
+ * Denomination of this asset to represent fungibility.
3227
+ */
3228
+ denomination: number;
3229
+ /**
3230
+ * Type of asset like SECP256K1 or NFT.
3231
+ */
3232
+ type: PrimaryNetworkAssetType;
3233
+ /**
3234
+ * Amount of the asset.
3235
+ */
3236
+ amount: string;
3237
+ /**
3238
+ * 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.
3239
+ */
3240
+ historicalPrice?: Money;
3241
+ };
3242
+
2918
3243
  declare enum RewardType {
2919
3244
  VALIDATOR = "VALIDATOR",
2920
3245
  DELEGATOR = "DELEGATOR",
@@ -2934,10 +3259,7 @@ type HistoricalReward = {
2934
3259
  rewardType: RewardType;
2935
3260
  utxoId: string;
2936
3261
  outputIndex: number;
2937
- /**
2938
- * An object containing P-chain Asset ID and the amount of that Asset ID.
2939
- */
2940
- reward: PChainAsset;
3262
+ reward: AssetWithPriceInfo;
2941
3263
  rewardTxHash: string;
2942
3264
  };
2943
3265
 
@@ -2964,7 +3286,7 @@ type PendingReward = {
2964
3286
  /**
2965
3287
  * An object containing P-chain Asset ID and the amount of that Asset ID.
2966
3288
  */
2967
- estimatedReward: PChainAsset;
3289
+ estimatedReward: Asset;
2968
3290
  };
2969
3291
 
2970
3292
  type ListPendingRewardsResponse = {
@@ -2984,25 +3306,25 @@ declare class PrimaryNetworkRewardsService {
2984
3306
  * @returns ListPendingRewardsResponse
2985
3307
  * @throws ApiError
2986
3308
  */
2987
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3309
+ listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
2988
3310
  /**
2989
3311
  * Either mainnet or a testnet.
2990
3312
  */
2991
3313
  network: Network;
2992
3314
  /**
2993
- * 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".
3315
+ * 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.
2994
3316
  */
2995
3317
  addresses?: string;
2996
- /**
2997
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2998
- */
2999
- pageSize?: number;
3000
3318
  /**
3001
3319
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3002
3320
  */
3003
3321
  pageToken?: string;
3004
3322
  /**
3005
- * A comma separated list of node ids to filter by.
3323
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3324
+ */
3325
+ pageSize?: number;
3326
+ /**
3327
+ * A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
3006
3328
  */
3007
3329
  nodeIds?: string;
3008
3330
  /**
@@ -3016,68 +3338,45 @@ declare class PrimaryNetworkRewardsService {
3016
3338
  * @returns ListHistoricalRewardsResponse
3017
3339
  * @throws ApiError
3018
3340
  */
3019
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3341
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3020
3342
  /**
3021
3343
  * Either mainnet or a testnet.
3022
3344
  */
3023
3345
  network: Network;
3024
3346
  /**
3025
- * 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".
3347
+ * 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.
3026
3348
  */
3027
3349
  addresses?: string;
3028
- /**
3029
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3030
- */
3031
- pageSize?: number;
3032
3350
  /**
3033
3351
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3034
3352
  */
3035
3353
  pageToken?: string;
3036
3354
  /**
3037
- * A comma separated list of node ids to filter by.
3355
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3356
+ */
3357
+ pageSize?: number;
3358
+ /**
3359
+ * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3038
3360
  */
3039
3361
  nodeIds?: string;
3040
3362
  /**
3041
3363
  * 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.
3042
3364
  */
3043
3365
  sortOrder?: SortOrder;
3366
+ /**
3367
+ * The currency that return values should use. Defaults to USD.
3368
+ */
3369
+ currency?: CurrencyCode;
3044
3370
  }): CancelablePromise<ListHistoricalRewardsResponse>;
3045
3371
  }
3046
3372
 
3047
- type Asset = {
3048
- /**
3049
- * Unique ID for an asset.
3050
- */
3051
- assetId: string;
3052
- /**
3053
- * Name of this asset.
3054
- */
3055
- name: string;
3056
- /**
3057
- * Symbol for this asset (max 4 characters).
3058
- */
3059
- symbol: string;
3060
- /**
3061
- * Denomination of this asset to represent fungibility.
3062
- */
3063
- denomination: number;
3064
- /**
3065
- * Type of asset like SECP256K1 or NFT.
3066
- */
3067
- type: string;
3068
- /**
3069
- * Amount of the asset.
3070
- */
3071
- amount: string;
3072
- };
3073
-
3074
3373
  type UtxoCredential = {
3075
3374
  /**
3076
- * Signature provided to consume the output
3375
+ * Signature provided to consume the output.
3077
3376
  */
3078
3377
  signature?: string;
3079
3378
  /**
3080
- * Public key associated with the signature
3379
+ * Public key associated with the signature.
3081
3380
  */
3082
3381
  publicKey?: string;
3083
3382
  };
@@ -3099,66 +3398,66 @@ type EVMInput = {
3099
3398
 
3100
3399
  type Utxo = {
3101
3400
  /**
3102
- * UTXO ID for this output.
3401
+ * Addresses that are eligible to sign the consumption of this output.
3103
3402
  */
3104
- utxoId: string;
3403
+ addresses: Array<string>;
3105
3404
  asset: Asset;
3106
3405
  /**
3107
- * Type of output.
3406
+ * Blockchain ID on which this output is consumed on.
3108
3407
  */
3109
- utxoType: string;
3408
+ consumedOnChainId: string;
3110
3409
  /**
3111
- * Blockchain ID on which this output is created on.
3410
+ * Transaction ID that consumed this output.
3112
3411
  */
3113
- createdOnChainId: string;
3412
+ consumingTxHash?: string;
3114
3413
  /**
3115
- * Blockchain ID on which this output is consumed on.
3414
+ * Blockchain ID on which this output is created on.
3116
3415
  */
3117
- consumedOnChainId: string;
3416
+ createdOnChainId: string;
3118
3417
  /**
3119
- * Transaction ID that created this output.
3418
+ * UTXO ID for this output.
3120
3419
  */
3121
- creationTxHash: string;
3420
+ utxoId: string;
3122
3421
  /**
3123
- * Transaction ID that consumed this output.
3422
+ * Unix timestamp in seconds at which this output was consumed.
3124
3423
  */
3125
- consumingTxHash?: string;
3424
+ consumingTxTimestamp?: number;
3126
3425
  /**
3127
- * Timestamp in seconds this output is consumed.
3426
+ * Transaction ID that created this output.
3128
3427
  */
3129
- consumingTxTimestamp?: number;
3428
+ creationTxHash: string;
3130
3429
  /**
3131
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3430
+ * Credentials that signed the transaction to consume this utxo
3132
3431
  */
3133
- outputIndex: string;
3432
+ credentials?: Array<UtxoCredential>;
3134
3433
  /**
3135
- * Timestamp in seconds this outptut is created on.
3434
+ * Index representing the minting set for the NFT mint output.
3136
3435
  */
3137
- timestamp: number;
3436
+ groupId?: number;
3138
3437
  /**
3139
3438
  * Locktime in seconds after which this output can be consumed.
3140
3439
  */
3141
3440
  locktime: number;
3142
3441
  /**
3143
- * Minimum number of signatures required to consume this output.
3442
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3144
3443
  */
3145
- threshold: number;
3444
+ outputIndex: string;
3146
3445
  /**
3147
- * Addresses that are eligible to sign the consumption of this output.
3446
+ * Hex encoded data for NFT assets.
3148
3447
  */
3149
- addresses: Array<string>;
3448
+ payload?: string;
3150
3449
  /**
3151
- * Hex encoded data for NFT assets
3450
+ * Minimum number of signatures required to consume this output.
3152
3451
  */
3153
- payload?: string;
3452
+ threshold: number;
3154
3453
  /**
3155
- * Index representing the minting set for the NFT mint output
3454
+ * Unix timestamp in seconds at which this outptut was created.
3156
3455
  */
3157
- groupId?: number;
3456
+ timestamp: number;
3158
3457
  /**
3159
- * Credentials that signed the transaction to consume this utxo
3458
+ * Type of output.
3160
3459
  */
3161
- credentials?: Array<UtxoCredential>;
3460
+ utxoType: string;
3162
3461
  };
3163
3462
 
3164
3463
  type CChainExportTransaction = {
@@ -3289,17 +3588,20 @@ type ListCChainAtomicTransactionsResponse = {
3289
3588
 
3290
3589
  declare enum PChainTransactionType {
3291
3590
  ADD_VALIDATOR_TX = "AddValidatorTx",
3292
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3293
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3294
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3295
3591
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3296
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3297
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3592
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3298
3593
  CREATE_CHAIN_TX = "CreateChainTx",
3299
3594
  CREATE_SUBNET_TX = "CreateSubnetTx",
3300
3595
  IMPORT_TX = "ImportTx",
3301
3596
  EXPORT_TX = "ExportTx",
3302
3597
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3598
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3599
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3600
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3601
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3602
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3603
+ BASE_TX = "BaseTx",
3604
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3303
3605
  UNKNOWN = "UNKNOWN"
3304
3606
  }
3305
3607
 
@@ -3310,29 +3612,48 @@ declare enum UtxoType {
3310
3612
 
3311
3613
  type PChainUtxo = {
3312
3614
  /**
3313
- * An array of P-Chain wallet addresses.
3615
+ * Addresses that are eligible to sign the consumption of this output.
3314
3616
  */
3315
3617
  addresses: Array<string>;
3618
+ asset: Asset;
3619
+ /**
3620
+ * Blockchain ID on which this output is consumed on.
3621
+ */
3622
+ consumedOnChainId: string;
3623
+ /**
3624
+ * Transaction ID that consumed this output.
3625
+ */
3626
+ consumingTxHash?: string;
3627
+ /**
3628
+ * Blockchain ID on which this output is created on.
3629
+ */
3630
+ createdOnChainId: string;
3631
+ /**
3632
+ * UTXO ID for this output.
3633
+ */
3316
3634
  utxoId: string;
3317
- txHash: string;
3318
- outputIndex: number;
3635
+ /**
3636
+ * @deprecated
3637
+ */
3638
+ amount: string;
3639
+ /**
3640
+ * @deprecated
3641
+ */
3642
+ assetId: string;
3319
3643
  blockNumber: string;
3320
3644
  blockTimestamp: number;
3321
- consumingTxHash?: string;
3322
- consumingBlockTimestamp?: number;
3323
3645
  consumingBlockNumber?: string;
3324
- assetId: string;
3325
- utxoType: UtxoType;
3326
- amount: string;
3327
- stakeableLocktime?: number;
3646
+ consumingBlockTimestamp?: number;
3328
3647
  platformLocktime?: number;
3329
- threshold?: number;
3330
- createdOnChainId: string;
3331
- consumedOnChainId: string;
3648
+ outputIndex: number;
3649
+ rewardType?: RewardType;
3650
+ stakeableLocktime?: number;
3332
3651
  staked?: boolean;
3333
- utxoStartTimestamp?: number;
3652
+ threshold?: number;
3653
+ txHash: string;
3334
3654
  utxoEndTimestamp?: number;
3335
- rewardType?: RewardType;
3655
+ utxoStartTimestamp?: number;
3656
+ utxoType: UtxoType;
3336
3657
  };
3337
3658
 
3338
3659
  type PChainTransaction = {
@@ -3360,15 +3681,15 @@ type PChainTransaction = {
3360
3681
  /**
3361
3682
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3362
3683
  */
3363
- value: Array<PChainAsset>;
3684
+ value: Array<Asset>;
3364
3685
  /**
3365
3686
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3366
3687
  */
3367
- amountBurned: Array<PChainAsset>;
3688
+ amountBurned: Array<Asset>;
3368
3689
  /**
3369
3690
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3370
3691
  */
3371
- amountStaked: Array<PChainAsset>;
3692
+ amountStaked: Array<Asset>;
3372
3693
  /**
3373
3694
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3374
3695
  */
@@ -3400,6 +3721,10 @@ type PChainTransaction = {
3400
3721
  * Present for RewardValidatorTx
3401
3722
  */
3402
3723
  stakingTxHash?: string;
3724
+ /**
3725
+ * Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
3726
+ */
3727
+ subnetOwnershipInfo?: SubnetOwnershipInfo;
3403
3728
  };
3404
3729
 
3405
3730
  type ListPChainTransactionsResponse = {
@@ -3411,6 +3736,15 @@ type ListPChainTransactionsResponse = {
3411
3736
  chainInfo: PrimaryNetworkChainInfo;
3412
3737
  };
3413
3738
 
3739
+ declare enum XChainTransactionType {
3740
+ BASE_TX = "BaseTx",
3741
+ CREATE_ASSET_TX = "CreateAssetTx",
3742
+ OPERATION_TX = "OperationTx",
3743
+ IMPORT_TX = "ImportTx",
3744
+ EXPORT_TX = "ExportTx",
3745
+ UNKNOWN = "UNKNOWN"
3746
+ }
3747
+
3414
3748
  type XChainLinearTransaction = {
3415
3749
  /**
3416
3750
  * Unique ID for this transaction.
@@ -3427,7 +3761,7 @@ type XChainLinearTransaction = {
3427
3761
  /**
3428
3762
  * Type of transaction.
3429
3763
  */
3430
- txType: string;
3764
+ txType: XChainTransactionType;
3431
3765
  /**
3432
3766
  * Hex encoded memo bytes for this transaction.
3433
3767
  */
@@ -3504,7 +3838,7 @@ type XChainNonLinearTransaction = {
3504
3838
  /**
3505
3839
  * Type of transaction.
3506
3840
  */
3507
- txType: string;
3841
+ txType: XChainTransactionType;
3508
3842
  /**
3509
3843
  * Hex encoded memo bytes for this transaction.
3510
3844
  */
@@ -3562,19 +3896,21 @@ declare enum PChainId {
3562
3896
 
3563
3897
  declare enum PrimaryNetworkTxType {
3564
3898
  ADD_VALIDATOR_TX = "AddValidatorTx",
3565
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3566
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3567
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3568
3899
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3569
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3570
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3900
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3571
3901
  CREATE_CHAIN_TX = "CreateChainTx",
3572
3902
  CREATE_SUBNET_TX = "CreateSubnetTx",
3573
3903
  IMPORT_TX = "ImportTx",
3574
3904
  EXPORT_TX = "ExportTx",
3575
3905
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3576
- UNKNOWN = "UNKNOWN",
3906
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3907
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3908
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3909
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3910
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3577
3911
  BASE_TX = "BaseTx",
3912
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3913
+ UNKNOWN = "UNKNOWN",
3578
3914
  CREATE_ASSET_TX = "CreateAssetTx",
3579
3915
  OPERATION_TX = "OperationTx"
3580
3916
  }
@@ -3606,13 +3942,13 @@ declare class PrimaryNetworkTransactionsService {
3606
3942
  * List latest transactions
3607
3943
  * Lists the latest transactions on one of the Primary Network chains.
3608
3944
  *
3609
- * Transactions are filterable by addresses.
3945
+ * 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.
3610
3946
  *
3611
3947
  * 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.
3612
3948
  * @returns any
3613
3949
  * @throws ApiError
3614
3950
  */
3615
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3951
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3616
3952
  /**
3617
3953
  * A primary network blockchain id or alias.
3618
3954
  */
@@ -3637,14 +3973,14 @@ declare class PrimaryNetworkTransactionsService {
3637
3973
  * Query param for retrieving items before a specific timestamp.
3638
3974
  */
3639
3975
  endTimestamp?: number;
3640
- /**
3641
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3642
- */
3643
- pageSize?: number;
3644
3976
  /**
3645
3977
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3646
3978
  */
3647
3979
  pageToken?: string;
3980
+ /**
3981
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3982
+ */
3983
+ pageSize?: number;
3648
3984
  /**
3649
3985
  * 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.
3650
3986
  */
@@ -3656,7 +3992,7 @@ declare class PrimaryNetworkTransactionsService {
3656
3992
  * @returns ListPChainTransactionsResponse
3657
3993
  * @throws ApiError
3658
3994
  */
3659
- listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3995
+ listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3660
3996
  /**
3661
3997
  * A primary network blockchain id or alias.
3662
3998
  */
@@ -3681,14 +4017,14 @@ declare class PrimaryNetworkTransactionsService {
3681
4017
  * Query param for retrieving items before a specific timestamp.
3682
4018
  */
3683
4019
  endTimestamp?: number;
3684
- /**
3685
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3686
- */
3687
- pageSize?: number;
3688
4020
  /**
3689
4021
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3690
4022
  */
3691
4023
  pageToken?: string;
4024
+ /**
4025
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4026
+ */
4027
+ pageSize?: number;
3692
4028
  /**
3693
4029
  * 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.
3694
4030
  */
@@ -3700,7 +4036,7 @@ declare class PrimaryNetworkTransactionsService {
3700
4036
  * @returns ListXChainTransactionsResponse
3701
4037
  * @throws ApiError
3702
4038
  */
3703
- listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
4039
+ listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3704
4040
  /**
3705
4041
  * A primary network blockchain id or alias.
3706
4042
  */
@@ -3725,14 +4061,14 @@ declare class PrimaryNetworkTransactionsService {
3725
4061
  * Query param for retrieving items before a specific timestamp.
3726
4062
  */
3727
4063
  endTimestamp?: number;
3728
- /**
3729
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3730
- */
3731
- pageSize?: number;
3732
4064
  /**
3733
4065
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3734
4066
  */
3735
4067
  pageToken?: string;
4068
+ /**
4069
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4070
+ */
4071
+ pageSize?: number;
3736
4072
  }): CancelablePromise<ListXChainTransactionsResponse>;
3737
4073
  }
3738
4074
 
@@ -3763,7 +4099,7 @@ declare class PrimaryNetworkUtxOsService {
3763
4099
  * @returns any
3764
4100
  * @throws ApiError
3765
4101
  */
3766
- getUtxosByAddresses({ blockchainId, network, addresses, pageSize, pageToken, assetId, includeSpent, sortOrder, }: {
4102
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
3767
4103
  /**
3768
4104
  * A primary network blockchain id or alias.
3769
4105
  */
@@ -3776,14 +4112,14 @@ declare class PrimaryNetworkUtxOsService {
3776
4112
  * 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".
3777
4113
  */
3778
4114
  addresses?: string;
3779
- /**
3780
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3781
- */
3782
- pageSize?: number;
3783
4115
  /**
3784
4116
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3785
4117
  */
3786
4118
  pageToken?: string;
4119
+ /**
4120
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4121
+ */
4122
+ pageSize?: number;
3787
4123
  /**
3788
4124
  * Asset ID for any asset (only applicable X-Chain)
3789
4125
  */
@@ -3828,7 +4164,7 @@ declare class PrimaryNetworkVerticesService {
3828
4164
  * @returns ListXChainVerticesResponse
3829
4165
  * @throws ApiError
3830
4166
  */
3831
- listLatestXChainVertices({ blockchainId, network, pageSize, pageToken, }: {
4167
+ listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
3832
4168
  /**
3833
4169
  * A primary network blockchain id or alias.
3834
4170
  */
@@ -3837,14 +4173,14 @@ declare class PrimaryNetworkVerticesService {
3837
4173
  * Either mainnet or a testnet.
3838
4174
  */
3839
4175
  network: Network;
3840
- /**
3841
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3842
- */
3843
- pageSize?: number;
3844
4176
  /**
3845
4177
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3846
4178
  */
3847
4179
  pageToken?: string;
4180
+ /**
4181
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4182
+ */
4183
+ pageSize?: number;
3848
4184
  }): CancelablePromise<ListXChainVerticesResponse>;
3849
4185
  /**
3850
4186
  * Get vertex
@@ -3872,7 +4208,7 @@ declare class PrimaryNetworkVerticesService {
3872
4208
  * @returns ListXChainVerticesResponse
3873
4209
  * @throws ApiError
3874
4210
  */
3875
- getVertexByHeight({ vertexHeight, blockchainId, network, pageSize, pageToken, sortOrder, }: {
4211
+ getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
3876
4212
  /**
3877
4213
  * The height of a vertex.
3878
4214
  */
@@ -3885,14 +4221,14 @@ declare class PrimaryNetworkVerticesService {
3885
4221
  * Either mainnet or a testnet.
3886
4222
  */
3887
4223
  network: Network;
3888
- /**
3889
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3890
- */
3891
- pageSize?: number;
3892
4224
  /**
3893
4225
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3894
4226
  */
3895
4227
  pageToken?: string;
4228
+ /**
4229
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4230
+ */
4231
+ pageSize?: number;
3896
4232
  /**
3897
4233
  * 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.
3898
4234
  */
@@ -3939,4 +4275,4 @@ declare class ApiError extends Error {
3939
4275
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3940
4276
  }
3941
4277
 
3942
- export { ActiveDelegatorDetails, ActiveValidatorDetails, 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, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainAsset, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainVertex };
4278
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, 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, 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, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, 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 };