@avalabs/glacier-sdk 2.8.0-canary.e27220c.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 (59) hide show
  1. package/dist/index.d.ts +418 -307
  2. package/dist/index.js +143 -111
  3. package/esm/generated/models/AddressActivityMetadata.d.ts +4 -1
  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/HistoricalReward.d.ts +2 -5
  8. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +2 -1
  9. package/esm/generated/models/PChainBalance.d.ts +7 -7
  10. package/esm/generated/models/PChainSharedAsset.d.ts +24 -0
  11. package/esm/generated/models/PChainTransaction.d.ts +4 -4
  12. package/esm/generated/models/PChainTransactionType.d.ts +6 -5
  13. package/esm/generated/models/PChainTransactionType.js +6 -5
  14. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  15. package/esm/generated/models/PendingReward.d.ts +2 -2
  16. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +6 -0
  17. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  18. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +6 -0
  19. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  20. package/esm/generated/models/PrimaryNetworkTxType.d.ts +6 -5
  21. package/esm/generated/models/PrimaryNetworkTxType.js +6 -5
  22. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  23. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  24. package/esm/generated/models/Utxo.d.ts +28 -28
  25. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  26. package/esm/generated/models/ValidationStatusType.d.ts +2 -1
  27. package/esm/generated/models/ValidationStatusType.js +1 -0
  28. package/esm/generated/models/WebhookResponse.d.ts +2 -0
  29. package/esm/generated/models/XChainAssetBalance.d.ts +3 -1
  30. package/esm/generated/models/XChainAssetDetails.d.ts +6 -3
  31. package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -1
  32. package/esm/generated/services/DefaultService.d.ts +12 -5
  33. package/esm/generated/services/DefaultService.js +9 -3
  34. package/esm/generated/services/EvmBalancesService.d.ts +25 -25
  35. package/esm/generated/services/EvmBalancesService.js +8 -8
  36. package/esm/generated/services/EvmBlocksService.d.ts +7 -7
  37. package/esm/generated/services/EvmBlocksService.js +4 -4
  38. package/esm/generated/services/EvmChainsService.d.ts +1 -1
  39. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  40. package/esm/generated/services/EvmTransactionsService.d.ts +57 -57
  41. package/esm/generated/services/EvmTransactionsService.js +32 -32
  42. package/esm/generated/services/NfTsService.d.ts +8 -8
  43. package/esm/generated/services/NfTsService.js +4 -4
  44. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
  45. package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
  46. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +19 -14
  47. package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -6
  48. package/esm/generated/services/PrimaryNetworkService.d.ts +41 -41
  49. package/esm/generated/services/PrimaryNetworkService.js +20 -20
  50. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
  51. package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
  52. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
  53. package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
  54. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
  55. package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
  56. package/esm/index.d.ts +4 -1
  57. package/esm/index.js +3 -0
  58. package/package.json +2 -2
  59. package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -65,7 +65,10 @@ type AddressActivityMetadata = {
65
65
  * Ethereum address for the address_activity event type
66
66
  */
67
67
  address: string;
68
- topic0?: string;
68
+ /**
69
+ * Array of hexadecimal strings of the event signatures.
70
+ */
71
+ eventSignatures?: Array<string>;
69
72
  };
70
73
 
71
74
  declare enum EventType {
@@ -85,6 +88,8 @@ type WebhookResponse = {
85
88
  chainId: string;
86
89
  status: WebhookStatusType;
87
90
  createdAt: number;
91
+ name: string;
92
+ description: string;
88
93
  };
89
94
 
90
95
  type ListWebhooksResponse = {
@@ -137,15 +142,15 @@ declare class DefaultService {
137
142
  * @returns ListWebhooksResponse
138
143
  * @throws ApiError
139
144
  */
140
- listWebhooks({ pageSize, pageToken, status, }: {
141
- /**
142
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
143
- */
144
- pageSize?: number;
145
+ listWebhooks({ pageToken, pageSize, status, }: {
145
146
  /**
146
147
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
147
148
  */
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;
149
154
  /**
150
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.
151
156
  */
@@ -170,6 +175,13 @@ declare class DefaultService {
170
175
  * @throws ApiError
171
176
  */
172
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>;
173
185
  }
174
186
 
175
187
  declare enum CurrencyCode {
@@ -447,7 +459,7 @@ declare class EvmBalancesService {
447
459
  */
448
460
  getNativeBalance({ chainId, address, blockNumber, currency, }: {
449
461
  /**
450
- * 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.
451
463
  */
452
464
  chainId: string;
453
465
  /**
@@ -473,9 +485,9 @@ declare class EvmBalancesService {
473
485
  * @returns ListErc20BalancesResponse
474
486
  * @throws ApiError
475
487
  */
476
- listErc20Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddresses, currency, }: {
488
+ listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
477
489
  /**
478
- * 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.
479
491
  */
480
492
  chainId: string;
481
493
  /**
@@ -486,14 +498,14 @@ declare class EvmBalancesService {
486
498
  * The block number, if not defined the block number will be the latest block.
487
499
  */
488
500
  blockNumber?: string;
489
- /**
490
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
491
- */
492
- pageSize?: number;
493
501
  /**
494
502
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
495
503
  */
496
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;
497
509
  /**
498
510
  * A comma separated list of contract addresses to filter by.
499
511
  */
@@ -511,23 +523,23 @@ declare class EvmBalancesService {
511
523
  * @returns ListErc721BalancesResponse
512
524
  * @throws ApiError
513
525
  */
514
- listErc721Balances({ chainId, address, pageSize, pageToken, contractAddress, }: {
526
+ listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
515
527
  /**
516
- * 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.
517
529
  */
518
530
  chainId: string;
519
531
  /**
520
532
  * A wallet address.
521
533
  */
522
534
  address: string;
523
- /**
524
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
525
- */
526
- pageSize?: number;
527
535
  /**
528
536
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
529
537
  */
530
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;
531
543
  /**
532
544
  * A contract addresses to filter by.
533
545
  */
@@ -543,9 +555,9 @@ declare class EvmBalancesService {
543
555
  * @returns ListErc1155BalancesResponse
544
556
  * @throws ApiError
545
557
  */
546
- listErc1155Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddress, }: {
558
+ listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
547
559
  /**
548
- * 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.
549
561
  */
550
562
  chainId: string;
551
563
  /**
@@ -556,14 +568,14 @@ declare class EvmBalancesService {
556
568
  * The block number, if not defined the block number will be the latest block.
557
569
  */
558
570
  blockNumber?: string;
559
- /**
560
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
561
- */
562
- pageSize?: number;
563
571
  /**
564
572
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
565
573
  */
566
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;
567
579
  /**
568
580
  * A contract addresses to filter by.
569
581
  */
@@ -577,23 +589,23 @@ declare class EvmBalancesService {
577
589
  * @returns ListCollectibleBalancesResponse
578
590
  * @throws ApiError
579
591
  */
580
- listCollectibleBalances({ chainId, address, pageSize, pageToken, contractAddress, }: {
592
+ listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
581
593
  /**
582
- * 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.
583
595
  */
584
596
  chainId: string;
585
597
  /**
586
598
  * A wallet address.
587
599
  */
588
600
  address: string;
589
- /**
590
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
591
- */
592
- pageSize?: number;
593
601
  /**
594
602
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
595
603
  */
596
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;
597
609
  /**
598
610
  * A contract addresses to filter by.
599
611
  */
@@ -706,19 +718,19 @@ declare class EvmBlocksService {
706
718
  * @returns ListEvmBlocksResponse
707
719
  * @throws ApiError
708
720
  */
709
- getLatestBlocks({ chainId, pageSize, pageToken, }: {
721
+ getLatestBlocks({ chainId, pageToken, pageSize, }: {
710
722
  /**
711
- * 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.
712
724
  */
713
725
  chainId: string;
714
- /**
715
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
716
- */
717
- pageSize?: number;
718
726
  /**
719
727
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
720
728
  */
721
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;
722
734
  }): CancelablePromise<ListEvmBlocksResponse>;
723
735
  /**
724
736
  * Get block
@@ -728,7 +740,7 @@ declare class EvmBlocksService {
728
740
  */
729
741
  getBlock({ chainId, blockId, }: {
730
742
  /**
731
- * 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.
732
744
  */
733
745
  chainId: string;
734
746
  /**
@@ -849,7 +861,7 @@ declare class EvmChainsService {
849
861
  */
850
862
  getChainInfo({ chainId, }: {
851
863
  /**
852
- * 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.
853
865
  */
854
866
  chainId: string;
855
867
  }): CancelablePromise<GetChainResponse>;
@@ -1144,7 +1156,7 @@ declare class EvmContractsService {
1144
1156
  */
1145
1157
  getContractMetadata({ chainId, address, }: {
1146
1158
  /**
1147
- * 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.
1148
1160
  */
1149
1161
  chainId: string;
1150
1162
  /**
@@ -1160,7 +1172,7 @@ declare class EvmContractsService {
1160
1172
  */
1161
1173
  updateContractInfo({ chainId, address, requestBody, }: {
1162
1174
  /**
1163
- * 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.
1164
1176
  */
1165
1177
  chainId: string;
1166
1178
  /**
@@ -1688,7 +1700,7 @@ declare class EvmTransactionsService {
1688
1700
  */
1689
1701
  getDeploymentTransaction({ chainId, address, currency, }: {
1690
1702
  /**
1691
- * 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.
1692
1704
  */
1693
1705
  chainId: string;
1694
1706
  /**
@@ -1706,23 +1718,23 @@ declare class EvmTransactionsService {
1706
1718
  * @returns ListContractsResponse
1707
1719
  * @throws ApiError
1708
1720
  */
1709
- listContractDeployments({ chainId, address, pageSize, pageToken, }: {
1721
+ listContractDeployments({ chainId, address, pageToken, pageSize, }: {
1710
1722
  /**
1711
- * 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.
1712
1724
  */
1713
1725
  chainId: string;
1714
1726
  /**
1715
1727
  * A wallet address.
1716
1728
  */
1717
1729
  address: string;
1718
- /**
1719
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1720
- */
1721
- pageSize?: number;
1722
1730
  /**
1723
1731
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1724
1732
  */
1725
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;
1726
1738
  }): CancelablePromise<ListContractsResponse>;
1727
1739
  /**
1728
1740
  * List ERC transfers
@@ -1730,9 +1742,9 @@ declare class EvmTransactionsService {
1730
1742
  * @returns ListTransfersResponse
1731
1743
  * @throws ApiError
1732
1744
  */
1733
- listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1745
+ listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1734
1746
  /**
1735
- * 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.
1736
1748
  */
1737
1749
  chainId: string;
1738
1750
  /**
@@ -1747,14 +1759,14 @@ declare class EvmTransactionsService {
1747
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.
1748
1760
  */
1749
1761
  endBlock?: number;
1750
- /**
1751
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1752
- */
1753
- pageSize?: number;
1754
1762
  /**
1755
1763
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1756
1764
  */
1757
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;
1758
1770
  }): CancelablePromise<ListTransfersResponse>;
1759
1771
  /**
1760
1772
  * List transactions
@@ -1764,23 +1776,23 @@ declare class EvmTransactionsService {
1764
1776
  * @returns ListTransactionDetailsResponse
1765
1777
  * @throws ApiError
1766
1778
  */
1767
- listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
1779
+ listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
1768
1780
  /**
1769
- * 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.
1770
1782
  */
1771
1783
  chainId: string;
1772
1784
  /**
1773
1785
  * A wallet address.
1774
1786
  */
1775
1787
  address: string;
1776
- /**
1777
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1778
- */
1779
- pageSize?: number;
1780
1788
  /**
1781
1789
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1782
1790
  */
1783
1791
  pageToken?: string;
1792
+ /**
1793
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1794
+ */
1795
+ pageSize?: number;
1784
1796
  /**
1785
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.
1786
1798
  */
@@ -1800,9 +1812,9 @@ declare class EvmTransactionsService {
1800
1812
  * @returns ListNativeTransactionsResponse
1801
1813
  * @throws ApiError
1802
1814
  */
1803
- listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1815
+ listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1804
1816
  /**
1805
- * 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.
1806
1818
  */
1807
1819
  chainId: string;
1808
1820
  /**
@@ -1817,14 +1829,14 @@ declare class EvmTransactionsService {
1817
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.
1818
1830
  */
1819
1831
  endBlock?: number;
1820
- /**
1821
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1822
- */
1823
- pageSize?: number;
1824
1832
  /**
1825
1833
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1826
1834
  */
1827
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;
1828
1840
  }): CancelablePromise<ListNativeTransactionsResponse>;
1829
1841
  /**
1830
1842
  * List ERC-20 transfers
@@ -1832,9 +1844,9 @@ declare class EvmTransactionsService {
1832
1844
  * @returns ListErc20TransactionsResponse
1833
1845
  * @throws ApiError
1834
1846
  */
1835
- listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1847
+ listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1836
1848
  /**
1837
- * 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.
1838
1850
  */
1839
1851
  chainId: string;
1840
1852
  /**
@@ -1849,14 +1861,14 @@ declare class EvmTransactionsService {
1849
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.
1850
1862
  */
1851
1863
  endBlock?: number;
1852
- /**
1853
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1854
- */
1855
- pageSize?: number;
1856
1864
  /**
1857
1865
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1858
1866
  */
1859
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;
1860
1872
  }): CancelablePromise<ListErc20TransactionsResponse>;
1861
1873
  /**
1862
1874
  * List ERC-721 transfers
@@ -1864,9 +1876,9 @@ declare class EvmTransactionsService {
1864
1876
  * @returns ListErc721TransactionsResponse
1865
1877
  * @throws ApiError
1866
1878
  */
1867
- listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1879
+ listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1868
1880
  /**
1869
- * 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.
1870
1882
  */
1871
1883
  chainId: string;
1872
1884
  /**
@@ -1881,14 +1893,14 @@ declare class EvmTransactionsService {
1881
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.
1882
1894
  */
1883
1895
  endBlock?: number;
1884
- /**
1885
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1886
- */
1887
- pageSize?: number;
1888
1896
  /**
1889
1897
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1890
1898
  */
1891
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;
1892
1904
  }): CancelablePromise<ListErc721TransactionsResponse>;
1893
1905
  /**
1894
1906
  * List ERC-1155 transfers
@@ -1896,9 +1908,9 @@ declare class EvmTransactionsService {
1896
1908
  * @returns ListErc1155TransactionsResponse
1897
1909
  * @throws ApiError
1898
1910
  */
1899
- listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1911
+ listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1900
1912
  /**
1901
- * 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.
1902
1914
  */
1903
1915
  chainId: string;
1904
1916
  /**
@@ -1913,14 +1925,14 @@ declare class EvmTransactionsService {
1913
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.
1914
1926
  */
1915
1927
  endBlock?: number;
1916
- /**
1917
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1918
- */
1919
- pageSize?: number;
1920
1928
  /**
1921
1929
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1922
1930
  */
1923
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;
1924
1936
  }): CancelablePromise<ListErc1155TransactionsResponse>;
1925
1937
  /**
1926
1938
  * List internal transactions
@@ -1930,9 +1942,9 @@ declare class EvmTransactionsService {
1930
1942
  * @returns ListInternalTransactionsResponse
1931
1943
  * @throws ApiError
1932
1944
  */
1933
- listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1945
+ listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1934
1946
  /**
1935
- * 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.
1936
1948
  */
1937
1949
  chainId: string;
1938
1950
  /**
@@ -1947,14 +1959,14 @@ declare class EvmTransactionsService {
1947
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.
1948
1960
  */
1949
1961
  endBlock?: number;
1950
- /**
1951
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1952
- */
1953
- pageSize?: number;
1954
1962
  /**
1955
1963
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1956
1964
  */
1957
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;
1958
1970
  }): CancelablePromise<ListInternalTransactionsResponse>;
1959
1971
  /**
1960
1972
  * Get transaction
@@ -1964,7 +1976,7 @@ declare class EvmTransactionsService {
1964
1976
  */
1965
1977
  getTransaction({ chainId, txHash, }: {
1966
1978
  /**
1967
- * 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.
1968
1980
  */
1969
1981
  chainId: string;
1970
1982
  /**
@@ -1980,7 +1992,7 @@ declare class EvmTransactionsService {
1980
1992
  */
1981
1993
  getTransactionsForBlock({ chainId, blockId, }: {
1982
1994
  /**
1983
- * 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.
1984
1996
  */
1985
1997
  chainId: string;
1986
1998
  /**
@@ -1994,19 +2006,19 @@ declare class EvmTransactionsService {
1994
2006
  * @returns ListNativeTransactionsResponse
1995
2007
  * @throws ApiError
1996
2008
  */
1997
- listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
2009
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
1998
2010
  /**
1999
- * 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.
2000
2012
  */
2001
2013
  chainId: string;
2002
- /**
2003
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2004
- */
2005
- pageSize?: number;
2006
2014
  /**
2007
2015
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2008
2016
  */
2009
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;
2010
2022
  /**
2011
2023
  * A status filter for listed transactions.
2012
2024
  */
@@ -2049,7 +2061,7 @@ declare class NfTsService {
2049
2061
  */
2050
2062
  reindexNft({ chainId, address, tokenId, }: {
2051
2063
  /**
2052
- * 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.
2053
2065
  */
2054
2066
  chainId: string;
2055
2067
  /**
@@ -2067,23 +2079,23 @@ declare class NfTsService {
2067
2079
  * @returns ListNftTokens
2068
2080
  * @throws ApiError
2069
2081
  */
2070
- listTokens({ chainId, address, pageSize, pageToken, }: {
2082
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2071
2083
  /**
2072
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2084
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2073
2085
  */
2074
2086
  chainId: string;
2075
2087
  /**
2076
2088
  * Contract address on the relevant chain.
2077
2089
  */
2078
2090
  address: string;
2079
- /**
2080
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2081
- */
2082
- pageSize?: number;
2083
2091
  /**
2084
2092
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2085
2093
  */
2086
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;
2087
2099
  }): CancelablePromise<ListNftTokens>;
2088
2100
  /**
2089
2101
  * Get token details
@@ -2093,7 +2105,7 @@ declare class NfTsService {
2093
2105
  */
2094
2106
  getTokenDetails({ chainId, address, tokenId, }: {
2095
2107
  /**
2096
- * 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.
2097
2109
  */
2098
2110
  chainId: string;
2099
2111
  /**
@@ -2461,6 +2473,24 @@ declare namespace PendingValidatorDetails {
2461
2473
  }
2462
2474
  }
2463
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
+
2464
2494
  type ListValidatorDetailsResponse = {
2465
2495
  /**
2466
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.
@@ -2469,7 +2499,7 @@ type ListValidatorDetailsResponse = {
2469
2499
  /**
2470
2500
  * The list of validator Details.
2471
2501
  */
2472
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2502
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2473
2503
  };
2474
2504
 
2475
2505
  declare enum Network {
@@ -2480,7 +2510,18 @@ declare enum Network {
2480
2510
  declare enum ValidationStatusType {
2481
2511
  COMPLETED = "completed",
2482
2512
  ACTIVE = "active",
2483
- 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"
2484
2525
  }
2485
2526
 
2486
2527
  type XChainAssetDetails = {
@@ -2503,15 +2544,15 @@ type XChainAssetDetails = {
2503
2544
  /**
2504
2545
  * Type of asset like SECP256K1 or NFT.
2505
2546
  */
2506
- type: string;
2547
+ type: PrimaryNetworkAssetType;
2507
2548
  /**
2508
2549
  * Timestamp in seconds this asset was created on.
2509
2550
  */
2510
2551
  createdAtTimestamp: number;
2511
2552
  /**
2512
- * Cap represents if an asset can be or is fixed cap.
2553
+ * Cap represents if an asset is a variable or fixed cap asset.
2513
2554
  */
2514
- cap: string;
2555
+ cap: PrimaryNetworkAssetCap;
2515
2556
  };
2516
2557
 
2517
2558
  declare enum XChainId {
@@ -2577,19 +2618,19 @@ declare class PrimaryNetworkService {
2577
2618
  * @returns ListBlockchainsResponse
2578
2619
  * @throws ApiError
2579
2620
  */
2580
- listBlockchains({ network, pageSize, pageToken, sortOrder, }: {
2621
+ listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2581
2622
  /**
2582
2623
  * Either mainnet or a testnet.
2583
2624
  */
2584
2625
  network: Network;
2585
- /**
2586
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2587
- */
2588
- pageSize?: number;
2589
2626
  /**
2590
2627
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2591
2628
  */
2592
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;
2593
2634
  /**
2594
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.
2595
2636
  */
@@ -2601,19 +2642,19 @@ declare class PrimaryNetworkService {
2601
2642
  * @returns ListSubnetsResponse
2602
2643
  * @throws ApiError
2603
2644
  */
2604
- listSubnets({ network, pageSize, pageToken, sortOrder, }: {
2645
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2605
2646
  /**
2606
2647
  * Either mainnet or a testnet.
2607
2648
  */
2608
2649
  network: Network;
2609
- /**
2610
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2611
- */
2612
- pageSize?: number;
2613
2650
  /**
2614
2651
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2615
2652
  */
2616
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;
2617
2658
  /**
2618
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.
2619
2660
  */
@@ -2625,55 +2666,55 @@ declare class PrimaryNetworkService {
2625
2666
  * @returns ListValidatorDetailsResponse
2626
2667
  * @throws ApiError
2627
2668
  */
2628
- 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, }: {
2629
2670
  /**
2630
2671
  * Either mainnet or a testnet.
2631
2672
  */
2632
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;
2633
2678
  /**
2634
2679
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2635
2680
  */
2636
2681
  pageSize?: number;
2637
2682
  /**
2638
- * 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.
2639
2684
  */
2640
- pageToken?: string;
2685
+ nodeIds?: string;
2641
2686
  /**
2642
- * The minimum validation 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.
2643
2688
  */
2644
- minTimeRemaining?: any;
2689
+ sortOrder?: SortOrder;
2645
2690
  /**
2646
- * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2691
+ * Validation status of the node.
2647
2692
  */
2648
- maxTimeRemaining?: any;
2693
+ validationStatus?: ValidationStatusType;
2649
2694
  /**
2650
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
2651
2696
  */
2652
- minDelegationCapacity?: number;
2697
+ minDelegationCapacity?: string;
2653
2698
  /**
2654
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.
2655
2700
  */
2656
- maxDelegationCapacity?: number;
2657
- /**
2658
- * The minimum fee percentage, used to filter the set of nodes being returned.If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 2, as per the Avalanche spec.
2659
- */
2660
- minFeePercentage?: any;
2701
+ maxDelegationCapacity?: string;
2661
2702
  /**
2662
- * The maximum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 100.
2703
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2663
2704
  */
2664
- maxFeePercentage?: any;
2705
+ minTimeRemaining?: number;
2665
2706
  /**
2666
- * A comma separated list of node ids to filter by.
2707
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2667
2708
  */
2668
- nodeIds?: string;
2709
+ maxTimeRemaining?: number;
2669
2710
  /**
2670
- * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
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.
2671
2712
  */
2672
- sortOrder?: SortOrder;
2713
+ minFeePercentage?: number;
2673
2714
  /**
2674
- * Validation status of the node.
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.
2675
2716
  */
2676
- validationStatus?: ValidationStatusType;
2717
+ maxFeePercentage?: number;
2677
2718
  /**
2678
2719
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2679
2720
  */
@@ -2685,7 +2726,7 @@ declare class PrimaryNetworkService {
2685
2726
  * @returns ListValidatorDetailsResponse
2686
2727
  * @throws ApiError
2687
2728
  */
2688
- getSingleValidatorDetails({ network, nodeId, pageSize, pageToken, sortOrder, validationStatus, }: {
2729
+ getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
2689
2730
  /**
2690
2731
  * Either mainnet or a testnet.
2691
2732
  */
@@ -2694,14 +2735,14 @@ declare class PrimaryNetworkService {
2694
2735
  * A primary network (P or X chain) nodeId.
2695
2736
  */
2696
2737
  nodeId: string;
2697
- /**
2698
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2699
- */
2700
- pageSize?: number;
2701
2738
  /**
2702
2739
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2703
2740
  */
2704
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;
2705
2746
  /**
2706
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.
2707
2748
  */
@@ -2717,19 +2758,19 @@ declare class PrimaryNetworkService {
2717
2758
  * @returns ListDelegatorDetailsResponse
2718
2759
  * @throws ApiError
2719
2760
  */
2720
- listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2761
+ listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2721
2762
  /**
2722
2763
  * Either mainnet or a testnet.
2723
2764
  */
2724
2765
  network: Network;
2725
- /**
2726
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2727
- */
2728
- pageSize?: number;
2729
2766
  /**
2730
2767
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2731
2768
  */
2732
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;
2733
2774
  /**
2734
2775
  * A comma separated list of reward addresses to filter by.
2735
2776
  */
@@ -2780,7 +2821,7 @@ type CChainSharedAssetBalance = {
2780
2821
  /**
2781
2822
  * Type of asset like SECP256K1 or NFT.
2782
2823
  */
2783
- type: string;
2824
+ type: PrimaryNetworkAssetType;
2784
2825
  /**
2785
2826
  * Amount of the asset.
2786
2827
  */
@@ -2815,13 +2856,57 @@ type ListCChainAtomicBalancesResponse = {
2815
2856
  chainInfo: PrimaryNetworkChainInfo;
2816
2857
  };
2817
2858
 
2818
- type PChainAsset = {
2859
+ type Asset = {
2860
+ /**
2861
+ * Unique ID for an asset.
2862
+ */
2819
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
+ */
2820
2883
  amount: string;
2821
2884
  };
2822
2885
 
2823
2886
  type PChainSharedAsset = {
2887
+ /**
2888
+ * Unique ID for an asset.
2889
+ */
2824
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
+ */
2825
2910
  amount: string;
2826
2911
  sharedWithChainId: string;
2827
2912
  status: string;
@@ -2831,27 +2916,27 @@ type PChainBalance = {
2831
2916
  /**
2832
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.
2833
2918
  */
2834
- unlockedUnstaked: Array<PChainAsset>;
2919
+ unlockedUnstaked: Array<Asset>;
2835
2920
  /**
2836
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.
2837
2922
  */
2838
- unlockedStaked: Array<PChainAsset>;
2923
+ unlockedStaked: Array<Asset>;
2839
2924
  /**
2840
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.
2841
2926
  */
2842
- lockedPlatform: Array<PChainAsset>;
2927
+ lockedPlatform: Array<Asset>;
2843
2928
  /**
2844
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.
2845
2930
  */
2846
- lockedStakeable: Array<PChainAsset>;
2931
+ lockedStakeable: Array<Asset>;
2847
2932
  /**
2848
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.
2849
2934
  */
2850
- lockedStaked: Array<PChainAsset>;
2935
+ lockedStaked: Array<Asset>;
2851
2936
  /**
2852
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.
2853
2938
  */
2854
- pendingStaked: Array<PChainAsset>;
2939
+ pendingStaked: Array<Asset>;
2855
2940
  /**
2856
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.
2857
2942
  */
@@ -2887,7 +2972,7 @@ type XChainAssetBalance = {
2887
2972
  /**
2888
2973
  * Type of asset like SECP256K1 or NFT.
2889
2974
  */
2890
- type: string;
2975
+ type: PrimaryNetworkAssetType;
2891
2976
  /**
2892
2977
  * Amount of the asset.
2893
2978
  */
@@ -2915,7 +3000,7 @@ type XChainSharedAssetBalance = {
2915
3000
  /**
2916
3001
  * Type of asset like SECP256K1 or NFT.
2917
3002
  */
2918
- type: string;
3003
+ type: PrimaryNetworkAssetType;
2919
3004
  /**
2920
3005
  * Amount of the asset.
2921
3006
  */
@@ -3045,7 +3130,7 @@ declare class PrimaryNetworkBlocksService {
3045
3130
  * @returns ListPrimaryNetworkBlocksResponse
3046
3131
  * @throws ApiError
3047
3132
  */
3048
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageSize, pageToken, }: {
3133
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
3049
3134
  /**
3050
3135
  * A primary network blockchain id or alias.
3051
3136
  */
@@ -3058,14 +3143,14 @@ declare class PrimaryNetworkBlocksService {
3058
3143
  * A primary network (P or X chain) nodeId.
3059
3144
  */
3060
3145
  nodeId: string;
3061
- /**
3062
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3063
- */
3064
- pageSize?: number;
3065
3146
  /**
3066
3147
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3067
3148
  */
3068
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;
3069
3154
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3070
3155
  /**
3071
3156
  * List latest blocks
@@ -3073,7 +3158,7 @@ declare class PrimaryNetworkBlocksService {
3073
3158
  * @returns ListPrimaryNetworkBlocksResponse
3074
3159
  * @throws ApiError
3075
3160
  */
3076
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageSize, pageToken, }: {
3161
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
3077
3162
  /**
3078
3163
  * A primary network blockchain id or alias.
3079
3164
  */
@@ -3082,17 +3167,48 @@ declare class PrimaryNetworkBlocksService {
3082
3167
  * Either mainnet or a testnet.
3083
3168
  */
3084
3169
  network: Network;
3085
- /**
3086
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3087
- */
3088
- pageSize?: number;
3089
3170
  /**
3090
3171
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3091
3172
  */
3092
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;
3093
3178
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3094
3179
  }
3095
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
+
3096
3212
  declare enum RewardType {
3097
3213
  VALIDATOR = "VALIDATOR",
3098
3214
  DELEGATOR = "DELEGATOR",
@@ -3112,10 +3228,7 @@ type HistoricalReward = {
3112
3228
  rewardType: RewardType;
3113
3229
  utxoId: string;
3114
3230
  outputIndex: number;
3115
- /**
3116
- * An object containing P-chain Asset ID and the amount of that Asset ID.
3117
- */
3118
- reward: PChainAsset;
3231
+ reward: AssetWithPriceInfo;
3119
3232
  rewardTxHash: string;
3120
3233
  };
3121
3234
 
@@ -3142,7 +3255,7 @@ type PendingReward = {
3142
3255
  /**
3143
3256
  * An object containing P-chain Asset ID and the amount of that Asset ID.
3144
3257
  */
3145
- estimatedReward: PChainAsset;
3258
+ estimatedReward: Asset;
3146
3259
  };
3147
3260
 
3148
3261
  type ListPendingRewardsResponse = {
@@ -3162,25 +3275,25 @@ declare class PrimaryNetworkRewardsService {
3162
3275
  * @returns ListPendingRewardsResponse
3163
3276
  * @throws ApiError
3164
3277
  */
3165
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3278
+ listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
3166
3279
  /**
3167
3280
  * Either mainnet or a testnet.
3168
3281
  */
3169
3282
  network: Network;
3170
3283
  /**
3171
- * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
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.
3172
3285
  */
3173
3286
  addresses?: string;
3174
- /**
3175
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3176
- */
3177
- pageSize?: number;
3178
3287
  /**
3179
3288
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3180
3289
  */
3181
3290
  pageToken?: string;
3182
3291
  /**
3183
- * 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.
3184
3297
  */
3185
3298
  nodeIds?: string;
3186
3299
  /**
@@ -3194,68 +3307,45 @@ declare class PrimaryNetworkRewardsService {
3194
3307
  * @returns ListHistoricalRewardsResponse
3195
3308
  * @throws ApiError
3196
3309
  */
3197
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3310
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3198
3311
  /**
3199
3312
  * Either mainnet or a testnet.
3200
3313
  */
3201
3314
  network: Network;
3202
3315
  /**
3203
- * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
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.
3204
3317
  */
3205
3318
  addresses?: string;
3206
- /**
3207
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3208
- */
3209
- pageSize?: number;
3210
3319
  /**
3211
3320
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3212
3321
  */
3213
3322
  pageToken?: string;
3214
3323
  /**
3215
- * 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.
3216
3329
  */
3217
3330
  nodeIds?: string;
3218
3331
  /**
3219
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.
3220
3333
  */
3221
3334
  sortOrder?: SortOrder;
3335
+ /**
3336
+ * The currency that return values should use. Defaults to USD.
3337
+ */
3338
+ currency?: CurrencyCode;
3222
3339
  }): CancelablePromise<ListHistoricalRewardsResponse>;
3223
3340
  }
3224
3341
 
3225
- type Asset = {
3226
- /**
3227
- * Unique ID for an asset.
3228
- */
3229
- assetId: string;
3230
- /**
3231
- * Name of this asset.
3232
- */
3233
- name: string;
3234
- /**
3235
- * Symbol for this asset (max 4 characters).
3236
- */
3237
- symbol: string;
3238
- /**
3239
- * Denomination of this asset to represent fungibility.
3240
- */
3241
- denomination: number;
3242
- /**
3243
- * Type of asset like SECP256K1 or NFT.
3244
- */
3245
- type: string;
3246
- /**
3247
- * Amount of the asset.
3248
- */
3249
- amount: string;
3250
- };
3251
-
3252
3342
  type UtxoCredential = {
3253
3343
  /**
3254
- * Signature provided to consume the output
3344
+ * Signature provided to consume the output.
3255
3345
  */
3256
3346
  signature?: string;
3257
3347
  /**
3258
- * Public key associated with the signature
3348
+ * Public key associated with the signature.
3259
3349
  */
3260
3350
  publicKey?: string;
3261
3351
  };
@@ -3277,66 +3367,66 @@ type EVMInput = {
3277
3367
 
3278
3368
  type Utxo = {
3279
3369
  /**
3280
- * UTXO ID for this output.
3370
+ * Addresses that are eligible to sign the consumption of this output.
3281
3371
  */
3282
- utxoId: string;
3372
+ addresses: Array<string>;
3283
3373
  asset: Asset;
3284
3374
  /**
3285
- * Type of output.
3375
+ * Blockchain ID on which this output is consumed on.
3286
3376
  */
3287
- utxoType: string;
3377
+ consumedOnChainId: string;
3288
3378
  /**
3289
- * Blockchain ID on which this output is created on.
3379
+ * Transaction ID that consumed this output.
3290
3380
  */
3291
- createdOnChainId: string;
3381
+ consumingTxHash?: string;
3292
3382
  /**
3293
- * Blockchain ID on which this output is consumed on.
3383
+ * Blockchain ID on which this output is created on.
3294
3384
  */
3295
- consumedOnChainId: string;
3385
+ createdOnChainId: string;
3296
3386
  /**
3297
- * Transaction ID that created this output.
3387
+ * UTXO ID for this output.
3298
3388
  */
3299
- creationTxHash: string;
3389
+ utxoId: string;
3300
3390
  /**
3301
- * Transaction ID that consumed this output.
3391
+ * Unix timestamp in seconds at which this output was consumed.
3302
3392
  */
3303
- consumingTxHash?: string;
3393
+ consumingTxTimestamp?: number;
3304
3394
  /**
3305
- * Timestamp in seconds this output is consumed.
3395
+ * Transaction ID that created this output.
3306
3396
  */
3307
- consumingTxTimestamp?: number;
3397
+ creationTxHash: string;
3308
3398
  /**
3309
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3399
+ * Credentials that signed the transaction to consume this utxo
3310
3400
  */
3311
- outputIndex: string;
3401
+ credentials?: Array<UtxoCredential>;
3312
3402
  /**
3313
- * Timestamp in seconds this outptut is created on.
3403
+ * Index representing the minting set for the NFT mint output.
3314
3404
  */
3315
- timestamp: number;
3405
+ groupId?: number;
3316
3406
  /**
3317
3407
  * Locktime in seconds after which this output can be consumed.
3318
3408
  */
3319
3409
  locktime: number;
3320
3410
  /**
3321
- * Minimum number of signatures required to consume this output.
3411
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3322
3412
  */
3323
- threshold: number;
3413
+ outputIndex: string;
3324
3414
  /**
3325
- * Addresses that are eligible to sign the consumption of this output.
3415
+ * Hex encoded data for NFT assets.
3326
3416
  */
3327
- addresses: Array<string>;
3417
+ payload?: string;
3328
3418
  /**
3329
- * Hex encoded data for NFT assets
3419
+ * Minimum number of signatures required to consume this output.
3330
3420
  */
3331
- payload?: string;
3421
+ threshold: number;
3332
3422
  /**
3333
- * Index representing the minting set for the NFT mint output
3423
+ * Unix timestamp in seconds at which this outptut was created.
3334
3424
  */
3335
- groupId?: number;
3425
+ timestamp: number;
3336
3426
  /**
3337
- * Credentials that signed the transaction to consume this utxo
3427
+ * Type of output.
3338
3428
  */
3339
- credentials?: Array<UtxoCredential>;
3429
+ utxoType: string;
3340
3430
  };
3341
3431
 
3342
3432
  type CChainExportTransaction = {
@@ -3467,17 +3557,18 @@ type ListCChainAtomicTransactionsResponse = {
3467
3557
 
3468
3558
  declare enum PChainTransactionType {
3469
3559
  ADD_VALIDATOR_TX = "AddValidatorTx",
3470
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3471
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3472
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3473
3560
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3474
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3475
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3561
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3476
3562
  CREATE_CHAIN_TX = "CreateChainTx",
3477
3563
  CREATE_SUBNET_TX = "CreateSubnetTx",
3478
3564
  IMPORT_TX = "ImportTx",
3479
3565
  EXPORT_TX = "ExportTx",
3480
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",
3481
3572
  UNKNOWN = "UNKNOWN"
3482
3573
  }
3483
3574
 
@@ -3488,29 +3579,48 @@ declare enum UtxoType {
3488
3579
 
3489
3580
  type PChainUtxo = {
3490
3581
  /**
3491
- * An array of P-Chain wallet addresses.
3582
+ * Addresses that are eligible to sign the consumption of this output.
3492
3583
  */
3493
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
+ */
3494
3601
  utxoId: string;
3495
- txHash: string;
3496
- outputIndex: number;
3602
+ /**
3603
+ * @deprecated
3604
+ */
3605
+ amount: string;
3606
+ /**
3607
+ * @deprecated
3608
+ */
3609
+ assetId: string;
3497
3610
  blockNumber: string;
3498
3611
  blockTimestamp: number;
3499
- consumingTxHash?: string;
3500
- consumingBlockTimestamp?: number;
3501
3612
  consumingBlockNumber?: string;
3502
- assetId: string;
3503
- utxoType: UtxoType;
3504
- amount: string;
3505
- stakeableLocktime?: number;
3613
+ consumingBlockTimestamp?: number;
3506
3614
  platformLocktime?: number;
3507
- threshold?: number;
3508
- createdOnChainId: string;
3509
- consumedOnChainId: string;
3615
+ outputIndex: number;
3616
+ rewardType?: RewardType;
3617
+ stakeableLocktime?: number;
3510
3618
  staked?: boolean;
3511
- utxoStartTimestamp?: number;
3619
+ threshold?: number;
3620
+ txHash: string;
3512
3621
  utxoEndTimestamp?: number;
3513
- rewardType?: RewardType;
3622
+ utxoStartTimestamp?: number;
3623
+ utxoType: UtxoType;
3514
3624
  };
3515
3625
 
3516
3626
  type PChainTransaction = {
@@ -3538,15 +3648,15 @@ type PChainTransaction = {
3538
3648
  /**
3539
3649
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3540
3650
  */
3541
- value: Array<PChainAsset>;
3651
+ value: Array<Asset>;
3542
3652
  /**
3543
3653
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3544
3654
  */
3545
- amountBurned: Array<PChainAsset>;
3655
+ amountBurned: Array<Asset>;
3546
3656
  /**
3547
3657
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3548
3658
  */
3549
- amountStaked: Array<PChainAsset>;
3659
+ amountStaked: Array<Asset>;
3550
3660
  /**
3551
3661
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3552
3662
  */
@@ -3749,17 +3859,18 @@ declare enum PChainId {
3749
3859
 
3750
3860
  declare enum PrimaryNetworkTxType {
3751
3861
  ADD_VALIDATOR_TX = "AddValidatorTx",
3752
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3753
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3754
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3755
3862
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3756
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3757
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3863
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3758
3864
  CREATE_CHAIN_TX = "CreateChainTx",
3759
3865
  CREATE_SUBNET_TX = "CreateSubnetTx",
3760
3866
  IMPORT_TX = "ImportTx",
3761
3867
  EXPORT_TX = "ExportTx",
3762
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",
3763
3874
  UNKNOWN = "UNKNOWN",
3764
3875
  BASE_TX = "BaseTx",
3765
3876
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3793,13 +3904,13 @@ declare class PrimaryNetworkTransactionsService {
3793
3904
  * List latest transactions
3794
3905
  * Lists the latest transactions on one of the Primary Network chains.
3795
3906
  *
3796
- * 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.
3797
3908
  *
3798
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.
3799
3910
  * @returns any
3800
3911
  * @throws ApiError
3801
3912
  */
3802
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3913
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3803
3914
  /**
3804
3915
  * A primary network blockchain id or alias.
3805
3916
  */
@@ -3824,14 +3935,14 @@ declare class PrimaryNetworkTransactionsService {
3824
3935
  * Query param for retrieving items before a specific timestamp.
3825
3936
  */
3826
3937
  endTimestamp?: number;
3827
- /**
3828
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3829
- */
3830
- pageSize?: number;
3831
3938
  /**
3832
3939
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3833
3940
  */
3834
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;
3835
3946
  /**
3836
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.
3837
3948
  */
@@ -3843,7 +3954,7 @@ declare class PrimaryNetworkTransactionsService {
3843
3954
  * @returns ListPChainTransactionsResponse
3844
3955
  * @throws ApiError
3845
3956
  */
3846
- listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3957
+ listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3847
3958
  /**
3848
3959
  * A primary network blockchain id or alias.
3849
3960
  */
@@ -3868,14 +3979,14 @@ declare class PrimaryNetworkTransactionsService {
3868
3979
  * Query param for retrieving items before a specific timestamp.
3869
3980
  */
3870
3981
  endTimestamp?: number;
3871
- /**
3872
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3873
- */
3874
- pageSize?: number;
3875
3982
  /**
3876
3983
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3877
3984
  */
3878
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;
3879
3990
  /**
3880
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.
3881
3992
  */
@@ -3887,7 +3998,7 @@ declare class PrimaryNetworkTransactionsService {
3887
3998
  * @returns ListXChainTransactionsResponse
3888
3999
  * @throws ApiError
3889
4000
  */
3890
- listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
4001
+ listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3891
4002
  /**
3892
4003
  * A primary network blockchain id or alias.
3893
4004
  */
@@ -3912,14 +4023,14 @@ declare class PrimaryNetworkTransactionsService {
3912
4023
  * Query param for retrieving items before a specific timestamp.
3913
4024
  */
3914
4025
  endTimestamp?: number;
3915
- /**
3916
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3917
- */
3918
- pageSize?: number;
3919
4026
  /**
3920
4027
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3921
4028
  */
3922
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;
3923
4034
  }): CancelablePromise<ListXChainTransactionsResponse>;
3924
4035
  }
3925
4036
 
@@ -3950,7 +4061,7 @@ declare class PrimaryNetworkUtxOsService {
3950
4061
  * @returns any
3951
4062
  * @throws ApiError
3952
4063
  */
3953
- getUtxosByAddresses({ blockchainId, network, addresses, pageSize, pageToken, assetId, includeSpent, sortOrder, }: {
4064
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
3954
4065
  /**
3955
4066
  * A primary network blockchain id or alias.
3956
4067
  */
@@ -3963,14 +4074,14 @@ declare class PrimaryNetworkUtxOsService {
3963
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".
3964
4075
  */
3965
4076
  addresses?: string;
3966
- /**
3967
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3968
- */
3969
- pageSize?: number;
3970
4077
  /**
3971
4078
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3972
4079
  */
3973
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;
3974
4085
  /**
3975
4086
  * Asset ID for any asset (only applicable X-Chain)
3976
4087
  */
@@ -4015,7 +4126,7 @@ declare class PrimaryNetworkVerticesService {
4015
4126
  * @returns ListXChainVerticesResponse
4016
4127
  * @throws ApiError
4017
4128
  */
4018
- listLatestXChainVertices({ blockchainId, network, pageSize, pageToken, }: {
4129
+ listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
4019
4130
  /**
4020
4131
  * A primary network blockchain id or alias.
4021
4132
  */
@@ -4024,14 +4135,14 @@ declare class PrimaryNetworkVerticesService {
4024
4135
  * Either mainnet or a testnet.
4025
4136
  */
4026
4137
  network: Network;
4027
- /**
4028
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4029
- */
4030
- pageSize?: number;
4031
4138
  /**
4032
4139
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4033
4140
  */
4034
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;
4035
4146
  }): CancelablePromise<ListXChainVerticesResponse>;
4036
4147
  /**
4037
4148
  * Get vertex
@@ -4059,7 +4170,7 @@ declare class PrimaryNetworkVerticesService {
4059
4170
  * @returns ListXChainVerticesResponse
4060
4171
  * @throws ApiError
4061
4172
  */
4062
- getVertexByHeight({ vertexHeight, blockchainId, network, pageSize, pageToken, sortOrder, }: {
4173
+ getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
4063
4174
  /**
4064
4175
  * The height of a vertex.
4065
4176
  */
@@ -4072,14 +4183,14 @@ declare class PrimaryNetworkVerticesService {
4072
4183
  * Either mainnet or a testnet.
4073
4184
  */
4074
4185
  network: Network;
4075
- /**
4076
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4077
- */
4078
- pageSize?: number;
4079
4186
  /**
4080
4187
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4081
4188
  */
4082
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;
4083
4194
  /**
4084
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.
4085
4196
  */
@@ -4126,4 +4237,4 @@ declare class ApiError extends Error {
4126
4237
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4127
4238
  }
4128
4239
 
4129
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, EVMInput, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainAsset, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
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 };