@avalabs/glacier-sdk 2.8.0-canary.df4401e.0 → 2.8.0-canary.e2e702d.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 (80) hide show
  1. package/dist/index.d.ts +601 -300
  2. package/dist/index.js +238 -114
  3. package/esm/generated/models/ActiveValidatorDetails.d.ts +1 -0
  4. package/esm/generated/models/AddressActivityMetadata.d.ts +12 -0
  5. package/esm/generated/models/Asset.d.ts +3 -1
  6. package/esm/generated/models/AssetWithPriceInfo.d.ts +35 -0
  7. package/esm/generated/models/CChainSharedAssetBalance.d.ts +3 -1
  8. package/esm/generated/models/CompletedValidatorDetails.d.ts +1 -0
  9. package/esm/generated/models/EventType.d.ts +5 -0
  10. package/esm/generated/models/EventType.js +6 -0
  11. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -0
  12. package/esm/generated/models/HistoricalReward.d.ts +2 -5
  13. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  14. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +2 -1
  15. package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
  16. package/esm/generated/models/PChainBalance.d.ts +7 -7
  17. package/esm/generated/models/PChainSharedAsset.d.ts +24 -0
  18. package/esm/generated/models/PChainTransaction.d.ts +4 -4
  19. package/esm/generated/models/PChainTransactionType.d.ts +6 -5
  20. package/esm/generated/models/PChainTransactionType.js +6 -5
  21. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  22. package/esm/generated/models/PendingReward.d.ts +2 -2
  23. package/esm/generated/models/PendingValidatorDetails.d.ts +1 -0
  24. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +6 -0
  25. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  26. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +6 -0
  27. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  28. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -0
  29. package/esm/generated/models/PrimaryNetworkTxType.d.ts +6 -5
  30. package/esm/generated/models/PrimaryNetworkTxType.js +6 -5
  31. package/esm/generated/models/RegisterWebhookRequest.d.ts +14 -0
  32. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  33. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  34. package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
  35. package/esm/generated/models/Utxo.d.ts +28 -28
  36. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  37. package/esm/generated/models/ValidationStatusType.d.ts +2 -1
  38. package/esm/generated/models/ValidationStatusType.js +1 -0
  39. package/esm/generated/models/WebhookResponse.d.ts +17 -0
  40. package/esm/generated/models/WebhookStatus.d.ts +6 -0
  41. package/esm/generated/models/WebhookStatus.js +7 -0
  42. package/esm/generated/models/WebhookStatusType.d.ts +6 -0
  43. package/esm/generated/models/WebhookStatusType.js +7 -0
  44. package/esm/generated/models/XChainAssetBalance.d.ts +3 -1
  45. package/esm/generated/models/XChainAssetDetails.d.ts +6 -3
  46. package/esm/generated/models/XChainLinearTransaction.d.ts +2 -1
  47. package/esm/generated/models/XChainNonLinearTransaction.d.ts +2 -1
  48. package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -1
  49. package/esm/generated/models/XChainTransactionType.d.ts +10 -0
  50. package/esm/generated/models/XChainTransactionType.js +11 -0
  51. package/esm/generated/services/DefaultService.d.ts +60 -0
  52. package/esm/generated/services/DefaultService.js +48 -0
  53. package/esm/generated/services/EvmBalancesService.d.ts +25 -25
  54. package/esm/generated/services/EvmBalancesService.js +8 -8
  55. package/esm/generated/services/EvmBlocksService.d.ts +7 -7
  56. package/esm/generated/services/EvmBlocksService.js +4 -4
  57. package/esm/generated/services/EvmChainsService.d.ts +1 -1
  58. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  59. package/esm/generated/services/EvmTransactionsService.d.ts +91 -49
  60. package/esm/generated/services/EvmTransactionsService.js +32 -32
  61. package/esm/generated/services/NfTsService.d.ts +27 -2
  62. package/esm/generated/services/NfTsService.js +19 -0
  63. package/esm/generated/services/OperationsService.d.ts +11 -11
  64. package/esm/generated/services/OperationsService.js +10 -10
  65. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
  66. package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
  67. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +19 -14
  68. package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -6
  69. package/esm/generated/services/PrimaryNetworkService.d.ts +41 -41
  70. package/esm/generated/services/PrimaryNetworkService.js +20 -20
  71. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
  72. package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
  73. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
  74. package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
  75. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
  76. package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
  77. package/esm/index.d.ts +14 -1
  78. package/esm/index.js +7 -0
  79. package/package.json +2 -2
  80. 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 {
@@ -2228,6 +2416,7 @@ type ValidatorHealthDetails = {
2228
2416
  };
2229
2417
 
2230
2418
  type ActiveValidatorDetails = {
2419
+ txHash: string;
2231
2420
  nodeId: string;
2232
2421
  subnetId: string;
2233
2422
  amountStaked: string;
@@ -2251,6 +2440,7 @@ declare namespace ActiveValidatorDetails {
2251
2440
  }
2252
2441
 
2253
2442
  type CompletedValidatorDetails = {
2443
+ txHash: string;
2254
2444
  nodeId: string;
2255
2445
  subnetId: string;
2256
2446
  amountStaked: string;
@@ -2268,6 +2458,7 @@ declare namespace CompletedValidatorDetails {
2268
2458
  }
2269
2459
 
2270
2460
  type PendingValidatorDetails = {
2461
+ txHash: string;
2271
2462
  nodeId: string;
2272
2463
  subnetId: string;
2273
2464
  amountStaked: string;
@@ -2282,6 +2473,24 @@ declare namespace PendingValidatorDetails {
2282
2473
  }
2283
2474
  }
2284
2475
 
2476
+ type RemovedValidatorDetails = {
2477
+ txHash: string;
2478
+ nodeId: string;
2479
+ subnetId: string;
2480
+ amountStaked: string;
2481
+ delegationFee?: string;
2482
+ startTimestamp: number;
2483
+ endTimestamp: number;
2484
+ removeTxHash: string;
2485
+ removeTimestamp: number;
2486
+ validationStatus: RemovedValidatorDetails.validationStatus;
2487
+ };
2488
+ declare namespace RemovedValidatorDetails {
2489
+ enum validationStatus {
2490
+ REMOVED = "removed"
2491
+ }
2492
+ }
2493
+
2285
2494
  type ListValidatorDetailsResponse = {
2286
2495
  /**
2287
2496
  * 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.
@@ -2290,7 +2499,7 @@ type ListValidatorDetailsResponse = {
2290
2499
  /**
2291
2500
  * The list of validator Details.
2292
2501
  */
2293
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2502
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2294
2503
  };
2295
2504
 
2296
2505
  declare enum Network {
@@ -2301,7 +2510,18 @@ declare enum Network {
2301
2510
  declare enum ValidationStatusType {
2302
2511
  COMPLETED = "completed",
2303
2512
  ACTIVE = "active",
2304
- PENDING = "pending"
2513
+ PENDING = "pending",
2514
+ REMOVED = "removed"
2515
+ }
2516
+
2517
+ declare enum PrimaryNetworkAssetCap {
2518
+ FIXED = "fixed",
2519
+ VARIABLE = "variable"
2520
+ }
2521
+
2522
+ declare enum PrimaryNetworkAssetType {
2523
+ SECP256K1 = "secp256k1",
2524
+ NFT = "nft"
2305
2525
  }
2306
2526
 
2307
2527
  type XChainAssetDetails = {
@@ -2324,15 +2544,15 @@ type XChainAssetDetails = {
2324
2544
  /**
2325
2545
  * Type of asset like SECP256K1 or NFT.
2326
2546
  */
2327
- type: string;
2547
+ type: PrimaryNetworkAssetType;
2328
2548
  /**
2329
2549
  * Timestamp in seconds this asset was created on.
2330
2550
  */
2331
2551
  createdAtTimestamp: number;
2332
2552
  /**
2333
- * Cap represents if an asset can be or is fixed cap.
2553
+ * Cap represents if an asset is a variable or fixed cap asset.
2334
2554
  */
2335
- cap: string;
2555
+ cap: PrimaryNetworkAssetCap;
2336
2556
  };
2337
2557
 
2338
2558
  declare enum XChainId {
@@ -2398,19 +2618,19 @@ declare class PrimaryNetworkService {
2398
2618
  * @returns ListBlockchainsResponse
2399
2619
  * @throws ApiError
2400
2620
  */
2401
- listBlockchains({ network, pageSize, pageToken, sortOrder, }: {
2621
+ listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2402
2622
  /**
2403
2623
  * Either mainnet or a testnet.
2404
2624
  */
2405
2625
  network: Network;
2406
- /**
2407
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2408
- */
2409
- pageSize?: number;
2410
2626
  /**
2411
2627
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2412
2628
  */
2413
2629
  pageToken?: string;
2630
+ /**
2631
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2632
+ */
2633
+ pageSize?: number;
2414
2634
  /**
2415
2635
  * 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.
2416
2636
  */
@@ -2422,19 +2642,19 @@ declare class PrimaryNetworkService {
2422
2642
  * @returns ListSubnetsResponse
2423
2643
  * @throws ApiError
2424
2644
  */
2425
- listSubnets({ network, pageSize, pageToken, sortOrder, }: {
2645
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2426
2646
  /**
2427
2647
  * Either mainnet or a testnet.
2428
2648
  */
2429
2649
  network: Network;
2430
- /**
2431
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2432
- */
2433
- pageSize?: number;
2434
2650
  /**
2435
2651
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2436
2652
  */
2437
2653
  pageToken?: string;
2654
+ /**
2655
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2656
+ */
2657
+ pageSize?: number;
2438
2658
  /**
2439
2659
  * 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.
2440
2660
  */
@@ -2446,55 +2666,55 @@ declare class PrimaryNetworkService {
2446
2666
  * @returns ListValidatorDetailsResponse
2447
2667
  * @throws ApiError
2448
2668
  */
2449
- listValidators({ network, pageSize, pageToken, minTimeRemaining, maxTimeRemaining, minDelegationCapacity, maxDelegationCapacity, minFeePercentage, maxFeePercentage, nodeIds, sortOrder, validationStatus, subnetId, }: {
2669
+ listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2450
2670
  /**
2451
2671
  * Either mainnet or a testnet.
2452
2672
  */
2453
2673
  network: Network;
2674
+ /**
2675
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2676
+ */
2677
+ pageToken?: string;
2454
2678
  /**
2455
2679
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2456
2680
  */
2457
2681
  pageSize?: number;
2458
2682
  /**
2459
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2683
+ * A comma separated list of node ids to filter by.
2460
2684
  */
2461
- pageToken?: string;
2685
+ nodeIds?: string;
2462
2686
  /**
2463
- * The minimum delegation time remaining, in seconds, used to filter the set of nodes being returned.
2687
+ * 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.
2464
2688
  */
2465
- minTimeRemaining?: any;
2689
+ sortOrder?: SortOrder;
2466
2690
  /**
2467
- * The maximum delegation time remaining, in seconds, used to filter the set of nodes being returned.
2691
+ * Validation status of the node.
2468
2692
  */
2469
- maxTimeRemaining?: any;
2693
+ validationStatus?: ValidationStatusType;
2470
2694
  /**
2471
2695
  * 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
2472
2696
  */
2473
- minDelegationCapacity?: number;
2697
+ minDelegationCapacity?: string;
2474
2698
  /**
2475
2699
  * 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.
2476
2700
  */
2477
- maxDelegationCapacity?: number;
2701
+ maxDelegationCapacity?: string;
2478
2702
  /**
2479
- * 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.
2703
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2480
2704
  */
2481
- minFeePercentage?: any;
2705
+ minTimeRemaining?: number;
2482
2706
  /**
2483
- * 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.
2707
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2484
2708
  */
2485
- maxFeePercentage?: any;
2709
+ maxTimeRemaining?: number;
2486
2710
  /**
2487
- * A comma separated list of node ids to filter by.
2711
+ * 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.
2488
2712
  */
2489
- nodeIds?: string;
2713
+ minFeePercentage?: number;
2490
2714
  /**
2491
- * 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.
2715
+ * 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.
2492
2716
  */
2493
- sortOrder?: SortOrder;
2494
- /**
2495
- * Validation status of the node.
2496
- */
2497
- validationStatus?: ValidationStatusType;
2717
+ maxFeePercentage?: number;
2498
2718
  /**
2499
2719
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2500
2720
  */
@@ -2506,7 +2726,7 @@ declare class PrimaryNetworkService {
2506
2726
  * @returns ListValidatorDetailsResponse
2507
2727
  * @throws ApiError
2508
2728
  */
2509
- getSingleValidatorDetails({ network, nodeId, pageSize, pageToken, sortOrder, validationStatus, }: {
2729
+ getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
2510
2730
  /**
2511
2731
  * Either mainnet or a testnet.
2512
2732
  */
@@ -2515,14 +2735,14 @@ declare class PrimaryNetworkService {
2515
2735
  * A primary network (P or X chain) nodeId.
2516
2736
  */
2517
2737
  nodeId: string;
2518
- /**
2519
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2520
- */
2521
- pageSize?: number;
2522
2738
  /**
2523
2739
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2524
2740
  */
2525
2741
  pageToken?: string;
2742
+ /**
2743
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2744
+ */
2745
+ pageSize?: number;
2526
2746
  /**
2527
2747
  * 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.
2528
2748
  */
@@ -2538,19 +2758,19 @@ declare class PrimaryNetworkService {
2538
2758
  * @returns ListDelegatorDetailsResponse
2539
2759
  * @throws ApiError
2540
2760
  */
2541
- listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2761
+ listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2542
2762
  /**
2543
2763
  * Either mainnet or a testnet.
2544
2764
  */
2545
2765
  network: Network;
2546
- /**
2547
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2548
- */
2549
- pageSize?: number;
2550
2766
  /**
2551
2767
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2552
2768
  */
2553
2769
  pageToken?: string;
2770
+ /**
2771
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2772
+ */
2773
+ pageSize?: number;
2554
2774
  /**
2555
2775
  * A comma separated list of reward addresses to filter by.
2556
2776
  */
@@ -2601,7 +2821,7 @@ type CChainSharedAssetBalance = {
2601
2821
  /**
2602
2822
  * Type of asset like SECP256K1 or NFT.
2603
2823
  */
2604
- type: string;
2824
+ type: PrimaryNetworkAssetType;
2605
2825
  /**
2606
2826
  * Amount of the asset.
2607
2827
  */
@@ -2636,13 +2856,57 @@ type ListCChainAtomicBalancesResponse = {
2636
2856
  chainInfo: PrimaryNetworkChainInfo;
2637
2857
  };
2638
2858
 
2639
- type PChainAsset = {
2859
+ type Asset = {
2860
+ /**
2861
+ * Unique ID for an asset.
2862
+ */
2640
2863
  assetId: string;
2864
+ /**
2865
+ * Name of this asset.
2866
+ */
2867
+ name: string;
2868
+ /**
2869
+ * Symbol for this asset (max 4 characters).
2870
+ */
2871
+ symbol: string;
2872
+ /**
2873
+ * Denomination of this asset to represent fungibility.
2874
+ */
2875
+ denomination: number;
2876
+ /**
2877
+ * Type of asset like SECP256K1 or NFT.
2878
+ */
2879
+ type: PrimaryNetworkAssetType;
2880
+ /**
2881
+ * Amount of the asset.
2882
+ */
2641
2883
  amount: string;
2642
2884
  };
2643
2885
 
2644
2886
  type PChainSharedAsset = {
2887
+ /**
2888
+ * Unique ID for an asset.
2889
+ */
2645
2890
  assetId: string;
2891
+ /**
2892
+ * Name of this asset.
2893
+ */
2894
+ name: string;
2895
+ /**
2896
+ * Symbol for this asset (max 4 characters).
2897
+ */
2898
+ symbol: string;
2899
+ /**
2900
+ * Denomination of this asset to represent fungibility.
2901
+ */
2902
+ denomination: number;
2903
+ /**
2904
+ * Type of asset like SECP256K1 or NFT.
2905
+ */
2906
+ type: PrimaryNetworkAssetType;
2907
+ /**
2908
+ * Amount of the asset.
2909
+ */
2646
2910
  amount: string;
2647
2911
  sharedWithChainId: string;
2648
2912
  status: string;
@@ -2652,27 +2916,27 @@ type PChainBalance = {
2652
2916
  /**
2653
2917
  * 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.
2654
2918
  */
2655
- unlockedUnstaked: Array<PChainAsset>;
2919
+ unlockedUnstaked: Array<Asset>;
2656
2920
  /**
2657
2921
  * 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.
2658
2922
  */
2659
- unlockedStaked: Array<PChainAsset>;
2923
+ unlockedStaked: Array<Asset>;
2660
2924
  /**
2661
2925
  * 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.
2662
2926
  */
2663
- lockedPlatform: Array<PChainAsset>;
2927
+ lockedPlatform: Array<Asset>;
2664
2928
  /**
2665
2929
  * 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.
2666
2930
  */
2667
- lockedStakeable: Array<PChainAsset>;
2931
+ lockedStakeable: Array<Asset>;
2668
2932
  /**
2669
2933
  * 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.
2670
2934
  */
2671
- lockedStaked: Array<PChainAsset>;
2935
+ lockedStaked: Array<Asset>;
2672
2936
  /**
2673
2937
  * 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.
2674
2938
  */
2675
- pendingStaked: Array<PChainAsset>;
2939
+ pendingStaked: Array<Asset>;
2676
2940
  /**
2677
2941
  * 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.
2678
2942
  */
@@ -2708,7 +2972,7 @@ type XChainAssetBalance = {
2708
2972
  /**
2709
2973
  * Type of asset like SECP256K1 or NFT.
2710
2974
  */
2711
- type: string;
2975
+ type: PrimaryNetworkAssetType;
2712
2976
  /**
2713
2977
  * Amount of the asset.
2714
2978
  */
@@ -2736,7 +3000,7 @@ type XChainSharedAssetBalance = {
2736
3000
  /**
2737
3001
  * Type of asset like SECP256K1 or NFT.
2738
3002
  */
2739
- type: string;
3003
+ type: PrimaryNetworkAssetType;
2740
3004
  /**
2741
3005
  * Amount of the asset.
2742
3006
  */
@@ -2811,6 +3075,7 @@ type GetPrimaryNetworkBlockResponse = {
2811
3075
  txCount: number;
2812
3076
  transactions: Array<string>;
2813
3077
  blockSizeBytes: number;
3078
+ currentSupply?: string;
2814
3079
  proposerDetails?: ProposerDetails;
2815
3080
  };
2816
3081
 
@@ -2823,6 +3088,7 @@ type PrimaryNetworkBlock = {
2823
3088
  txCount: number;
2824
3089
  transactions: Array<string>;
2825
3090
  blockSizeBytes: number;
3091
+ currentSupply?: string;
2826
3092
  proposerDetails?: ProposerDetails;
2827
3093
  };
2828
3094
 
@@ -2864,7 +3130,7 @@ declare class PrimaryNetworkBlocksService {
2864
3130
  * @returns ListPrimaryNetworkBlocksResponse
2865
3131
  * @throws ApiError
2866
3132
  */
2867
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageSize, pageToken, }: {
3133
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
2868
3134
  /**
2869
3135
  * A primary network blockchain id or alias.
2870
3136
  */
@@ -2877,14 +3143,14 @@ declare class PrimaryNetworkBlocksService {
2877
3143
  * A primary network (P or X chain) nodeId.
2878
3144
  */
2879
3145
  nodeId: string;
2880
- /**
2881
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2882
- */
2883
- pageSize?: number;
2884
3146
  /**
2885
3147
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2886
3148
  */
2887
3149
  pageToken?: string;
3150
+ /**
3151
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3152
+ */
3153
+ pageSize?: number;
2888
3154
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2889
3155
  /**
2890
3156
  * List latest blocks
@@ -2892,7 +3158,7 @@ declare class PrimaryNetworkBlocksService {
2892
3158
  * @returns ListPrimaryNetworkBlocksResponse
2893
3159
  * @throws ApiError
2894
3160
  */
2895
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageSize, pageToken, }: {
3161
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
2896
3162
  /**
2897
3163
  * A primary network blockchain id or alias.
2898
3164
  */
@@ -2901,17 +3167,48 @@ declare class PrimaryNetworkBlocksService {
2901
3167
  * Either mainnet or a testnet.
2902
3168
  */
2903
3169
  network: Network;
2904
- /**
2905
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2906
- */
2907
- pageSize?: number;
2908
3170
  /**
2909
3171
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2910
3172
  */
2911
3173
  pageToken?: 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;
2912
3178
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2913
3179
  }
2914
3180
 
3181
+ type AssetWithPriceInfo = {
3182
+ /**
3183
+ * Unique ID for an asset.
3184
+ */
3185
+ assetId: string;
3186
+ /**
3187
+ * Name of this asset.
3188
+ */
3189
+ name: string;
3190
+ /**
3191
+ * Symbol for this asset (max 4 characters).
3192
+ */
3193
+ symbol: string;
3194
+ /**
3195
+ * Denomination of this asset to represent fungibility.
3196
+ */
3197
+ denomination: number;
3198
+ /**
3199
+ * Type of asset like SECP256K1 or NFT.
3200
+ */
3201
+ type: PrimaryNetworkAssetType;
3202
+ /**
3203
+ * Amount of the asset.
3204
+ */
3205
+ amount: string;
3206
+ /**
3207
+ * 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.
3208
+ */
3209
+ historicalPrice?: Money;
3210
+ };
3211
+
2915
3212
  declare enum RewardType {
2916
3213
  VALIDATOR = "VALIDATOR",
2917
3214
  DELEGATOR = "DELEGATOR",
@@ -2931,10 +3228,7 @@ type HistoricalReward = {
2931
3228
  rewardType: RewardType;
2932
3229
  utxoId: string;
2933
3230
  outputIndex: number;
2934
- /**
2935
- * An object containing P-chain Asset ID and the amount of that Asset ID.
2936
- */
2937
- reward: PChainAsset;
3231
+ reward: AssetWithPriceInfo;
2938
3232
  rewardTxHash: string;
2939
3233
  };
2940
3234
 
@@ -2961,7 +3255,7 @@ type PendingReward = {
2961
3255
  /**
2962
3256
  * An object containing P-chain Asset ID and the amount of that Asset ID.
2963
3257
  */
2964
- estimatedReward: PChainAsset;
3258
+ estimatedReward: Asset;
2965
3259
  };
2966
3260
 
2967
3261
  type ListPendingRewardsResponse = {
@@ -2981,25 +3275,25 @@ declare class PrimaryNetworkRewardsService {
2981
3275
  * @returns ListPendingRewardsResponse
2982
3276
  * @throws ApiError
2983
3277
  */
2984
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3278
+ listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
2985
3279
  /**
2986
3280
  * Either mainnet or a testnet.
2987
3281
  */
2988
3282
  network: Network;
2989
3283
  /**
2990
- * 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".
3284
+ * 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.
2991
3285
  */
2992
3286
  addresses?: string;
2993
- /**
2994
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2995
- */
2996
- pageSize?: number;
2997
3287
  /**
2998
3288
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2999
3289
  */
3000
3290
  pageToken?: string;
3001
3291
  /**
3002
- * A comma separated list of node ids to filter by.
3292
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3293
+ */
3294
+ pageSize?: number;
3295
+ /**
3296
+ * A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
3003
3297
  */
3004
3298
  nodeIds?: string;
3005
3299
  /**
@@ -3013,68 +3307,45 @@ declare class PrimaryNetworkRewardsService {
3013
3307
  * @returns ListHistoricalRewardsResponse
3014
3308
  * @throws ApiError
3015
3309
  */
3016
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3310
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3017
3311
  /**
3018
3312
  * Either mainnet or a testnet.
3019
3313
  */
3020
3314
  network: Network;
3021
3315
  /**
3022
- * 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".
3316
+ * 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.
3023
3317
  */
3024
3318
  addresses?: string;
3025
- /**
3026
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3027
- */
3028
- pageSize?: number;
3029
3319
  /**
3030
3320
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3031
3321
  */
3032
3322
  pageToken?: string;
3033
3323
  /**
3034
- * A comma separated list of node ids to filter by.
3324
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3325
+ */
3326
+ pageSize?: number;
3327
+ /**
3328
+ * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3035
3329
  */
3036
3330
  nodeIds?: string;
3037
3331
  /**
3038
3332
  * 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.
3039
3333
  */
3040
3334
  sortOrder?: SortOrder;
3335
+ /**
3336
+ * The currency that return values should use. Defaults to USD.
3337
+ */
3338
+ currency?: CurrencyCode;
3041
3339
  }): CancelablePromise<ListHistoricalRewardsResponse>;
3042
3340
  }
3043
3341
 
3044
- type Asset = {
3045
- /**
3046
- * Unique ID for an asset.
3047
- */
3048
- assetId: string;
3049
- /**
3050
- * Name of this asset.
3051
- */
3052
- name: string;
3053
- /**
3054
- * Symbol for this asset (max 4 characters).
3055
- */
3056
- symbol: string;
3057
- /**
3058
- * Denomination of this asset to represent fungibility.
3059
- */
3060
- denomination: number;
3061
- /**
3062
- * Type of asset like SECP256K1 or NFT.
3063
- */
3064
- type: string;
3065
- /**
3066
- * Amount of the asset.
3067
- */
3068
- amount: string;
3069
- };
3070
-
3071
3342
  type UtxoCredential = {
3072
3343
  /**
3073
- * Signature provided to consume the output
3344
+ * Signature provided to consume the output.
3074
3345
  */
3075
3346
  signature?: string;
3076
3347
  /**
3077
- * Public key associated with the signature
3348
+ * Public key associated with the signature.
3078
3349
  */
3079
3350
  publicKey?: string;
3080
3351
  };
@@ -3096,66 +3367,66 @@ type EVMInput = {
3096
3367
 
3097
3368
  type Utxo = {
3098
3369
  /**
3099
- * UTXO ID for this output.
3370
+ * Addresses that are eligible to sign the consumption of this output.
3100
3371
  */
3101
- utxoId: string;
3372
+ addresses: Array<string>;
3102
3373
  asset: Asset;
3103
3374
  /**
3104
- * Type of output.
3375
+ * Blockchain ID on which this output is consumed on.
3105
3376
  */
3106
- utxoType: string;
3377
+ consumedOnChainId: string;
3107
3378
  /**
3108
- * Blockchain ID on which this output is created on.
3379
+ * Transaction ID that consumed this output.
3109
3380
  */
3110
- createdOnChainId: string;
3381
+ consumingTxHash?: string;
3111
3382
  /**
3112
- * Blockchain ID on which this output is consumed on.
3383
+ * Blockchain ID on which this output is created on.
3113
3384
  */
3114
- consumedOnChainId: string;
3385
+ createdOnChainId: string;
3115
3386
  /**
3116
- * Transaction ID that created this output.
3387
+ * UTXO ID for this output.
3117
3388
  */
3118
- creationTxHash: string;
3389
+ utxoId: string;
3119
3390
  /**
3120
- * Transaction ID that consumed this output.
3391
+ * Unix timestamp in seconds at which this output was consumed.
3121
3392
  */
3122
- consumingTxHash?: string;
3393
+ consumingTxTimestamp?: number;
3123
3394
  /**
3124
- * Timestamp in seconds this output is consumed.
3395
+ * Transaction ID that created this output.
3125
3396
  */
3126
- consumingTxTimestamp?: number;
3397
+ creationTxHash: string;
3127
3398
  /**
3128
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3399
+ * Credentials that signed the transaction to consume this utxo
3129
3400
  */
3130
- outputIndex: string;
3401
+ credentials?: Array<UtxoCredential>;
3131
3402
  /**
3132
- * Timestamp in seconds this outptut is created on.
3403
+ * Index representing the minting set for the NFT mint output.
3133
3404
  */
3134
- timestamp: number;
3405
+ groupId?: number;
3135
3406
  /**
3136
3407
  * Locktime in seconds after which this output can be consumed.
3137
3408
  */
3138
3409
  locktime: number;
3139
3410
  /**
3140
- * Minimum number of signatures required to consume this output.
3411
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3141
3412
  */
3142
- threshold: number;
3413
+ outputIndex: string;
3143
3414
  /**
3144
- * Addresses that are eligible to sign the consumption of this output.
3415
+ * Hex encoded data for NFT assets.
3145
3416
  */
3146
- addresses: Array<string>;
3417
+ payload?: string;
3147
3418
  /**
3148
- * Hex encoded data for NFT assets
3419
+ * Minimum number of signatures required to consume this output.
3149
3420
  */
3150
- payload?: string;
3421
+ threshold: number;
3151
3422
  /**
3152
- * Index representing the minting set for the NFT mint output
3423
+ * Unix timestamp in seconds at which this outptut was created.
3153
3424
  */
3154
- groupId?: number;
3425
+ timestamp: number;
3155
3426
  /**
3156
- * Credentials that signed the transaction to consume this utxo
3427
+ * Type of output.
3157
3428
  */
3158
- credentials?: Array<UtxoCredential>;
3429
+ utxoType: string;
3159
3430
  };
3160
3431
 
3161
3432
  type CChainExportTransaction = {
@@ -3286,17 +3557,18 @@ type ListCChainAtomicTransactionsResponse = {
3286
3557
 
3287
3558
  declare enum PChainTransactionType {
3288
3559
  ADD_VALIDATOR_TX = "AddValidatorTx",
3289
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3290
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3291
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3292
3560
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3293
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3294
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3561
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3295
3562
  CREATE_CHAIN_TX = "CreateChainTx",
3296
3563
  CREATE_SUBNET_TX = "CreateSubnetTx",
3297
3564
  IMPORT_TX = "ImportTx",
3298
3565
  EXPORT_TX = "ExportTx",
3299
3566
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3567
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3568
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3569
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3570
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3571
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3300
3572
  UNKNOWN = "UNKNOWN"
3301
3573
  }
3302
3574
 
@@ -3307,29 +3579,48 @@ declare enum UtxoType {
3307
3579
 
3308
3580
  type PChainUtxo = {
3309
3581
  /**
3310
- * An array of P-Chain wallet addresses.
3582
+ * Addresses that are eligible to sign the consumption of this output.
3311
3583
  */
3312
3584
  addresses: Array<string>;
3585
+ asset: Asset;
3586
+ /**
3587
+ * Blockchain ID on which this output is consumed on.
3588
+ */
3589
+ consumedOnChainId: string;
3590
+ /**
3591
+ * Transaction ID that consumed this output.
3592
+ */
3593
+ consumingTxHash?: string;
3594
+ /**
3595
+ * Blockchain ID on which this output is created on.
3596
+ */
3597
+ createdOnChainId: string;
3598
+ /**
3599
+ * UTXO ID for this output.
3600
+ */
3313
3601
  utxoId: string;
3314
- txHash: string;
3315
- outputIndex: number;
3602
+ /**
3603
+ * @deprecated
3604
+ */
3605
+ amount: string;
3606
+ /**
3607
+ * @deprecated
3608
+ */
3609
+ assetId: string;
3316
3610
  blockNumber: string;
3317
3611
  blockTimestamp: number;
3318
- consumingTxHash?: string;
3319
- consumingBlockTimestamp?: number;
3320
3612
  consumingBlockNumber?: string;
3321
- assetId: string;
3322
- utxoType: UtxoType;
3323
- amount: string;
3324
- stakeableLocktime?: number;
3613
+ consumingBlockTimestamp?: number;
3325
3614
  platformLocktime?: number;
3326
- threshold?: number;
3327
- createdOnChainId: string;
3328
- consumedOnChainId: string;
3615
+ outputIndex: number;
3616
+ rewardType?: RewardType;
3617
+ stakeableLocktime?: number;
3329
3618
  staked?: boolean;
3330
- utxoStartTimestamp?: number;
3619
+ threshold?: number;
3620
+ txHash: string;
3331
3621
  utxoEndTimestamp?: number;
3332
- rewardType?: RewardType;
3622
+ utxoStartTimestamp?: number;
3623
+ utxoType: UtxoType;
3333
3624
  };
3334
3625
 
3335
3626
  type PChainTransaction = {
@@ -3357,15 +3648,15 @@ type PChainTransaction = {
3357
3648
  /**
3358
3649
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3359
3650
  */
3360
- value: Array<PChainAsset>;
3651
+ value: Array<Asset>;
3361
3652
  /**
3362
3653
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3363
3654
  */
3364
- amountBurned: Array<PChainAsset>;
3655
+ amountBurned: Array<Asset>;
3365
3656
  /**
3366
3657
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3367
3658
  */
3368
- amountStaked: Array<PChainAsset>;
3659
+ amountStaked: Array<Asset>;
3369
3660
  /**
3370
3661
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3371
3662
  */
@@ -3408,6 +3699,15 @@ type ListPChainTransactionsResponse = {
3408
3699
  chainInfo: PrimaryNetworkChainInfo;
3409
3700
  };
3410
3701
 
3702
+ declare enum XChainTransactionType {
3703
+ BASE_TX = "BaseTx",
3704
+ CREATE_ASSET_TX = "CreateAssetTx",
3705
+ OPERATION_TX = "OperationTx",
3706
+ IMPORT_TX = "ImportTx",
3707
+ EXPORT_TX = "ExportTx",
3708
+ UNKNOWN = "UNKNOWN"
3709
+ }
3710
+
3411
3711
  type XChainLinearTransaction = {
3412
3712
  /**
3413
3713
  * Unique ID for this transaction.
@@ -3424,7 +3724,7 @@ type XChainLinearTransaction = {
3424
3724
  /**
3425
3725
  * Type of transaction.
3426
3726
  */
3427
- txType: string;
3727
+ txType: XChainTransactionType;
3428
3728
  /**
3429
3729
  * Hex encoded memo bytes for this transaction.
3430
3730
  */
@@ -3501,7 +3801,7 @@ type XChainNonLinearTransaction = {
3501
3801
  /**
3502
3802
  * Type of transaction.
3503
3803
  */
3504
- txType: string;
3804
+ txType: XChainTransactionType;
3505
3805
  /**
3506
3806
  * Hex encoded memo bytes for this transaction.
3507
3807
  */
@@ -3559,17 +3859,18 @@ declare enum PChainId {
3559
3859
 
3560
3860
  declare enum PrimaryNetworkTxType {
3561
3861
  ADD_VALIDATOR_TX = "AddValidatorTx",
3562
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3563
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3564
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3565
3862
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3566
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3567
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3863
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3568
3864
  CREATE_CHAIN_TX = "CreateChainTx",
3569
3865
  CREATE_SUBNET_TX = "CreateSubnetTx",
3570
3866
  IMPORT_TX = "ImportTx",
3571
3867
  EXPORT_TX = "ExportTx",
3572
3868
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3869
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3870
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3871
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3872
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3873
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3573
3874
  UNKNOWN = "UNKNOWN",
3574
3875
  BASE_TX = "BaseTx",
3575
3876
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3603,13 +3904,13 @@ declare class PrimaryNetworkTransactionsService {
3603
3904
  * List latest transactions
3604
3905
  * Lists the latest transactions on one of the Primary Network chains.
3605
3906
  *
3606
- * Transactions are filterable by addresses.
3907
+ * 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.
3607
3908
  *
3608
3909
  * 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.
3609
3910
  * @returns any
3610
3911
  * @throws ApiError
3611
3912
  */
3612
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3913
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3613
3914
  /**
3614
3915
  * A primary network blockchain id or alias.
3615
3916
  */
@@ -3634,14 +3935,14 @@ declare class PrimaryNetworkTransactionsService {
3634
3935
  * Query param for retrieving items before a specific timestamp.
3635
3936
  */
3636
3937
  endTimestamp?: number;
3637
- /**
3638
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3639
- */
3640
- pageSize?: number;
3641
3938
  /**
3642
3939
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3643
3940
  */
3644
3941
  pageToken?: string;
3942
+ /**
3943
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3944
+ */
3945
+ pageSize?: number;
3645
3946
  /**
3646
3947
  * 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.
3647
3948
  */
@@ -3653,7 +3954,7 @@ declare class PrimaryNetworkTransactionsService {
3653
3954
  * @returns ListPChainTransactionsResponse
3654
3955
  * @throws ApiError
3655
3956
  */
3656
- listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3957
+ listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3657
3958
  /**
3658
3959
  * A primary network blockchain id or alias.
3659
3960
  */
@@ -3678,14 +3979,14 @@ declare class PrimaryNetworkTransactionsService {
3678
3979
  * Query param for retrieving items before a specific timestamp.
3679
3980
  */
3680
3981
  endTimestamp?: number;
3681
- /**
3682
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3683
- */
3684
- pageSize?: number;
3685
3982
  /**
3686
3983
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3687
3984
  */
3688
3985
  pageToken?: string;
3986
+ /**
3987
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3988
+ */
3989
+ pageSize?: number;
3689
3990
  /**
3690
3991
  * 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.
3691
3992
  */
@@ -3697,7 +3998,7 @@ declare class PrimaryNetworkTransactionsService {
3697
3998
  * @returns ListXChainTransactionsResponse
3698
3999
  * @throws ApiError
3699
4000
  */
3700
- listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
4001
+ listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3701
4002
  /**
3702
4003
  * A primary network blockchain id or alias.
3703
4004
  */
@@ -3722,14 +4023,14 @@ declare class PrimaryNetworkTransactionsService {
3722
4023
  * Query param for retrieving items before a specific timestamp.
3723
4024
  */
3724
4025
  endTimestamp?: number;
3725
- /**
3726
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3727
- */
3728
- pageSize?: number;
3729
4026
  /**
3730
4027
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3731
4028
  */
3732
4029
  pageToken?: string;
4030
+ /**
4031
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4032
+ */
4033
+ pageSize?: number;
3733
4034
  }): CancelablePromise<ListXChainTransactionsResponse>;
3734
4035
  }
3735
4036
 
@@ -3760,7 +4061,7 @@ declare class PrimaryNetworkUtxOsService {
3760
4061
  * @returns any
3761
4062
  * @throws ApiError
3762
4063
  */
3763
- getUtxosByAddresses({ blockchainId, network, addresses, pageSize, pageToken, assetId, includeSpent, sortOrder, }: {
4064
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
3764
4065
  /**
3765
4066
  * A primary network blockchain id or alias.
3766
4067
  */
@@ -3773,14 +4074,14 @@ declare class PrimaryNetworkUtxOsService {
3773
4074
  * 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".
3774
4075
  */
3775
4076
  addresses?: string;
3776
- /**
3777
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3778
- */
3779
- pageSize?: number;
3780
4077
  /**
3781
4078
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3782
4079
  */
3783
4080
  pageToken?: string;
4081
+ /**
4082
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4083
+ */
4084
+ pageSize?: number;
3784
4085
  /**
3785
4086
  * Asset ID for any asset (only applicable X-Chain)
3786
4087
  */
@@ -3825,7 +4126,7 @@ declare class PrimaryNetworkVerticesService {
3825
4126
  * @returns ListXChainVerticesResponse
3826
4127
  * @throws ApiError
3827
4128
  */
3828
- listLatestXChainVertices({ blockchainId, network, pageSize, pageToken, }: {
4129
+ listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
3829
4130
  /**
3830
4131
  * A primary network blockchain id or alias.
3831
4132
  */
@@ -3834,14 +4135,14 @@ declare class PrimaryNetworkVerticesService {
3834
4135
  * Either mainnet or a testnet.
3835
4136
  */
3836
4137
  network: Network;
3837
- /**
3838
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3839
- */
3840
- pageSize?: number;
3841
4138
  /**
3842
4139
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3843
4140
  */
3844
4141
  pageToken?: string;
4142
+ /**
4143
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4144
+ */
4145
+ pageSize?: number;
3845
4146
  }): CancelablePromise<ListXChainVerticesResponse>;
3846
4147
  /**
3847
4148
  * Get vertex
@@ -3869,7 +4170,7 @@ declare class PrimaryNetworkVerticesService {
3869
4170
  * @returns ListXChainVerticesResponse
3870
4171
  * @throws ApiError
3871
4172
  */
3872
- getVertexByHeight({ vertexHeight, blockchainId, network, pageSize, pageToken, sortOrder, }: {
4173
+ getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
3873
4174
  /**
3874
4175
  * The height of a vertex.
3875
4176
  */
@@ -3882,14 +4183,14 @@ declare class PrimaryNetworkVerticesService {
3882
4183
  * Either mainnet or a testnet.
3883
4184
  */
3884
4185
  network: Network;
3885
- /**
3886
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3887
- */
3888
- pageSize?: number;
3889
4186
  /**
3890
4187
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3891
4188
  */
3892
4189
  pageToken?: string;
4190
+ /**
4191
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4192
+ */
4193
+ pageSize?: number;
3893
4194
  /**
3894
4195
  * 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.
3895
4196
  */
@@ -3936,4 +4237,4 @@ declare class ApiError extends Error {
3936
4237
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3937
4238
  }
3938
4239
 
3939
- 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 };
4240
+ 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, 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 };