@avalabs/glacier-sdk 2.8.0-canary.e49772d.0 → 2.8.0-canary.ea6afdd.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 (62) hide show
  1. package/dist/index.d.ts +603 -264
  2. package/dist/index.js +211 -11
  3. package/esm/generated/Glacier.d.ts +6 -0
  4. package/esm/generated/Glacier.js +9 -0
  5. package/esm/generated/models/ActiveDelegatorDetails.d.ts +7 -3
  6. package/esm/generated/models/ActiveDelegatorDetails.js +8 -0
  7. package/esm/generated/models/ActiveValidatorDetails.d.ts +14 -6
  8. package/esm/generated/models/ActiveValidatorDetails.js +8 -0
  9. package/esm/generated/models/ChainInfo.d.ts +1 -0
  10. package/esm/generated/models/CompletedDelegatorDetails.d.ts +7 -3
  11. package/esm/generated/models/CompletedDelegatorDetails.js +8 -0
  12. package/esm/generated/models/CompletedValidatorDetails.d.ts +9 -3
  13. package/esm/generated/models/CompletedValidatorDetails.js +8 -0
  14. package/esm/generated/models/ContractSubmissionBody.d.ts +10 -0
  15. package/esm/generated/models/ContractSubmissionErc1155.d.ts +31 -0
  16. package/esm/generated/models/ContractSubmissionErc1155.js +8 -0
  17. package/esm/generated/models/ContractSubmissionErc20.d.ts +31 -0
  18. package/esm/generated/models/ContractSubmissionErc20.js +8 -0
  19. package/esm/generated/models/ContractSubmissionErc721.d.ts +29 -0
  20. package/esm/generated/models/ContractSubmissionErc721.js +8 -0
  21. package/esm/generated/models/ContractSubmissionUnknown.d.ts +25 -0
  22. package/esm/generated/models/ContractSubmissionUnknown.js +8 -0
  23. package/esm/generated/models/Erc1155Contract.d.ts +2 -1
  24. package/esm/generated/models/Erc20Contract.d.ts +2 -1
  25. package/esm/generated/models/Erc721Contract.d.ts +0 -1
  26. package/esm/generated/models/GetChainResponse.d.ts +1 -0
  27. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  28. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  29. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  30. package/esm/generated/models/PChainTransaction.d.ts +1 -0
  31. package/esm/generated/models/PChainTransactionType.d.ts +1 -0
  32. package/esm/generated/models/PChainTransactionType.js +1 -0
  33. package/esm/generated/models/PendingDelegatorDetails.d.ts +7 -3
  34. package/esm/generated/models/PendingDelegatorDetails.js +8 -0
  35. package/esm/generated/models/PendingValidatorDetails.d.ts +9 -4
  36. package/esm/generated/models/PendingValidatorDetails.js +8 -0
  37. package/esm/generated/models/PricingProviders.d.ts +5 -0
  38. package/esm/generated/models/PrimaryNetworkTxType.d.ts +1 -0
  39. package/esm/generated/models/PrimaryNetworkTxType.js +1 -0
  40. package/esm/generated/models/RewardType.d.ts +2 -1
  41. package/esm/generated/models/RewardType.js +1 -0
  42. package/esm/generated/models/Rewards.d.ts +2 -0
  43. package/esm/generated/models/UnknownContract.d.ts +0 -1
  44. package/esm/generated/models/UpdateContractResponse.d.ts +10 -0
  45. package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
  46. package/esm/generated/services/DefaultService.d.ts +14 -0
  47. package/esm/generated/services/DefaultService.js +13 -0
  48. package/esm/generated/services/EvmContractsService.d.ts +48 -0
  49. package/esm/generated/services/EvmContractsService.js +36 -0
  50. package/esm/generated/services/EvmTransactionsService.js +1 -1
  51. package/esm/generated/services/NfTsService.d.ts +76 -0
  52. package/esm/generated/services/NfTsService.js +56 -0
  53. package/esm/generated/services/OperationsService.d.ts +11 -11
  54. package/esm/generated/services/OperationsService.js +10 -10
  55. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +10 -2
  56. package/esm/generated/services/PrimaryNetworkRewardsService.js +4 -0
  57. package/esm/generated/services/PrimaryNetworkService.d.ts +32 -8
  58. package/esm/generated/services/PrimaryNetworkService.js +16 -4
  59. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +5 -1
  60. package/esm/index.d.ts +12 -0
  61. package/esm/index.js +13 -0
  62. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -60,6 +60,16 @@ declare abstract class BaseHttpRequest {
60
60
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
61
61
  }
62
62
 
63
+ declare class DefaultService {
64
+ readonly httpRequest: BaseHttpRequest;
65
+ constructor(httpRequest: BaseHttpRequest);
66
+ /**
67
+ * @returns any
68
+ * @throws ApiError
69
+ */
70
+ mediaControllerUploadImage(): CancelablePromise<any>;
71
+ }
72
+
63
73
  declare enum CurrencyCode {
64
74
  USD = "usd",
65
75
  EUR = "eur",
@@ -680,6 +690,7 @@ type GetChainResponse = {
680
690
  utilityAddresses?: UtilityAddresses;
681
691
  networkToken: NetworkToken;
682
692
  chainLogoUri?: string;
693
+ private?: boolean;
683
694
  };
684
695
 
685
696
  type ChainInfo = {
@@ -701,6 +712,7 @@ type ChainInfo = {
701
712
  utilityAddresses?: UtilityAddresses;
702
713
  networkToken: NetworkToken;
703
714
  chainLogoUri?: string;
715
+ private?: boolean;
704
716
  };
705
717
 
706
718
  type ListChainsResponse = {
@@ -741,6 +753,322 @@ declare class EvmChainsService {
741
753
  }): CancelablePromise<GetChainResponse>;
742
754
  }
743
755
 
756
+ type ImageAsset = {
757
+ assetId?: string;
758
+ /**
759
+ * OUTPUT ONLY
760
+ */
761
+ imageUri?: string;
762
+ };
763
+
764
+ type PricingProviders = {
765
+ coingeckoCoinId?: string;
766
+ };
767
+
768
+ declare enum ResourceLinkType {
769
+ BLOG = "Blog",
770
+ COIN_GECKO = "CoinGecko",
771
+ COIN_MARKET_CAP = "CoinMarketCap",
772
+ DISCORD = "Discord",
773
+ DOCUMENTATION = "Documentation",
774
+ FACEBOOK = "Facebook",
775
+ GITHUB = "Github",
776
+ INSTAGRAM = "Instagram",
777
+ LINKED_IN = "LinkedIn",
778
+ MEDIUM = "Medium",
779
+ REDDIT = "Reddit",
780
+ SUPPORT = "Support",
781
+ TELEGRAM = "Telegram",
782
+ TIK_TOK = "TikTok",
783
+ TWITTER = "Twitter",
784
+ WEBSITE = "Website",
785
+ WHITEPAPER = "Whitepaper",
786
+ YOUTUBE = "Youtube"
787
+ }
788
+
789
+ type ResourceLink = {
790
+ type: ResourceLinkType;
791
+ url: string;
792
+ };
793
+
794
+ type ContractSubmissionErc1155 = {
795
+ description?: string;
796
+ officialSite?: string;
797
+ email?: string;
798
+ logoAsset?: ImageAsset;
799
+ bannerAsset?: ImageAsset;
800
+ color?: string;
801
+ resourceLinks?: Array<ResourceLink>;
802
+ tags?: Array<string>;
803
+ /**
804
+ * The contract name.
805
+ */
806
+ name: string;
807
+ ercType: ContractSubmissionErc1155.ercType;
808
+ /**
809
+ * The contract symbol.
810
+ */
811
+ symbol: string;
812
+ pricingProviders?: PricingProviders;
813
+ };
814
+ declare namespace ContractSubmissionErc1155 {
815
+ enum ercType {
816
+ ERC_1155 = "ERC-1155"
817
+ }
818
+ }
819
+
820
+ type ContractSubmissionErc20 = {
821
+ description?: string;
822
+ officialSite?: string;
823
+ email?: string;
824
+ logoAsset?: ImageAsset;
825
+ bannerAsset?: ImageAsset;
826
+ color?: string;
827
+ resourceLinks?: Array<ResourceLink>;
828
+ tags?: Array<string>;
829
+ /**
830
+ * The contract name.
831
+ */
832
+ name: string;
833
+ ercType: ContractSubmissionErc20.ercType;
834
+ /**
835
+ * The contract symbol.
836
+ */
837
+ symbol: string;
838
+ pricingProviders?: PricingProviders;
839
+ };
840
+ declare namespace ContractSubmissionErc20 {
841
+ enum ercType {
842
+ ERC_20 = "ERC-20"
843
+ }
844
+ }
845
+
846
+ type ContractSubmissionErc721 = {
847
+ description?: string;
848
+ officialSite?: string;
849
+ email?: string;
850
+ logoAsset?: ImageAsset;
851
+ bannerAsset?: ImageAsset;
852
+ color?: string;
853
+ resourceLinks?: Array<ResourceLink>;
854
+ tags?: Array<string>;
855
+ /**
856
+ * The contract name.
857
+ */
858
+ name: string;
859
+ ercType: ContractSubmissionErc721.ercType;
860
+ /**
861
+ * The contract symbol.
862
+ */
863
+ symbol: string;
864
+ };
865
+ declare namespace ContractSubmissionErc721 {
866
+ enum ercType {
867
+ ERC_721 = "ERC-721"
868
+ }
869
+ }
870
+
871
+ type ContractSubmissionUnknown = {
872
+ description?: string;
873
+ officialSite?: string;
874
+ email?: string;
875
+ logoAsset?: ImageAsset;
876
+ bannerAsset?: ImageAsset;
877
+ color?: string;
878
+ resourceLinks?: Array<ResourceLink>;
879
+ tags?: Array<string>;
880
+ /**
881
+ * The contract name.
882
+ */
883
+ name: string;
884
+ ercType: ContractSubmissionUnknown.ercType;
885
+ };
886
+ declare namespace ContractSubmissionUnknown {
887
+ enum ercType {
888
+ UNKNOWN = "UNKNOWN"
889
+ }
890
+ }
891
+
892
+ type ContractSubmissionBody = {
893
+ contract: (ContractSubmissionErc1155 | ContractSubmissionErc20 | ContractSubmissionErc721 | ContractSubmissionUnknown);
894
+ };
895
+
896
+ type ContractDeploymentDetails = {
897
+ txHash: string;
898
+ /**
899
+ * The address that initiated the transaction which deployed this contract.
900
+ */
901
+ deployerAddress: string;
902
+ /**
903
+ * 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.
904
+ */
905
+ deployerContractAddress?: string;
906
+ };
907
+
908
+ type Erc1155Contract = {
909
+ /**
910
+ * The contract name.
911
+ */
912
+ name?: string;
913
+ description?: string;
914
+ officialSite?: string;
915
+ email?: string;
916
+ logoAsset?: ImageAsset;
917
+ bannerAsset?: ImageAsset;
918
+ color?: string;
919
+ resourceLinks?: Array<ResourceLink>;
920
+ tags?: Array<string>;
921
+ /**
922
+ * A wallet or contract address in mixed-case checksum encoding.
923
+ */
924
+ address: string;
925
+ deploymentDetails: ContractDeploymentDetails;
926
+ ercType: Erc1155Contract.ercType;
927
+ /**
928
+ * The contract symbol.
929
+ */
930
+ symbol?: string;
931
+ pricingProviders?: PricingProviders;
932
+ };
933
+ declare namespace Erc1155Contract {
934
+ enum ercType {
935
+ ERC_1155 = "ERC-1155"
936
+ }
937
+ }
938
+
939
+ type Erc20Contract = {
940
+ /**
941
+ * The contract name.
942
+ */
943
+ name?: string;
944
+ description?: string;
945
+ officialSite?: string;
946
+ email?: string;
947
+ logoAsset?: ImageAsset;
948
+ bannerAsset?: ImageAsset;
949
+ color?: string;
950
+ resourceLinks?: Array<ResourceLink>;
951
+ tags?: Array<string>;
952
+ /**
953
+ * A wallet or contract address in mixed-case checksum encoding.
954
+ */
955
+ address: string;
956
+ deploymentDetails: ContractDeploymentDetails;
957
+ ercType: Erc20Contract.ercType;
958
+ /**
959
+ * The contract symbol.
960
+ */
961
+ symbol?: string;
962
+ /**
963
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
964
+ */
965
+ decimals: number;
966
+ pricingProviders?: PricingProviders;
967
+ };
968
+ declare namespace Erc20Contract {
969
+ enum ercType {
970
+ ERC_20 = "ERC-20"
971
+ }
972
+ }
973
+
974
+ type Erc721Contract = {
975
+ /**
976
+ * The contract name.
977
+ */
978
+ name?: string;
979
+ description?: string;
980
+ officialSite?: string;
981
+ email?: string;
982
+ logoAsset?: ImageAsset;
983
+ bannerAsset?: ImageAsset;
984
+ color?: string;
985
+ resourceLinks?: Array<ResourceLink>;
986
+ tags?: Array<string>;
987
+ /**
988
+ * A wallet or contract address in mixed-case checksum encoding.
989
+ */
990
+ address: string;
991
+ deploymentDetails: ContractDeploymentDetails;
992
+ ercType: Erc721Contract.ercType;
993
+ /**
994
+ * The contract symbol.
995
+ */
996
+ symbol?: string;
997
+ };
998
+ declare namespace Erc721Contract {
999
+ enum ercType {
1000
+ ERC_721 = "ERC-721"
1001
+ }
1002
+ }
1003
+
1004
+ type UnknownContract = {
1005
+ /**
1006
+ * The contract name.
1007
+ */
1008
+ name?: string;
1009
+ description?: string;
1010
+ officialSite?: string;
1011
+ email?: string;
1012
+ logoAsset?: ImageAsset;
1013
+ bannerAsset?: ImageAsset;
1014
+ color?: string;
1015
+ resourceLinks?: Array<ResourceLink>;
1016
+ tags?: Array<string>;
1017
+ /**
1018
+ * A wallet or contract address in mixed-case checksum encoding.
1019
+ */
1020
+ address: string;
1021
+ deploymentDetails: ContractDeploymentDetails;
1022
+ ercType: UnknownContract.ercType;
1023
+ };
1024
+ declare namespace UnknownContract {
1025
+ enum ercType {
1026
+ UNKNOWN = "UNKNOWN"
1027
+ }
1028
+ }
1029
+
1030
+ type UpdateContractResponse = {
1031
+ contract: (UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract);
1032
+ };
1033
+
1034
+ declare class EvmContractsService {
1035
+ readonly httpRequest: BaseHttpRequest;
1036
+ constructor(httpRequest: BaseHttpRequest);
1037
+ /**
1038
+ * Get contract metadata
1039
+ * Gets metadata about the contract at the given address.
1040
+ * @returns any
1041
+ * @throws ApiError
1042
+ */
1043
+ getContractMetadata({ chainId, address, }: {
1044
+ /**
1045
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1046
+ */
1047
+ chainId: string;
1048
+ /**
1049
+ * Contract address on the relevant chain.
1050
+ */
1051
+ address: string;
1052
+ }): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1053
+ /**
1054
+ * Update contract information
1055
+ * Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
1056
+ * @returns UpdateContractResponse
1057
+ * @throws ApiError
1058
+ */
1059
+ updateContractInfo({ chainId, address, requestBody, }: {
1060
+ /**
1061
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1062
+ */
1063
+ chainId: string;
1064
+ /**
1065
+ * Contract address on the relevant chain.
1066
+ */
1067
+ address: string;
1068
+ requestBody: ContractSubmissionBody;
1069
+ }): CancelablePromise<UpdateContractResponse>;
1070
+ }
1071
+
744
1072
  type Erc1155Token = {
745
1073
  /**
746
1074
  * A wallet or contract address in mixed-case checksum encoding.
@@ -929,252 +1257,82 @@ type FullNativeTransactionDetails = {
929
1257
  /**
930
1258
  * The nonce used by the sender of the transaction.
931
1259
  */
932
- nonce: string;
933
- from: RichAddress;
934
- to: RichAddress;
935
- method?: Method;
936
- value: string;
937
- /**
938
- * The data sent for the transaction.
939
- */
940
- input: string;
941
- baseFeePerGas: string;
942
- maxFeePerGas?: string;
943
- maxPriorityFeePerGas?: string;
944
- };
945
-
946
- declare enum InternalTransactionOpCall {
947
- UNKNOWN = "UNKNOWN",
948
- CALL = "CALL",
949
- CREATE = "CREATE",
950
- CREATE2 = "CREATE2",
951
- CALLCODE = "CALLCODE",
952
- DELEGATECALL = "DELEGATECALL",
953
- STATICCALL = "STATICCALL"
954
- }
955
-
956
- type InternalTransactionDetails = {
957
- from: RichAddress;
958
- to: RichAddress;
959
- internalTxType: InternalTransactionOpCall;
960
- value: string;
961
- /**
962
- * True if the internal transaction was reverted.
963
- */
964
- isReverted: boolean;
965
- gasUsed: string;
966
- gasLimit: string;
967
- };
968
-
969
- type NetworkTokenDetails = {
970
- networkToken: NetworkToken;
971
- /**
972
- * The current token price, if available.
973
- */
974
- currentPrice?: Money;
975
- /**
976
- * The historical token price at the time the transaction occured, if available. Note, this is only provided if the transaction occured more than 24 hours ago.
977
- */
978
- historicalPrice?: Money;
979
- };
980
-
981
- type GetTransactionResponse = {
982
- /**
983
- * The list of ERC-20 transfers.
984
- */
985
- erc20Transfers?: Array<Erc20TransferDetails>;
986
- /**
987
- * The list of ERC-721 transfers.
988
- */
989
- erc721Transfers?: Array<Erc721TransferDetails>;
990
- /**
991
- * The list of ERC-1155 transfers.
992
- */
993
- erc1155Transfers?: Array<Erc1155TransferDetails>;
994
- /**
995
- * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
996
- */
997
- internalTransactions?: Array<InternalTransactionDetails>;
998
- networkTokenDetails: NetworkTokenDetails;
999
- nativeTransaction: FullNativeTransactionDetails;
1000
- };
1001
-
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
- declare enum ResourceLinkType {
1023
- BLOG = "Blog",
1024
- COIN_GECKO = "CoinGecko",
1025
- COIN_MARKET_CAP = "CoinMarketCap",
1026
- DISCORD = "Discord",
1027
- DOCUMENTATION = "Documentation",
1028
- FACEBOOK = "Facebook",
1029
- GITHUB = "Github",
1030
- INSTAGRAM = "Instagram",
1031
- LINKED_IN = "LinkedIn",
1032
- MEDIUM = "Medium",
1033
- REDDIT = "Reddit",
1034
- SUPPORT = "Support",
1035
- TELEGRAM = "Telegram",
1036
- TIK_TOK = "TikTok",
1037
- TWITTER = "Twitter",
1038
- WEBSITE = "Website",
1039
- WHITEPAPER = "Whitepaper",
1040
- YOUTUBE = "Youtube"
1041
- }
1042
-
1043
- type ResourceLink = {
1044
- type: ResourceLinkType;
1045
- url: string;
1046
- };
1047
-
1048
- type Erc1155Contract = {
1049
- /**
1050
- * The contract name.
1051
- */
1052
- name?: string;
1053
- description?: string;
1054
- officialSite?: string;
1055
- email?: string;
1056
- logoAsset?: ImageAsset;
1057
- bannerAsset?: ImageAsset;
1058
- color?: string;
1059
- coingeckoCoinId?: string;
1060
- resourceLinks?: Array<ResourceLink>;
1061
- tags?: Array<string>;
1062
- /**
1063
- * A wallet or contract address in mixed-case checksum encoding.
1064
- */
1065
- address: string;
1066
- deploymentDetails: ContractDeploymentDetails;
1067
- ercType: Erc1155Contract.ercType;
1068
- /**
1069
- * The contract symbol.
1070
- */
1071
- symbol?: string;
1072
- };
1073
- declare namespace Erc1155Contract {
1074
- enum ercType {
1075
- ERC_1155 = "ERC-1155"
1076
- }
1077
- }
1078
-
1079
- type Erc20Contract = {
1080
- /**
1081
- * The contract name.
1082
- */
1083
- name?: string;
1084
- description?: string;
1085
- officialSite?: string;
1086
- email?: string;
1087
- logoAsset?: ImageAsset;
1088
- bannerAsset?: ImageAsset;
1089
- color?: string;
1090
- coingeckoCoinId?: string;
1091
- resourceLinks?: Array<ResourceLink>;
1092
- tags?: Array<string>;
1093
- /**
1094
- * A wallet or contract address in mixed-case checksum encoding.
1095
- */
1096
- address: string;
1097
- deploymentDetails: ContractDeploymentDetails;
1098
- ercType: Erc20Contract.ercType;
1099
- /**
1100
- * The contract symbol.
1101
- */
1102
- symbol?: string;
1260
+ nonce: string;
1261
+ from: RichAddress;
1262
+ to: RichAddress;
1263
+ method?: Method;
1264
+ value: string;
1103
1265
  /**
1104
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1266
+ * The data sent for the transaction.
1105
1267
  */
1106
- decimals: number;
1268
+ input: string;
1269
+ baseFeePerGas: string;
1270
+ maxFeePerGas?: string;
1271
+ maxPriorityFeePerGas?: string;
1107
1272
  };
1108
- declare namespace Erc20Contract {
1109
- enum ercType {
1110
- ERC_20 = "ERC-20"
1111
- }
1273
+
1274
+ declare enum InternalTransactionOpCall {
1275
+ UNKNOWN = "UNKNOWN",
1276
+ CALL = "CALL",
1277
+ CREATE = "CREATE",
1278
+ CREATE2 = "CREATE2",
1279
+ CALLCODE = "CALLCODE",
1280
+ DELEGATECALL = "DELEGATECALL",
1281
+ STATICCALL = "STATICCALL"
1112
1282
  }
1113
1283
 
1114
- type Erc721Contract = {
1284
+ type InternalTransactionDetails = {
1285
+ from: RichAddress;
1286
+ to: RichAddress;
1287
+ internalTxType: InternalTransactionOpCall;
1288
+ value: string;
1115
1289
  /**
1116
- * The contract name.
1290
+ * True if the internal transaction was reverted.
1117
1291
  */
1118
- name?: string;
1119
- description?: string;
1120
- officialSite?: string;
1121
- email?: string;
1122
- logoAsset?: ImageAsset;
1123
- bannerAsset?: ImageAsset;
1124
- color?: string;
1125
- coingeckoCoinId?: string;
1126
- resourceLinks?: Array<ResourceLink>;
1127
- tags?: Array<string>;
1292
+ isReverted: boolean;
1293
+ gasUsed: string;
1294
+ gasLimit: string;
1295
+ };
1296
+
1297
+ type NetworkTokenDetails = {
1298
+ networkToken: NetworkToken;
1128
1299
  /**
1129
- * A wallet or contract address in mixed-case checksum encoding.
1300
+ * The current token price, if available.
1130
1301
  */
1131
- address: string;
1132
- deploymentDetails: ContractDeploymentDetails;
1133
- ercType: Erc721Contract.ercType;
1302
+ currentPrice?: Money;
1134
1303
  /**
1135
- * The contract symbol.
1304
+ * The historical token price at the time the transaction occured, if available. Note, this is only provided if the transaction occured more than 24 hours ago.
1136
1305
  */
1137
- symbol?: string;
1306
+ historicalPrice?: Money;
1138
1307
  };
1139
- declare namespace Erc721Contract {
1140
- enum ercType {
1141
- ERC_721 = "ERC-721"
1142
- }
1143
- }
1144
1308
 
1145
- type UnknownContract = {
1309
+ type GetTransactionResponse = {
1146
1310
  /**
1147
- * The contract name.
1311
+ * The list of ERC-20 transfers.
1148
1312
  */
1149
- name?: string;
1150
- description?: string;
1151
- officialSite?: string;
1152
- email?: string;
1153
- logoAsset?: ImageAsset;
1154
- bannerAsset?: ImageAsset;
1155
- color?: string;
1156
- coingeckoCoinId?: string;
1157
- resourceLinks?: Array<ResourceLink>;
1158
- tags?: Array<string>;
1313
+ erc20Transfers?: Array<Erc20TransferDetails>;
1159
1314
  /**
1160
- * A wallet or contract address in mixed-case checksum encoding.
1315
+ * The list of ERC-721 transfers.
1161
1316
  */
1162
- address: string;
1163
- deploymentDetails: ContractDeploymentDetails;
1164
- ercType: UnknownContract.ercType;
1317
+ erc721Transfers?: Array<Erc721TransferDetails>;
1318
+ /**
1319
+ * The list of ERC-1155 transfers.
1320
+ */
1321
+ erc1155Transfers?: Array<Erc1155TransferDetails>;
1322
+ /**
1323
+ * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
1324
+ */
1325
+ internalTransactions?: Array<InternalTransactionDetails>;
1326
+ networkTokenDetails: NetworkTokenDetails;
1327
+ nativeTransaction: FullNativeTransactionDetails;
1165
1328
  };
1166
- declare namespace UnknownContract {
1167
- enum ercType {
1168
- UNKNOWN = "UNKNOWN"
1169
- }
1170
- }
1171
1329
 
1172
1330
  type ListContractsResponse = {
1173
1331
  /**
1174
1332
  * 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.
1175
1333
  */
1176
1334
  nextPageToken?: string;
1177
- contracts: Array<(UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract)>;
1335
+ contracts: Array<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1178
1336
  };
1179
1337
 
1180
1338
  type Erc1155Transfer = {
@@ -1728,6 +1886,83 @@ declare class HealthCheckService {
1728
1886
  }>;
1729
1887
  }
1730
1888
 
1889
+ type ListNftTokens = {
1890
+ /**
1891
+ * 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.
1892
+ */
1893
+ nextPageToken?: string;
1894
+ tokens: (Array<Erc721Token> | Array<Erc1155Token>);
1895
+ };
1896
+
1897
+ declare class NfTsService {
1898
+ readonly httpRequest: BaseHttpRequest;
1899
+ constructor(httpRequest: BaseHttpRequest);
1900
+ /**
1901
+ * Reindex NFT metadata
1902
+ * Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
1903
+ * @returns any
1904
+ * @throws ApiError
1905
+ */
1906
+ reindexNft({ chainId, address, tokenId, }: {
1907
+ /**
1908
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1909
+ */
1910
+ chainId: string;
1911
+ /**
1912
+ * Contract address on the relevant chain.
1913
+ */
1914
+ address: string;
1915
+ /**
1916
+ * TokenId on the contract
1917
+ */
1918
+ tokenId: string;
1919
+ }): CancelablePromise<any>;
1920
+ /**
1921
+ * List tokens
1922
+ * Lists tokens for an NFT contract.
1923
+ * @returns ListNftTokens
1924
+ * @throws ApiError
1925
+ */
1926
+ listTokens({ chainId, address, pageSize, pageToken, }: {
1927
+ /**
1928
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1929
+ */
1930
+ chainId: string;
1931
+ /**
1932
+ * Contract address on the relevant chain.
1933
+ */
1934
+ address: string;
1935
+ /**
1936
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1937
+ */
1938
+ pageSize?: number;
1939
+ /**
1940
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1941
+ */
1942
+ pageToken?: string;
1943
+ }): CancelablePromise<ListNftTokens>;
1944
+ /**
1945
+ * Get token details
1946
+ * Gets token details for a specific token of an NFT contract.
1947
+ * @returns any
1948
+ * @throws ApiError
1949
+ */
1950
+ getTokenDetails({ chainId, address, tokenId, }: {
1951
+ /**
1952
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1953
+ */
1954
+ chainId: string;
1955
+ /**
1956
+ * Contract address on the relevant chain.
1957
+ */
1958
+ address: string;
1959
+ /**
1960
+ * TokenId on the contract
1961
+ */
1962
+ tokenId: string;
1963
+ }): CancelablePromise<(Erc721Token | Erc1155Token)>;
1964
+ }
1965
+
1731
1966
  type EvmNetworkOptions = {
1732
1967
  addresses: Array<string>;
1733
1968
  includeChains: Array<string>;
@@ -1822,17 +2057,6 @@ type OperationStatusResponse = {
1822
2057
  declare class OperationsService {
1823
2058
  readonly httpRequest: BaseHttpRequest;
1824
2059
  constructor(httpRequest: BaseHttpRequest);
1825
- /**
1826
- * Create transaction export operation
1827
- * Trigger a transaction export operation with given parameters.
1828
- *
1829
- * 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.
1830
- * @returns OperationStatusResponse
1831
- * @throws ApiError
1832
- */
1833
- postTransactionExportJob({ requestBody, }: {
1834
- requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
1835
- }): CancelablePromise<OperationStatusResponse>;
1836
2060
  /**
1837
2061
  * Get operation
1838
2062
  * Gets operation details for the given operation id.
@@ -1845,6 +2069,17 @@ declare class OperationsService {
1845
2069
  */
1846
2070
  operationId: string;
1847
2071
  }): CancelablePromise<OperationStatusResponse>;
2072
+ /**
2073
+ * Create transaction export operation
2074
+ * Trigger a transaction export operation with given parameters.
2075
+ *
2076
+ * 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.
2077
+ * @returns OperationStatusResponse
2078
+ * @throws ApiError
2079
+ */
2080
+ postTransactionExportJob({ requestBody, }: {
2081
+ requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2082
+ }): CancelablePromise<OperationStatusResponse>;
1848
2083
  }
1849
2084
 
1850
2085
  declare enum BlockchainIds {
@@ -1913,39 +2148,57 @@ type ListBlockchainsResponse = {
1913
2148
 
1914
2149
  type ActiveDelegatorDetails = {
1915
2150
  txHash: string;
2151
+ nodeId: string;
1916
2152
  rewardAddresses: Array<string>;
1917
2153
  amountDelegated: string;
1918
2154
  delegationFee: string;
1919
2155
  startTimestamp: number;
1920
2156
  endTimestamp: number;
1921
- delegationStatus: DelegationStatusType;
1922
2157
  estimatedGrossReward: string;
1923
2158
  estimatedNetReward: string;
2159
+ delegationStatus: ActiveDelegatorDetails.delegationStatus;
1924
2160
  };
2161
+ declare namespace ActiveDelegatorDetails {
2162
+ enum delegationStatus {
2163
+ ACTIVE = "active"
2164
+ }
2165
+ }
1925
2166
 
1926
2167
  type CompletedDelegatorDetails = {
1927
2168
  txHash: string;
2169
+ nodeId: string;
1928
2170
  rewardAddresses: Array<string>;
1929
2171
  amountDelegated: string;
1930
2172
  delegationFee: string;
1931
2173
  startTimestamp: number;
1932
2174
  endTimestamp: number;
1933
- delegationStatus: DelegationStatusType;
1934
2175
  grossReward: string;
1935
2176
  netReward: string;
2177
+ delegationStatus: CompletedDelegatorDetails.delegationStatus;
1936
2178
  };
2179
+ declare namespace CompletedDelegatorDetails {
2180
+ enum delegationStatus {
2181
+ COMPLETED = "completed"
2182
+ }
2183
+ }
1937
2184
 
1938
2185
  type PendingDelegatorDetails = {
1939
2186
  txHash: string;
2187
+ nodeId: string;
1940
2188
  rewardAddresses: Array<string>;
1941
2189
  amountDelegated: string;
1942
2190
  delegationFee: string;
1943
2191
  startTimestamp: number;
1944
2192
  endTimestamp: number;
1945
- delegationStatus: DelegationStatusType;
1946
2193
  estimatedGrossReward: string;
1947
2194
  estimatedNetReward: string;
2195
+ delegationStatus: PendingDelegatorDetails.delegationStatus;
1948
2196
  };
2197
+ declare namespace PendingDelegatorDetails {
2198
+ enum delegationStatus {
2199
+ PENDING = "pending"
2200
+ }
2201
+ }
1949
2202
 
1950
2203
  type ListDelegatorDetailsResponse = {
1951
2204
  /**
@@ -1983,49 +2236,86 @@ type ListSubnetsResponse = {
1983
2236
  type Rewards = {
1984
2237
  validationRewardAmount: string;
1985
2238
  delegationRewardAmount: string;
2239
+ rewardAddresses?: Array<string>;
2240
+ rewardTxHash?: string;
1986
2241
  };
1987
2242
 
1988
- declare enum ValidationStatusType {
1989
- COMPLETED = "completed",
1990
- ACTIVE = "active",
1991
- PENDING = "pending"
1992
- }
2243
+ type ValidatorHealthDetails = {
2244
+ /**
2245
+ * Percent of requests responded to in last polling.
2246
+ */
2247
+ reachabilityPercent: number;
2248
+ /**
2249
+ * Percent of requests benched on the P-Chain in last polling.
2250
+ */
2251
+ benchedPChainRequestsPercent: number;
2252
+ /**
2253
+ * Percentage of requests benched on the X-Chain in last polling.
2254
+ */
2255
+ benchedXChainRequestsPercent: number;
2256
+ /**
2257
+ * Percentage of requests benched on the C-Chain in last polling.
2258
+ */
2259
+ benchedCChainRequestsPercent: number;
2260
+ };
1993
2261
 
1994
2262
  type ActiveValidatorDetails = {
2263
+ txHash: string;
1995
2264
  nodeId: string;
2265
+ subnetId: string;
1996
2266
  amountStaked: string;
1997
- delegationFee: string;
2267
+ delegationFee?: string;
1998
2268
  startTimestamp: number;
1999
2269
  endTimestamp: number;
2000
- validationStatus: ValidationStatusType;
2001
2270
  stakePercentage: number;
2002
2271
  delegatorCount: number;
2003
- amountDelegated: string;
2272
+ amountDelegated?: string;
2004
2273
  uptimePerformance: number;
2005
- avalancheGoVersion: string;
2006
- delegationCapacity: string;
2274
+ avalancheGoVersion?: string;
2275
+ delegationCapacity?: string;
2007
2276
  potentialRewards: Rewards;
2277
+ validationStatus: ActiveValidatorDetails.validationStatus;
2278
+ validatorHealth: ValidatorHealthDetails;
2008
2279
  };
2280
+ declare namespace ActiveValidatorDetails {
2281
+ enum validationStatus {
2282
+ ACTIVE = "active"
2283
+ }
2284
+ }
2009
2285
 
2010
2286
  type CompletedValidatorDetails = {
2287
+ txHash: string;
2011
2288
  nodeId: string;
2289
+ subnetId: string;
2012
2290
  amountStaked: string;
2013
- delegationFee: string;
2291
+ delegationFee?: string;
2014
2292
  startTimestamp: number;
2015
2293
  endTimestamp: number;
2016
- validationStatus: ValidationStatusType;
2017
2294
  delegatorCount: number;
2018
2295
  rewards: Rewards;
2296
+ validationStatus: CompletedValidatorDetails.validationStatus;
2019
2297
  };
2298
+ declare namespace CompletedValidatorDetails {
2299
+ enum validationStatus {
2300
+ COMPLETED = "completed"
2301
+ }
2302
+ }
2020
2303
 
2021
2304
  type PendingValidatorDetails = {
2305
+ txHash: string;
2022
2306
  nodeId: string;
2307
+ subnetId: string;
2023
2308
  amountStaked: string;
2024
- delegationFee: string;
2309
+ delegationFee?: string;
2025
2310
  startTimestamp: number;
2026
2311
  endTimestamp: number;
2027
- validationStatus: ValidationStatusType;
2312
+ validationStatus: PendingValidatorDetails.validationStatus;
2028
2313
  };
2314
+ declare namespace PendingValidatorDetails {
2315
+ enum validationStatus {
2316
+ PENDING = "pending"
2317
+ }
2318
+ }
2029
2319
 
2030
2320
  type ListValidatorDetailsResponse = {
2031
2321
  /**
@@ -2033,7 +2323,7 @@ type ListValidatorDetailsResponse = {
2033
2323
  */
2034
2324
  nextPageToken?: string;
2035
2325
  /**
2036
- * The list of Validator Details.
2326
+ * The list of validator Details.
2037
2327
  */
2038
2328
  validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2039
2329
  };
@@ -2043,6 +2333,12 @@ declare enum Network {
2043
2333
  FUJI = "fuji"
2044
2334
  }
2045
2335
 
2336
+ declare enum ValidationStatusType {
2337
+ COMPLETED = "completed",
2338
+ ACTIVE = "active",
2339
+ PENDING = "pending"
2340
+ }
2341
+
2046
2342
  type XChainAssetDetails = {
2047
2343
  /**
2048
2344
  * Unique ID for an asset.
@@ -2185,7 +2481,7 @@ declare class PrimaryNetworkService {
2185
2481
  * @returns ListValidatorDetailsResponse
2186
2482
  * @throws ApiError
2187
2483
  */
2188
- listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, }: {
2484
+ listValidators({ network, pageSize, pageToken, minTimeRemaining, maxTimeRemaining, minDelegationCapacity, maxDelegationCapacity, minFeePercentage, maxFeePercentage, nodeIds, sortOrder, validationStatus, subnetId, }: {
2189
2485
  /**
2190
2486
  * Either mainnet or a testnet.
2191
2487
  */
@@ -2198,6 +2494,30 @@ declare class PrimaryNetworkService {
2198
2494
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2199
2495
  */
2200
2496
  pageToken?: string;
2497
+ /**
2498
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2499
+ */
2500
+ minTimeRemaining?: any;
2501
+ /**
2502
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2503
+ */
2504
+ maxTimeRemaining?: any;
2505
+ /**
2506
+ * 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
2507
+ */
2508
+ minDelegationCapacity?: number;
2509
+ /**
2510
+ * 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.
2511
+ */
2512
+ maxDelegationCapacity?: number;
2513
+ /**
2514
+ * 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.
2515
+ */
2516
+ minFeePercentage?: any;
2517
+ /**
2518
+ * 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.
2519
+ */
2520
+ maxFeePercentage?: any;
2201
2521
  /**
2202
2522
  * A comma separated list of node ids to filter by.
2203
2523
  */
@@ -2211,9 +2531,9 @@ declare class PrimaryNetworkService {
2211
2531
  */
2212
2532
  validationStatus?: ValidationStatusType;
2213
2533
  /**
2214
- * The minimum delegation capacity, used to filter the set of nodes being returned (Units - nAVAX). Default is 0.
2534
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
2215
2535
  */
2216
- minDelegationCapacity?: any;
2536
+ subnetId?: string;
2217
2537
  }): CancelablePromise<ListValidatorDetailsResponse>;
2218
2538
  /**
2219
2539
  * Get single validator details
@@ -2253,7 +2573,7 @@ declare class PrimaryNetworkService {
2253
2573
  * @returns ListDelegatorDetailsResponse
2254
2574
  * @throws ApiError
2255
2575
  */
2256
- listDelegators({ network, pageSize, pageToken, sortOrder, delegationStatus, rewardAddresses, nodeIds, }: {
2576
+ listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2257
2577
  /**
2258
2578
  * Either mainnet or a testnet.
2259
2579
  */
@@ -2266,6 +2586,10 @@ declare class PrimaryNetworkService {
2266
2586
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2267
2587
  */
2268
2588
  pageToken?: string;
2589
+ /**
2590
+ * A comma separated list of reward addresses to filter by.
2591
+ */
2592
+ rewardAddresses?: string;
2269
2593
  /**
2270
2594
  * 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.
2271
2595
  */
@@ -2274,10 +2598,6 @@ declare class PrimaryNetworkService {
2274
2598
  * Delegation status of the node.
2275
2599
  */
2276
2600
  delegationStatus?: DelegationStatusType;
2277
- /**
2278
- * A comma separated list of reward addresses to filter by.
2279
- */
2280
- rewardAddresses?: string;
2281
2601
  /**
2282
2602
  * A comma separated list of node ids to filter by.
2283
2603
  */
@@ -2629,7 +2949,8 @@ declare class PrimaryNetworkBlocksService {
2629
2949
 
2630
2950
  declare enum RewardType {
2631
2951
  VALIDATOR = "VALIDATOR",
2632
- DELEGATOR = "DELEGATOR"
2952
+ DELEGATOR = "DELEGATOR",
2953
+ VALIDATOR_FEE = "VALIDATOR_FEE"
2633
2954
  }
2634
2955
 
2635
2956
  type HistoricalReward = {
@@ -2695,7 +3016,7 @@ declare class PrimaryNetworkRewardsService {
2695
3016
  * @returns ListPendingRewardsResponse
2696
3017
  * @throws ApiError
2697
3018
  */
2698
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3019
+ listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
2699
3020
  /**
2700
3021
  * Either mainnet or a testnet.
2701
3022
  */
@@ -2712,6 +3033,10 @@ declare class PrimaryNetworkRewardsService {
2712
3033
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2713
3034
  */
2714
3035
  pageToken?: string;
3036
+ /**
3037
+ * A comma separated list of node ids to filter by.
3038
+ */
3039
+ nodeIds?: string;
2715
3040
  /**
2716
3041
  * 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.
2717
3042
  */
@@ -2723,7 +3048,7 @@ declare class PrimaryNetworkRewardsService {
2723
3048
  * @returns ListHistoricalRewardsResponse
2724
3049
  * @throws ApiError
2725
3050
  */
2726
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3051
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
2727
3052
  /**
2728
3053
  * Either mainnet or a testnet.
2729
3054
  */
@@ -2740,6 +3065,10 @@ declare class PrimaryNetworkRewardsService {
2740
3065
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2741
3066
  */
2742
3067
  pageToken?: string;
3068
+ /**
3069
+ * A comma separated list of node ids to filter by.
3070
+ */
3071
+ nodeIds?: string;
2743
3072
  /**
2744
3073
  * 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.
2745
3074
  */
@@ -2994,6 +3323,7 @@ declare enum PChainTransactionType {
2994
3323
  ADD_VALIDATOR_TX = "AddValidatorTx",
2995
3324
  ADD_DELEGATOR_TX = "AddDelegatorTx",
2996
3325
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3326
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
2997
3327
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
2998
3328
  REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
2999
3329
  REWARD_VALIDATOR_TX = "RewardValidatorTx",
@@ -3096,6 +3426,7 @@ type PChainTransaction = {
3096
3426
  */
3097
3427
  estimatedReward?: string;
3098
3428
  rewardTxHash?: string;
3429
+ rewardAddresses?: Array<string>;
3099
3430
  memo?: string;
3100
3431
  /**
3101
3432
  * Present for RewardValidatorTx
@@ -3265,6 +3596,7 @@ declare enum PrimaryNetworkTxType {
3265
3596
  ADD_VALIDATOR_TX = "AddValidatorTx",
3266
3597
  ADD_DELEGATOR_TX = "AddDelegatorTx",
3267
3598
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3599
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3268
3600
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3269
3601
  REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3270
3602
  REWARD_VALIDATOR_TX = "RewardValidatorTx",
@@ -3304,7 +3636,11 @@ declare class PrimaryNetworkTransactionsService {
3304
3636
  }): CancelablePromise<(PChainTransaction | XChainNonLinearTransaction | XChainLinearTransaction | CChainExportTransaction | CChainImportTransaction)>;
3305
3637
  /**
3306
3638
  * List latest transactions
3307
- * Lists the latest transactions on one of the Primary Network chains. Transactions are filterable by addresses.
3639
+ * Lists the latest transactions on one of the Primary Network chains.
3640
+ *
3641
+ * Transactions are filterable by addresses.
3642
+ *
3643
+ * Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
3308
3644
  * @returns any
3309
3645
  * @throws ApiError
3310
3646
  */
@@ -3598,11 +3934,14 @@ declare class PrimaryNetworkVerticesService {
3598
3934
 
3599
3935
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
3600
3936
  declare class Glacier {
3937
+ readonly default: DefaultService;
3601
3938
  readonly evmBalances: EvmBalancesService;
3602
3939
  readonly evmBlocks: EvmBlocksService;
3603
3940
  readonly evmChains: EvmChainsService;
3941
+ readonly evmContracts: EvmContractsService;
3604
3942
  readonly evmTransactions: EvmTransactionsService;
3605
3943
  readonly healthCheck: HealthCheckService;
3944
+ readonly nfTs: NfTsService;
3606
3945
  readonly operations: OperationsService;
3607
3946
  readonly primaryNetwork: PrimaryNetworkService;
3608
3947
  readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
@@ -3632,4 +3971,4 @@ declare class ApiError extends Error {
3632
3971
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3633
3972
  }
3634
3973
 
3635
- 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, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainAsset, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, 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 };
3974
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, ApiError, Asset, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, EVMInput, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainAsset, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainVertex };