@avalabs/glacier-sdk 2.8.0-canary.a18b4e4.0 → 2.8.0-canary.ac27579.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 (104) hide show
  1. package/dist/index.d.ts +1124 -432
  2. package/dist/index.js +394 -81
  3. package/esm/generated/Glacier.d.ts +6 -0
  4. package/esm/generated/Glacier.js +33 -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 +12 -0
  13. package/esm/generated/models/AssetWithPriceInfo.d.ts +34 -0
  14. package/esm/generated/models/ChainInfo.d.ts +1 -0
  15. package/esm/generated/models/CompletedDelegatorDetails.d.ts +7 -3
  16. package/esm/generated/models/CompletedDelegatorDetails.js +8 -0
  17. package/esm/generated/models/CompletedValidatorDetails.d.ts +9 -3
  18. package/esm/generated/models/CompletedValidatorDetails.js +8 -0
  19. package/esm/generated/models/ContractSubmissionBody.d.ts +10 -0
  20. package/esm/generated/models/ContractSubmissionErc1155.d.ts +31 -0
  21. package/esm/generated/models/ContractSubmissionErc1155.js +8 -0
  22. package/esm/generated/models/ContractSubmissionErc20.d.ts +31 -0
  23. package/esm/generated/models/ContractSubmissionErc20.js +8 -0
  24. package/esm/generated/models/ContractSubmissionErc721.d.ts +29 -0
  25. package/esm/generated/models/ContractSubmissionErc721.js +8 -0
  26. package/esm/generated/models/ContractSubmissionUnknown.d.ts +25 -0
  27. package/esm/generated/models/ContractSubmissionUnknown.js +8 -0
  28. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +24 -0
  29. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.js +8 -0
  30. package/esm/generated/models/DeliveredTeleporterMessage.d.ts +26 -0
  31. package/esm/generated/models/DeliveredTeleporterMessage.js +8 -0
  32. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  33. package/esm/generated/models/EventType.d.ts +5 -0
  34. package/esm/generated/models/EventType.js +6 -0
  35. package/esm/generated/models/GetChainResponse.d.ts +1 -0
  36. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -0
  37. package/esm/generated/models/HistoricalReward.d.ts +2 -5
  38. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  39. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  40. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +3 -2
  41. package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
  42. package/esm/generated/models/NextPageToken.d.ts +8 -0
  43. package/esm/generated/models/PChainBalance.d.ts +7 -7
  44. package/esm/generated/models/PChainSharedAsset.d.ts +22 -0
  45. package/esm/generated/models/PChainTransaction.d.ts +5 -4
  46. package/esm/generated/models/PChainTransactionType.d.ts +6 -4
  47. package/esm/generated/models/PChainTransactionType.js +6 -4
  48. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  49. package/esm/generated/models/PendingDelegatorDetails.d.ts +7 -3
  50. package/esm/generated/models/PendingDelegatorDetails.js +8 -0
  51. package/esm/generated/models/PendingReward.d.ts +2 -2
  52. package/esm/generated/models/PendingTeleporterMessage.d.ts +24 -0
  53. package/esm/generated/models/PendingTeleporterMessage.js +8 -0
  54. package/esm/generated/models/PendingValidatorDetails.d.ts +9 -4
  55. package/esm/generated/models/PendingValidatorDetails.js +8 -0
  56. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -0
  57. package/esm/generated/models/PrimaryNetworkTxType.d.ts +6 -4
  58. package/esm/generated/models/PrimaryNetworkTxType.js +6 -4
  59. package/esm/generated/models/RegisterWebhookRequest.d.ts +14 -0
  60. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  61. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  62. package/esm/generated/models/RewardType.d.ts +2 -1
  63. package/esm/generated/models/RewardType.js +1 -0
  64. package/esm/generated/models/Rewards.d.ts +2 -0
  65. package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
  66. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +9 -0
  67. package/esm/generated/models/TeleporterRewardDetails.d.ts +37 -0
  68. package/esm/generated/models/TeleporterRewardDetails.js +8 -0
  69. package/esm/generated/models/TeleporterSourceTransaction.d.ts +7 -0
  70. package/esm/generated/models/UpdateContractResponse.d.ts +10 -0
  71. package/esm/generated/models/Utxo.d.ts +28 -28
  72. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  73. package/esm/generated/models/ValidationStatusType.d.ts +2 -1
  74. package/esm/generated/models/ValidationStatusType.js +1 -0
  75. package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
  76. package/esm/generated/models/WebhookResponse.d.ts +15 -0
  77. package/esm/generated/models/WebhookStatus.d.ts +6 -0
  78. package/esm/generated/models/WebhookStatus.js +7 -0
  79. package/esm/generated/models/WebhookStatusType.d.ts +6 -0
  80. package/esm/generated/models/WebhookStatusType.js +7 -0
  81. package/esm/generated/models/XChainLinearTransaction.d.ts +2 -1
  82. package/esm/generated/models/XChainNonLinearTransaction.d.ts +2 -1
  83. package/esm/generated/models/XChainTransactionType.d.ts +10 -0
  84. package/esm/generated/models/XChainTransactionType.js +11 -0
  85. package/esm/generated/services/DefaultService.d.ts +67 -0
  86. package/esm/generated/services/DefaultService.js +55 -0
  87. package/esm/generated/services/EvmContractsService.d.ts +48 -0
  88. package/esm/generated/services/EvmContractsService.js +36 -0
  89. package/esm/generated/services/EvmTransactionsService.d.ts +42 -0
  90. package/esm/generated/services/EvmTransactionsService.js +1 -1
  91. package/esm/generated/services/NfTsService.d.ts +20 -13
  92. package/esm/generated/services/NfTsService.js +15 -9
  93. package/esm/generated/services/OperationsService.d.ts +11 -11
  94. package/esm/generated/services/OperationsService.js +10 -10
  95. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +17 -4
  96. package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -2
  97. package/esm/generated/services/PrimaryNetworkService.d.ts +31 -7
  98. package/esm/generated/services/PrimaryNetworkService.js +16 -4
  99. package/esm/generated/services/TeleporterService.d.ts +65 -0
  100. package/esm/generated/services/TeleporterService.js +43 -0
  101. package/esm/index.d.ts +29 -1
  102. package/esm/index.js +22 -0
  103. package/package.json +2 -2
  104. package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -60,6 +60,121 @@ declare abstract class BaseHttpRequest {
60
60
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
61
61
  }
62
62
 
63
+ type AddressActivityMetadata = {
64
+ /**
65
+ * Ethereum address for the address_activity event type
66
+ */
67
+ address: string;
68
+ /**
69
+ * Array of hexadecimal strings of the event signatures.
70
+ */
71
+ eventSignatures?: Array<string>;
72
+ };
73
+
74
+ declare enum EventType {
75
+ ADDRESS_ACTIVITY = "address_activity"
76
+ }
77
+
78
+ declare enum WebhookStatusType {
79
+ ACTIVE = "active",
80
+ INACTIVE = "inactive"
81
+ }
82
+
83
+ type WebhookResponse = {
84
+ id: string;
85
+ eventType: EventType;
86
+ metadata: AddressActivityMetadata;
87
+ url: string;
88
+ chainId: string;
89
+ status: WebhookStatusType;
90
+ createdAt: number;
91
+ };
92
+
93
+ type ListWebhooksResponse = {
94
+ /**
95
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
96
+ */
97
+ nextPageToken?: string;
98
+ webhooks: Array<WebhookResponse>;
99
+ };
100
+
101
+ type RegisterWebhookRequest = {
102
+ url: string;
103
+ chainId: string;
104
+ /**
105
+ * The type of event for the webhook
106
+ */
107
+ eventType: EventType;
108
+ metadata: AddressActivityMetadata;
109
+ };
110
+
111
+ type SharedSecretsResponse = {
112
+ secret: string;
113
+ };
114
+
115
+ declare enum WebhookStatus {
116
+ ACTIVE = "active",
117
+ INACTIVE = "inactive"
118
+ }
119
+
120
+ declare class DefaultService {
121
+ readonly httpRequest: BaseHttpRequest;
122
+ constructor(httpRequest: BaseHttpRequest);
123
+ /**
124
+ * @returns any
125
+ * @throws ApiError
126
+ */
127
+ mediaControllerUploadImage(): CancelablePromise<any>;
128
+ /**
129
+ * Register a webhook
130
+ * Registers a new webhook.
131
+ * @returns WebhookResponse
132
+ * @throws ApiError
133
+ */
134
+ registerWebhook({ requestBody, }: {
135
+ requestBody: RegisterWebhookRequest;
136
+ }): CancelablePromise<WebhookResponse>;
137
+ /**
138
+ * List webhooks
139
+ * Lists webhooks for the user.
140
+ * @returns ListWebhooksResponse
141
+ * @throws ApiError
142
+ */
143
+ listWebhooks({ pageSize, pageToken, status, }: {
144
+ /**
145
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
146
+ */
147
+ pageSize?: number;
148
+ /**
149
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
150
+ */
151
+ pageToken?: string;
152
+ /**
153
+ * Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
154
+ */
155
+ status?: WebhookStatus;
156
+ }): CancelablePromise<ListWebhooksResponse>;
157
+ /**
158
+ * Deactivate a webhook
159
+ * Deactivates a webhook by ID.
160
+ * @returns WebhookResponse
161
+ * @throws ApiError
162
+ */
163
+ deactivateWebhook({ id, }: {
164
+ /**
165
+ * The webhook identifier.
166
+ */
167
+ id: string;
168
+ }): CancelablePromise<WebhookResponse>;
169
+ /**
170
+ * Generate a shared secret
171
+ * Generates a new shared secret.
172
+ * @returns SharedSecretsResponse
173
+ * @throws ApiError
174
+ */
175
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
176
+ }
177
+
63
178
  declare enum CurrencyCode {
64
179
  USD = "usd",
65
180
  EUR = "eur",
@@ -680,6 +795,7 @@ type GetChainResponse = {
680
795
  utilityAddresses?: UtilityAddresses;
681
796
  networkToken: NetworkToken;
682
797
  chainLogoUri?: string;
798
+ private?: boolean;
683
799
  };
684
800
 
685
801
  type ChainInfo = {
@@ -701,6 +817,7 @@ type ChainInfo = {
701
817
  utilityAddresses?: UtilityAddresses;
702
818
  networkToken: NetworkToken;
703
819
  chainLogoUri?: string;
820
+ private?: boolean;
704
821
  };
705
822
 
706
823
  type ListChainsResponse = {
@@ -741,317 +858,161 @@ declare class EvmChainsService {
741
858
  }): CancelablePromise<GetChainResponse>;
742
859
  }
743
860
 
744
- type Erc1155Token = {
861
+ type ImageAsset = {
862
+ assetId?: string;
745
863
  /**
746
- * A wallet or contract address in mixed-case checksum encoding.
864
+ * OUTPUT ONLY
747
865
  */
748
- address: string;
749
- ercType: Erc1155Token.ercType;
750
- tokenId: string;
751
- tokenUri: string;
752
- metadata: Erc1155TokenMetadata;
866
+ imageUri?: string;
753
867
  };
754
- declare namespace Erc1155Token {
755
- enum ercType {
756
- ERC_1155 = "ERC-1155"
757
- }
868
+
869
+ type PricingProviders = {
870
+ coingeckoCoinId?: string;
871
+ };
872
+
873
+ declare enum ResourceLinkType {
874
+ BLOG = "Blog",
875
+ COIN_GECKO = "CoinGecko",
876
+ COIN_MARKET_CAP = "CoinMarketCap",
877
+ DISCORD = "Discord",
878
+ DOCUMENTATION = "Documentation",
879
+ FACEBOOK = "Facebook",
880
+ GITHUB = "Github",
881
+ INSTAGRAM = "Instagram",
882
+ LINKED_IN = "LinkedIn",
883
+ MEDIUM = "Medium",
884
+ REDDIT = "Reddit",
885
+ SUPPORT = "Support",
886
+ TELEGRAM = "Telegram",
887
+ TIK_TOK = "TikTok",
888
+ TWITTER = "Twitter",
889
+ WEBSITE = "Website",
890
+ WHITEPAPER = "Whitepaper",
891
+ YOUTUBE = "Youtube"
758
892
  }
759
893
 
760
- type RichAddress = {
894
+ type ResourceLink = {
895
+ type: ResourceLinkType;
896
+ url: string;
897
+ };
898
+
899
+ type ContractSubmissionErc1155 = {
900
+ description?: string;
901
+ officialSite?: string;
902
+ email?: string;
903
+ logoAsset?: ImageAsset;
904
+ bannerAsset?: ImageAsset;
905
+ color?: string;
906
+ resourceLinks?: Array<ResourceLink>;
907
+ tags?: Array<string>;
761
908
  /**
762
909
  * The contract name.
763
910
  */
764
- name?: string;
911
+ name: string;
912
+ ercType: ContractSubmissionErc1155.ercType;
765
913
  /**
766
914
  * The contract symbol.
767
915
  */
768
- symbol?: string;
769
- /**
770
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
771
- */
772
- decimals?: number;
773
- /**
774
- * The logo uri for the address.
775
- */
776
- logoUri?: string;
777
- /**
778
- * A wallet or contract address in mixed-case checksum encoding.
779
- */
780
- address: string;
781
- };
782
-
783
- type Erc1155TransferDetails = {
784
- from: RichAddress;
785
- to: RichAddress;
786
- logIndex: number;
787
- value: string;
788
- erc1155Token: Erc1155Token;
916
+ symbol: string;
917
+ pricingProviders?: PricingProviders;
789
918
  };
919
+ declare namespace ContractSubmissionErc1155 {
920
+ enum ercType {
921
+ ERC_1155 = "ERC-1155"
922
+ }
923
+ }
790
924
 
791
- type Erc20Token = {
792
- /**
793
- * A wallet or contract address in mixed-case checksum encoding.
794
- */
795
- address: string;
925
+ type ContractSubmissionErc20 = {
926
+ description?: string;
927
+ officialSite?: string;
928
+ email?: string;
929
+ logoAsset?: ImageAsset;
930
+ bannerAsset?: ImageAsset;
931
+ color?: string;
932
+ resourceLinks?: Array<ResourceLink>;
933
+ tags?: Array<string>;
796
934
  /**
797
935
  * The contract name.
798
936
  */
799
937
  name: string;
938
+ ercType: ContractSubmissionErc20.ercType;
800
939
  /**
801
940
  * The contract symbol.
802
941
  */
803
942
  symbol: string;
804
- /**
805
- * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
806
- */
807
- decimals: number;
808
- /**
809
- * The logo uri for the address.
810
- */
811
- logoUri?: string;
812
- ercType: Erc20Token.ercType;
813
- /**
814
- * The token price, if available.
815
- */
816
- price?: Money;
943
+ pricingProviders?: PricingProviders;
817
944
  };
818
- declare namespace Erc20Token {
945
+ declare namespace ContractSubmissionErc20 {
819
946
  enum ercType {
820
947
  ERC_20 = "ERC-20"
821
948
  }
822
949
  }
823
950
 
824
- type Erc20TransferDetails = {
825
- from: RichAddress;
826
- to: RichAddress;
827
- logIndex: number;
828
- value: string;
829
- erc20Token: Erc20Token;
830
- };
831
-
832
- type Erc721Token = {
833
- /**
834
- * A wallet or contract address in mixed-case checksum encoding.
835
- */
836
- address: string;
951
+ type ContractSubmissionErc721 = {
952
+ description?: string;
953
+ officialSite?: string;
954
+ email?: string;
955
+ logoAsset?: ImageAsset;
956
+ bannerAsset?: ImageAsset;
957
+ color?: string;
958
+ resourceLinks?: Array<ResourceLink>;
959
+ tags?: Array<string>;
837
960
  /**
838
961
  * The contract name.
839
962
  */
840
963
  name: string;
964
+ ercType: ContractSubmissionErc721.ercType;
841
965
  /**
842
966
  * The contract symbol.
843
967
  */
844
968
  symbol: string;
845
- ercType: Erc721Token.ercType;
846
- tokenId: string;
847
- tokenUri: string;
848
- metadata: Erc721TokenMetadata;
849
- /**
850
- * A wallet or contract address in mixed-case checksum encoding.
851
- */
852
- ownerAddress?: string;
853
969
  };
854
- declare namespace Erc721Token {
970
+ declare namespace ContractSubmissionErc721 {
855
971
  enum ercType {
856
972
  ERC_721 = "ERC-721"
857
973
  }
858
974
  }
859
975
 
860
- type Erc721TransferDetails = {
861
- from: RichAddress;
862
- to: RichAddress;
863
- logIndex: number;
864
- erc721Token: Erc721Token;
976
+ type ContractSubmissionUnknown = {
977
+ description?: string;
978
+ officialSite?: string;
979
+ email?: string;
980
+ logoAsset?: ImageAsset;
981
+ bannerAsset?: ImageAsset;
982
+ color?: string;
983
+ resourceLinks?: Array<ResourceLink>;
984
+ tags?: Array<string>;
985
+ /**
986
+ * The contract name.
987
+ */
988
+ name: string;
989
+ ercType: ContractSubmissionUnknown.ercType;
865
990
  };
866
-
867
- declare enum TransactionMethodType {
868
- NATIVE_TRANSFER = "NATIVE_TRANSFER",
869
- CONTRACT_CALL = "CONTRACT_CALL",
870
- CONTRACT_CREATION = "CONTRACT_CREATION"
991
+ declare namespace ContractSubmissionUnknown {
992
+ enum ercType {
993
+ UNKNOWN = "UNKNOWN"
994
+ }
871
995
  }
872
996
 
873
- type Method = {
874
- /**
875
- * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
876
- */
877
- callType: TransactionMethodType;
997
+ type ContractSubmissionBody = {
998
+ contract: (ContractSubmissionErc1155 | ContractSubmissionErc20 | ContractSubmissionErc721 | ContractSubmissionUnknown);
999
+ };
1000
+
1001
+ type ContractDeploymentDetails = {
1002
+ txHash: string;
878
1003
  /**
879
- * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1004
+ * The address that initiated the transaction which deployed this contract.
880
1005
  */
881
- methodHash: string;
1006
+ deployerAddress: string;
882
1007
  /**
883
- * The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
1008
+ * The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution.
884
1009
  */
885
- methodName?: string;
1010
+ deployerContractAddress?: string;
886
1011
  };
887
1012
 
888
- type FullNativeTransactionDetails = {
889
- /**
890
- * The block number on the chain.
891
- */
892
- blockNumber: string;
1013
+ type Erc1155Contract = {
893
1014
  /**
894
- * The block finality timestamp.
895
- */
896
- blockTimestamp: number;
897
- /**
898
- * The block hash identifier.
899
- */
900
- blockHash: string;
901
- /**
902
- * The index at which the transaction occured in the block (0-indexed).
903
- */
904
- blockIndex: number;
905
- /**
906
- * The transaction hash identifier.
907
- */
908
- txHash: string;
909
- /**
910
- * The transaction status, which is either 0 (failed) or 1 (successful).
911
- */
912
- txStatus: string;
913
- /**
914
- * The transaction type.
915
- */
916
- txType: number;
917
- /**
918
- * The gas limit set for the transaction.
919
- */
920
- gasLimit: string;
921
- /**
922
- * The amount of gas used.
923
- */
924
- gasUsed: string;
925
- /**
926
- * The gas price denominated by the number of decimals of the native token.
927
- */
928
- gasPrice: string;
929
- /**
930
- * The nonce used by the sender of the transaction.
931
- */
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
- 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.
1015
+ * The contract name.
1055
1016
  */
1056
1017
  name?: string;
1057
1018
  description?: string;
@@ -1107,7 +1068,7 @@ type Erc20Contract = {
1107
1068
  * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1108
1069
  */
1109
1070
  decimals: number;
1110
- pricingProviders: PricingProviders;
1071
+ pricingProviders?: PricingProviders;
1111
1072
  };
1112
1073
  declare namespace Erc20Contract {
1113
1074
  enum ercType {
@@ -1145,38 +1106,338 @@ declare namespace Erc721Contract {
1145
1106
  }
1146
1107
  }
1147
1108
 
1148
- type UnknownContract = {
1109
+ type UnknownContract = {
1110
+ /**
1111
+ * The contract name.
1112
+ */
1113
+ name?: string;
1114
+ description?: string;
1115
+ officialSite?: string;
1116
+ email?: string;
1117
+ logoAsset?: ImageAsset;
1118
+ bannerAsset?: ImageAsset;
1119
+ color?: string;
1120
+ resourceLinks?: Array<ResourceLink>;
1121
+ tags?: Array<string>;
1122
+ /**
1123
+ * A wallet or contract address in mixed-case checksum encoding.
1124
+ */
1125
+ address: string;
1126
+ deploymentDetails: ContractDeploymentDetails;
1127
+ ercType: UnknownContract.ercType;
1128
+ };
1129
+ declare namespace UnknownContract {
1130
+ enum ercType {
1131
+ UNKNOWN = "UNKNOWN"
1132
+ }
1133
+ }
1134
+
1135
+ type UpdateContractResponse = {
1136
+ contract: (UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract);
1137
+ };
1138
+
1139
+ declare class EvmContractsService {
1140
+ readonly httpRequest: BaseHttpRequest;
1141
+ constructor(httpRequest: BaseHttpRequest);
1142
+ /**
1143
+ * Get contract metadata
1144
+ * Gets metadata about the contract at the given address.
1145
+ * @returns any
1146
+ * @throws ApiError
1147
+ */
1148
+ getContractMetadata({ chainId, address, }: {
1149
+ /**
1150
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1151
+ */
1152
+ chainId: string;
1153
+ /**
1154
+ * Contract address on the relevant chain.
1155
+ */
1156
+ address: string;
1157
+ }): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1158
+ /**
1159
+ * Update contract information
1160
+ * Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
1161
+ * @returns UpdateContractResponse
1162
+ * @throws ApiError
1163
+ */
1164
+ updateContractInfo({ chainId, address, requestBody, }: {
1165
+ /**
1166
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1167
+ */
1168
+ chainId: string;
1169
+ /**
1170
+ * Contract address on the relevant chain.
1171
+ */
1172
+ address: string;
1173
+ requestBody: ContractSubmissionBody;
1174
+ }): CancelablePromise<UpdateContractResponse>;
1175
+ }
1176
+
1177
+ type Erc1155Token = {
1178
+ /**
1179
+ * A wallet or contract address in mixed-case checksum encoding.
1180
+ */
1181
+ address: string;
1182
+ ercType: Erc1155Token.ercType;
1183
+ tokenId: string;
1184
+ tokenUri: string;
1185
+ metadata: Erc1155TokenMetadata;
1186
+ };
1187
+ declare namespace Erc1155Token {
1188
+ enum ercType {
1189
+ ERC_1155 = "ERC-1155"
1190
+ }
1191
+ }
1192
+
1193
+ type RichAddress = {
1194
+ /**
1195
+ * The contract name.
1196
+ */
1197
+ name?: string;
1198
+ /**
1199
+ * The contract symbol.
1200
+ */
1201
+ symbol?: string;
1202
+ /**
1203
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1204
+ */
1205
+ decimals?: number;
1206
+ /**
1207
+ * The logo uri for the address.
1208
+ */
1209
+ logoUri?: string;
1210
+ /**
1211
+ * A wallet or contract address in mixed-case checksum encoding.
1212
+ */
1213
+ address: string;
1214
+ };
1215
+
1216
+ type Erc1155TransferDetails = {
1217
+ from: RichAddress;
1218
+ to: RichAddress;
1219
+ logIndex: number;
1220
+ value: string;
1221
+ erc1155Token: Erc1155Token;
1222
+ };
1223
+
1224
+ type Erc20Token = {
1225
+ /**
1226
+ * A wallet or contract address in mixed-case checksum encoding.
1227
+ */
1228
+ address: string;
1229
+ /**
1230
+ * The contract name.
1231
+ */
1232
+ name: string;
1233
+ /**
1234
+ * The contract symbol.
1235
+ */
1236
+ symbol: string;
1237
+ /**
1238
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
1239
+ */
1240
+ decimals: number;
1241
+ /**
1242
+ * The logo uri for the address.
1243
+ */
1244
+ logoUri?: string;
1245
+ ercType: Erc20Token.ercType;
1246
+ /**
1247
+ * The token price, if available.
1248
+ */
1249
+ price?: Money;
1250
+ };
1251
+ declare namespace Erc20Token {
1252
+ enum ercType {
1253
+ ERC_20 = "ERC-20"
1254
+ }
1255
+ }
1256
+
1257
+ type Erc20TransferDetails = {
1258
+ from: RichAddress;
1259
+ to: RichAddress;
1260
+ logIndex: number;
1261
+ value: string;
1262
+ erc20Token: Erc20Token;
1263
+ };
1264
+
1265
+ type Erc721Token = {
1266
+ /**
1267
+ * A wallet or contract address in mixed-case checksum encoding.
1268
+ */
1269
+ address: string;
1270
+ /**
1271
+ * The contract name.
1272
+ */
1273
+ name: string;
1274
+ /**
1275
+ * The contract symbol.
1276
+ */
1277
+ symbol: string;
1278
+ ercType: Erc721Token.ercType;
1279
+ tokenId: string;
1280
+ tokenUri: string;
1281
+ metadata: Erc721TokenMetadata;
1282
+ /**
1283
+ * A wallet or contract address in mixed-case checksum encoding.
1284
+ */
1285
+ ownerAddress?: string;
1286
+ };
1287
+ declare namespace Erc721Token {
1288
+ enum ercType {
1289
+ ERC_721 = "ERC-721"
1290
+ }
1291
+ }
1292
+
1293
+ type Erc721TransferDetails = {
1294
+ from: RichAddress;
1295
+ to: RichAddress;
1296
+ logIndex: number;
1297
+ erc721Token: Erc721Token;
1298
+ };
1299
+
1300
+ declare enum TransactionMethodType {
1301
+ NATIVE_TRANSFER = "NATIVE_TRANSFER",
1302
+ CONTRACT_CALL = "CONTRACT_CALL",
1303
+ CONTRACT_CREATION = "CONTRACT_CREATION"
1304
+ }
1305
+
1306
+ type Method = {
1307
+ /**
1308
+ * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
1309
+ */
1310
+ callType: TransactionMethodType;
1311
+ /**
1312
+ * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
1313
+ */
1314
+ methodHash: string;
1315
+ /**
1316
+ * The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
1317
+ */
1318
+ methodName?: string;
1319
+ };
1320
+
1321
+ type FullNativeTransactionDetails = {
1322
+ /**
1323
+ * The block number on the chain.
1324
+ */
1325
+ blockNumber: string;
1326
+ /**
1327
+ * The block finality timestamp.
1328
+ */
1329
+ blockTimestamp: number;
1330
+ /**
1331
+ * The block hash identifier.
1332
+ */
1333
+ blockHash: string;
1334
+ /**
1335
+ * The index at which the transaction occured in the block (0-indexed).
1336
+ */
1337
+ blockIndex: number;
1338
+ /**
1339
+ * The transaction hash identifier.
1340
+ */
1341
+ txHash: string;
1342
+ /**
1343
+ * The transaction status, which is either 0 (failed) or 1 (successful).
1344
+ */
1345
+ txStatus: string;
1346
+ /**
1347
+ * The transaction type.
1348
+ */
1349
+ txType: number;
1350
+ /**
1351
+ * The gas limit set for the transaction.
1352
+ */
1353
+ gasLimit: string;
1354
+ /**
1355
+ * The amount of gas used.
1356
+ */
1357
+ gasUsed: string;
1358
+ /**
1359
+ * The gas price denominated by the number of decimals of the native token.
1360
+ */
1361
+ gasPrice: string;
1362
+ /**
1363
+ * The nonce used by the sender of the transaction.
1364
+ */
1365
+ nonce: string;
1366
+ from: RichAddress;
1367
+ to: RichAddress;
1368
+ method?: Method;
1369
+ value: string;
1370
+ /**
1371
+ * The data sent for the transaction.
1372
+ */
1373
+ input: string;
1374
+ baseFeePerGas: string;
1375
+ maxFeePerGas?: string;
1376
+ maxPriorityFeePerGas?: string;
1377
+ };
1378
+
1379
+ declare enum InternalTransactionOpCall {
1380
+ UNKNOWN = "UNKNOWN",
1381
+ CALL = "CALL",
1382
+ CREATE = "CREATE",
1383
+ CREATE2 = "CREATE2",
1384
+ CALLCODE = "CALLCODE",
1385
+ DELEGATECALL = "DELEGATECALL",
1386
+ STATICCALL = "STATICCALL"
1387
+ }
1388
+
1389
+ type InternalTransactionDetails = {
1390
+ from: RichAddress;
1391
+ to: RichAddress;
1392
+ internalTxType: InternalTransactionOpCall;
1393
+ value: string;
1394
+ /**
1395
+ * True if the internal transaction was reverted.
1396
+ */
1397
+ isReverted: boolean;
1398
+ gasUsed: string;
1399
+ gasLimit: string;
1400
+ };
1401
+
1402
+ type NetworkTokenDetails = {
1403
+ networkToken: NetworkToken;
1404
+ /**
1405
+ * The current token price, if available.
1406
+ */
1407
+ currentPrice?: Money;
1408
+ /**
1409
+ * 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.
1410
+ */
1411
+ historicalPrice?: Money;
1412
+ };
1413
+
1414
+ type GetTransactionResponse = {
1149
1415
  /**
1150
- * The contract name.
1416
+ * The list of ERC-20 transfers.
1151
1417
  */
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>;
1418
+ erc20Transfers?: Array<Erc20TransferDetails>;
1161
1419
  /**
1162
- * A wallet or contract address in mixed-case checksum encoding.
1420
+ * The list of ERC-721 transfers.
1163
1421
  */
1164
- address: string;
1165
- deploymentDetails: ContractDeploymentDetails;
1166
- ercType: UnknownContract.ercType;
1422
+ erc721Transfers?: Array<Erc721TransferDetails>;
1423
+ /**
1424
+ * The list of ERC-1155 transfers.
1425
+ */
1426
+ erc1155Transfers?: Array<Erc1155TransferDetails>;
1427
+ /**
1428
+ * 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.
1429
+ */
1430
+ internalTransactions?: Array<InternalTransactionDetails>;
1431
+ networkTokenDetails: NetworkTokenDetails;
1432
+ nativeTransaction: FullNativeTransactionDetails;
1167
1433
  };
1168
- declare namespace UnknownContract {
1169
- enum ercType {
1170
- UNKNOWN = "UNKNOWN"
1171
- }
1172
- }
1173
1434
 
1174
1435
  type ListContractsResponse = {
1175
1436
  /**
1176
1437
  * 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
1438
  */
1178
1439
  nextPageToken?: string;
1179
- contracts: Array<(UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract)>;
1440
+ contracts: Array<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
1180
1441
  };
1181
1442
 
1182
1443
  type Erc1155Transfer = {
@@ -1481,7 +1742,13 @@ declare class EvmTransactionsService {
1481
1742
  * A wallet address.
1482
1743
  */
1483
1744
  address: string;
1745
+ /**
1746
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1747
+ */
1484
1748
  startBlock?: number;
1749
+ /**
1750
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1751
+ */
1485
1752
  endBlock?: number;
1486
1753
  /**
1487
1754
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1517,7 +1784,13 @@ declare class EvmTransactionsService {
1517
1784
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1518
1785
  */
1519
1786
  pageToken?: string;
1787
+ /**
1788
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1789
+ */
1520
1790
  startBlock?: number;
1791
+ /**
1792
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1793
+ */
1521
1794
  endBlock?: number;
1522
1795
  /**
1523
1796
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
@@ -1539,7 +1812,13 @@ declare class EvmTransactionsService {
1539
1812
  * A wallet address.
1540
1813
  */
1541
1814
  address: string;
1815
+ /**
1816
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1817
+ */
1542
1818
  startBlock?: number;
1819
+ /**
1820
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1821
+ */
1543
1822
  endBlock?: number;
1544
1823
  /**
1545
1824
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1565,7 +1844,13 @@ declare class EvmTransactionsService {
1565
1844
  * A wallet address.
1566
1845
  */
1567
1846
  address: string;
1847
+ /**
1848
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1849
+ */
1568
1850
  startBlock?: number;
1851
+ /**
1852
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1853
+ */
1569
1854
  endBlock?: number;
1570
1855
  /**
1571
1856
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1591,7 +1876,13 @@ declare class EvmTransactionsService {
1591
1876
  * A wallet address.
1592
1877
  */
1593
1878
  address: string;
1879
+ /**
1880
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1881
+ */
1594
1882
  startBlock?: number;
1883
+ /**
1884
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1885
+ */
1595
1886
  endBlock?: number;
1596
1887
  /**
1597
1888
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1617,7 +1908,13 @@ declare class EvmTransactionsService {
1617
1908
  * A wallet address.
1618
1909
  */
1619
1910
  address: string;
1911
+ /**
1912
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1913
+ */
1620
1914
  startBlock?: number;
1915
+ /**
1916
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1917
+ */
1621
1918
  endBlock?: number;
1622
1919
  /**
1623
1920
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1645,7 +1942,13 @@ declare class EvmTransactionsService {
1645
1942
  * A wallet address.
1646
1943
  */
1647
1944
  address: string;
1945
+ /**
1946
+ * The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
1947
+ */
1648
1948
  startBlock?: number;
1949
+ /**
1950
+ * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1951
+ */
1649
1952
  endBlock?: number;
1650
1953
  /**
1651
1954
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1730,6 +2033,14 @@ declare class HealthCheckService {
1730
2033
  }>;
1731
2034
  }
1732
2035
 
2036
+ type ListNftTokens = {
2037
+ /**
2038
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
2039
+ */
2040
+ nextPageToken?: string;
2041
+ tokens: (Array<Erc721Token> | Array<Erc1155Token>);
2042
+ };
2043
+
1733
2044
  declare class NfTsService {
1734
2045
  readonly httpRequest: BaseHttpRequest;
1735
2046
  constructor(httpRequest: BaseHttpRequest);
@@ -1754,12 +2065,12 @@ declare class NfTsService {
1754
2065
  tokenId: string;
1755
2066
  }): CancelablePromise<any>;
1756
2067
  /**
1757
- * Get token details
1758
- * Gets token details for a specific token of an NFT contract.
1759
- * @returns any
2068
+ * List tokens
2069
+ * Lists tokens for an NFT contract.
2070
+ * @returns ListNftTokens
1760
2071
  * @throws ApiError
1761
2072
  */
1762
- getTokenDetails({ chainId, address, tokenId, }: {
2073
+ listTokens({ chainId, address, pageSize, pageToken, }: {
1763
2074
  /**
1764
2075
  * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1765
2076
  */
@@ -1769,17 +2080,21 @@ declare class NfTsService {
1769
2080
  */
1770
2081
  address: string;
1771
2082
  /**
1772
- * TokenId on the contract
2083
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1773
2084
  */
1774
- tokenId: string;
1775
- }): CancelablePromise<(Erc721Token | Erc1155Token)>;
2085
+ pageSize?: number;
2086
+ /**
2087
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2088
+ */
2089
+ pageToken?: string;
2090
+ }): CancelablePromise<ListNftTokens>;
1776
2091
  /**
1777
- * Get collection details
1778
- * Gets collection details for a NFT contract.
2092
+ * Get token details
2093
+ * Gets token details for a specific token of an NFT contract.
1779
2094
  * @returns any
1780
2095
  * @throws ApiError
1781
2096
  */
1782
- getCollection({ chainId, address, }: {
2097
+ getTokenDetails({ chainId, address, tokenId, }: {
1783
2098
  /**
1784
2099
  * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1785
2100
  */
@@ -1788,7 +2103,11 @@ declare class NfTsService {
1788
2103
  * Contract address on the relevant chain.
1789
2104
  */
1790
2105
  address: string;
1791
- }): CancelablePromise<(Erc721Contract | Erc1155Contract)>;
2106
+ /**
2107
+ * TokenId on the contract
2108
+ */
2109
+ tokenId: string;
2110
+ }): CancelablePromise<(Erc721Token | Erc1155Token)>;
1792
2111
  }
1793
2112
 
1794
2113
  type EvmNetworkOptions = {
@@ -1885,17 +2204,6 @@ type OperationStatusResponse = {
1885
2204
  declare class OperationsService {
1886
2205
  readonly httpRequest: BaseHttpRequest;
1887
2206
  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
2207
  /**
1900
2208
  * Get operation
1901
2209
  * Gets operation details for the given operation id.
@@ -1908,6 +2216,17 @@ declare class OperationsService {
1908
2216
  */
1909
2217
  operationId: string;
1910
2218
  }): CancelablePromise<OperationStatusResponse>;
2219
+ /**
2220
+ * Create transaction export operation
2221
+ * Trigger a transaction export operation with given parameters.
2222
+ *
2223
+ * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
2224
+ * @returns OperationStatusResponse
2225
+ * @throws ApiError
2226
+ */
2227
+ postTransactionExportJob({ requestBody, }: {
2228
+ requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2229
+ }): CancelablePromise<OperationStatusResponse>;
1911
2230
  }
1912
2231
 
1913
2232
  declare enum BlockchainIds {
@@ -1976,39 +2295,57 @@ type ListBlockchainsResponse = {
1976
2295
 
1977
2296
  type ActiveDelegatorDetails = {
1978
2297
  txHash: string;
2298
+ nodeId: string;
1979
2299
  rewardAddresses: Array<string>;
1980
2300
  amountDelegated: string;
1981
2301
  delegationFee: string;
1982
2302
  startTimestamp: number;
1983
2303
  endTimestamp: number;
1984
- delegationStatus: DelegationStatusType;
1985
2304
  estimatedGrossReward: string;
1986
2305
  estimatedNetReward: string;
2306
+ delegationStatus: ActiveDelegatorDetails.delegationStatus;
1987
2307
  };
2308
+ declare namespace ActiveDelegatorDetails {
2309
+ enum delegationStatus {
2310
+ ACTIVE = "active"
2311
+ }
2312
+ }
1988
2313
 
1989
2314
  type CompletedDelegatorDetails = {
1990
2315
  txHash: string;
2316
+ nodeId: string;
1991
2317
  rewardAddresses: Array<string>;
1992
2318
  amountDelegated: string;
1993
2319
  delegationFee: string;
1994
2320
  startTimestamp: number;
1995
2321
  endTimestamp: number;
1996
- delegationStatus: DelegationStatusType;
1997
2322
  grossReward: string;
1998
2323
  netReward: string;
2324
+ delegationStatus: CompletedDelegatorDetails.delegationStatus;
1999
2325
  };
2326
+ declare namespace CompletedDelegatorDetails {
2327
+ enum delegationStatus {
2328
+ COMPLETED = "completed"
2329
+ }
2330
+ }
2000
2331
 
2001
2332
  type PendingDelegatorDetails = {
2002
2333
  txHash: string;
2334
+ nodeId: string;
2003
2335
  rewardAddresses: Array<string>;
2004
2336
  amountDelegated: string;
2005
2337
  delegationFee: string;
2006
2338
  startTimestamp: number;
2007
2339
  endTimestamp: number;
2008
- delegationStatus: DelegationStatusType;
2009
2340
  estimatedGrossReward: string;
2010
2341
  estimatedNetReward: string;
2342
+ delegationStatus: PendingDelegatorDetails.delegationStatus;
2011
2343
  };
2344
+ declare namespace PendingDelegatorDetails {
2345
+ enum delegationStatus {
2346
+ PENDING = "pending"
2347
+ }
2348
+ }
2012
2349
 
2013
2350
  type ListDelegatorDetailsResponse = {
2014
2351
  /**
@@ -2046,49 +2383,104 @@ type ListSubnetsResponse = {
2046
2383
  type Rewards = {
2047
2384
  validationRewardAmount: string;
2048
2385
  delegationRewardAmount: string;
2386
+ rewardAddresses?: Array<string>;
2387
+ rewardTxHash?: string;
2049
2388
  };
2050
2389
 
2051
- declare enum ValidationStatusType {
2052
- COMPLETED = "completed",
2053
- ACTIVE = "active",
2054
- PENDING = "pending"
2055
- }
2390
+ type ValidatorHealthDetails = {
2391
+ /**
2392
+ * Percent of requests responded to in last polling.
2393
+ */
2394
+ reachabilityPercent: number;
2395
+ /**
2396
+ * Percent of requests benched on the P-Chain in last polling.
2397
+ */
2398
+ benchedPChainRequestsPercent: number;
2399
+ /**
2400
+ * Percentage of requests benched on the X-Chain in last polling.
2401
+ */
2402
+ benchedXChainRequestsPercent: number;
2403
+ /**
2404
+ * Percentage of requests benched on the C-Chain in last polling.
2405
+ */
2406
+ benchedCChainRequestsPercent: number;
2407
+ };
2056
2408
 
2057
2409
  type ActiveValidatorDetails = {
2410
+ txHash: string;
2058
2411
  nodeId: string;
2412
+ subnetId: string;
2059
2413
  amountStaked: string;
2060
- delegationFee: string;
2414
+ delegationFee?: string;
2061
2415
  startTimestamp: number;
2062
2416
  endTimestamp: number;
2063
- validationStatus: ValidationStatusType;
2064
2417
  stakePercentage: number;
2065
2418
  delegatorCount: number;
2066
- amountDelegated: string;
2419
+ amountDelegated?: string;
2067
2420
  uptimePerformance: number;
2068
- avalancheGoVersion: string;
2069
- delegationCapacity: string;
2421
+ avalancheGoVersion?: string;
2422
+ delegationCapacity?: string;
2070
2423
  potentialRewards: Rewards;
2424
+ validationStatus: ActiveValidatorDetails.validationStatus;
2425
+ validatorHealth: ValidatorHealthDetails;
2071
2426
  };
2427
+ declare namespace ActiveValidatorDetails {
2428
+ enum validationStatus {
2429
+ ACTIVE = "active"
2430
+ }
2431
+ }
2072
2432
 
2073
2433
  type CompletedValidatorDetails = {
2434
+ txHash: string;
2074
2435
  nodeId: string;
2436
+ subnetId: string;
2075
2437
  amountStaked: string;
2076
- delegationFee: string;
2438
+ delegationFee?: string;
2077
2439
  startTimestamp: number;
2078
2440
  endTimestamp: number;
2079
- validationStatus: ValidationStatusType;
2080
2441
  delegatorCount: number;
2081
2442
  rewards: Rewards;
2443
+ validationStatus: CompletedValidatorDetails.validationStatus;
2082
2444
  };
2445
+ declare namespace CompletedValidatorDetails {
2446
+ enum validationStatus {
2447
+ COMPLETED = "completed"
2448
+ }
2449
+ }
2083
2450
 
2084
2451
  type PendingValidatorDetails = {
2452
+ txHash: string;
2085
2453
  nodeId: string;
2454
+ subnetId: string;
2086
2455
  amountStaked: string;
2087
- delegationFee: string;
2456
+ delegationFee?: string;
2457
+ startTimestamp: number;
2458
+ endTimestamp: number;
2459
+ validationStatus: PendingValidatorDetails.validationStatus;
2460
+ };
2461
+ declare namespace PendingValidatorDetails {
2462
+ enum validationStatus {
2463
+ PENDING = "pending"
2464
+ }
2465
+ }
2466
+
2467
+ type RemovedValidatorDetails = {
2468
+ txHash: string;
2469
+ nodeId: string;
2470
+ subnetId: string;
2471
+ amountStaked: string;
2472
+ delegationFee?: string;
2088
2473
  startTimestamp: number;
2089
2474
  endTimestamp: number;
2090
- validationStatus: ValidationStatusType;
2475
+ removeTxHash: string;
2476
+ removeTimestamp: number;
2477
+ validationStatus: RemovedValidatorDetails.validationStatus;
2091
2478
  };
2479
+ declare namespace RemovedValidatorDetails {
2480
+ enum validationStatus {
2481
+ REMOVED = "removed"
2482
+ }
2483
+ }
2092
2484
 
2093
2485
  type ListValidatorDetailsResponse = {
2094
2486
  /**
@@ -2096,9 +2488,9 @@ type ListValidatorDetailsResponse = {
2096
2488
  */
2097
2489
  nextPageToken?: string;
2098
2490
  /**
2099
- * The list of Validator Details.
2491
+ * The list of validator Details.
2100
2492
  */
2101
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2493
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2102
2494
  };
2103
2495
 
2104
2496
  declare enum Network {
@@ -2106,6 +2498,13 @@ declare enum Network {
2106
2498
  FUJI = "fuji"
2107
2499
  }
2108
2500
 
2501
+ declare enum ValidationStatusType {
2502
+ COMPLETED = "completed",
2503
+ ACTIVE = "active",
2504
+ PENDING = "pending",
2505
+ REMOVED = "removed"
2506
+ }
2507
+
2109
2508
  type XChainAssetDetails = {
2110
2509
  /**
2111
2510
  * Unique ID for an asset.
@@ -2248,7 +2647,7 @@ declare class PrimaryNetworkService {
2248
2647
  * @returns ListValidatorDetailsResponse
2249
2648
  * @throws ApiError
2250
2649
  */
2251
- listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, }: {
2650
+ listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2252
2651
  /**
2253
2652
  * Either mainnet or a testnet.
2254
2653
  */
@@ -2274,9 +2673,33 @@ declare class PrimaryNetworkService {
2274
2673
  */
2275
2674
  validationStatus?: ValidationStatusType;
2276
2675
  /**
2277
- * The minimum delegation capacity, used to filter the set of nodes being returned (Units - nAVAX). Default is 0.
2676
+ * The minimum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000
2278
2677
  */
2279
2678
  minDelegationCapacity?: any;
2679
+ /**
2680
+ * The maximum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000.
2681
+ */
2682
+ maxDelegationCapacity?: any;
2683
+ /**
2684
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2685
+ */
2686
+ minTimeRemaining?: any;
2687
+ /**
2688
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2689
+ */
2690
+ maxTimeRemaining?: any;
2691
+ /**
2692
+ * The minimum fee percentage, used to filter the set of nodes being returned.If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 2, as per the Avalanche spec.
2693
+ */
2694
+ minFeePercentage?: any;
2695
+ /**
2696
+ * The maximum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 100.
2697
+ */
2698
+ maxFeePercentage?: any;
2699
+ /**
2700
+ * The subnet ID to filter by. If not provided, then all subnets will be returned.
2701
+ */
2702
+ subnetId?: string;
2280
2703
  }): CancelablePromise<ListValidatorDetailsResponse>;
2281
2704
  /**
2282
2705
  * Get single validator details
@@ -2316,7 +2739,7 @@ declare class PrimaryNetworkService {
2316
2739
  * @returns ListDelegatorDetailsResponse
2317
2740
  * @throws ApiError
2318
2741
  */
2319
- listDelegators({ network, pageSize, pageToken, sortOrder, delegationStatus, rewardAddresses, nodeIds, }: {
2742
+ listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2320
2743
  /**
2321
2744
  * Either mainnet or a testnet.
2322
2745
  */
@@ -2329,6 +2752,10 @@ declare class PrimaryNetworkService {
2329
2752
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2330
2753
  */
2331
2754
  pageToken?: string;
2755
+ /**
2756
+ * A comma separated list of reward addresses to filter by.
2757
+ */
2758
+ rewardAddresses?: string;
2332
2759
  /**
2333
2760
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2334
2761
  */
@@ -2337,10 +2764,6 @@ declare class PrimaryNetworkService {
2337
2764
  * Delegation status of the node.
2338
2765
  */
2339
2766
  delegationStatus?: DelegationStatusType;
2340
- /**
2341
- * A comma separated list of reward addresses to filter by.
2342
- */
2343
- rewardAddresses?: string;
2344
2767
  /**
2345
2768
  * A comma separated list of node ids to filter by.
2346
2769
  */
@@ -2414,13 +2837,57 @@ type ListCChainAtomicBalancesResponse = {
2414
2837
  chainInfo: PrimaryNetworkChainInfo;
2415
2838
  };
2416
2839
 
2417
- type PChainAsset = {
2840
+ type Asset = {
2841
+ /**
2842
+ * Unique ID for an asset.
2843
+ */
2418
2844
  assetId: string;
2845
+ /**
2846
+ * Name of this asset.
2847
+ */
2848
+ name: string;
2849
+ /**
2850
+ * Symbol for this asset (max 4 characters).
2851
+ */
2852
+ symbol: string;
2853
+ /**
2854
+ * Denomination of this asset to represent fungibility.
2855
+ */
2856
+ denomination: number;
2857
+ /**
2858
+ * Type of asset like SECP256K1 or NFT.
2859
+ */
2860
+ type: string;
2861
+ /**
2862
+ * Amount of the asset.
2863
+ */
2419
2864
  amount: string;
2420
2865
  };
2421
2866
 
2422
2867
  type PChainSharedAsset = {
2868
+ /**
2869
+ * Unique ID for an asset.
2870
+ */
2423
2871
  assetId: string;
2872
+ /**
2873
+ * Name of this asset.
2874
+ */
2875
+ name: string;
2876
+ /**
2877
+ * Symbol for this asset (max 4 characters).
2878
+ */
2879
+ symbol: string;
2880
+ /**
2881
+ * Denomination of this asset to represent fungibility.
2882
+ */
2883
+ denomination: number;
2884
+ /**
2885
+ * Type of asset like SECP256K1 or NFT.
2886
+ */
2887
+ type: string;
2888
+ /**
2889
+ * Amount of the asset.
2890
+ */
2424
2891
  amount: string;
2425
2892
  sharedWithChainId: string;
2426
2893
  status: string;
@@ -2430,27 +2897,27 @@ type PChainBalance = {
2430
2897
  /**
2431
2898
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is consumable by any transaction.
2432
2899
  */
2433
- unlockedUnstaked: Array<PChainAsset>;
2900
+ unlockedUnstaked: Array<Asset>;
2434
2901
  /**
2435
2902
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax that is consumable by any transaction when the staking period ends.
2436
2903
  */
2437
- unlockedStaked: Array<PChainAsset>;
2904
+ unlockedStaked: Array<Asset>;
2438
2905
  /**
2439
2906
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and not consumable by any transaction at the current time.
2440
2907
  */
2441
- lockedPlatform: Array<PChainAsset>;
2908
+ lockedPlatform: Array<Asset>;
2442
2909
  /**
2443
2910
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and only consumeable for staking transactions.
2444
2911
  */
2445
- lockedStakeable: Array<PChainAsset>;
2912
+ lockedStakeable: Array<Asset>;
2446
2913
  /**
2447
2914
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax that will be locked when the staking period ends.
2448
2915
  */
2449
- lockedStaked: Array<PChainAsset>;
2916
+ lockedStaked: Array<Asset>;
2450
2917
  /**
2451
2918
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax whose staking period has not yet started.
2452
2919
  */
2453
- pendingStaked: Array<PChainAsset>;
2920
+ pendingStaked: Array<Asset>;
2454
2921
  /**
2455
2922
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.
2456
2923
  */
@@ -2589,6 +3056,7 @@ type GetPrimaryNetworkBlockResponse = {
2589
3056
  txCount: number;
2590
3057
  transactions: Array<string>;
2591
3058
  blockSizeBytes: number;
3059
+ currentSupply?: string;
2592
3060
  proposerDetails?: ProposerDetails;
2593
3061
  };
2594
3062
 
@@ -2601,6 +3069,7 @@ type PrimaryNetworkBlock = {
2601
3069
  txCount: number;
2602
3070
  transactions: Array<string>;
2603
3071
  blockSizeBytes: number;
3072
+ currentSupply?: string;
2604
3073
  proposerDetails?: ProposerDetails;
2605
3074
  };
2606
3075
 
@@ -2690,9 +3159,41 @@ declare class PrimaryNetworkBlocksService {
2690
3159
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
2691
3160
  }
2692
3161
 
3162
+ type AssetWithPriceInfo = {
3163
+ /**
3164
+ * Unique ID for an asset.
3165
+ */
3166
+ assetId: string;
3167
+ /**
3168
+ * Name of this asset.
3169
+ */
3170
+ name: string;
3171
+ /**
3172
+ * Symbol for this asset (max 4 characters).
3173
+ */
3174
+ symbol: string;
3175
+ /**
3176
+ * Denomination of this asset to represent fungibility.
3177
+ */
3178
+ denomination: number;
3179
+ /**
3180
+ * Type of asset like SECP256K1 or NFT.
3181
+ */
3182
+ type: string;
3183
+ /**
3184
+ * Amount of the asset.
3185
+ */
3186
+ amount: string;
3187
+ /**
3188
+ * The historical asset price at the time the reward was granted, if available. Note, this is only provided if the reward occured more than 24 hours ago.
3189
+ */
3190
+ historicalPrice?: Money;
3191
+ };
3192
+
2693
3193
  declare enum RewardType {
2694
3194
  VALIDATOR = "VALIDATOR",
2695
- DELEGATOR = "DELEGATOR"
3195
+ DELEGATOR = "DELEGATOR",
3196
+ VALIDATOR_FEE = "VALIDATOR_FEE"
2696
3197
  }
2697
3198
 
2698
3199
  type HistoricalReward = {
@@ -2708,10 +3209,7 @@ type HistoricalReward = {
2708
3209
  rewardType: RewardType;
2709
3210
  utxoId: string;
2710
3211
  outputIndex: number;
2711
- /**
2712
- * An object containing P-chain Asset ID and the amount of that Asset ID.
2713
- */
2714
- reward: PChainAsset;
3212
+ reward: AssetWithPriceInfo;
2715
3213
  rewardTxHash: string;
2716
3214
  };
2717
3215
 
@@ -2738,7 +3236,7 @@ type PendingReward = {
2738
3236
  /**
2739
3237
  * An object containing P-chain Asset ID and the amount of that Asset ID.
2740
3238
  */
2741
- estimatedReward: PChainAsset;
3239
+ estimatedReward: Asset;
2742
3240
  };
2743
3241
 
2744
3242
  type ListPendingRewardsResponse = {
@@ -2758,13 +3256,13 @@ declare class PrimaryNetworkRewardsService {
2758
3256
  * @returns ListPendingRewardsResponse
2759
3257
  * @throws ApiError
2760
3258
  */
2761
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3259
+ listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
2762
3260
  /**
2763
3261
  * Either mainnet or a testnet.
2764
3262
  */
2765
3263
  network: Network;
2766
3264
  /**
2767
- * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
3265
+ * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Optional, but at least one of addresses or nodeIds is required.
2768
3266
  */
2769
3267
  addresses?: string;
2770
3268
  /**
@@ -2775,6 +3273,10 @@ declare class PrimaryNetworkRewardsService {
2775
3273
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2776
3274
  */
2777
3275
  pageToken?: string;
3276
+ /**
3277
+ * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3278
+ */
3279
+ nodeIds?: string;
2778
3280
  /**
2779
3281
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2780
3282
  */
@@ -2786,13 +3288,13 @@ declare class PrimaryNetworkRewardsService {
2786
3288
  * @returns ListHistoricalRewardsResponse
2787
3289
  * @throws ApiError
2788
3290
  */
2789
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
3291
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, currency, }: {
2790
3292
  /**
2791
3293
  * Either mainnet or a testnet.
2792
3294
  */
2793
3295
  network: Network;
2794
3296
  /**
2795
- * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
3297
+ * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Optional, but at least one of addresses or nodeIds is required.
2796
3298
  */
2797
3299
  addresses?: string;
2798
3300
  /**
@@ -2803,47 +3305,28 @@ declare class PrimaryNetworkRewardsService {
2803
3305
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2804
3306
  */
2805
3307
  pageToken?: string;
3308
+ /**
3309
+ * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3310
+ */
3311
+ nodeIds?: string;
2806
3312
  /**
2807
3313
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2808
3314
  */
2809
3315
  sortOrder?: SortOrder;
3316
+ /**
3317
+ * The currency that return values should use. Defaults to USD.
3318
+ */
3319
+ currency?: CurrencyCode;
2810
3320
  }): CancelablePromise<ListHistoricalRewardsResponse>;
2811
3321
  }
2812
3322
 
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
3323
  type UtxoCredential = {
2841
3324
  /**
2842
- * Signature provided to consume the output
3325
+ * Signature provided to consume the output.
2843
3326
  */
2844
3327
  signature?: string;
2845
3328
  /**
2846
- * Public key associated with the signature
3329
+ * Public key associated with the signature.
2847
3330
  */
2848
3331
  publicKey?: string;
2849
3332
  };
@@ -2865,66 +3348,66 @@ type EVMInput = {
2865
3348
 
2866
3349
  type Utxo = {
2867
3350
  /**
2868
- * UTXO ID for this output.
3351
+ * Addresses that are eligible to sign the consumption of this output.
2869
3352
  */
2870
- utxoId: string;
3353
+ addresses: Array<string>;
2871
3354
  asset: Asset;
2872
3355
  /**
2873
- * Type of output.
3356
+ * Blockchain ID on which this output is consumed on.
2874
3357
  */
2875
- utxoType: string;
3358
+ consumedOnChainId: string;
2876
3359
  /**
2877
- * Blockchain ID on which this output is created on.
3360
+ * Transaction ID that consumed this output.
2878
3361
  */
2879
- createdOnChainId: string;
3362
+ consumingTxHash?: string;
2880
3363
  /**
2881
- * Blockchain ID on which this output is consumed on.
3364
+ * Blockchain ID on which this output is created on.
2882
3365
  */
2883
- consumedOnChainId: string;
3366
+ createdOnChainId: string;
2884
3367
  /**
2885
- * Transaction ID that created this output.
3368
+ * UTXO ID for this output.
2886
3369
  */
2887
- creationTxHash: string;
3370
+ utxoId: string;
2888
3371
  /**
2889
- * Transaction ID that consumed this output.
3372
+ * Unix timestamp in seconds at which this output was consumed.
2890
3373
  */
2891
- consumingTxHash?: string;
3374
+ consumingTxTimestamp?: number;
2892
3375
  /**
2893
- * Timestamp in seconds this output is consumed.
3376
+ * Transaction ID that created this output.
2894
3377
  */
2895
- consumingTxTimestamp?: number;
3378
+ creationTxHash: string;
2896
3379
  /**
2897
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3380
+ * Credentials that signed the transaction to consume this utxo
2898
3381
  */
2899
- outputIndex: string;
3382
+ credentials?: Array<UtxoCredential>;
2900
3383
  /**
2901
- * Timestamp in seconds this outptut is created on.
3384
+ * Index representing the minting set for the NFT mint output.
2902
3385
  */
2903
- timestamp: number;
3386
+ groupId?: number;
2904
3387
  /**
2905
3388
  * Locktime in seconds after which this output can be consumed.
2906
3389
  */
2907
3390
  locktime: number;
2908
3391
  /**
2909
- * Minimum number of signatures required to consume this output.
3392
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
2910
3393
  */
2911
- threshold: number;
3394
+ outputIndex: string;
2912
3395
  /**
2913
- * Addresses that are eligible to sign the consumption of this output.
3396
+ * Hex encoded data for NFT assets.
2914
3397
  */
2915
- addresses: Array<string>;
3398
+ payload?: string;
2916
3399
  /**
2917
- * Hex encoded data for NFT assets
3400
+ * Minimum number of signatures required to consume this output.
2918
3401
  */
2919
- payload?: string;
3402
+ threshold: number;
2920
3403
  /**
2921
- * Index representing the minting set for the NFT mint output
3404
+ * Unix timestamp in seconds at which this outptut was created.
2922
3405
  */
2923
- groupId?: number;
3406
+ timestamp: number;
2924
3407
  /**
2925
- * Credentials that signed the transaction to consume this utxo
3408
+ * Type of output.
2926
3409
  */
2927
- credentials?: Array<UtxoCredential>;
3410
+ utxoType: string;
2928
3411
  };
2929
3412
 
2930
3413
  type CChainExportTransaction = {
@@ -3055,16 +3538,18 @@ type ListCChainAtomicTransactionsResponse = {
3055
3538
 
3056
3539
  declare enum PChainTransactionType {
3057
3540
  ADD_VALIDATOR_TX = "AddValidatorTx",
3058
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3059
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3060
3541
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3061
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3062
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3542
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3063
3543
  CREATE_CHAIN_TX = "CreateChainTx",
3064
3544
  CREATE_SUBNET_TX = "CreateSubnetTx",
3065
3545
  IMPORT_TX = "ImportTx",
3066
3546
  EXPORT_TX = "ExportTx",
3067
3547
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3548
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3549
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3550
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3551
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3552
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3068
3553
  UNKNOWN = "UNKNOWN"
3069
3554
  }
3070
3555
 
@@ -3075,29 +3560,48 @@ declare enum UtxoType {
3075
3560
 
3076
3561
  type PChainUtxo = {
3077
3562
  /**
3078
- * An array of P-Chain wallet addresses.
3563
+ * Addresses that are eligible to sign the consumption of this output.
3079
3564
  */
3080
3565
  addresses: Array<string>;
3566
+ asset: Asset;
3567
+ /**
3568
+ * Blockchain ID on which this output is consumed on.
3569
+ */
3570
+ consumedOnChainId: string;
3571
+ /**
3572
+ * Transaction ID that consumed this output.
3573
+ */
3574
+ consumingTxHash?: string;
3575
+ /**
3576
+ * Blockchain ID on which this output is created on.
3577
+ */
3578
+ createdOnChainId: string;
3579
+ /**
3580
+ * UTXO ID for this output.
3581
+ */
3081
3582
  utxoId: string;
3082
- txHash: string;
3083
- outputIndex: number;
3583
+ /**
3584
+ * @deprecated
3585
+ */
3586
+ amount: string;
3587
+ /**
3588
+ * @deprecated
3589
+ */
3590
+ assetId: string;
3084
3591
  blockNumber: string;
3085
3592
  blockTimestamp: number;
3086
- consumingTxHash?: string;
3087
- consumingBlockTimestamp?: number;
3088
3593
  consumingBlockNumber?: string;
3089
- assetId: string;
3090
- utxoType: UtxoType;
3091
- amount: string;
3092
- stakeableLocktime?: number;
3594
+ consumingBlockTimestamp?: number;
3093
3595
  platformLocktime?: number;
3094
- threshold?: number;
3095
- createdOnChainId: string;
3096
- consumedOnChainId: string;
3596
+ outputIndex: number;
3597
+ rewardType?: RewardType;
3598
+ stakeableLocktime?: number;
3097
3599
  staked?: boolean;
3098
- utxoStartTimestamp?: number;
3600
+ threshold?: number;
3601
+ txHash: string;
3099
3602
  utxoEndTimestamp?: number;
3100
- rewardType?: RewardType;
3603
+ utxoStartTimestamp?: number;
3604
+ utxoType: UtxoType;
3101
3605
  };
3102
3606
 
3103
3607
  type PChainTransaction = {
@@ -3125,15 +3629,15 @@ type PChainTransaction = {
3125
3629
  /**
3126
3630
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3127
3631
  */
3128
- value: Array<PChainAsset>;
3632
+ value: Array<Asset>;
3129
3633
  /**
3130
3634
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3131
3635
  */
3132
- amountBurned: Array<PChainAsset>;
3636
+ amountBurned: Array<Asset>;
3133
3637
  /**
3134
3638
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3135
3639
  */
3136
- amountStaked: Array<PChainAsset>;
3640
+ amountStaked: Array<Asset>;
3137
3641
  /**
3138
3642
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3139
3643
  */
@@ -3159,6 +3663,7 @@ type PChainTransaction = {
3159
3663
  */
3160
3664
  estimatedReward?: string;
3161
3665
  rewardTxHash?: string;
3666
+ rewardAddresses?: Array<string>;
3162
3667
  memo?: string;
3163
3668
  /**
3164
3669
  * Present for RewardValidatorTx
@@ -3175,6 +3680,15 @@ type ListPChainTransactionsResponse = {
3175
3680
  chainInfo: PrimaryNetworkChainInfo;
3176
3681
  };
3177
3682
 
3683
+ declare enum XChainTransactionType {
3684
+ BASE_TX = "BaseTx",
3685
+ CREATE_ASSET_TX = "CreateAssetTx",
3686
+ OPERATION_TX = "OperationTx",
3687
+ IMPORT_TX = "ImportTx",
3688
+ EXPORT_TX = "ExportTx",
3689
+ UNKNOWN = "UNKNOWN"
3690
+ }
3691
+
3178
3692
  type XChainLinearTransaction = {
3179
3693
  /**
3180
3694
  * Unique ID for this transaction.
@@ -3191,7 +3705,7 @@ type XChainLinearTransaction = {
3191
3705
  /**
3192
3706
  * Type of transaction.
3193
3707
  */
3194
- txType: string;
3708
+ txType: XChainTransactionType;
3195
3709
  /**
3196
3710
  * Hex encoded memo bytes for this transaction.
3197
3711
  */
@@ -3268,7 +3782,7 @@ type XChainNonLinearTransaction = {
3268
3782
  /**
3269
3783
  * Type of transaction.
3270
3784
  */
3271
- txType: string;
3785
+ txType: XChainTransactionType;
3272
3786
  /**
3273
3787
  * Hex encoded memo bytes for this transaction.
3274
3788
  */
@@ -3326,16 +3840,18 @@ declare enum PChainId {
3326
3840
 
3327
3841
  declare enum PrimaryNetworkTxType {
3328
3842
  ADD_VALIDATOR_TX = "AddValidatorTx",
3329
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3330
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3331
3843
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3332
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3333
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3844
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3334
3845
  CREATE_CHAIN_TX = "CreateChainTx",
3335
3846
  CREATE_SUBNET_TX = "CreateSubnetTx",
3336
3847
  IMPORT_TX = "ImportTx",
3337
3848
  EXPORT_TX = "ExportTx",
3338
3849
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3850
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3851
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3852
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3853
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3854
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3339
3855
  UNKNOWN = "UNKNOWN",
3340
3856
  BASE_TX = "BaseTx",
3341
3857
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3663,11 +4179,186 @@ declare class PrimaryNetworkVerticesService {
3663
4179
  }): CancelablePromise<ListXChainVerticesResponse>;
3664
4180
  }
3665
4181
 
4182
+ type TeleporterDestinationTransaction = {
4183
+ txHash: string;
4184
+ timestamp: number;
4185
+ gasSpent: string;
4186
+ rewardRedeemer: string;
4187
+ delivererAddress: string;
4188
+ };
4189
+
4190
+ type TeleporterRewardDetails = {
4191
+ /**
4192
+ * A wallet or contract address in mixed-case checksum encoding.
4193
+ */
4194
+ address: string;
4195
+ /**
4196
+ * The contract name.
4197
+ */
4198
+ name: string;
4199
+ /**
4200
+ * The contract symbol.
4201
+ */
4202
+ symbol: string;
4203
+ /**
4204
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
4205
+ */
4206
+ decimals: number;
4207
+ /**
4208
+ * The logo uri for the address.
4209
+ */
4210
+ logoUri?: string;
4211
+ ercType: TeleporterRewardDetails.ercType;
4212
+ /**
4213
+ * The token price, if available.
4214
+ */
4215
+ price?: Money;
4216
+ value: string;
4217
+ };
4218
+ declare namespace TeleporterRewardDetails {
4219
+ enum ercType {
4220
+ ERC_20 = "ERC-20"
4221
+ }
4222
+ }
4223
+
4224
+ type DeliveredSourceNotIndexedTeleporterMessage = {
4225
+ sourceBlockchainId: string;
4226
+ destinationBlockchainId: string;
4227
+ messageId: string;
4228
+ from: string;
4229
+ to: string;
4230
+ data?: string;
4231
+ messageExecuted: boolean;
4232
+ receipts: Array<string>;
4233
+ receiptDelivered: boolean;
4234
+ rewardDetails: TeleporterRewardDetails;
4235
+ destinationTransaction: TeleporterDestinationTransaction;
4236
+ status: DeliveredSourceNotIndexedTeleporterMessage.status;
4237
+ };
4238
+ declare namespace DeliveredSourceNotIndexedTeleporterMessage {
4239
+ enum status {
4240
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
4241
+ }
4242
+ }
4243
+
4244
+ type TeleporterSourceTransaction = {
4245
+ txHash: string;
4246
+ timestamp: number;
4247
+ gasSpent: string;
4248
+ };
4249
+
4250
+ type DeliveredTeleporterMessage = {
4251
+ sourceBlockchainId: string;
4252
+ destinationBlockchainId: string;
4253
+ messageId: string;
4254
+ from: string;
4255
+ to: string;
4256
+ data?: string;
4257
+ messageExecuted: boolean;
4258
+ receipts: Array<string>;
4259
+ receiptDelivered: boolean;
4260
+ rewardDetails: TeleporterRewardDetails;
4261
+ sourceTransaction: TeleporterSourceTransaction;
4262
+ destinationTransaction: TeleporterDestinationTransaction;
4263
+ status: DeliveredTeleporterMessage.status;
4264
+ };
4265
+ declare namespace DeliveredTeleporterMessage {
4266
+ enum status {
4267
+ DELIVERED = "delivered"
4268
+ }
4269
+ }
4270
+
4271
+ type NextPageToken = {
4272
+ /**
4273
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
4274
+ */
4275
+ nextPageToken?: string;
4276
+ };
4277
+
4278
+ type PendingTeleporterMessage = {
4279
+ sourceBlockchainId: string;
4280
+ destinationBlockchainId: string;
4281
+ messageId: string;
4282
+ from: string;
4283
+ to: string;
4284
+ data?: string;
4285
+ messageExecuted: boolean;
4286
+ receipts: Array<string>;
4287
+ receiptDelivered: boolean;
4288
+ rewardDetails: TeleporterRewardDetails;
4289
+ sourceTransaction: TeleporterSourceTransaction;
4290
+ status: PendingTeleporterMessage.status;
4291
+ };
4292
+ declare namespace PendingTeleporterMessage {
4293
+ enum status {
4294
+ PENDING = "pending"
4295
+ }
4296
+ }
4297
+
4298
+ declare class TeleporterService {
4299
+ readonly httpRequest: BaseHttpRequest;
4300
+ constructor(httpRequest: BaseHttpRequest);
4301
+ /**
4302
+ * Get a teleporter message
4303
+ * Gets a teleporter message by source chain, destination chain, and message ID.
4304
+ * @returns any
4305
+ * @throws ApiError
4306
+ */
4307
+ getTeleporterMessage({ sourceBlockchainId, destinationBlockchainId, messageId, }: {
4308
+ /**
4309
+ * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4310
+ */
4311
+ sourceBlockchainId: any;
4312
+ /**
4313
+ * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4314
+ */
4315
+ destinationBlockchainId: any;
4316
+ /**
4317
+ * The message ID of the teleporter message.
4318
+ */
4319
+ messageId: any;
4320
+ }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4321
+ /**
4322
+ * List teleporter messages
4323
+ * Lists teleporter messages. Ordered by timestamp in descending order.
4324
+ * @returns any
4325
+ * @throws ApiError
4326
+ */
4327
+ listTeleporterMessages({ pageSize, pageToken, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4328
+ /**
4329
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4330
+ */
4331
+ pageSize?: number;
4332
+ /**
4333
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4334
+ */
4335
+ pageToken?: string;
4336
+ /**
4337
+ * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4338
+ */
4339
+ sourceBlockchainId?: any;
4340
+ /**
4341
+ * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4342
+ */
4343
+ destinationBlockchainId?: any;
4344
+ /**
4345
+ * The address of the recipient of the teleporter message.
4346
+ */
4347
+ to?: any;
4348
+ /**
4349
+ * The address of the sender of the teleporter message.
4350
+ */
4351
+ from?: any;
4352
+ }): CancelablePromise<NextPageToken>;
4353
+ }
4354
+
3666
4355
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
3667
4356
  declare class Glacier {
4357
+ readonly default: DefaultService;
3668
4358
  readonly evmBalances: EvmBalancesService;
3669
4359
  readonly evmBlocks: EvmBlocksService;
3670
4360
  readonly evmChains: EvmChainsService;
4361
+ readonly evmContracts: EvmContractsService;
3671
4362
  readonly evmTransactions: EvmTransactionsService;
3672
4363
  readonly healthCheck: HealthCheckService;
3673
4364
  readonly nfTs: NfTsService;
@@ -3679,6 +4370,7 @@ declare class Glacier {
3679
4370
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
3680
4371
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
3681
4372
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4373
+ readonly teleporter: TeleporterService;
3682
4374
  readonly request: BaseHttpRequest;
3683
4375
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
3684
4376
  }
@@ -3700,4 +4392,4 @@ declare class ApiError extends Error {
3700
4392
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3701
4393
  }
3702
4394
 
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 };
4395
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TeleporterDestinationTransaction, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };