@avalabs/glacier-sdk 2.8.0-canary.2de3663.0 → 2.8.0-canary.3761e06.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 (93) hide show
  1. package/dist/index.d.ts +812 -172
  2. package/dist/index.js +280 -38
  3. package/esm/generated/Glacier.d.ts +4 -0
  4. package/esm/generated/Glacier.js +6 -0
  5. package/esm/generated/models/ActiveDelegatorDetails.d.ts +1 -0
  6. package/esm/generated/models/ActiveValidatorDetails.d.ts +8 -4
  7. package/esm/generated/models/AddressActivityMetadata.d.ts +12 -0
  8. package/esm/generated/models/AssetWithPriceInfo.d.ts +34 -0
  9. package/esm/generated/models/ChainInfo.d.ts +1 -0
  10. package/esm/generated/models/CompletedDelegatorDetails.d.ts +1 -0
  11. package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -1
  12. package/esm/generated/models/ContractSubmissionBody.d.ts +10 -0
  13. package/esm/generated/models/ContractSubmissionErc1155.d.ts +31 -0
  14. package/esm/generated/models/ContractSubmissionErc1155.js +8 -0
  15. package/esm/generated/models/ContractSubmissionErc20.d.ts +31 -0
  16. package/esm/generated/models/ContractSubmissionErc20.js +8 -0
  17. package/esm/generated/models/ContractSubmissionErc721.d.ts +29 -0
  18. package/esm/generated/models/ContractSubmissionErc721.js +8 -0
  19. package/esm/generated/models/ContractSubmissionUnknown.d.ts +25 -0
  20. package/esm/generated/models/ContractSubmissionUnknown.js +8 -0
  21. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +24 -0
  22. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.js +8 -0
  23. package/esm/generated/models/DeliveredTeleporterMessage.d.ts +26 -0
  24. package/esm/generated/models/DeliveredTeleporterMessage.js +8 -0
  25. package/esm/generated/models/EventType.d.ts +5 -0
  26. package/esm/generated/models/EventType.js +6 -0
  27. package/esm/generated/models/GetChainResponse.d.ts +1 -0
  28. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -0
  29. package/esm/generated/models/HistoricalReward.d.ts +2 -5
  30. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  31. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +3 -2
  32. package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
  33. package/esm/generated/models/NextPageToken.d.ts +8 -0
  34. package/esm/generated/models/PChainBalance.d.ts +7 -7
  35. package/esm/generated/models/PChainSharedAsset.d.ts +22 -0
  36. package/esm/generated/models/PChainTransaction.d.ts +5 -4
  37. package/esm/generated/models/PChainTransactionType.d.ts +6 -4
  38. package/esm/generated/models/PChainTransactionType.js +6 -4
  39. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  40. package/esm/generated/models/PendingDelegatorDetails.d.ts +1 -0
  41. package/esm/generated/models/PendingReward.d.ts +2 -2
  42. package/esm/generated/models/PendingTeleporterMessage.d.ts +24 -0
  43. package/esm/generated/models/PendingTeleporterMessage.js +8 -0
  44. package/esm/generated/models/PendingValidatorDetails.d.ts +3 -1
  45. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -0
  46. package/esm/generated/models/PrimaryNetworkTxType.d.ts +6 -4
  47. package/esm/generated/models/PrimaryNetworkTxType.js +6 -4
  48. package/esm/generated/models/RegisterWebhookRequest.d.ts +14 -0
  49. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  50. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  51. package/esm/generated/models/RewardType.d.ts +2 -1
  52. package/esm/generated/models/RewardType.js +1 -0
  53. package/esm/generated/models/Rewards.d.ts +2 -0
  54. package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
  55. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +9 -0
  56. package/esm/generated/models/TeleporterRewardDetails.d.ts +37 -0
  57. package/esm/generated/models/TeleporterRewardDetails.js +8 -0
  58. package/esm/generated/models/TeleporterSourceTransaction.d.ts +7 -0
  59. package/esm/generated/models/UpdateContractResponse.d.ts +10 -0
  60. package/esm/generated/models/Utxo.d.ts +28 -28
  61. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  62. package/esm/generated/models/ValidationStatusType.d.ts +2 -1
  63. package/esm/generated/models/ValidationStatusType.js +1 -0
  64. package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
  65. package/esm/generated/models/WebhookResponse.d.ts +15 -0
  66. package/esm/generated/models/WebhookStatus.d.ts +6 -0
  67. package/esm/generated/models/WebhookStatus.js +7 -0
  68. package/esm/generated/models/WebhookStatusType.d.ts +6 -0
  69. package/esm/generated/models/WebhookStatusType.js +7 -0
  70. package/esm/generated/models/XChainLinearTransaction.d.ts +2 -1
  71. package/esm/generated/models/XChainNonLinearTransaction.d.ts +2 -1
  72. package/esm/generated/models/XChainTransactionType.d.ts +10 -0
  73. package/esm/generated/models/XChainTransactionType.js +11 -0
  74. package/esm/generated/services/DefaultService.d.ts +67 -0
  75. package/esm/generated/services/DefaultService.js +55 -0
  76. package/esm/generated/services/EvmContractsService.d.ts +19 -0
  77. package/esm/generated/services/EvmContractsService.js +16 -0
  78. package/esm/generated/services/EvmTransactionsService.d.ts +42 -20
  79. package/esm/generated/services/EvmTransactionsService.js +1 -14
  80. package/esm/generated/services/NfTsService.d.ts +25 -0
  81. package/esm/generated/services/NfTsService.js +19 -0
  82. package/esm/generated/services/OperationsService.d.ts +11 -11
  83. package/esm/generated/services/OperationsService.js +10 -10
  84. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +17 -4
  85. package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -2
  86. package/esm/generated/services/PrimaryNetworkService.d.ts +31 -7
  87. package/esm/generated/services/PrimaryNetworkService.js +16 -4
  88. package/esm/generated/services/TeleporterService.d.ts +65 -0
  89. package/esm/generated/services/TeleporterService.js +43 -0
  90. package/esm/index.d.ts +28 -1
  91. package/esm/index.js +15 -0
  92. package/package.json +2 -2
  93. package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -60,6 +60,121 @@ 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
+ };
92
+
93
+ type ListWebhooksResponse = {
94
+ /**
95
+ * 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.
96
+ */
97
+ nextPageToken?: string;
98
+ webhooks: Array<WebhookResponse>;
99
+ };
100
+
101
+ type RegisterWebhookRequest = {
102
+ url: string;
103
+ chainId: string;
104
+ /**
105
+ * The type of event for the webhook
106
+ */
107
+ eventType: EventType;
108
+ metadata: AddressActivityMetadata;
109
+ };
110
+
111
+ type SharedSecretsResponse = {
112
+ secret: string;
113
+ };
114
+
115
+ declare enum WebhookStatus {
116
+ ACTIVE = "active",
117
+ INACTIVE = "inactive"
118
+ }
119
+
120
+ declare class DefaultService {
121
+ readonly httpRequest: BaseHttpRequest;
122
+ constructor(httpRequest: BaseHttpRequest);
123
+ /**
124
+ * @returns any
125
+ * @throws ApiError
126
+ */
127
+ mediaControllerUploadImage(): CancelablePromise<any>;
128
+ /**
129
+ * Register a webhook
130
+ * Registers a new webhook.
131
+ * @returns WebhookResponse
132
+ * @throws ApiError
133
+ */
134
+ registerWebhook({ requestBody, }: {
135
+ requestBody: RegisterWebhookRequest;
136
+ }): CancelablePromise<WebhookResponse>;
137
+ /**
138
+ * List webhooks
139
+ * Lists webhooks for the user.
140
+ * @returns ListWebhooksResponse
141
+ * @throws ApiError
142
+ */
143
+ listWebhooks({ pageSize, pageToken, status, }: {
144
+ /**
145
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
146
+ */
147
+ pageSize?: number;
148
+ /**
149
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
150
+ */
151
+ pageToken?: string;
152
+ /**
153
+ * 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.
154
+ */
155
+ status?: WebhookStatus;
156
+ }): CancelablePromise<ListWebhooksResponse>;
157
+ /**
158
+ * Deactivate a webhook
159
+ * Deactivates a webhook by ID.
160
+ * @returns WebhookResponse
161
+ * @throws ApiError
162
+ */
163
+ deactivateWebhook({ id, }: {
164
+ /**
165
+ * The webhook identifier.
166
+ */
167
+ id: string;
168
+ }): CancelablePromise<WebhookResponse>;
169
+ /**
170
+ * Generate a shared secret
171
+ * Generates a new shared secret.
172
+ * @returns SharedSecretsResponse
173
+ * @throws ApiError
174
+ */
175
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
176
+ }
177
+
63
178
  declare enum CurrencyCode {
64
179
  USD = "usd",
65
180
  EUR = "eur",
@@ -680,6 +795,7 @@ type GetChainResponse = {
680
795
  utilityAddresses?: UtilityAddresses;
681
796
  networkToken: NetworkToken;
682
797
  chainLogoUri?: string;
798
+ private?: boolean;
683
799
  };
684
800
 
685
801
  type ChainInfo = {
@@ -701,6 +817,7 @@ type ChainInfo = {
701
817
  utilityAddresses?: UtilityAddresses;
702
818
  networkToken: NetworkToken;
703
819
  chainLogoUri?: string;
820
+ private?: boolean;
704
821
  };
705
822
 
706
823
  type ListChainsResponse = {
@@ -741,18 +858,6 @@ declare class EvmChainsService {
741
858
  }): CancelablePromise<GetChainResponse>;
742
859
  }
743
860
 
744
- type ContractDeploymentDetails = {
745
- txHash: string;
746
- /**
747
- * The address that initiated the transaction which deployed this contract.
748
- */
749
- deployerAddress: string;
750
- /**
751
- * The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution.
752
- */
753
- deployerContractAddress?: string;
754
- };
755
-
756
861
  type ImageAsset = {
757
862
  assetId?: string;
758
863
  /**
@@ -791,6 +896,120 @@ type ResourceLink = {
791
896
  url: string;
792
897
  };
793
898
 
899
+ type ContractSubmissionErc1155 = {
900
+ description?: string;
901
+ officialSite?: string;
902
+ email?: string;
903
+ logoAsset?: ImageAsset;
904
+ bannerAsset?: ImageAsset;
905
+ color?: string;
906
+ resourceLinks?: Array<ResourceLink>;
907
+ tags?: Array<string>;
908
+ /**
909
+ * The contract name.
910
+ */
911
+ name: string;
912
+ ercType: ContractSubmissionErc1155.ercType;
913
+ /**
914
+ * The contract symbol.
915
+ */
916
+ symbol: string;
917
+ pricingProviders?: PricingProviders;
918
+ };
919
+ declare namespace ContractSubmissionErc1155 {
920
+ enum ercType {
921
+ ERC_1155 = "ERC-1155"
922
+ }
923
+ }
924
+
925
+ type ContractSubmissionErc20 = {
926
+ description?: string;
927
+ officialSite?: string;
928
+ email?: string;
929
+ logoAsset?: ImageAsset;
930
+ bannerAsset?: ImageAsset;
931
+ color?: string;
932
+ resourceLinks?: Array<ResourceLink>;
933
+ tags?: Array<string>;
934
+ /**
935
+ * The contract name.
936
+ */
937
+ name: string;
938
+ ercType: ContractSubmissionErc20.ercType;
939
+ /**
940
+ * The contract symbol.
941
+ */
942
+ symbol: string;
943
+ pricingProviders?: PricingProviders;
944
+ };
945
+ declare namespace ContractSubmissionErc20 {
946
+ enum ercType {
947
+ ERC_20 = "ERC-20"
948
+ }
949
+ }
950
+
951
+ type ContractSubmissionErc721 = {
952
+ description?: string;
953
+ officialSite?: string;
954
+ email?: string;
955
+ logoAsset?: ImageAsset;
956
+ bannerAsset?: ImageAsset;
957
+ color?: string;
958
+ resourceLinks?: Array<ResourceLink>;
959
+ tags?: Array<string>;
960
+ /**
961
+ * The contract name.
962
+ */
963
+ name: string;
964
+ ercType: ContractSubmissionErc721.ercType;
965
+ /**
966
+ * The contract symbol.
967
+ */
968
+ symbol: string;
969
+ };
970
+ declare namespace ContractSubmissionErc721 {
971
+ enum ercType {
972
+ ERC_721 = "ERC-721"
973
+ }
974
+ }
975
+
976
+ type ContractSubmissionUnknown = {
977
+ description?: string;
978
+ officialSite?: string;
979
+ email?: string;
980
+ logoAsset?: ImageAsset;
981
+ bannerAsset?: ImageAsset;
982
+ color?: string;
983
+ resourceLinks?: Array<ResourceLink>;
984
+ tags?: Array<string>;
985
+ /**
986
+ * The contract name.
987
+ */
988
+ name: string;
989
+ ercType: ContractSubmissionUnknown.ercType;
990
+ };
991
+ declare namespace ContractSubmissionUnknown {
992
+ enum ercType {
993
+ UNKNOWN = "UNKNOWN"
994
+ }
995
+ }
996
+
997
+ type ContractSubmissionBody = {
998
+ contract: (ContractSubmissionErc1155 | ContractSubmissionErc20 | ContractSubmissionErc721 | ContractSubmissionUnknown);
999
+ };
1000
+
1001
+ type ContractDeploymentDetails = {
1002
+ txHash: string;
1003
+ /**
1004
+ * The address that initiated the transaction which deployed this contract.
1005
+ */
1006
+ deployerAddress: string;
1007
+ /**
1008
+ * The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution.
1009
+ */
1010
+ deployerContractAddress?: string;
1011
+ };
1012
+
794
1013
  type Erc1155Contract = {
795
1014
  /**
796
1015
  * The contract name.
@@ -913,6 +1132,10 @@ declare namespace UnknownContract {
913
1132
  }
914
1133
  }
915
1134
 
1135
+ type UpdateContractResponse = {
1136
+ contract: (UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract);
1137
+ };
1138
+
916
1139
  declare class EvmContractsService {
917
1140
  readonly httpRequest: BaseHttpRequest;
918
1141
  constructor(httpRequest: BaseHttpRequest);
@@ -932,6 +1155,23 @@ declare class EvmContractsService {
932
1155
  */
933
1156
  address: string;
934
1157
  }): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1158
+ /**
1159
+ * Update contract information
1160
+ * Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
1161
+ * @returns UpdateContractResponse
1162
+ * @throws ApiError
1163
+ */
1164
+ updateContractInfo({ chainId, address, requestBody, }: {
1165
+ /**
1166
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1167
+ */
1168
+ chainId: string;
1169
+ /**
1170
+ * Contract address on the relevant chain.
1171
+ */
1172
+ address: string;
1173
+ requestBody: ContractSubmissionBody;
1174
+ }): CancelablePromise<UpdateContractResponse>;
935
1175
  }
936
1176
 
937
1177
  type Erc1155Token = {
@@ -1487,22 +1727,6 @@ declare class EvmTransactionsService {
1487
1727
  */
1488
1728
  pageToken?: string;
1489
1729
  }): CancelablePromise<ListContractsResponse>;
1490
- /**
1491
- * Get contract metadata
1492
- * Gets metadata about the contract at the given address.
1493
- * @returns any
1494
- * @throws ApiError
1495
- */
1496
- getContractMetadata({ chainId, address, }: {
1497
- /**
1498
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1499
- */
1500
- chainId: string;
1501
- /**
1502
- * Contract address on the relevant chain.
1503
- */
1504
- address: string;
1505
- }): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1506
1730
  /**
1507
1731
  * List ERC transfers
1508
1732
  * Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address.
@@ -1518,7 +1742,13 @@ declare class EvmTransactionsService {
1518
1742
  * A wallet address.
1519
1743
  */
1520
1744
  address: string;
1745
+ /**
1746
+ * 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.
1747
+ */
1521
1748
  startBlock?: number;
1749
+ /**
1750
+ * 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.
1751
+ */
1522
1752
  endBlock?: number;
1523
1753
  /**
1524
1754
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1554,7 +1784,13 @@ declare class EvmTransactionsService {
1554
1784
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1555
1785
  */
1556
1786
  pageToken?: string;
1787
+ /**
1788
+ * 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.
1789
+ */
1557
1790
  startBlock?: number;
1791
+ /**
1792
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1793
+ */
1558
1794
  endBlock?: number;
1559
1795
  /**
1560
1796
  * 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.
@@ -1576,7 +1812,13 @@ declare class EvmTransactionsService {
1576
1812
  * A wallet address.
1577
1813
  */
1578
1814
  address: string;
1815
+ /**
1816
+ * 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.
1817
+ */
1579
1818
  startBlock?: number;
1819
+ /**
1820
+ * 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.
1821
+ */
1580
1822
  endBlock?: number;
1581
1823
  /**
1582
1824
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1602,7 +1844,13 @@ declare class EvmTransactionsService {
1602
1844
  * A wallet address.
1603
1845
  */
1604
1846
  address: string;
1847
+ /**
1848
+ * 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.
1849
+ */
1605
1850
  startBlock?: number;
1851
+ /**
1852
+ * 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.
1853
+ */
1606
1854
  endBlock?: number;
1607
1855
  /**
1608
1856
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1628,7 +1876,13 @@ declare class EvmTransactionsService {
1628
1876
  * A wallet address.
1629
1877
  */
1630
1878
  address: string;
1879
+ /**
1880
+ * 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.
1881
+ */
1631
1882
  startBlock?: number;
1883
+ /**
1884
+ * 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.
1885
+ */
1632
1886
  endBlock?: number;
1633
1887
  /**
1634
1888
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1654,7 +1908,13 @@ declare class EvmTransactionsService {
1654
1908
  * A wallet address.
1655
1909
  */
1656
1910
  address: string;
1911
+ /**
1912
+ * 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.
1913
+ */
1657
1914
  startBlock?: number;
1915
+ /**
1916
+ * 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.
1917
+ */
1658
1918
  endBlock?: number;
1659
1919
  /**
1660
1920
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1682,7 +1942,13 @@ declare class EvmTransactionsService {
1682
1942
  * A wallet address.
1683
1943
  */
1684
1944
  address: string;
1945
+ /**
1946
+ * 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.
1947
+ */
1685
1948
  startBlock?: number;
1949
+ /**
1950
+ * 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.
1951
+ */
1686
1952
  endBlock?: number;
1687
1953
  /**
1688
1954
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1767,6 +2033,14 @@ declare class HealthCheckService {
1767
2033
  }>;
1768
2034
  }
1769
2035
 
2036
+ type ListNftTokens = {
2037
+ /**
2038
+ * 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.
2039
+ */
2040
+ nextPageToken?: string;
2041
+ tokens: (Array<Erc721Token> | Array<Erc1155Token>);
2042
+ };
2043
+
1770
2044
  declare class NfTsService {
1771
2045
  readonly httpRequest: BaseHttpRequest;
1772
2046
  constructor(httpRequest: BaseHttpRequest);
@@ -1791,12 +2065,12 @@ declare class NfTsService {
1791
2065
  tokenId: string;
1792
2066
  }): CancelablePromise<any>;
1793
2067
  /**
1794
- * Get token details
1795
- * Gets token details for a specific token of an NFT contract.
1796
- * @returns any
2068
+ * List tokens
2069
+ * Lists tokens for an NFT contract.
2070
+ * @returns ListNftTokens
1797
2071
  * @throws ApiError
1798
2072
  */
1799
- getTokenDetails({ chainId, address, tokenId, }: {
2073
+ listTokens({ chainId, address, pageSize, pageToken, }: {
1800
2074
  /**
1801
2075
  * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1802
2076
  */
@@ -1806,18 +2080,42 @@ declare class NfTsService {
1806
2080
  */
1807
2081
  address: string;
1808
2082
  /**
1809
- * TokenId on the contract
2083
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1810
2084
  */
1811
- tokenId: string;
1812
- }): CancelablePromise<(Erc721Token | Erc1155Token)>;
1813
- }
1814
-
1815
- type EvmNetworkOptions = {
1816
- addresses: Array<string>;
1817
- includeChains: Array<string>;
1818
- };
1819
-
1820
- type CreateEvmTransactionExportRequest = {
2085
+ pageSize?: number;
2086
+ /**
2087
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2088
+ */
2089
+ pageToken?: string;
2090
+ }): CancelablePromise<ListNftTokens>;
2091
+ /**
2092
+ * Get token details
2093
+ * Gets token details for a specific token of an NFT contract.
2094
+ * @returns any
2095
+ * @throws ApiError
2096
+ */
2097
+ getTokenDetails({ chainId, address, tokenId, }: {
2098
+ /**
2099
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2100
+ */
2101
+ chainId: string;
2102
+ /**
2103
+ * Contract address on the relevant chain.
2104
+ */
2105
+ address: string;
2106
+ /**
2107
+ * TokenId on the contract
2108
+ */
2109
+ tokenId: string;
2110
+ }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2111
+ }
2112
+
2113
+ type EvmNetworkOptions = {
2114
+ addresses: Array<string>;
2115
+ includeChains: Array<string>;
2116
+ };
2117
+
2118
+ type CreateEvmTransactionExportRequest = {
1821
2119
  type: CreateEvmTransactionExportRequest.type;
1822
2120
  firstDate: string;
1823
2121
  lastDate: string;
@@ -1906,17 +2204,6 @@ type OperationStatusResponse = {
1906
2204
  declare class OperationsService {
1907
2205
  readonly httpRequest: BaseHttpRequest;
1908
2206
  constructor(httpRequest: BaseHttpRequest);
1909
- /**
1910
- * Create transaction export operation
1911
- * Trigger a transaction export operation with given parameters.
1912
- *
1913
- * 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.
1914
- * @returns OperationStatusResponse
1915
- * @throws ApiError
1916
- */
1917
- postTransactionExportJob({ requestBody, }: {
1918
- requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
1919
- }): CancelablePromise<OperationStatusResponse>;
1920
2207
  /**
1921
2208
  * Get operation
1922
2209
  * Gets operation details for the given operation id.
@@ -1929,6 +2216,17 @@ declare class OperationsService {
1929
2216
  */
1930
2217
  operationId: string;
1931
2218
  }): CancelablePromise<OperationStatusResponse>;
2219
+ /**
2220
+ * Create transaction export operation
2221
+ * Trigger a transaction export operation with given parameters.
2222
+ *
2223
+ * 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.
2224
+ * @returns OperationStatusResponse
2225
+ * @throws ApiError
2226
+ */
2227
+ postTransactionExportJob({ requestBody, }: {
2228
+ requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2229
+ }): CancelablePromise<OperationStatusResponse>;
1932
2230
  }
1933
2231
 
1934
2232
  declare enum BlockchainIds {
@@ -1997,6 +2295,7 @@ type ListBlockchainsResponse = {
1997
2295
 
1998
2296
  type ActiveDelegatorDetails = {
1999
2297
  txHash: string;
2298
+ nodeId: string;
2000
2299
  rewardAddresses: Array<string>;
2001
2300
  amountDelegated: string;
2002
2301
  delegationFee: string;
@@ -2014,6 +2313,7 @@ declare namespace ActiveDelegatorDetails {
2014
2313
 
2015
2314
  type CompletedDelegatorDetails = {
2016
2315
  txHash: string;
2316
+ nodeId: string;
2017
2317
  rewardAddresses: Array<string>;
2018
2318
  amountDelegated: string;
2019
2319
  delegationFee: string;
@@ -2031,6 +2331,7 @@ declare namespace CompletedDelegatorDetails {
2031
2331
 
2032
2332
  type PendingDelegatorDetails = {
2033
2333
  txHash: string;
2334
+ nodeId: string;
2034
2335
  rewardAddresses: Array<string>;
2035
2336
  amountDelegated: string;
2036
2337
  delegationFee: string;
@@ -2082,22 +2383,46 @@ type ListSubnetsResponse = {
2082
2383
  type Rewards = {
2083
2384
  validationRewardAmount: string;
2084
2385
  delegationRewardAmount: string;
2386
+ rewardAddresses?: Array<string>;
2387
+ rewardTxHash?: string;
2388
+ };
2389
+
2390
+ type ValidatorHealthDetails = {
2391
+ /**
2392
+ * Percent of requests responded to in last polling.
2393
+ */
2394
+ reachabilityPercent: number;
2395
+ /**
2396
+ * Percent of requests benched on the P-Chain in last polling.
2397
+ */
2398
+ benchedPChainRequestsPercent: number;
2399
+ /**
2400
+ * Percentage of requests benched on the X-Chain in last polling.
2401
+ */
2402
+ benchedXChainRequestsPercent: number;
2403
+ /**
2404
+ * Percentage of requests benched on the C-Chain in last polling.
2405
+ */
2406
+ benchedCChainRequestsPercent: number;
2085
2407
  };
2086
2408
 
2087
2409
  type ActiveValidatorDetails = {
2410
+ txHash: string;
2088
2411
  nodeId: string;
2412
+ subnetId: string;
2089
2413
  amountStaked: string;
2090
- delegationFee: string;
2414
+ delegationFee?: string;
2091
2415
  startTimestamp: number;
2092
2416
  endTimestamp: number;
2093
2417
  stakePercentage: number;
2094
2418
  delegatorCount: number;
2095
- amountDelegated: string;
2419
+ amountDelegated?: string;
2096
2420
  uptimePerformance: number;
2097
- avalancheGoVersion: string;
2098
- delegationCapacity: string;
2421
+ avalancheGoVersion?: string;
2422
+ delegationCapacity?: string;
2099
2423
  potentialRewards: Rewards;
2100
2424
  validationStatus: ActiveValidatorDetails.validationStatus;
2425
+ validatorHealth: ValidatorHealthDetails;
2101
2426
  };
2102
2427
  declare namespace ActiveValidatorDetails {
2103
2428
  enum validationStatus {
@@ -2106,9 +2431,11 @@ declare namespace ActiveValidatorDetails {
2106
2431
  }
2107
2432
 
2108
2433
  type CompletedValidatorDetails = {
2434
+ txHash: string;
2109
2435
  nodeId: string;
2436
+ subnetId: string;
2110
2437
  amountStaked: string;
2111
- delegationFee: string;
2438
+ delegationFee?: string;
2112
2439
  startTimestamp: number;
2113
2440
  endTimestamp: number;
2114
2441
  delegatorCount: number;
@@ -2122,9 +2449,11 @@ declare namespace CompletedValidatorDetails {
2122
2449
  }
2123
2450
 
2124
2451
  type PendingValidatorDetails = {
2452
+ txHash: string;
2125
2453
  nodeId: string;
2454
+ subnetId: string;
2126
2455
  amountStaked: string;
2127
- delegationFee: string;
2456
+ delegationFee?: string;
2128
2457
  startTimestamp: number;
2129
2458
  endTimestamp: number;
2130
2459
  validationStatus: PendingValidatorDetails.validationStatus;
@@ -2135,15 +2464,33 @@ declare namespace PendingValidatorDetails {
2135
2464
  }
2136
2465
  }
2137
2466
 
2467
+ type RemovedValidatorDetails = {
2468
+ txHash: string;
2469
+ nodeId: string;
2470
+ subnetId: string;
2471
+ amountStaked: string;
2472
+ delegationFee?: string;
2473
+ startTimestamp: number;
2474
+ endTimestamp: number;
2475
+ removeTxHash: string;
2476
+ removeTimestamp: number;
2477
+ validationStatus: RemovedValidatorDetails.validationStatus;
2478
+ };
2479
+ declare namespace RemovedValidatorDetails {
2480
+ enum validationStatus {
2481
+ REMOVED = "removed"
2482
+ }
2483
+ }
2484
+
2138
2485
  type ListValidatorDetailsResponse = {
2139
2486
  /**
2140
2487
  * 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.
2141
2488
  */
2142
2489
  nextPageToken?: string;
2143
2490
  /**
2144
- * The list of Validator Details.
2491
+ * The list of validator Details.
2145
2492
  */
2146
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2493
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2147
2494
  };
2148
2495
 
2149
2496
  declare enum Network {
@@ -2154,7 +2501,8 @@ declare enum Network {
2154
2501
  declare enum ValidationStatusType {
2155
2502
  COMPLETED = "completed",
2156
2503
  ACTIVE = "active",
2157
- PENDING = "pending"
2504
+ PENDING = "pending",
2505
+ REMOVED = "removed"
2158
2506
  }
2159
2507
 
2160
2508
  type XChainAssetDetails = {
@@ -2299,7 +2647,7 @@ declare class PrimaryNetworkService {
2299
2647
  * @returns ListValidatorDetailsResponse
2300
2648
  * @throws ApiError
2301
2649
  */
2302
- listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, }: {
2650
+ listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2303
2651
  /**
2304
2652
  * Either mainnet or a testnet.
2305
2653
  */
@@ -2325,9 +2673,33 @@ declare class PrimaryNetworkService {
2325
2673
  */
2326
2674
  validationStatus?: ValidationStatusType;
2327
2675
  /**
2328
- * The minimum delegation capacity, used to filter the set of nodes being returned (Units - nAVAX). Default is 0.
2676
+ * 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
2329
2677
  */
2330
2678
  minDelegationCapacity?: any;
2679
+ /**
2680
+ * 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.
2681
+ */
2682
+ maxDelegationCapacity?: any;
2683
+ /**
2684
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2685
+ */
2686
+ minTimeRemaining?: any;
2687
+ /**
2688
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2689
+ */
2690
+ maxTimeRemaining?: any;
2691
+ /**
2692
+ * 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.
2693
+ */
2694
+ minFeePercentage?: any;
2695
+ /**
2696
+ * 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.
2697
+ */
2698
+ maxFeePercentage?: any;
2699
+ /**
2700
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
2701
+ */
2702
+ subnetId?: string;
2331
2703
  }): CancelablePromise<ListValidatorDetailsResponse>;
2332
2704
  /**
2333
2705
  * Get single validator details
@@ -2367,7 +2739,7 @@ declare class PrimaryNetworkService {
2367
2739
  * @returns ListDelegatorDetailsResponse
2368
2740
  * @throws ApiError
2369
2741
  */
2370
- listDelegators({ network, pageSize, pageToken, sortOrder, delegationStatus, rewardAddresses, nodeIds, }: {
2742
+ listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2371
2743
  /**
2372
2744
  * Either mainnet or a testnet.
2373
2745
  */
@@ -2380,6 +2752,10 @@ declare class PrimaryNetworkService {
2380
2752
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2381
2753
  */
2382
2754
  pageToken?: string;
2755
+ /**
2756
+ * A comma separated list of reward addresses to filter by.
2757
+ */
2758
+ rewardAddresses?: string;
2383
2759
  /**
2384
2760
  * 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.
2385
2761
  */
@@ -2388,10 +2764,6 @@ declare class PrimaryNetworkService {
2388
2764
  * Delegation status of the node.
2389
2765
  */
2390
2766
  delegationStatus?: DelegationStatusType;
2391
- /**
2392
- * A comma separated list of reward addresses to filter by.
2393
- */
2394
- rewardAddresses?: string;
2395
2767
  /**
2396
2768
  * A comma separated list of node ids to filter by.
2397
2769
  */
@@ -2465,13 +2837,57 @@ type ListCChainAtomicBalancesResponse = {
2465
2837
  chainInfo: PrimaryNetworkChainInfo;
2466
2838
  };
2467
2839
 
2468
- type PChainAsset = {
2840
+ type Asset = {
2841
+ /**
2842
+ * Unique ID for an asset.
2843
+ */
2469
2844
  assetId: string;
2845
+ /**
2846
+ * Name of this asset.
2847
+ */
2848
+ name: string;
2849
+ /**
2850
+ * Symbol for this asset (max 4 characters).
2851
+ */
2852
+ symbol: string;
2853
+ /**
2854
+ * Denomination of this asset to represent fungibility.
2855
+ */
2856
+ denomination: number;
2857
+ /**
2858
+ * Type of asset like SECP256K1 or NFT.
2859
+ */
2860
+ type: string;
2861
+ /**
2862
+ * Amount of the asset.
2863
+ */
2470
2864
  amount: string;
2471
2865
  };
2472
2866
 
2473
2867
  type PChainSharedAsset = {
2868
+ /**
2869
+ * Unique ID for an asset.
2870
+ */
2474
2871
  assetId: string;
2872
+ /**
2873
+ * Name of this asset.
2874
+ */
2875
+ name: string;
2876
+ /**
2877
+ * Symbol for this asset (max 4 characters).
2878
+ */
2879
+ symbol: string;
2880
+ /**
2881
+ * Denomination of this asset to represent fungibility.
2882
+ */
2883
+ denomination: number;
2884
+ /**
2885
+ * Type of asset like SECP256K1 or NFT.
2886
+ */
2887
+ type: string;
2888
+ /**
2889
+ * Amount of the asset.
2890
+ */
2475
2891
  amount: string;
2476
2892
  sharedWithChainId: string;
2477
2893
  status: string;
@@ -2481,27 +2897,27 @@ type PChainBalance = {
2481
2897
  /**
2482
2898
  * 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.
2483
2899
  */
2484
- unlockedUnstaked: Array<PChainAsset>;
2900
+ unlockedUnstaked: Array<Asset>;
2485
2901
  /**
2486
2902
  * 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.
2487
2903
  */
2488
- unlockedStaked: Array<PChainAsset>;
2904
+ unlockedStaked: Array<Asset>;
2489
2905
  /**
2490
2906
  * 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.
2491
2907
  */
2492
- lockedPlatform: Array<PChainAsset>;
2908
+ lockedPlatform: Array<Asset>;
2493
2909
  /**
2494
2910
  * 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.
2495
2911
  */
2496
- lockedStakeable: Array<PChainAsset>;
2912
+ lockedStakeable: Array<Asset>;
2497
2913
  /**
2498
2914
  * 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.
2499
2915
  */
2500
- lockedStaked: Array<PChainAsset>;
2916
+ lockedStaked: Array<Asset>;
2501
2917
  /**
2502
2918
  * 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.
2503
2919
  */
2504
- pendingStaked: Array<PChainAsset>;
2920
+ pendingStaked: Array<Asset>;
2505
2921
  /**
2506
2922
  * 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.
2507
2923
  */
@@ -2640,6 +3056,7 @@ type GetPrimaryNetworkBlockResponse = {
2640
3056
  txCount: number;
2641
3057
  transactions: Array<string>;
2642
3058
  blockSizeBytes: number;
3059
+ currentSupply?: string;
2643
3060
  proposerDetails?: ProposerDetails;
2644
3061
  };
2645
3062
 
@@ -2652,6 +3069,7 @@ type PrimaryNetworkBlock = {
2652
3069
  txCount: number;
2653
3070
  transactions: Array<string>;
2654
3071
  blockSizeBytes: number;
3072
+ currentSupply?: string;
2655
3073
  proposerDetails?: ProposerDetails;
2656
3074
  };
2657
3075
 
@@ -2741,9 +3159,41 @@ declare class PrimaryNetworkBlocksService {
2741
3159
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2742
3160
  }
2743
3161
 
3162
+ type AssetWithPriceInfo = {
3163
+ /**
3164
+ * Unique ID for an asset.
3165
+ */
3166
+ assetId: string;
3167
+ /**
3168
+ * Name of this asset.
3169
+ */
3170
+ name: string;
3171
+ /**
3172
+ * Symbol for this asset (max 4 characters).
3173
+ */
3174
+ symbol: string;
3175
+ /**
3176
+ * Denomination of this asset to represent fungibility.
3177
+ */
3178
+ denomination: number;
3179
+ /**
3180
+ * Type of asset like SECP256K1 or NFT.
3181
+ */
3182
+ type: string;
3183
+ /**
3184
+ * Amount of the asset.
3185
+ */
3186
+ amount: string;
3187
+ /**
3188
+ * 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.
3189
+ */
3190
+ historicalPrice?: Money;
3191
+ };
3192
+
2744
3193
  declare enum RewardType {
2745
3194
  VALIDATOR = "VALIDATOR",
2746
- DELEGATOR = "DELEGATOR"
3195
+ DELEGATOR = "DELEGATOR",
3196
+ VALIDATOR_FEE = "VALIDATOR_FEE"
2747
3197
  }
2748
3198
 
2749
3199
  type HistoricalReward = {
@@ -2759,10 +3209,7 @@ type HistoricalReward = {
2759
3209
  rewardType: RewardType;
2760
3210
  utxoId: string;
2761
3211
  outputIndex: number;
2762
- /**
2763
- * An object containing P-chain Asset ID and the amount of that Asset ID.
2764
- */
2765
- reward: PChainAsset;
3212
+ reward: AssetWithPriceInfo;
2766
3213
  rewardTxHash: string;
2767
3214
  };
2768
3215
 
@@ -2789,7 +3236,7 @@ type PendingReward = {
2789
3236
  /**
2790
3237
  * An object containing P-chain Asset ID and the amount of that Asset ID.
2791
3238
  */
2792
- estimatedReward: PChainAsset;
3239
+ estimatedReward: Asset;
2793
3240
  };
2794
3241
 
2795
3242
  type ListPendingRewardsResponse = {
@@ -2809,13 +3256,13 @@ declare class PrimaryNetworkRewardsService {
2809
3256
  * @returns ListPendingRewardsResponse
2810
3257
  * @throws ApiError
2811
3258
  */
2812
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3259
+ listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
2813
3260
  /**
2814
3261
  * Either mainnet or a testnet.
2815
3262
  */
2816
3263
  network: Network;
2817
3264
  /**
2818
- * 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".
3265
+ * 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.
2819
3266
  */
2820
3267
  addresses?: string;
2821
3268
  /**
@@ -2826,6 +3273,10 @@ declare class PrimaryNetworkRewardsService {
2826
3273
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2827
3274
  */
2828
3275
  pageToken?: string;
3276
+ /**
3277
+ * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3278
+ */
3279
+ nodeIds?: string;
2829
3280
  /**
2830
3281
  * 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.
2831
3282
  */
@@ -2837,13 +3288,13 @@ declare class PrimaryNetworkRewardsService {
2837
3288
  * @returns ListHistoricalRewardsResponse
2838
3289
  * @throws ApiError
2839
3290
  */
2840
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3291
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, currency, }: {
2841
3292
  /**
2842
3293
  * Either mainnet or a testnet.
2843
3294
  */
2844
3295
  network: Network;
2845
3296
  /**
2846
- * 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".
3297
+ * 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.
2847
3298
  */
2848
3299
  addresses?: string;
2849
3300
  /**
@@ -2854,47 +3305,28 @@ declare class PrimaryNetworkRewardsService {
2854
3305
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2855
3306
  */
2856
3307
  pageToken?: string;
3308
+ /**
3309
+ * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3310
+ */
3311
+ nodeIds?: string;
2857
3312
  /**
2858
3313
  * 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.
2859
3314
  */
2860
3315
  sortOrder?: SortOrder;
3316
+ /**
3317
+ * The currency that return values should use. Defaults to USD.
3318
+ */
3319
+ currency?: CurrencyCode;
2861
3320
  }): CancelablePromise<ListHistoricalRewardsResponse>;
2862
3321
  }
2863
3322
 
2864
- type Asset = {
2865
- /**
2866
- * Unique ID for an asset.
2867
- */
2868
- assetId: string;
2869
- /**
2870
- * Name of this asset.
2871
- */
2872
- name: string;
2873
- /**
2874
- * Symbol for this asset (max 4 characters).
2875
- */
2876
- symbol: string;
2877
- /**
2878
- * Denomination of this asset to represent fungibility.
2879
- */
2880
- denomination: number;
2881
- /**
2882
- * Type of asset like SECP256K1 or NFT.
2883
- */
2884
- type: string;
2885
- /**
2886
- * Amount of the asset.
2887
- */
2888
- amount: string;
2889
- };
2890
-
2891
3323
  type UtxoCredential = {
2892
3324
  /**
2893
- * Signature provided to consume the output
3325
+ * Signature provided to consume the output.
2894
3326
  */
2895
3327
  signature?: string;
2896
3328
  /**
2897
- * Public key associated with the signature
3329
+ * Public key associated with the signature.
2898
3330
  */
2899
3331
  publicKey?: string;
2900
3332
  };
@@ -2916,66 +3348,66 @@ type EVMInput = {
2916
3348
 
2917
3349
  type Utxo = {
2918
3350
  /**
2919
- * UTXO ID for this output.
3351
+ * Addresses that are eligible to sign the consumption of this output.
2920
3352
  */
2921
- utxoId: string;
3353
+ addresses: Array<string>;
2922
3354
  asset: Asset;
2923
3355
  /**
2924
- * Type of output.
3356
+ * Blockchain ID on which this output is consumed on.
2925
3357
  */
2926
- utxoType: string;
3358
+ consumedOnChainId: string;
3359
+ /**
3360
+ * Transaction ID that consumed this output.
3361
+ */
3362
+ consumingTxHash?: string;
2927
3363
  /**
2928
3364
  * Blockchain ID on which this output is created on.
2929
3365
  */
2930
3366
  createdOnChainId: string;
2931
3367
  /**
2932
- * Blockchain ID on which this output is consumed on.
3368
+ * UTXO ID for this output.
2933
3369
  */
2934
- consumedOnChainId: string;
3370
+ utxoId: string;
2935
3371
  /**
2936
- * Transaction ID that created this output.
3372
+ * Unix timestamp in seconds at which this output was consumed.
2937
3373
  */
2938
- creationTxHash: string;
2939
- /**
2940
- * Transaction ID that consumed this output.
2941
- */
2942
- consumingTxHash?: string;
3374
+ consumingTxTimestamp?: number;
2943
3375
  /**
2944
- * Timestamp in seconds this output is consumed.
3376
+ * Transaction ID that created this output.
2945
3377
  */
2946
- consumingTxTimestamp?: number;
3378
+ creationTxHash: string;
2947
3379
  /**
2948
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3380
+ * Credentials that signed the transaction to consume this utxo
2949
3381
  */
2950
- outputIndex: string;
3382
+ credentials?: Array<UtxoCredential>;
2951
3383
  /**
2952
- * Timestamp in seconds this outptut is created on.
3384
+ * Index representing the minting set for the NFT mint output.
2953
3385
  */
2954
- timestamp: number;
3386
+ groupId?: number;
2955
3387
  /**
2956
3388
  * Locktime in seconds after which this output can be consumed.
2957
3389
  */
2958
3390
  locktime: number;
2959
3391
  /**
2960
- * Minimum number of signatures required to consume this output.
3392
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
2961
3393
  */
2962
- threshold: number;
3394
+ outputIndex: string;
2963
3395
  /**
2964
- * Addresses that are eligible to sign the consumption of this output.
3396
+ * Hex encoded data for NFT assets.
2965
3397
  */
2966
- addresses: Array<string>;
3398
+ payload?: string;
2967
3399
  /**
2968
- * Hex encoded data for NFT assets
3400
+ * Minimum number of signatures required to consume this output.
2969
3401
  */
2970
- payload?: string;
3402
+ threshold: number;
2971
3403
  /**
2972
- * Index representing the minting set for the NFT mint output
3404
+ * Unix timestamp in seconds at which this outptut was created.
2973
3405
  */
2974
- groupId?: number;
3406
+ timestamp: number;
2975
3407
  /**
2976
- * Credentials that signed the transaction to consume this utxo
3408
+ * Type of output.
2977
3409
  */
2978
- credentials?: Array<UtxoCredential>;
3410
+ utxoType: string;
2979
3411
  };
2980
3412
 
2981
3413
  type CChainExportTransaction = {
@@ -3106,16 +3538,18 @@ type ListCChainAtomicTransactionsResponse = {
3106
3538
 
3107
3539
  declare enum PChainTransactionType {
3108
3540
  ADD_VALIDATOR_TX = "AddValidatorTx",
3109
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3110
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3111
3541
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3112
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3113
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3542
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3114
3543
  CREATE_CHAIN_TX = "CreateChainTx",
3115
3544
  CREATE_SUBNET_TX = "CreateSubnetTx",
3116
3545
  IMPORT_TX = "ImportTx",
3117
3546
  EXPORT_TX = "ExportTx",
3118
3547
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3548
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3549
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3550
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3551
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3552
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3119
3553
  UNKNOWN = "UNKNOWN"
3120
3554
  }
3121
3555
 
@@ -3126,29 +3560,48 @@ declare enum UtxoType {
3126
3560
 
3127
3561
  type PChainUtxo = {
3128
3562
  /**
3129
- * An array of P-Chain wallet addresses.
3563
+ * Addresses that are eligible to sign the consumption of this output.
3130
3564
  */
3131
3565
  addresses: Array<string>;
3566
+ asset: Asset;
3567
+ /**
3568
+ * Blockchain ID on which this output is consumed on.
3569
+ */
3570
+ consumedOnChainId: string;
3571
+ /**
3572
+ * Transaction ID that consumed this output.
3573
+ */
3574
+ consumingTxHash?: string;
3575
+ /**
3576
+ * Blockchain ID on which this output is created on.
3577
+ */
3578
+ createdOnChainId: string;
3579
+ /**
3580
+ * UTXO ID for this output.
3581
+ */
3132
3582
  utxoId: string;
3133
- txHash: string;
3134
- outputIndex: number;
3583
+ /**
3584
+ * @deprecated
3585
+ */
3586
+ amount: string;
3587
+ /**
3588
+ * @deprecated
3589
+ */
3590
+ assetId: string;
3135
3591
  blockNumber: string;
3136
3592
  blockTimestamp: number;
3137
- consumingTxHash?: string;
3138
- consumingBlockTimestamp?: number;
3139
3593
  consumingBlockNumber?: string;
3140
- assetId: string;
3141
- utxoType: UtxoType;
3142
- amount: string;
3143
- stakeableLocktime?: number;
3594
+ consumingBlockTimestamp?: number;
3144
3595
  platformLocktime?: number;
3145
- threshold?: number;
3146
- createdOnChainId: string;
3147
- consumedOnChainId: string;
3596
+ outputIndex: number;
3597
+ rewardType?: RewardType;
3598
+ stakeableLocktime?: number;
3148
3599
  staked?: boolean;
3149
- utxoStartTimestamp?: number;
3600
+ threshold?: number;
3601
+ txHash: string;
3150
3602
  utxoEndTimestamp?: number;
3151
- rewardType?: RewardType;
3603
+ utxoStartTimestamp?: number;
3604
+ utxoType: UtxoType;
3152
3605
  };
3153
3606
 
3154
3607
  type PChainTransaction = {
@@ -3176,15 +3629,15 @@ type PChainTransaction = {
3176
3629
  /**
3177
3630
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3178
3631
  */
3179
- value: Array<PChainAsset>;
3632
+ value: Array<Asset>;
3180
3633
  /**
3181
3634
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3182
3635
  */
3183
- amountBurned: Array<PChainAsset>;
3636
+ amountBurned: Array<Asset>;
3184
3637
  /**
3185
3638
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3186
3639
  */
3187
- amountStaked: Array<PChainAsset>;
3640
+ amountStaked: Array<Asset>;
3188
3641
  /**
3189
3642
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3190
3643
  */
@@ -3210,6 +3663,7 @@ type PChainTransaction = {
3210
3663
  */
3211
3664
  estimatedReward?: string;
3212
3665
  rewardTxHash?: string;
3666
+ rewardAddresses?: Array<string>;
3213
3667
  memo?: string;
3214
3668
  /**
3215
3669
  * Present for RewardValidatorTx
@@ -3226,6 +3680,15 @@ type ListPChainTransactionsResponse = {
3226
3680
  chainInfo: PrimaryNetworkChainInfo;
3227
3681
  };
3228
3682
 
3683
+ declare enum XChainTransactionType {
3684
+ BASE_TX = "BaseTx",
3685
+ CREATE_ASSET_TX = "CreateAssetTx",
3686
+ OPERATION_TX = "OperationTx",
3687
+ IMPORT_TX = "ImportTx",
3688
+ EXPORT_TX = "ExportTx",
3689
+ UNKNOWN = "UNKNOWN"
3690
+ }
3691
+
3229
3692
  type XChainLinearTransaction = {
3230
3693
  /**
3231
3694
  * Unique ID for this transaction.
@@ -3242,7 +3705,7 @@ type XChainLinearTransaction = {
3242
3705
  /**
3243
3706
  * Type of transaction.
3244
3707
  */
3245
- txType: string;
3708
+ txType: XChainTransactionType;
3246
3709
  /**
3247
3710
  * Hex encoded memo bytes for this transaction.
3248
3711
  */
@@ -3319,7 +3782,7 @@ type XChainNonLinearTransaction = {
3319
3782
  /**
3320
3783
  * Type of transaction.
3321
3784
  */
3322
- txType: string;
3785
+ txType: XChainTransactionType;
3323
3786
  /**
3324
3787
  * Hex encoded memo bytes for this transaction.
3325
3788
  */
@@ -3377,16 +3840,18 @@ declare enum PChainId {
3377
3840
 
3378
3841
  declare enum PrimaryNetworkTxType {
3379
3842
  ADD_VALIDATOR_TX = "AddValidatorTx",
3380
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3381
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3382
3843
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3383
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3384
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3844
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3385
3845
  CREATE_CHAIN_TX = "CreateChainTx",
3386
3846
  CREATE_SUBNET_TX = "CreateSubnetTx",
3387
3847
  IMPORT_TX = "ImportTx",
3388
3848
  EXPORT_TX = "ExportTx",
3389
3849
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3850
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3851
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3852
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3853
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3854
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3390
3855
  UNKNOWN = "UNKNOWN",
3391
3856
  BASE_TX = "BaseTx",
3392
3857
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3714,8 +4179,182 @@ declare class PrimaryNetworkVerticesService {
3714
4179
  }): CancelablePromise<ListXChainVerticesResponse>;
3715
4180
  }
3716
4181
 
4182
+ type TeleporterDestinationTransaction = {
4183
+ txHash: string;
4184
+ timestamp: number;
4185
+ gasSpent: string;
4186
+ rewardRedeemer: string;
4187
+ delivererAddress: string;
4188
+ };
4189
+
4190
+ type TeleporterRewardDetails = {
4191
+ /**
4192
+ * A wallet or contract address in mixed-case checksum encoding.
4193
+ */
4194
+ address: string;
4195
+ /**
4196
+ * The contract name.
4197
+ */
4198
+ name: string;
4199
+ /**
4200
+ * The contract symbol.
4201
+ */
4202
+ symbol: string;
4203
+ /**
4204
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
4205
+ */
4206
+ decimals: number;
4207
+ /**
4208
+ * The logo uri for the address.
4209
+ */
4210
+ logoUri?: string;
4211
+ ercType: TeleporterRewardDetails.ercType;
4212
+ /**
4213
+ * The token price, if available.
4214
+ */
4215
+ price?: Money;
4216
+ value: string;
4217
+ };
4218
+ declare namespace TeleporterRewardDetails {
4219
+ enum ercType {
4220
+ ERC_20 = "ERC-20"
4221
+ }
4222
+ }
4223
+
4224
+ type DeliveredSourceNotIndexedTeleporterMessage = {
4225
+ sourceBlockchainId: string;
4226
+ destinationBlockchainId: string;
4227
+ messageId: string;
4228
+ from: string;
4229
+ to: string;
4230
+ data?: string;
4231
+ messageExecuted: boolean;
4232
+ receipts: Array<string>;
4233
+ receiptDelivered: boolean;
4234
+ rewardDetails: TeleporterRewardDetails;
4235
+ destinationTransaction: TeleporterDestinationTransaction;
4236
+ status: DeliveredSourceNotIndexedTeleporterMessage.status;
4237
+ };
4238
+ declare namespace DeliveredSourceNotIndexedTeleporterMessage {
4239
+ enum status {
4240
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
4241
+ }
4242
+ }
4243
+
4244
+ type TeleporterSourceTransaction = {
4245
+ txHash: string;
4246
+ timestamp: number;
4247
+ gasSpent: string;
4248
+ };
4249
+
4250
+ type DeliveredTeleporterMessage = {
4251
+ sourceBlockchainId: string;
4252
+ destinationBlockchainId: string;
4253
+ messageId: string;
4254
+ from: string;
4255
+ to: string;
4256
+ data?: string;
4257
+ messageExecuted: boolean;
4258
+ receipts: Array<string>;
4259
+ receiptDelivered: boolean;
4260
+ rewardDetails: TeleporterRewardDetails;
4261
+ sourceTransaction: TeleporterSourceTransaction;
4262
+ destinationTransaction: TeleporterDestinationTransaction;
4263
+ status: DeliveredTeleporterMessage.status;
4264
+ };
4265
+ declare namespace DeliveredTeleporterMessage {
4266
+ enum status {
4267
+ DELIVERED = "delivered"
4268
+ }
4269
+ }
4270
+
4271
+ type NextPageToken = {
4272
+ /**
4273
+ * 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.
4274
+ */
4275
+ nextPageToken?: string;
4276
+ };
4277
+
4278
+ type PendingTeleporterMessage = {
4279
+ sourceBlockchainId: string;
4280
+ destinationBlockchainId: string;
4281
+ messageId: string;
4282
+ from: string;
4283
+ to: string;
4284
+ data?: string;
4285
+ messageExecuted: boolean;
4286
+ receipts: Array<string>;
4287
+ receiptDelivered: boolean;
4288
+ rewardDetails: TeleporterRewardDetails;
4289
+ sourceTransaction: TeleporterSourceTransaction;
4290
+ status: PendingTeleporterMessage.status;
4291
+ };
4292
+ declare namespace PendingTeleporterMessage {
4293
+ enum status {
4294
+ PENDING = "pending"
4295
+ }
4296
+ }
4297
+
4298
+ declare class TeleporterService {
4299
+ readonly httpRequest: BaseHttpRequest;
4300
+ constructor(httpRequest: BaseHttpRequest);
4301
+ /**
4302
+ * Get a teleporter message
4303
+ * Gets a teleporter message by source chain, destination chain, and message ID.
4304
+ * @returns any
4305
+ * @throws ApiError
4306
+ */
4307
+ getTeleporterMessage({ sourceBlockchainId, destinationBlockchainId, messageId, }: {
4308
+ /**
4309
+ * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4310
+ */
4311
+ sourceBlockchainId: any;
4312
+ /**
4313
+ * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4314
+ */
4315
+ destinationBlockchainId: any;
4316
+ /**
4317
+ * The message ID of the teleporter message.
4318
+ */
4319
+ messageId: any;
4320
+ }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4321
+ /**
4322
+ * List teleporter messages
4323
+ * Lists teleporter messages. Ordered by timestamp in descending order.
4324
+ * @returns any
4325
+ * @throws ApiError
4326
+ */
4327
+ listTeleporterMessages({ pageSize, pageToken, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4328
+ /**
4329
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4330
+ */
4331
+ pageSize?: number;
4332
+ /**
4333
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4334
+ */
4335
+ pageToken?: string;
4336
+ /**
4337
+ * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4338
+ */
4339
+ sourceBlockchainId?: any;
4340
+ /**
4341
+ * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4342
+ */
4343
+ destinationBlockchainId?: any;
4344
+ /**
4345
+ * The address of the recipient of the teleporter message.
4346
+ */
4347
+ to?: any;
4348
+ /**
4349
+ * The address of the sender of the teleporter message.
4350
+ */
4351
+ from?: any;
4352
+ }): CancelablePromise<NextPageToken>;
4353
+ }
4354
+
3717
4355
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
3718
4356
  declare class Glacier {
4357
+ readonly default: DefaultService;
3719
4358
  readonly evmBalances: EvmBalancesService;
3720
4359
  readonly evmBlocks: EvmBlocksService;
3721
4360
  readonly evmChains: EvmChainsService;
@@ -3731,6 +4370,7 @@ declare class Glacier {
3731
4370
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
3732
4371
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
3733
4372
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4373
+ readonly teleporter: TeleporterService;
3734
4374
  readonly request: BaseHttpRequest;
3735
4375
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
3736
4376
  }
@@ -3752,4 +4392,4 @@ declare class ApiError extends Error {
3752
4392
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3753
4393
  }
3754
4394
 
3755
- export { ActiveDelegatorDetails, ActiveValidatorDetails, ApiError, Asset, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DelegationStatusType, DelegatorsDetails, EVMInput, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainAsset, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorsDetails, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainVertex };
4395
+ 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, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, 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, NextPageToken, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TeleporterDestinationTransaction, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, 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 };