@avalabs/glacier-sdk 2.8.0-canary.ca01c76.0 → 2.8.0-canary.ccb9014.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 (86) hide show
  1. package/dist/index.d.ts +781 -317
  2. package/dist/index.js +309 -79
  3. package/esm/generated/Glacier.d.ts +4 -0
  4. package/esm/generated/Glacier.js +30 -10
  5. package/esm/generated/core/ApiError.js +5 -0
  6. package/esm/generated/core/CancelablePromise.js +11 -6
  7. package/esm/generated/core/request.js +14 -31
  8. package/esm/generated/models/ActiveDelegatorDetails.d.ts +7 -3
  9. package/esm/generated/models/ActiveDelegatorDetails.js +8 -0
  10. package/esm/generated/models/ActiveValidatorDetails.d.ts +14 -6
  11. package/esm/generated/models/ActiveValidatorDetails.js +8 -0
  12. package/esm/generated/models/AddressActivityMetadata.d.ts +9 -0
  13. package/esm/generated/models/ChainInfo.d.ts +1 -0
  14. package/esm/generated/models/CompletedDelegatorDetails.d.ts +7 -3
  15. package/esm/generated/models/CompletedDelegatorDetails.js +8 -0
  16. package/esm/generated/models/CompletedValidatorDetails.d.ts +9 -3
  17. package/esm/generated/models/CompletedValidatorDetails.js +8 -0
  18. package/esm/generated/models/ContractSubmissionBody.d.ts +10 -0
  19. package/esm/generated/models/ContractSubmissionErc1155.d.ts +31 -0
  20. package/esm/generated/models/ContractSubmissionErc1155.js +8 -0
  21. package/esm/generated/models/ContractSubmissionErc20.d.ts +31 -0
  22. package/esm/generated/models/ContractSubmissionErc20.js +8 -0
  23. package/esm/generated/models/ContractSubmissionErc721.d.ts +29 -0
  24. package/esm/generated/models/ContractSubmissionErc721.js +8 -0
  25. package/esm/generated/models/ContractSubmissionUnknown.d.ts +25 -0
  26. package/esm/generated/models/ContractSubmissionUnknown.js +8 -0
  27. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  28. package/esm/generated/models/EventType.d.ts +5 -0
  29. package/esm/generated/models/EventType.js +6 -0
  30. package/esm/generated/models/GetChainResponse.d.ts +1 -0
  31. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -0
  32. package/esm/generated/models/HistoricalReward.d.ts +2 -2
  33. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  34. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  35. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  36. package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
  37. package/esm/generated/models/PChainBalance.d.ts +7 -7
  38. package/esm/generated/models/PChainSharedAsset.d.ts +22 -0
  39. package/esm/generated/models/PChainTransaction.d.ts +5 -4
  40. package/esm/generated/models/PChainTransactionType.d.ts +6 -4
  41. package/esm/generated/models/PChainTransactionType.js +6 -4
  42. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  43. package/esm/generated/models/PendingDelegatorDetails.d.ts +7 -3
  44. package/esm/generated/models/PendingDelegatorDetails.js +8 -0
  45. package/esm/generated/models/PendingReward.d.ts +2 -2
  46. package/esm/generated/models/PendingValidatorDetails.d.ts +9 -4
  47. package/esm/generated/models/PendingValidatorDetails.js +8 -0
  48. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -0
  49. package/esm/generated/models/PrimaryNetworkTxType.d.ts +6 -4
  50. package/esm/generated/models/PrimaryNetworkTxType.js +6 -4
  51. package/esm/generated/models/RegisterWebhookRequest.d.ts +14 -0
  52. package/esm/generated/models/RewardType.d.ts +2 -1
  53. package/esm/generated/models/RewardType.js +1 -0
  54. package/esm/generated/models/Rewards.d.ts +2 -0
  55. package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
  56. package/esm/generated/models/UpdateContractResponse.d.ts +10 -0
  57. package/esm/generated/models/Utxo.d.ts +28 -28
  58. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  59. package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
  60. package/esm/generated/models/WebhookResponse.d.ts +15 -0
  61. package/esm/generated/models/WebhookStatus.d.ts +6 -0
  62. package/esm/generated/models/WebhookStatus.js +7 -0
  63. package/esm/generated/models/WebhookStatusType.d.ts +6 -0
  64. package/esm/generated/models/WebhookStatusType.js +7 -0
  65. package/esm/generated/models/XChainLinearTransaction.d.ts +2 -1
  66. package/esm/generated/models/XChainNonLinearTransaction.d.ts +2 -1
  67. package/esm/generated/models/XChainTransactionType.d.ts +10 -0
  68. package/esm/generated/models/XChainTransactionType.js +11 -0
  69. package/esm/generated/services/DefaultService.d.ts +67 -0
  70. package/esm/generated/services/DefaultService.js +55 -0
  71. package/esm/generated/services/EvmContractsService.d.ts +48 -0
  72. package/esm/generated/services/EvmContractsService.js +36 -0
  73. package/esm/generated/services/EvmTransactionsService.d.ts +42 -0
  74. package/esm/generated/services/EvmTransactionsService.js +1 -1
  75. package/esm/generated/services/NfTsService.d.ts +20 -13
  76. package/esm/generated/services/NfTsService.js +15 -9
  77. package/esm/generated/services/OperationsService.d.ts +11 -11
  78. package/esm/generated/services/OperationsService.js +10 -10
  79. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +10 -2
  80. package/esm/generated/services/PrimaryNetworkRewardsService.js +4 -0
  81. package/esm/generated/services/PrimaryNetworkService.d.ts +31 -7
  82. package/esm/generated/services/PrimaryNetworkService.js +16 -4
  83. package/esm/index.d.ts +19 -1
  84. package/esm/index.js +16 -0
  85. package/package.json +2 -2
  86. package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -60,6 +60,118 @@ 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
+ topic0?: string;
69
+ };
70
+
71
+ declare enum EventType {
72
+ ADDRESS_ACTIVITY = "address_activity"
73
+ }
74
+
75
+ declare enum WebhookStatusType {
76
+ ACTIVE = "active",
77
+ INACTIVE = "inactive"
78
+ }
79
+
80
+ type WebhookResponse = {
81
+ id: string;
82
+ eventType: EventType;
83
+ metadata: AddressActivityMetadata;
84
+ url: string;
85
+ chainId: string;
86
+ status: WebhookStatusType;
87
+ createdAt: number;
88
+ };
89
+
90
+ type ListWebhooksResponse = {
91
+ /**
92
+ * 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.
93
+ */
94
+ nextPageToken?: string;
95
+ webhooks: Array<WebhookResponse>;
96
+ };
97
+
98
+ type RegisterWebhookRequest = {
99
+ url: string;
100
+ chainId: string;
101
+ /**
102
+ * The type of event for the webhook
103
+ */
104
+ eventType: EventType;
105
+ metadata: AddressActivityMetadata;
106
+ };
107
+
108
+ type SharedSecretsResponse = {
109
+ secret: string;
110
+ };
111
+
112
+ declare enum WebhookStatus {
113
+ ACTIVE = "active",
114
+ INACTIVE = "inactive"
115
+ }
116
+
117
+ declare class DefaultService {
118
+ readonly httpRequest: BaseHttpRequest;
119
+ constructor(httpRequest: BaseHttpRequest);
120
+ /**
121
+ * @returns any
122
+ * @throws ApiError
123
+ */
124
+ mediaControllerUploadImage(): CancelablePromise<any>;
125
+ /**
126
+ * Register a webhook
127
+ * Registers a new webhook.
128
+ * @returns WebhookResponse
129
+ * @throws ApiError
130
+ */
131
+ registerWebhook({ requestBody, }: {
132
+ requestBody: RegisterWebhookRequest;
133
+ }): CancelablePromise<WebhookResponse>;
134
+ /**
135
+ * List webhooks
136
+ * Lists webhooks for the user.
137
+ * @returns ListWebhooksResponse
138
+ * @throws ApiError
139
+ */
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
+ /**
146
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
147
+ */
148
+ pageToken?: string;
149
+ /**
150
+ * 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
+ */
152
+ status?: WebhookStatus;
153
+ }): CancelablePromise<ListWebhooksResponse>;
154
+ /**
155
+ * Deactivate a webhook
156
+ * Deactivates a webhook by ID.
157
+ * @returns WebhookResponse
158
+ * @throws ApiError
159
+ */
160
+ deactivateWebhook({ id, }: {
161
+ /**
162
+ * The webhook identifier.
163
+ */
164
+ id: string;
165
+ }): CancelablePromise<WebhookResponse>;
166
+ /**
167
+ * Generate a shared secret
168
+ * Generates a new shared secret.
169
+ * @returns SharedSecretsResponse
170
+ * @throws ApiError
171
+ */
172
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
173
+ }
174
+
63
175
  declare enum CurrencyCode {
64
176
  USD = "usd",
65
177
  EUR = "eur",
@@ -680,6 +792,7 @@ type GetChainResponse = {
680
792
  utilityAddresses?: UtilityAddresses;
681
793
  networkToken: NetworkToken;
682
794
  chainLogoUri?: string;
795
+ private?: boolean;
683
796
  };
684
797
 
685
798
  type ChainInfo = {
@@ -701,6 +814,7 @@ type ChainInfo = {
701
814
  utilityAddresses?: UtilityAddresses;
702
815
  networkToken: NetworkToken;
703
816
  chainLogoUri?: string;
817
+ private?: boolean;
704
818
  };
705
819
 
706
820
  type ListChainsResponse = {
@@ -741,6 +855,322 @@ declare class EvmChainsService {
741
855
  }): CancelablePromise<GetChainResponse>;
742
856
  }
743
857
 
858
+ type ImageAsset = {
859
+ assetId?: string;
860
+ /**
861
+ * OUTPUT ONLY
862
+ */
863
+ imageUri?: string;
864
+ };
865
+
866
+ type PricingProviders = {
867
+ coingeckoCoinId?: string;
868
+ };
869
+
870
+ declare enum ResourceLinkType {
871
+ BLOG = "Blog",
872
+ COIN_GECKO = "CoinGecko",
873
+ COIN_MARKET_CAP = "CoinMarketCap",
874
+ DISCORD = "Discord",
875
+ DOCUMENTATION = "Documentation",
876
+ FACEBOOK = "Facebook",
877
+ GITHUB = "Github",
878
+ INSTAGRAM = "Instagram",
879
+ LINKED_IN = "LinkedIn",
880
+ MEDIUM = "Medium",
881
+ REDDIT = "Reddit",
882
+ SUPPORT = "Support",
883
+ TELEGRAM = "Telegram",
884
+ TIK_TOK = "TikTok",
885
+ TWITTER = "Twitter",
886
+ WEBSITE = "Website",
887
+ WHITEPAPER = "Whitepaper",
888
+ YOUTUBE = "Youtube"
889
+ }
890
+
891
+ type ResourceLink = {
892
+ type: ResourceLinkType;
893
+ url: string;
894
+ };
895
+
896
+ type ContractSubmissionErc1155 = {
897
+ description?: string;
898
+ officialSite?: string;
899
+ email?: string;
900
+ logoAsset?: ImageAsset;
901
+ bannerAsset?: ImageAsset;
902
+ color?: string;
903
+ resourceLinks?: Array<ResourceLink>;
904
+ tags?: Array<string>;
905
+ /**
906
+ * The contract name.
907
+ */
908
+ name: string;
909
+ ercType: ContractSubmissionErc1155.ercType;
910
+ /**
911
+ * The contract symbol.
912
+ */
913
+ symbol: string;
914
+ pricingProviders?: PricingProviders;
915
+ };
916
+ declare namespace ContractSubmissionErc1155 {
917
+ enum ercType {
918
+ ERC_1155 = "ERC-1155"
919
+ }
920
+ }
921
+
922
+ type ContractSubmissionErc20 = {
923
+ description?: string;
924
+ officialSite?: string;
925
+ email?: string;
926
+ logoAsset?: ImageAsset;
927
+ bannerAsset?: ImageAsset;
928
+ color?: string;
929
+ resourceLinks?: Array<ResourceLink>;
930
+ tags?: Array<string>;
931
+ /**
932
+ * The contract name.
933
+ */
934
+ name: string;
935
+ ercType: ContractSubmissionErc20.ercType;
936
+ /**
937
+ * The contract symbol.
938
+ */
939
+ symbol: string;
940
+ pricingProviders?: PricingProviders;
941
+ };
942
+ declare namespace ContractSubmissionErc20 {
943
+ enum ercType {
944
+ ERC_20 = "ERC-20"
945
+ }
946
+ }
947
+
948
+ type ContractSubmissionErc721 = {
949
+ description?: string;
950
+ officialSite?: string;
951
+ email?: string;
952
+ logoAsset?: ImageAsset;
953
+ bannerAsset?: ImageAsset;
954
+ color?: string;
955
+ resourceLinks?: Array<ResourceLink>;
956
+ tags?: Array<string>;
957
+ /**
958
+ * The contract name.
959
+ */
960
+ name: string;
961
+ ercType: ContractSubmissionErc721.ercType;
962
+ /**
963
+ * The contract symbol.
964
+ */
965
+ symbol: string;
966
+ };
967
+ declare namespace ContractSubmissionErc721 {
968
+ enum ercType {
969
+ ERC_721 = "ERC-721"
970
+ }
971
+ }
972
+
973
+ type ContractSubmissionUnknown = {
974
+ description?: string;
975
+ officialSite?: string;
976
+ email?: string;
977
+ logoAsset?: ImageAsset;
978
+ bannerAsset?: ImageAsset;
979
+ color?: string;
980
+ resourceLinks?: Array<ResourceLink>;
981
+ tags?: Array<string>;
982
+ /**
983
+ * The contract name.
984
+ */
985
+ name: string;
986
+ ercType: ContractSubmissionUnknown.ercType;
987
+ };
988
+ declare namespace ContractSubmissionUnknown {
989
+ enum ercType {
990
+ UNKNOWN = "UNKNOWN"
991
+ }
992
+ }
993
+
994
+ type ContractSubmissionBody = {
995
+ contract: (ContractSubmissionErc1155 | ContractSubmissionErc20 | ContractSubmissionErc721 | ContractSubmissionUnknown);
996
+ };
997
+
998
+ type ContractDeploymentDetails = {
999
+ txHash: string;
1000
+ /**
1001
+ * The address that initiated the transaction which deployed this contract.
1002
+ */
1003
+ deployerAddress: string;
1004
+ /**
1005
+ * 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.
1006
+ */
1007
+ deployerContractAddress?: string;
1008
+ };
1009
+
1010
+ type Erc1155Contract = {
1011
+ /**
1012
+ * The contract name.
1013
+ */
1014
+ name?: string;
1015
+ description?: string;
1016
+ officialSite?: string;
1017
+ email?: string;
1018
+ logoAsset?: ImageAsset;
1019
+ bannerAsset?: ImageAsset;
1020
+ color?: string;
1021
+ resourceLinks?: Array<ResourceLink>;
1022
+ tags?: Array<string>;
1023
+ /**
1024
+ * A wallet or contract address in mixed-case checksum encoding.
1025
+ */
1026
+ address: string;
1027
+ deploymentDetails: ContractDeploymentDetails;
1028
+ ercType: Erc1155Contract.ercType;
1029
+ /**
1030
+ * The contract symbol.
1031
+ */
1032
+ symbol?: string;
1033
+ pricingProviders?: PricingProviders;
1034
+ };
1035
+ declare namespace Erc1155Contract {
1036
+ enum ercType {
1037
+ ERC_1155 = "ERC-1155"
1038
+ }
1039
+ }
1040
+
1041
+ type Erc20Contract = {
1042
+ /**
1043
+ * The contract name.
1044
+ */
1045
+ name?: string;
1046
+ description?: string;
1047
+ officialSite?: string;
1048
+ email?: string;
1049
+ logoAsset?: ImageAsset;
1050
+ bannerAsset?: ImageAsset;
1051
+ color?: string;
1052
+ resourceLinks?: Array<ResourceLink>;
1053
+ tags?: Array<string>;
1054
+ /**
1055
+ * A wallet or contract address in mixed-case checksum encoding.
1056
+ */
1057
+ address: string;
1058
+ deploymentDetails: ContractDeploymentDetails;
1059
+ ercType: Erc20Contract.ercType;
1060
+ /**
1061
+ * The contract symbol.
1062
+ */
1063
+ symbol?: string;
1064
+ /**
1065
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1066
+ */
1067
+ decimals: number;
1068
+ pricingProviders?: PricingProviders;
1069
+ };
1070
+ declare namespace Erc20Contract {
1071
+ enum ercType {
1072
+ ERC_20 = "ERC-20"
1073
+ }
1074
+ }
1075
+
1076
+ type Erc721Contract = {
1077
+ /**
1078
+ * The contract name.
1079
+ */
1080
+ name?: string;
1081
+ description?: string;
1082
+ officialSite?: string;
1083
+ email?: string;
1084
+ logoAsset?: ImageAsset;
1085
+ bannerAsset?: ImageAsset;
1086
+ color?: string;
1087
+ resourceLinks?: Array<ResourceLink>;
1088
+ tags?: Array<string>;
1089
+ /**
1090
+ * A wallet or contract address in mixed-case checksum encoding.
1091
+ */
1092
+ address: string;
1093
+ deploymentDetails: ContractDeploymentDetails;
1094
+ ercType: Erc721Contract.ercType;
1095
+ /**
1096
+ * The contract symbol.
1097
+ */
1098
+ symbol?: string;
1099
+ };
1100
+ declare namespace Erc721Contract {
1101
+ enum ercType {
1102
+ ERC_721 = "ERC-721"
1103
+ }
1104
+ }
1105
+
1106
+ type UnknownContract = {
1107
+ /**
1108
+ * The contract name.
1109
+ */
1110
+ name?: string;
1111
+ description?: string;
1112
+ officialSite?: string;
1113
+ email?: string;
1114
+ logoAsset?: ImageAsset;
1115
+ bannerAsset?: ImageAsset;
1116
+ color?: string;
1117
+ resourceLinks?: Array<ResourceLink>;
1118
+ tags?: Array<string>;
1119
+ /**
1120
+ * A wallet or contract address in mixed-case checksum encoding.
1121
+ */
1122
+ address: string;
1123
+ deploymentDetails: ContractDeploymentDetails;
1124
+ ercType: UnknownContract.ercType;
1125
+ };
1126
+ declare namespace UnknownContract {
1127
+ enum ercType {
1128
+ UNKNOWN = "UNKNOWN"
1129
+ }
1130
+ }
1131
+
1132
+ type UpdateContractResponse = {
1133
+ contract: (UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract);
1134
+ };
1135
+
1136
+ declare class EvmContractsService {
1137
+ readonly httpRequest: BaseHttpRequest;
1138
+ constructor(httpRequest: BaseHttpRequest);
1139
+ /**
1140
+ * Get contract metadata
1141
+ * Gets metadata about the contract at the given address.
1142
+ * @returns any
1143
+ * @throws ApiError
1144
+ */
1145
+ getContractMetadata({ chainId, address, }: {
1146
+ /**
1147
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1148
+ */
1149
+ chainId: string;
1150
+ /**
1151
+ * Contract address on the relevant chain.
1152
+ */
1153
+ address: string;
1154
+ }): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1155
+ /**
1156
+ * Update contract information
1157
+ * Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
1158
+ * @returns UpdateContractResponse
1159
+ * @throws ApiError
1160
+ */
1161
+ updateContractInfo({ chainId, address, requestBody, }: {
1162
+ /**
1163
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1164
+ */
1165
+ chainId: string;
1166
+ /**
1167
+ * Contract address on the relevant chain.
1168
+ */
1169
+ address: string;
1170
+ requestBody: ContractSubmissionBody;
1171
+ }): CancelablePromise<UpdateContractResponse>;
1172
+ }
1173
+
744
1174
  type Erc1155Token = {
745
1175
  /**
746
1176
  * A wallet or contract address in mixed-case checksum encoding.
@@ -999,184 +1429,12 @@ type GetTransactionResponse = {
999
1429
  nativeTransaction: FullNativeTransactionDetails;
1000
1430
  };
1001
1431
 
1002
- type ContractDeploymentDetails = {
1003
- txHash: string;
1004
- /**
1005
- * The address that initiated the transaction which deployed this contract.
1006
- */
1007
- deployerAddress: string;
1008
- /**
1009
- * 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.
1010
- */
1011
- deployerContractAddress?: string;
1012
- };
1013
-
1014
- type ImageAsset = {
1015
- assetId?: string;
1016
- /**
1017
- * OUTPUT ONLY
1018
- */
1019
- imageUri?: string;
1020
- };
1021
-
1022
- type PricingProviders = {
1023
- coingeckoCoinId?: string;
1024
- };
1025
-
1026
- declare enum ResourceLinkType {
1027
- BLOG = "Blog",
1028
- COIN_GECKO = "CoinGecko",
1029
- COIN_MARKET_CAP = "CoinMarketCap",
1030
- DISCORD = "Discord",
1031
- DOCUMENTATION = "Documentation",
1032
- FACEBOOK = "Facebook",
1033
- GITHUB = "Github",
1034
- INSTAGRAM = "Instagram",
1035
- LINKED_IN = "LinkedIn",
1036
- MEDIUM = "Medium",
1037
- REDDIT = "Reddit",
1038
- SUPPORT = "Support",
1039
- TELEGRAM = "Telegram",
1040
- TIK_TOK = "TikTok",
1041
- TWITTER = "Twitter",
1042
- WEBSITE = "Website",
1043
- WHITEPAPER = "Whitepaper",
1044
- YOUTUBE = "Youtube"
1045
- }
1046
-
1047
- type ResourceLink = {
1048
- type: ResourceLinkType;
1049
- url: string;
1050
- };
1051
-
1052
- type Erc1155Contract = {
1053
- /**
1054
- * The contract name.
1055
- */
1056
- name?: string;
1057
- description?: string;
1058
- officialSite?: string;
1059
- email?: string;
1060
- logoAsset?: ImageAsset;
1061
- bannerAsset?: ImageAsset;
1062
- color?: string;
1063
- resourceLinks?: Array<ResourceLink>;
1064
- tags?: Array<string>;
1065
- /**
1066
- * A wallet or contract address in mixed-case checksum encoding.
1067
- */
1068
- address: string;
1069
- deploymentDetails: ContractDeploymentDetails;
1070
- ercType: Erc1155Contract.ercType;
1071
- /**
1072
- * The contract symbol.
1073
- */
1074
- symbol?: string;
1075
- pricingProviders?: PricingProviders;
1076
- };
1077
- declare namespace Erc1155Contract {
1078
- enum ercType {
1079
- ERC_1155 = "ERC-1155"
1080
- }
1081
- }
1082
-
1083
- type Erc20Contract = {
1084
- /**
1085
- * The contract name.
1086
- */
1087
- name?: string;
1088
- description?: string;
1089
- officialSite?: string;
1090
- email?: string;
1091
- logoAsset?: ImageAsset;
1092
- bannerAsset?: ImageAsset;
1093
- color?: string;
1094
- resourceLinks?: Array<ResourceLink>;
1095
- tags?: Array<string>;
1096
- /**
1097
- * A wallet or contract address in mixed-case checksum encoding.
1098
- */
1099
- address: string;
1100
- deploymentDetails: ContractDeploymentDetails;
1101
- ercType: Erc20Contract.ercType;
1102
- /**
1103
- * The contract symbol.
1104
- */
1105
- symbol?: string;
1106
- /**
1107
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1108
- */
1109
- decimals: number;
1110
- pricingProviders: PricingProviders;
1111
- };
1112
- declare namespace Erc20Contract {
1113
- enum ercType {
1114
- ERC_20 = "ERC-20"
1115
- }
1116
- }
1117
-
1118
- type Erc721Contract = {
1119
- /**
1120
- * The contract name.
1121
- */
1122
- name?: string;
1123
- description?: string;
1124
- officialSite?: string;
1125
- email?: string;
1126
- logoAsset?: ImageAsset;
1127
- bannerAsset?: ImageAsset;
1128
- color?: string;
1129
- resourceLinks?: Array<ResourceLink>;
1130
- tags?: Array<string>;
1131
- /**
1132
- * A wallet or contract address in mixed-case checksum encoding.
1133
- */
1134
- address: string;
1135
- deploymentDetails: ContractDeploymentDetails;
1136
- ercType: Erc721Contract.ercType;
1137
- /**
1138
- * The contract symbol.
1139
- */
1140
- symbol?: string;
1141
- };
1142
- declare namespace Erc721Contract {
1143
- enum ercType {
1144
- ERC_721 = "ERC-721"
1145
- }
1146
- }
1147
-
1148
- type UnknownContract = {
1149
- /**
1150
- * The contract name.
1151
- */
1152
- name?: string;
1153
- description?: string;
1154
- officialSite?: string;
1155
- email?: string;
1156
- logoAsset?: ImageAsset;
1157
- bannerAsset?: ImageAsset;
1158
- color?: string;
1159
- resourceLinks?: Array<ResourceLink>;
1160
- tags?: Array<string>;
1161
- /**
1162
- * A wallet or contract address in mixed-case checksum encoding.
1163
- */
1164
- address: string;
1165
- deploymentDetails: ContractDeploymentDetails;
1166
- ercType: UnknownContract.ercType;
1167
- };
1168
- declare namespace UnknownContract {
1169
- enum ercType {
1170
- UNKNOWN = "UNKNOWN"
1171
- }
1172
- }
1173
-
1174
1432
  type ListContractsResponse = {
1175
1433
  /**
1176
1434
  * 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.
1177
1435
  */
1178
1436
  nextPageToken?: string;
1179
- contracts: Array<(UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract)>;
1437
+ contracts: Array<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1180
1438
  };
1181
1439
 
1182
1440
  type Erc1155Transfer = {
@@ -1481,7 +1739,13 @@ declare class EvmTransactionsService {
1481
1739
  * A wallet address.
1482
1740
  */
1483
1741
  address: string;
1742
+ /**
1743
+ * 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.
1744
+ */
1484
1745
  startBlock?: number;
1746
+ /**
1747
+ * 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
+ */
1485
1749
  endBlock?: number;
1486
1750
  /**
1487
1751
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1517,7 +1781,13 @@ declare class EvmTransactionsService {
1517
1781
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1518
1782
  */
1519
1783
  pageToken?: string;
1784
+ /**
1785
+ * 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
+ */
1520
1787
  startBlock?: number;
1788
+ /**
1789
+ * 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.
1790
+ */
1521
1791
  endBlock?: number;
1522
1792
  /**
1523
1793
  * 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.
@@ -1539,7 +1809,13 @@ declare class EvmTransactionsService {
1539
1809
  * A wallet address.
1540
1810
  */
1541
1811
  address: string;
1812
+ /**
1813
+ * 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.
1814
+ */
1542
1815
  startBlock?: number;
1816
+ /**
1817
+ * 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
+ */
1543
1819
  endBlock?: number;
1544
1820
  /**
1545
1821
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1565,7 +1841,13 @@ declare class EvmTransactionsService {
1565
1841
  * A wallet address.
1566
1842
  */
1567
1843
  address: string;
1844
+ /**
1845
+ * 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.
1846
+ */
1568
1847
  startBlock?: number;
1848
+ /**
1849
+ * 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
+ */
1569
1851
  endBlock?: number;
1570
1852
  /**
1571
1853
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1591,7 +1873,13 @@ declare class EvmTransactionsService {
1591
1873
  * A wallet address.
1592
1874
  */
1593
1875
  address: string;
1876
+ /**
1877
+ * 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.
1878
+ */
1594
1879
  startBlock?: number;
1880
+ /**
1881
+ * 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
+ */
1595
1883
  endBlock?: number;
1596
1884
  /**
1597
1885
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1617,7 +1905,13 @@ declare class EvmTransactionsService {
1617
1905
  * A wallet address.
1618
1906
  */
1619
1907
  address: string;
1908
+ /**
1909
+ * 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.
1910
+ */
1620
1911
  startBlock?: number;
1912
+ /**
1913
+ * 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
+ */
1621
1915
  endBlock?: number;
1622
1916
  /**
1623
1917
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1645,7 +1939,13 @@ declare class EvmTransactionsService {
1645
1939
  * A wallet address.
1646
1940
  */
1647
1941
  address: string;
1942
+ /**
1943
+ * 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.
1944
+ */
1648
1945
  startBlock?: number;
1946
+ /**
1947
+ * 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
+ */
1649
1949
  endBlock?: number;
1650
1950
  /**
1651
1951
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1730,6 +2030,14 @@ declare class HealthCheckService {
1730
2030
  }>;
1731
2031
  }
1732
2032
 
2033
+ type ListNftTokens = {
2034
+ /**
2035
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2036
+ */
2037
+ nextPageToken?: string;
2038
+ tokens: (Array<Erc721Token> | Array<Erc1155Token>);
2039
+ };
2040
+
1733
2041
  declare class NfTsService {
1734
2042
  readonly httpRequest: BaseHttpRequest;
1735
2043
  constructor(httpRequest: BaseHttpRequest);
@@ -1754,12 +2062,12 @@ declare class NfTsService {
1754
2062
  tokenId: string;
1755
2063
  }): CancelablePromise<any>;
1756
2064
  /**
1757
- * Get token details
1758
- * Gets token details for a specific token of an NFT contract.
1759
- * @returns any
2065
+ * List tokens
2066
+ * Lists tokens for an NFT contract.
2067
+ * @returns ListNftTokens
1760
2068
  * @throws ApiError
1761
2069
  */
1762
- getTokenDetails({ chainId, address, tokenId, }: {
2070
+ listTokens({ chainId, address, pageSize, pageToken, }: {
1763
2071
  /**
1764
2072
  * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1765
2073
  */
@@ -1769,17 +2077,21 @@ declare class NfTsService {
1769
2077
  */
1770
2078
  address: string;
1771
2079
  /**
1772
- * TokenId on the contract
2080
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1773
2081
  */
1774
- tokenId: string;
1775
- }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2082
+ pageSize?: number;
2083
+ /**
2084
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2085
+ */
2086
+ pageToken?: string;
2087
+ }): CancelablePromise<ListNftTokens>;
1776
2088
  /**
1777
- * Get collection details
1778
- * Gets collection details for a NFT contract.
2089
+ * Get token details
2090
+ * Gets token details for a specific token of an NFT contract.
1779
2091
  * @returns any
1780
2092
  * @throws ApiError
1781
2093
  */
1782
- getCollection({ chainId, address, }: {
2094
+ getTokenDetails({ chainId, address, tokenId, }: {
1783
2095
  /**
1784
2096
  * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1785
2097
  */
@@ -1788,7 +2100,11 @@ declare class NfTsService {
1788
2100
  * Contract address on the relevant chain.
1789
2101
  */
1790
2102
  address: string;
1791
- }): CancelablePromise<(Erc721Contract | Erc1155Contract)>;
2103
+ /**
2104
+ * TokenId on the contract
2105
+ */
2106
+ tokenId: string;
2107
+ }): CancelablePromise<(Erc721Token | Erc1155Token)>;
1792
2108
  }
1793
2109
 
1794
2110
  type EvmNetworkOptions = {
@@ -1885,17 +2201,6 @@ type OperationStatusResponse = {
1885
2201
  declare class OperationsService {
1886
2202
  readonly httpRequest: BaseHttpRequest;
1887
2203
  constructor(httpRequest: BaseHttpRequest);
1888
- /**
1889
- * Create transaction export operation
1890
- * Trigger a transaction export operation with given parameters.
1891
- *
1892
- * 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.
1893
- * @returns OperationStatusResponse
1894
- * @throws ApiError
1895
- */
1896
- postTransactionExportJob({ requestBody, }: {
1897
- requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
1898
- }): CancelablePromise<OperationStatusResponse>;
1899
2204
  /**
1900
2205
  * Get operation
1901
2206
  * Gets operation details for the given operation id.
@@ -1908,6 +2213,17 @@ declare class OperationsService {
1908
2213
  */
1909
2214
  operationId: string;
1910
2215
  }): CancelablePromise<OperationStatusResponse>;
2216
+ /**
2217
+ * Create transaction export operation
2218
+ * Trigger a transaction export operation with given parameters.
2219
+ *
2220
+ * 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.
2221
+ * @returns OperationStatusResponse
2222
+ * @throws ApiError
2223
+ */
2224
+ postTransactionExportJob({ requestBody, }: {
2225
+ requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2226
+ }): CancelablePromise<OperationStatusResponse>;
1911
2227
  }
1912
2228
 
1913
2229
  declare enum BlockchainIds {
@@ -1976,39 +2292,57 @@ type ListBlockchainsResponse = {
1976
2292
 
1977
2293
  type ActiveDelegatorDetails = {
1978
2294
  txHash: string;
2295
+ nodeId: string;
1979
2296
  rewardAddresses: Array<string>;
1980
2297
  amountDelegated: string;
1981
2298
  delegationFee: string;
1982
2299
  startTimestamp: number;
1983
2300
  endTimestamp: number;
1984
- delegationStatus: DelegationStatusType;
1985
2301
  estimatedGrossReward: string;
1986
2302
  estimatedNetReward: string;
2303
+ delegationStatus: ActiveDelegatorDetails.delegationStatus;
1987
2304
  };
2305
+ declare namespace ActiveDelegatorDetails {
2306
+ enum delegationStatus {
2307
+ ACTIVE = "active"
2308
+ }
2309
+ }
1988
2310
 
1989
2311
  type CompletedDelegatorDetails = {
1990
2312
  txHash: string;
2313
+ nodeId: string;
1991
2314
  rewardAddresses: Array<string>;
1992
2315
  amountDelegated: string;
1993
2316
  delegationFee: string;
1994
2317
  startTimestamp: number;
1995
2318
  endTimestamp: number;
1996
- delegationStatus: DelegationStatusType;
1997
2319
  grossReward: string;
1998
2320
  netReward: string;
2321
+ delegationStatus: CompletedDelegatorDetails.delegationStatus;
1999
2322
  };
2323
+ declare namespace CompletedDelegatorDetails {
2324
+ enum delegationStatus {
2325
+ COMPLETED = "completed"
2326
+ }
2327
+ }
2000
2328
 
2001
2329
  type PendingDelegatorDetails = {
2002
2330
  txHash: string;
2331
+ nodeId: string;
2003
2332
  rewardAddresses: Array<string>;
2004
2333
  amountDelegated: string;
2005
2334
  delegationFee: string;
2006
2335
  startTimestamp: number;
2007
2336
  endTimestamp: number;
2008
- delegationStatus: DelegationStatusType;
2009
2337
  estimatedGrossReward: string;
2010
2338
  estimatedNetReward: string;
2339
+ delegationStatus: PendingDelegatorDetails.delegationStatus;
2011
2340
  };
2341
+ declare namespace PendingDelegatorDetails {
2342
+ enum delegationStatus {
2343
+ PENDING = "pending"
2344
+ }
2345
+ }
2012
2346
 
2013
2347
  type ListDelegatorDetailsResponse = {
2014
2348
  /**
@@ -2046,49 +2380,86 @@ type ListSubnetsResponse = {
2046
2380
  type Rewards = {
2047
2381
  validationRewardAmount: string;
2048
2382
  delegationRewardAmount: string;
2383
+ rewardAddresses?: Array<string>;
2384
+ rewardTxHash?: string;
2049
2385
  };
2050
2386
 
2051
- declare enum ValidationStatusType {
2052
- COMPLETED = "completed",
2053
- ACTIVE = "active",
2054
- PENDING = "pending"
2055
- }
2387
+ type ValidatorHealthDetails = {
2388
+ /**
2389
+ * Percent of requests responded to in last polling.
2390
+ */
2391
+ reachabilityPercent: number;
2392
+ /**
2393
+ * Percent of requests benched on the P-Chain in last polling.
2394
+ */
2395
+ benchedPChainRequestsPercent: number;
2396
+ /**
2397
+ * Percentage of requests benched on the X-Chain in last polling.
2398
+ */
2399
+ benchedXChainRequestsPercent: number;
2400
+ /**
2401
+ * Percentage of requests benched on the C-Chain in last polling.
2402
+ */
2403
+ benchedCChainRequestsPercent: number;
2404
+ };
2056
2405
 
2057
2406
  type ActiveValidatorDetails = {
2407
+ txHash: string;
2058
2408
  nodeId: string;
2409
+ subnetId: string;
2059
2410
  amountStaked: string;
2060
- delegationFee: string;
2411
+ delegationFee?: string;
2061
2412
  startTimestamp: number;
2062
2413
  endTimestamp: number;
2063
- validationStatus: ValidationStatusType;
2064
2414
  stakePercentage: number;
2065
2415
  delegatorCount: number;
2066
- amountDelegated: string;
2416
+ amountDelegated?: string;
2067
2417
  uptimePerformance: number;
2068
- avalancheGoVersion: string;
2069
- delegationCapacity: string;
2418
+ avalancheGoVersion?: string;
2419
+ delegationCapacity?: string;
2070
2420
  potentialRewards: Rewards;
2421
+ validationStatus: ActiveValidatorDetails.validationStatus;
2422
+ validatorHealth: ValidatorHealthDetails;
2071
2423
  };
2424
+ declare namespace ActiveValidatorDetails {
2425
+ enum validationStatus {
2426
+ ACTIVE = "active"
2427
+ }
2428
+ }
2072
2429
 
2073
2430
  type CompletedValidatorDetails = {
2431
+ txHash: string;
2074
2432
  nodeId: string;
2433
+ subnetId: string;
2075
2434
  amountStaked: string;
2076
- delegationFee: string;
2435
+ delegationFee?: string;
2077
2436
  startTimestamp: number;
2078
2437
  endTimestamp: number;
2079
- validationStatus: ValidationStatusType;
2080
2438
  delegatorCount: number;
2081
2439
  rewards: Rewards;
2440
+ validationStatus: CompletedValidatorDetails.validationStatus;
2082
2441
  };
2442
+ declare namespace CompletedValidatorDetails {
2443
+ enum validationStatus {
2444
+ COMPLETED = "completed"
2445
+ }
2446
+ }
2083
2447
 
2084
2448
  type PendingValidatorDetails = {
2449
+ txHash: string;
2085
2450
  nodeId: string;
2451
+ subnetId: string;
2086
2452
  amountStaked: string;
2087
- delegationFee: string;
2453
+ delegationFee?: string;
2088
2454
  startTimestamp: number;
2089
2455
  endTimestamp: number;
2090
- validationStatus: ValidationStatusType;
2456
+ validationStatus: PendingValidatorDetails.validationStatus;
2091
2457
  };
2458
+ declare namespace PendingValidatorDetails {
2459
+ enum validationStatus {
2460
+ PENDING = "pending"
2461
+ }
2462
+ }
2092
2463
 
2093
2464
  type ListValidatorDetailsResponse = {
2094
2465
  /**
@@ -2096,7 +2467,7 @@ type ListValidatorDetailsResponse = {
2096
2467
  */
2097
2468
  nextPageToken?: string;
2098
2469
  /**
2099
- * The list of Validator Details.
2470
+ * The list of validator Details.
2100
2471
  */
2101
2472
  validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2102
2473
  };
@@ -2106,6 +2477,12 @@ declare enum Network {
2106
2477
  FUJI = "fuji"
2107
2478
  }
2108
2479
 
2480
+ declare enum ValidationStatusType {
2481
+ COMPLETED = "completed",
2482
+ ACTIVE = "active",
2483
+ PENDING = "pending"
2484
+ }
2485
+
2109
2486
  type XChainAssetDetails = {
2110
2487
  /**
2111
2488
  * Unique ID for an asset.
@@ -2248,7 +2625,7 @@ declare class PrimaryNetworkService {
2248
2625
  * @returns ListValidatorDetailsResponse
2249
2626
  * @throws ApiError
2250
2627
  */
2251
- listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, }: {
2628
+ listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2252
2629
  /**
2253
2630
  * Either mainnet or a testnet.
2254
2631
  */
@@ -2274,9 +2651,33 @@ declare class PrimaryNetworkService {
2274
2651
  */
2275
2652
  validationStatus?: ValidationStatusType;
2276
2653
  /**
2277
- * The minimum delegation capacity, used to filter the set of nodes being returned (Units - nAVAX). Default is 0.
2654
+ * 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
2278
2655
  */
2279
2656
  minDelegationCapacity?: any;
2657
+ /**
2658
+ * 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.
2659
+ */
2660
+ maxDelegationCapacity?: any;
2661
+ /**
2662
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2663
+ */
2664
+ minTimeRemaining?: any;
2665
+ /**
2666
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2667
+ */
2668
+ maxTimeRemaining?: any;
2669
+ /**
2670
+ * 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
+ */
2672
+ minFeePercentage?: any;
2673
+ /**
2674
+ * 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
+ */
2676
+ maxFeePercentage?: any;
2677
+ /**
2678
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
2679
+ */
2680
+ subnetId?: string;
2280
2681
  }): CancelablePromise<ListValidatorDetailsResponse>;
2281
2682
  /**
2282
2683
  * Get single validator details
@@ -2316,7 +2717,7 @@ declare class PrimaryNetworkService {
2316
2717
  * @returns ListDelegatorDetailsResponse
2317
2718
  * @throws ApiError
2318
2719
  */
2319
- listDelegators({ network, pageSize, pageToken, sortOrder, delegationStatus, rewardAddresses, nodeIds, }: {
2720
+ listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2320
2721
  /**
2321
2722
  * Either mainnet or a testnet.
2322
2723
  */
@@ -2329,6 +2730,10 @@ declare class PrimaryNetworkService {
2329
2730
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2330
2731
  */
2331
2732
  pageToken?: string;
2733
+ /**
2734
+ * A comma separated list of reward addresses to filter by.
2735
+ */
2736
+ rewardAddresses?: string;
2332
2737
  /**
2333
2738
  * 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.
2334
2739
  */
@@ -2337,10 +2742,6 @@ declare class PrimaryNetworkService {
2337
2742
  * Delegation status of the node.
2338
2743
  */
2339
2744
  delegationStatus?: DelegationStatusType;
2340
- /**
2341
- * A comma separated list of reward addresses to filter by.
2342
- */
2343
- rewardAddresses?: string;
2344
2745
  /**
2345
2746
  * A comma separated list of node ids to filter by.
2346
2747
  */
@@ -2414,13 +2815,57 @@ type ListCChainAtomicBalancesResponse = {
2414
2815
  chainInfo: PrimaryNetworkChainInfo;
2415
2816
  };
2416
2817
 
2417
- type PChainAsset = {
2818
+ type Asset = {
2819
+ /**
2820
+ * Unique ID for an asset.
2821
+ */
2418
2822
  assetId: string;
2823
+ /**
2824
+ * Name of this asset.
2825
+ */
2826
+ name: string;
2827
+ /**
2828
+ * Symbol for this asset (max 4 characters).
2829
+ */
2830
+ symbol: string;
2831
+ /**
2832
+ * Denomination of this asset to represent fungibility.
2833
+ */
2834
+ denomination: number;
2835
+ /**
2836
+ * Type of asset like SECP256K1 or NFT.
2837
+ */
2838
+ type: string;
2839
+ /**
2840
+ * Amount of the asset.
2841
+ */
2419
2842
  amount: string;
2420
2843
  };
2421
2844
 
2422
2845
  type PChainSharedAsset = {
2846
+ /**
2847
+ * Unique ID for an asset.
2848
+ */
2423
2849
  assetId: string;
2850
+ /**
2851
+ * Name of this asset.
2852
+ */
2853
+ name: string;
2854
+ /**
2855
+ * Symbol for this asset (max 4 characters).
2856
+ */
2857
+ symbol: string;
2858
+ /**
2859
+ * Denomination of this asset to represent fungibility.
2860
+ */
2861
+ denomination: number;
2862
+ /**
2863
+ * Type of asset like SECP256K1 or NFT.
2864
+ */
2865
+ type: string;
2866
+ /**
2867
+ * Amount of the asset.
2868
+ */
2424
2869
  amount: string;
2425
2870
  sharedWithChainId: string;
2426
2871
  status: string;
@@ -2430,27 +2875,27 @@ type PChainBalance = {
2430
2875
  /**
2431
2876
  * 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.
2432
2877
  */
2433
- unlockedUnstaked: Array<PChainAsset>;
2878
+ unlockedUnstaked: Array<Asset>;
2434
2879
  /**
2435
2880
  * 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.
2436
2881
  */
2437
- unlockedStaked: Array<PChainAsset>;
2882
+ unlockedStaked: Array<Asset>;
2438
2883
  /**
2439
2884
  * 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.
2440
2885
  */
2441
- lockedPlatform: Array<PChainAsset>;
2886
+ lockedPlatform: Array<Asset>;
2442
2887
  /**
2443
2888
  * 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.
2444
2889
  */
2445
- lockedStakeable: Array<PChainAsset>;
2890
+ lockedStakeable: Array<Asset>;
2446
2891
  /**
2447
2892
  * 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.
2448
2893
  */
2449
- lockedStaked: Array<PChainAsset>;
2894
+ lockedStaked: Array<Asset>;
2450
2895
  /**
2451
2896
  * 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.
2452
2897
  */
2453
- pendingStaked: Array<PChainAsset>;
2898
+ pendingStaked: Array<Asset>;
2454
2899
  /**
2455
2900
  * 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.
2456
2901
  */
@@ -2589,6 +3034,7 @@ type GetPrimaryNetworkBlockResponse = {
2589
3034
  txCount: number;
2590
3035
  transactions: Array<string>;
2591
3036
  blockSizeBytes: number;
3037
+ currentSupply?: string;
2592
3038
  proposerDetails?: ProposerDetails;
2593
3039
  };
2594
3040
 
@@ -2601,6 +3047,7 @@ type PrimaryNetworkBlock = {
2601
3047
  txCount: number;
2602
3048
  transactions: Array<string>;
2603
3049
  blockSizeBytes: number;
3050
+ currentSupply?: string;
2604
3051
  proposerDetails?: ProposerDetails;
2605
3052
  };
2606
3053
 
@@ -2692,7 +3139,8 @@ declare class PrimaryNetworkBlocksService {
2692
3139
 
2693
3140
  declare enum RewardType {
2694
3141
  VALIDATOR = "VALIDATOR",
2695
- DELEGATOR = "DELEGATOR"
3142
+ DELEGATOR = "DELEGATOR",
3143
+ VALIDATOR_FEE = "VALIDATOR_FEE"
2696
3144
  }
2697
3145
 
2698
3146
  type HistoricalReward = {
@@ -2711,7 +3159,7 @@ type HistoricalReward = {
2711
3159
  /**
2712
3160
  * An object containing P-chain Asset ID and the amount of that Asset ID.
2713
3161
  */
2714
- reward: PChainAsset;
3162
+ reward: Asset;
2715
3163
  rewardTxHash: string;
2716
3164
  };
2717
3165
 
@@ -2738,7 +3186,7 @@ type PendingReward = {
2738
3186
  /**
2739
3187
  * An object containing P-chain Asset ID and the amount of that Asset ID.
2740
3188
  */
2741
- estimatedReward: PChainAsset;
3189
+ estimatedReward: Asset;
2742
3190
  };
2743
3191
 
2744
3192
  type ListPendingRewardsResponse = {
@@ -2758,7 +3206,7 @@ declare class PrimaryNetworkRewardsService {
2758
3206
  * @returns ListPendingRewardsResponse
2759
3207
  * @throws ApiError
2760
3208
  */
2761
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3209
+ listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
2762
3210
  /**
2763
3211
  * Either mainnet or a testnet.
2764
3212
  */
@@ -2775,6 +3223,10 @@ declare class PrimaryNetworkRewardsService {
2775
3223
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2776
3224
  */
2777
3225
  pageToken?: string;
3226
+ /**
3227
+ * A comma separated list of node ids to filter by.
3228
+ */
3229
+ nodeIds?: string;
2778
3230
  /**
2779
3231
  * 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.
2780
3232
  */
@@ -2786,7 +3238,7 @@ declare class PrimaryNetworkRewardsService {
2786
3238
  * @returns ListHistoricalRewardsResponse
2787
3239
  * @throws ApiError
2788
3240
  */
2789
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3241
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
2790
3242
  /**
2791
3243
  * Either mainnet or a testnet.
2792
3244
  */
@@ -2803,6 +3255,10 @@ declare class PrimaryNetworkRewardsService {
2803
3255
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2804
3256
  */
2805
3257
  pageToken?: string;
3258
+ /**
3259
+ * A comma separated list of node ids to filter by.
3260
+ */
3261
+ nodeIds?: string;
2806
3262
  /**
2807
3263
  * 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.
2808
3264
  */
@@ -2810,40 +3266,13 @@ declare class PrimaryNetworkRewardsService {
2810
3266
  }): CancelablePromise<ListHistoricalRewardsResponse>;
2811
3267
  }
2812
3268
 
2813
- type Asset = {
2814
- /**
2815
- * Unique ID for an asset.
2816
- */
2817
- assetId: string;
2818
- /**
2819
- * Name of this asset.
2820
- */
2821
- name: string;
2822
- /**
2823
- * Symbol for this asset (max 4 characters).
2824
- */
2825
- symbol: string;
2826
- /**
2827
- * Denomination of this asset to represent fungibility.
2828
- */
2829
- denomination: number;
2830
- /**
2831
- * Type of asset like SECP256K1 or NFT.
2832
- */
2833
- type: string;
2834
- /**
2835
- * Amount of the asset.
2836
- */
2837
- amount: string;
2838
- };
2839
-
2840
3269
  type UtxoCredential = {
2841
3270
  /**
2842
- * Signature provided to consume the output
3271
+ * Signature provided to consume the output.
2843
3272
  */
2844
3273
  signature?: string;
2845
3274
  /**
2846
- * Public key associated with the signature
3275
+ * Public key associated with the signature.
2847
3276
  */
2848
3277
  publicKey?: string;
2849
3278
  };
@@ -2865,66 +3294,66 @@ type EVMInput = {
2865
3294
 
2866
3295
  type Utxo = {
2867
3296
  /**
2868
- * UTXO ID for this output.
3297
+ * Addresses that are eligible to sign the consumption of this output.
2869
3298
  */
2870
- utxoId: string;
3299
+ addresses: Array<string>;
2871
3300
  asset: Asset;
2872
3301
  /**
2873
- * Type of output.
3302
+ * Blockchain ID on which this output is consumed on.
2874
3303
  */
2875
- utxoType: string;
3304
+ consumedOnChainId: string;
2876
3305
  /**
2877
- * Blockchain ID on which this output is created on.
3306
+ * Transaction ID that consumed this output.
2878
3307
  */
2879
- createdOnChainId: string;
3308
+ consumingTxHash?: string;
2880
3309
  /**
2881
- * Blockchain ID on which this output is consumed on.
3310
+ * Blockchain ID on which this output is created on.
2882
3311
  */
2883
- consumedOnChainId: string;
3312
+ createdOnChainId: string;
2884
3313
  /**
2885
- * Transaction ID that created this output.
3314
+ * UTXO ID for this output.
2886
3315
  */
2887
- creationTxHash: string;
3316
+ utxoId: string;
2888
3317
  /**
2889
- * Transaction ID that consumed this output.
3318
+ * Unix timestamp in seconds at which this output was consumed.
2890
3319
  */
2891
- consumingTxHash?: string;
3320
+ consumingTxTimestamp?: number;
2892
3321
  /**
2893
- * Timestamp in seconds this output is consumed.
3322
+ * Transaction ID that created this output.
2894
3323
  */
2895
- consumingTxTimestamp?: number;
3324
+ creationTxHash: string;
2896
3325
  /**
2897
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3326
+ * Credentials that signed the transaction to consume this utxo
2898
3327
  */
2899
- outputIndex: string;
3328
+ credentials?: Array<UtxoCredential>;
2900
3329
  /**
2901
- * Timestamp in seconds this outptut is created on.
3330
+ * Index representing the minting set for the NFT mint output.
2902
3331
  */
2903
- timestamp: number;
3332
+ groupId?: number;
2904
3333
  /**
2905
3334
  * Locktime in seconds after which this output can be consumed.
2906
3335
  */
2907
3336
  locktime: number;
2908
3337
  /**
2909
- * Minimum number of signatures required to consume this output.
3338
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
2910
3339
  */
2911
- threshold: number;
3340
+ outputIndex: string;
2912
3341
  /**
2913
- * Addresses that are eligible to sign the consumption of this output.
3342
+ * Hex encoded data for NFT assets.
2914
3343
  */
2915
- addresses: Array<string>;
3344
+ payload?: string;
2916
3345
  /**
2917
- * Hex encoded data for NFT assets
3346
+ * Minimum number of signatures required to consume this output.
2918
3347
  */
2919
- payload?: string;
3348
+ threshold: number;
2920
3349
  /**
2921
- * Index representing the minting set for the NFT mint output
3350
+ * Unix timestamp in seconds at which this outptut was created.
2922
3351
  */
2923
- groupId?: number;
3352
+ timestamp: number;
2924
3353
  /**
2925
- * Credentials that signed the transaction to consume this utxo
3354
+ * Type of output.
2926
3355
  */
2927
- credentials?: Array<UtxoCredential>;
3356
+ utxoType: string;
2928
3357
  };
2929
3358
 
2930
3359
  type CChainExportTransaction = {
@@ -3055,16 +3484,18 @@ type ListCChainAtomicTransactionsResponse = {
3055
3484
 
3056
3485
  declare enum PChainTransactionType {
3057
3486
  ADD_VALIDATOR_TX = "AddValidatorTx",
3058
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3059
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3060
3487
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3061
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3062
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3488
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3063
3489
  CREATE_CHAIN_TX = "CreateChainTx",
3064
3490
  CREATE_SUBNET_TX = "CreateSubnetTx",
3065
3491
  IMPORT_TX = "ImportTx",
3066
3492
  EXPORT_TX = "ExportTx",
3067
3493
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3494
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3495
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3496
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3497
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3498
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3068
3499
  UNKNOWN = "UNKNOWN"
3069
3500
  }
3070
3501
 
@@ -3075,29 +3506,48 @@ declare enum UtxoType {
3075
3506
 
3076
3507
  type PChainUtxo = {
3077
3508
  /**
3078
- * An array of P-Chain wallet addresses.
3509
+ * Addresses that are eligible to sign the consumption of this output.
3079
3510
  */
3080
3511
  addresses: Array<string>;
3512
+ asset: Asset;
3513
+ /**
3514
+ * Blockchain ID on which this output is consumed on.
3515
+ */
3516
+ consumedOnChainId: string;
3517
+ /**
3518
+ * Transaction ID that consumed this output.
3519
+ */
3520
+ consumingTxHash?: string;
3521
+ /**
3522
+ * Blockchain ID on which this output is created on.
3523
+ */
3524
+ createdOnChainId: string;
3525
+ /**
3526
+ * UTXO ID for this output.
3527
+ */
3081
3528
  utxoId: string;
3082
- txHash: string;
3083
- outputIndex: number;
3529
+ /**
3530
+ * @deprecated
3531
+ */
3532
+ amount: string;
3533
+ /**
3534
+ * @deprecated
3535
+ */
3536
+ assetId: string;
3084
3537
  blockNumber: string;
3085
3538
  blockTimestamp: number;
3086
- consumingTxHash?: string;
3087
- consumingBlockTimestamp?: number;
3088
3539
  consumingBlockNumber?: string;
3089
- assetId: string;
3090
- utxoType: UtxoType;
3091
- amount: string;
3092
- stakeableLocktime?: number;
3540
+ consumingBlockTimestamp?: number;
3093
3541
  platformLocktime?: number;
3094
- threshold?: number;
3095
- createdOnChainId: string;
3096
- consumedOnChainId: string;
3542
+ outputIndex: number;
3543
+ rewardType?: RewardType;
3544
+ stakeableLocktime?: number;
3097
3545
  staked?: boolean;
3098
- utxoStartTimestamp?: number;
3546
+ threshold?: number;
3547
+ txHash: string;
3099
3548
  utxoEndTimestamp?: number;
3100
- rewardType?: RewardType;
3549
+ utxoStartTimestamp?: number;
3550
+ utxoType: UtxoType;
3101
3551
  };
3102
3552
 
3103
3553
  type PChainTransaction = {
@@ -3125,15 +3575,15 @@ type PChainTransaction = {
3125
3575
  /**
3126
3576
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3127
3577
  */
3128
- value: Array<PChainAsset>;
3578
+ value: Array<Asset>;
3129
3579
  /**
3130
3580
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3131
3581
  */
3132
- amountBurned: Array<PChainAsset>;
3582
+ amountBurned: Array<Asset>;
3133
3583
  /**
3134
3584
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3135
3585
  */
3136
- amountStaked: Array<PChainAsset>;
3586
+ amountStaked: Array<Asset>;
3137
3587
  /**
3138
3588
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3139
3589
  */
@@ -3159,6 +3609,7 @@ type PChainTransaction = {
3159
3609
  */
3160
3610
  estimatedReward?: string;
3161
3611
  rewardTxHash?: string;
3612
+ rewardAddresses?: Array<string>;
3162
3613
  memo?: string;
3163
3614
  /**
3164
3615
  * Present for RewardValidatorTx
@@ -3175,6 +3626,15 @@ type ListPChainTransactionsResponse = {
3175
3626
  chainInfo: PrimaryNetworkChainInfo;
3176
3627
  };
3177
3628
 
3629
+ declare enum XChainTransactionType {
3630
+ BASE_TX = "BaseTx",
3631
+ CREATE_ASSET_TX = "CreateAssetTx",
3632
+ OPERATION_TX = "OperationTx",
3633
+ IMPORT_TX = "ImportTx",
3634
+ EXPORT_TX = "ExportTx",
3635
+ UNKNOWN = "UNKNOWN"
3636
+ }
3637
+
3178
3638
  type XChainLinearTransaction = {
3179
3639
  /**
3180
3640
  * Unique ID for this transaction.
@@ -3191,7 +3651,7 @@ type XChainLinearTransaction = {
3191
3651
  /**
3192
3652
  * Type of transaction.
3193
3653
  */
3194
- txType: string;
3654
+ txType: XChainTransactionType;
3195
3655
  /**
3196
3656
  * Hex encoded memo bytes for this transaction.
3197
3657
  */
@@ -3268,7 +3728,7 @@ type XChainNonLinearTransaction = {
3268
3728
  /**
3269
3729
  * Type of transaction.
3270
3730
  */
3271
- txType: string;
3731
+ txType: XChainTransactionType;
3272
3732
  /**
3273
3733
  * Hex encoded memo bytes for this transaction.
3274
3734
  */
@@ -3326,16 +3786,18 @@ declare enum PChainId {
3326
3786
 
3327
3787
  declare enum PrimaryNetworkTxType {
3328
3788
  ADD_VALIDATOR_TX = "AddValidatorTx",
3329
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3330
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3331
3789
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3332
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3333
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3790
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3334
3791
  CREATE_CHAIN_TX = "CreateChainTx",
3335
3792
  CREATE_SUBNET_TX = "CreateSubnetTx",
3336
3793
  IMPORT_TX = "ImportTx",
3337
3794
  EXPORT_TX = "ExportTx",
3338
3795
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3796
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3797
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3798
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3799
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3800
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3339
3801
  UNKNOWN = "UNKNOWN",
3340
3802
  BASE_TX = "BaseTx",
3341
3803
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3665,9 +4127,11 @@ declare class PrimaryNetworkVerticesService {
3665
4127
 
3666
4128
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
3667
4129
  declare class Glacier {
4130
+ readonly default: DefaultService;
3668
4131
  readonly evmBalances: EvmBalancesService;
3669
4132
  readonly evmBlocks: EvmBlocksService;
3670
4133
  readonly evmChains: EvmChainsService;
4134
+ readonly evmContracts: EvmContractsService;
3671
4135
  readonly evmTransactions: EvmTransactionsService;
3672
4136
  readonly healthCheck: HealthCheckService;
3673
4137
  readonly nfTs: NfTsService;
@@ -3700,4 +4164,4 @@ declare class ApiError extends Error {
3700
4164
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3701
4165
  }
3702
4166
 
3703
- 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, 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 };
4167
+ 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, 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 };