@avalabs/glacier-sdk 2.8.0-canary.f195b3d.0 → 2.8.0-canary.f2340be.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.
- package/dist/index.d.ts +260 -185
- package/dist/index.js +66 -26
- package/esm/generated/models/AddressActivityMetadata.d.ts +8 -0
- package/esm/generated/models/{Asset.d.ts → AggregatedAssetAmount.d.ts} +3 -5
- package/esm/generated/models/{XChainAssetBalance.d.ts → AssetAmount.d.ts} +2 -6
- package/esm/generated/models/AssetWithPriceInfo.d.ts +0 -3
- package/esm/generated/models/CChainExportTransaction.d.ts +3 -3
- package/esm/generated/models/CChainImportTransaction.d.ts +3 -3
- package/esm/generated/models/CChainSharedAssetBalance.d.ts +0 -3
- package/esm/generated/models/ChainInfo.d.ts +1 -3
- package/esm/generated/models/ChainStatus.d.ts +3 -0
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +2 -6
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +2 -6
- package/esm/generated/models/CurrencyCode.d.ts +3 -0
- package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +5 -2
- package/esm/generated/models/DeliveredTeleporterMessage.d.ts +5 -2
- package/esm/generated/models/EVMInput.d.ts +3 -3
- package/esm/generated/models/EVMOperationType.d.ts +5 -0
- package/esm/generated/models/EVMOperationType.js +6 -0
- package/esm/generated/models/EVMOutput.d.ts +3 -3
- package/esm/generated/models/Erc1155TokenMetadata.d.ts +0 -3
- package/esm/generated/models/Erc721TokenMetadata.d.ts +0 -3
- package/esm/generated/models/GetChainResponse.d.ts +1 -3
- package/esm/generated/models/GlacierApiFeature.d.ts +5 -0
- package/esm/generated/models/GlacierApiFeature.js +6 -0
- package/esm/generated/models/ListNftTokens.d.ts +1 -1
- package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
- package/esm/generated/models/Method.d.ts +0 -3
- package/esm/generated/models/Money.d.ts +0 -3
- package/esm/generated/models/NftTokenMetadataStatus.d.ts +3 -0
- package/esm/generated/models/OperationType.d.ts +4 -2
- package/esm/generated/models/OperationType.js +3 -1
- package/esm/generated/models/PChainBalance.d.ts +15 -15
- package/esm/generated/models/PChainSharedAsset.d.ts +1 -3
- package/esm/generated/models/PChainTransaction.d.ts +12 -7
- package/esm/generated/models/PChainTransactionType.d.ts +2 -0
- package/esm/generated/models/PChainTransactionType.js +2 -0
- package/esm/generated/models/PChainUtxo.d.ts +2 -2
- package/esm/generated/models/PendingReward.d.ts +3 -3
- package/esm/generated/models/PendingTeleporterMessage.d.ts +5 -2
- package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +3 -0
- package/esm/generated/models/PrimaryNetworkAssetType.d.ts +3 -0
- package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
- package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
- package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
- package/esm/generated/models/RegisterWebhookRequest.d.ts +0 -3
- package/esm/generated/models/Subnet.d.ts +17 -0
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
- package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
- package/esm/generated/models/TransactionMethodType.d.ts +3 -0
- package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
- package/esm/generated/models/Utxo.d.ts +2 -2
- package/esm/generated/models/WebhookResponse.d.ts +2 -0
- package/esm/generated/models/XChainAssetDetails.d.ts +0 -6
- package/esm/generated/models/XChainBalances.d.ts +3 -3
- package/esm/generated/models/XChainLinearTransaction.d.ts +4 -7
- package/esm/generated/models/XChainNonLinearTransaction.d.ts +4 -7
- package/esm/generated/models/XChainSharedAssetBalance.d.ts +0 -3
- package/esm/generated/models/XChainTransactionType.d.ts +3 -0
- package/esm/generated/services/DefaultService.d.ts +33 -0
- package/esm/generated/services/DefaultService.js +32 -1
- package/esm/generated/services/EvmBalancesService.d.ts +5 -5
- package/esm/generated/services/EvmBlocksService.d.ts +2 -2
- package/esm/generated/services/EvmChainsService.d.ts +7 -2
- package/esm/generated/services/EvmChainsService.js +4 -2
- package/esm/generated/services/EvmContractsService.d.ts +2 -2
- package/esm/generated/services/EvmTransactionsService.d.ts +12 -12
- package/esm/generated/services/NfTsService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/TeleporterService.d.ts +9 -17
- package/esm/generated/services/TeleporterService.js +2 -6
- package/esm/index.d.ts +8 -2
- package/esm/index.js +3 -2
- package/package.json +2 -2
- package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -69,6 +69,14 @@ type AddressActivityMetadata = {
|
|
|
69
69
|
* Array of hexadecimal strings of the event signatures.
|
|
70
70
|
*/
|
|
71
71
|
eventSignatures?: Array<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Whether to include traces in the webhook payload.
|
|
74
|
+
*/
|
|
75
|
+
includeTraces?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Whether to include logs in the webhook payload.
|
|
78
|
+
*/
|
|
79
|
+
includeLogs?: boolean;
|
|
72
80
|
};
|
|
73
81
|
|
|
74
82
|
declare enum EventType {
|
|
@@ -88,6 +96,8 @@ type WebhookResponse = {
|
|
|
88
96
|
chainId: string;
|
|
89
97
|
status: WebhookStatusType;
|
|
90
98
|
createdAt: number;
|
|
99
|
+
name: string;
|
|
100
|
+
description: string;
|
|
91
101
|
};
|
|
92
102
|
|
|
93
103
|
type ListWebhooksResponse = {
|
|
@@ -101,9 +111,6 @@ type ListWebhooksResponse = {
|
|
|
101
111
|
type RegisterWebhookRequest = {
|
|
102
112
|
url: string;
|
|
103
113
|
chainId: string;
|
|
104
|
-
/**
|
|
105
|
-
* The type of event for the webhook
|
|
106
|
-
*/
|
|
107
114
|
eventType: EventType;
|
|
108
115
|
metadata: AddressActivityMetadata;
|
|
109
116
|
};
|
|
@@ -112,6 +119,15 @@ type SharedSecretsResponse = {
|
|
|
112
119
|
secret: string;
|
|
113
120
|
};
|
|
114
121
|
|
|
122
|
+
type UpdateWebhookRequest = {
|
|
123
|
+
name?: string;
|
|
124
|
+
description?: string;
|
|
125
|
+
url?: string;
|
|
126
|
+
status?: WebhookStatusType;
|
|
127
|
+
includeTraces?: boolean;
|
|
128
|
+
includeLogs?: boolean;
|
|
129
|
+
};
|
|
130
|
+
|
|
115
131
|
declare enum WebhookStatus {
|
|
116
132
|
ACTIVE = "active",
|
|
117
133
|
INACTIVE = "inactive"
|
|
@@ -154,6 +170,18 @@ declare class DefaultService {
|
|
|
154
170
|
*/
|
|
155
171
|
status?: WebhookStatus;
|
|
156
172
|
}): CancelablePromise<ListWebhooksResponse>;
|
|
173
|
+
/**
|
|
174
|
+
* Get a webhook by ID
|
|
175
|
+
* Retrieves a webhook by ID.
|
|
176
|
+
* @returns WebhookResponse
|
|
177
|
+
* @throws ApiError
|
|
178
|
+
*/
|
|
179
|
+
getWebhook({ id, }: {
|
|
180
|
+
/**
|
|
181
|
+
* The webhook identifier.
|
|
182
|
+
*/
|
|
183
|
+
id: string;
|
|
184
|
+
}): CancelablePromise<WebhookResponse>;
|
|
157
185
|
/**
|
|
158
186
|
* Deactivate a webhook
|
|
159
187
|
* Deactivates a webhook by ID.
|
|
@@ -166,6 +194,19 @@ declare class DefaultService {
|
|
|
166
194
|
*/
|
|
167
195
|
id: string;
|
|
168
196
|
}): CancelablePromise<WebhookResponse>;
|
|
197
|
+
/**
|
|
198
|
+
* Update a webhook
|
|
199
|
+
* Updates an existing webhook.
|
|
200
|
+
* @returns WebhookResponse
|
|
201
|
+
* @throws ApiError
|
|
202
|
+
*/
|
|
203
|
+
updateWebhook({ id, requestBody, }: {
|
|
204
|
+
/**
|
|
205
|
+
* The webhook identifier.
|
|
206
|
+
*/
|
|
207
|
+
id: string;
|
|
208
|
+
requestBody: UpdateWebhookRequest;
|
|
209
|
+
}): CancelablePromise<WebhookResponse>;
|
|
169
210
|
/**
|
|
170
211
|
* Generate a shared secret
|
|
171
212
|
* Generates a new shared secret.
|
|
@@ -173,8 +214,18 @@ declare class DefaultService {
|
|
|
173
214
|
* @throws ApiError
|
|
174
215
|
*/
|
|
175
216
|
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
217
|
+
/**
|
|
218
|
+
* Get a shared secret
|
|
219
|
+
* Get a previously generated shared secret.
|
|
220
|
+
* @returns SharedSecretsResponse
|
|
221
|
+
* @throws ApiError
|
|
222
|
+
*/
|
|
223
|
+
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
176
224
|
}
|
|
177
225
|
|
|
226
|
+
/**
|
|
227
|
+
* ISO 4217 currency code.
|
|
228
|
+
*/
|
|
178
229
|
declare enum CurrencyCode {
|
|
179
230
|
USD = "usd",
|
|
180
231
|
EUR = "eur",
|
|
@@ -193,9 +244,6 @@ declare enum CurrencyCode {
|
|
|
193
244
|
}
|
|
194
245
|
|
|
195
246
|
type Money = {
|
|
196
|
-
/**
|
|
197
|
-
* ISO 4217 currency code.
|
|
198
|
-
*/
|
|
199
247
|
currencyCode: CurrencyCode;
|
|
200
248
|
/**
|
|
201
249
|
* Monetary value in base 10 decimals.
|
|
@@ -245,6 +293,9 @@ type GetNativeBalanceResponse = {
|
|
|
245
293
|
nativeTokenBalance: NativeTokenBalance;
|
|
246
294
|
};
|
|
247
295
|
|
|
296
|
+
/**
|
|
297
|
+
* The metadata indexing status of the nft.
|
|
298
|
+
*/
|
|
248
299
|
declare enum NftTokenMetadataStatus {
|
|
249
300
|
UNKNOWN = "UNKNOWN",
|
|
250
301
|
MISSING_TOKEN = "MISSING_TOKEN",
|
|
@@ -260,9 +311,6 @@ declare enum NftTokenMetadataStatus {
|
|
|
260
311
|
}
|
|
261
312
|
|
|
262
313
|
type Erc1155TokenMetadata = {
|
|
263
|
-
/**
|
|
264
|
-
* The metadata indexing status of the nft.
|
|
265
|
-
*/
|
|
266
314
|
indexStatus: NftTokenMetadataStatus;
|
|
267
315
|
metadataLastUpdatedTimestamp?: number;
|
|
268
316
|
name?: string;
|
|
@@ -301,9 +349,6 @@ declare namespace Erc1155TokenBalance {
|
|
|
301
349
|
}
|
|
302
350
|
|
|
303
351
|
type Erc721TokenMetadata = {
|
|
304
|
-
/**
|
|
305
|
-
* The metadata indexing status of the nft.
|
|
306
|
-
*/
|
|
307
352
|
indexStatus: NftTokenMetadataStatus;
|
|
308
353
|
metadataLastUpdatedTimestamp?: number;
|
|
309
354
|
name?: string;
|
|
@@ -450,7 +495,7 @@ declare class EvmBalancesService {
|
|
|
450
495
|
*/
|
|
451
496
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
452
497
|
/**
|
|
453
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
498
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
454
499
|
*/
|
|
455
500
|
chainId: string;
|
|
456
501
|
/**
|
|
@@ -478,7 +523,7 @@ declare class EvmBalancesService {
|
|
|
478
523
|
*/
|
|
479
524
|
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
|
|
480
525
|
/**
|
|
481
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
526
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
482
527
|
*/
|
|
483
528
|
chainId: string;
|
|
484
529
|
/**
|
|
@@ -516,7 +561,7 @@ declare class EvmBalancesService {
|
|
|
516
561
|
*/
|
|
517
562
|
listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
518
563
|
/**
|
|
519
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
564
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
520
565
|
*/
|
|
521
566
|
chainId: string;
|
|
522
567
|
/**
|
|
@@ -548,7 +593,7 @@ declare class EvmBalancesService {
|
|
|
548
593
|
*/
|
|
549
594
|
listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
|
|
550
595
|
/**
|
|
551
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
596
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
552
597
|
*/
|
|
553
598
|
chainId: string;
|
|
554
599
|
/**
|
|
@@ -582,7 +627,7 @@ declare class EvmBalancesService {
|
|
|
582
627
|
*/
|
|
583
628
|
listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
584
629
|
/**
|
|
585
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
630
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
586
631
|
*/
|
|
587
632
|
chainId: string;
|
|
588
633
|
/**
|
|
@@ -711,7 +756,7 @@ declare class EvmBlocksService {
|
|
|
711
756
|
*/
|
|
712
757
|
getLatestBlocks({ chainId, pageToken, pageSize, }: {
|
|
713
758
|
/**
|
|
714
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
759
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
715
760
|
*/
|
|
716
761
|
chainId: string;
|
|
717
762
|
/**
|
|
@@ -731,7 +776,7 @@ declare class EvmBlocksService {
|
|
|
731
776
|
*/
|
|
732
777
|
getBlock({ chainId, blockId, }: {
|
|
733
778
|
/**
|
|
734
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
779
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
735
780
|
*/
|
|
736
781
|
chainId: string;
|
|
737
782
|
/**
|
|
@@ -741,6 +786,9 @@ declare class EvmBlocksService {
|
|
|
741
786
|
}): CancelablePromise<GetEvmBlockResponse>;
|
|
742
787
|
}
|
|
743
788
|
|
|
789
|
+
/**
|
|
790
|
+
* Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
|
|
791
|
+
*/
|
|
744
792
|
declare enum ChainStatus {
|
|
745
793
|
OK = "OK",
|
|
746
794
|
UNAVAILABLE = "UNAVAILABLE"
|
|
@@ -778,9 +826,6 @@ declare enum VmName {
|
|
|
778
826
|
|
|
779
827
|
type GetChainResponse = {
|
|
780
828
|
chainId: string;
|
|
781
|
-
/**
|
|
782
|
-
* Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
|
|
783
|
-
*/
|
|
784
829
|
status: ChainStatus;
|
|
785
830
|
chainName: string;
|
|
786
831
|
description: string;
|
|
@@ -796,13 +841,15 @@ type GetChainResponse = {
|
|
|
796
841
|
networkToken: NetworkToken;
|
|
797
842
|
chainLogoUri?: string;
|
|
798
843
|
private?: boolean;
|
|
844
|
+
enabledFeatures?: Array<'nftIndexing'>;
|
|
799
845
|
};
|
|
800
846
|
|
|
847
|
+
declare enum GlacierApiFeature {
|
|
848
|
+
NFT_INDEXING = "nftIndexing"
|
|
849
|
+
}
|
|
850
|
+
|
|
801
851
|
type ChainInfo = {
|
|
802
852
|
chainId: string;
|
|
803
|
-
/**
|
|
804
|
-
* Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
|
|
805
|
-
*/
|
|
806
853
|
status: ChainStatus;
|
|
807
854
|
chainName: string;
|
|
808
855
|
description: string;
|
|
@@ -818,6 +865,7 @@ type ChainInfo = {
|
|
|
818
865
|
networkToken: NetworkToken;
|
|
819
866
|
chainLogoUri?: string;
|
|
820
867
|
private?: boolean;
|
|
868
|
+
enabledFeatures?: Array<'nftIndexing'>;
|
|
821
869
|
};
|
|
822
870
|
|
|
823
871
|
type ListChainsResponse = {
|
|
@@ -838,11 +886,15 @@ declare class EvmChainsService {
|
|
|
838
886
|
* @returns ListChainsResponse
|
|
839
887
|
* @throws ApiError
|
|
840
888
|
*/
|
|
841
|
-
supportedChains({ network, }: {
|
|
889
|
+
supportedChains({ network, feature, }: {
|
|
842
890
|
/**
|
|
843
891
|
* mainnet or testnet.
|
|
844
892
|
*/
|
|
845
893
|
network?: NetworkType;
|
|
894
|
+
/**
|
|
895
|
+
* Filter by feature.
|
|
896
|
+
*/
|
|
897
|
+
feature?: GlacierApiFeature;
|
|
846
898
|
}): CancelablePromise<ListChainsResponse>;
|
|
847
899
|
/**
|
|
848
900
|
* Get chain information
|
|
@@ -852,7 +904,7 @@ declare class EvmChainsService {
|
|
|
852
904
|
*/
|
|
853
905
|
getChainInfo({ chainId, }: {
|
|
854
906
|
/**
|
|
855
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
907
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
856
908
|
*/
|
|
857
909
|
chainId: string;
|
|
858
910
|
}): CancelablePromise<GetChainResponse>;
|
|
@@ -1147,7 +1199,7 @@ declare class EvmContractsService {
|
|
|
1147
1199
|
*/
|
|
1148
1200
|
getContractMetadata({ chainId, address, }: {
|
|
1149
1201
|
/**
|
|
1150
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1202
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1151
1203
|
*/
|
|
1152
1204
|
chainId: string;
|
|
1153
1205
|
/**
|
|
@@ -1163,7 +1215,7 @@ declare class EvmContractsService {
|
|
|
1163
1215
|
*/
|
|
1164
1216
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1165
1217
|
/**
|
|
1166
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1218
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1167
1219
|
*/
|
|
1168
1220
|
chainId: string;
|
|
1169
1221
|
/**
|
|
@@ -1297,6 +1349,9 @@ type Erc721TransferDetails = {
|
|
|
1297
1349
|
erc721Token: Erc721Token;
|
|
1298
1350
|
};
|
|
1299
1351
|
|
|
1352
|
+
/**
|
|
1353
|
+
* 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.
|
|
1354
|
+
*/
|
|
1300
1355
|
declare enum TransactionMethodType {
|
|
1301
1356
|
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1302
1357
|
CONTRACT_CALL = "CONTRACT_CALL",
|
|
@@ -1304,9 +1359,6 @@ declare enum TransactionMethodType {
|
|
|
1304
1359
|
}
|
|
1305
1360
|
|
|
1306
1361
|
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
1362
|
callType: TransactionMethodType;
|
|
1311
1363
|
/**
|
|
1312
1364
|
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
@@ -1667,7 +1719,7 @@ type ListTransfersResponse = {
|
|
|
1667
1719
|
* 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.
|
|
1668
1720
|
*/
|
|
1669
1721
|
nextPageToken?: string;
|
|
1670
|
-
transfers:
|
|
1722
|
+
transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
|
|
1671
1723
|
};
|
|
1672
1724
|
|
|
1673
1725
|
declare enum SortOrder {
|
|
@@ -1691,7 +1743,7 @@ declare class EvmTransactionsService {
|
|
|
1691
1743
|
*/
|
|
1692
1744
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1693
1745
|
/**
|
|
1694
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1746
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1695
1747
|
*/
|
|
1696
1748
|
chainId: string;
|
|
1697
1749
|
/**
|
|
@@ -1711,7 +1763,7 @@ declare class EvmTransactionsService {
|
|
|
1711
1763
|
*/
|
|
1712
1764
|
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
1713
1765
|
/**
|
|
1714
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1766
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1715
1767
|
*/
|
|
1716
1768
|
chainId: string;
|
|
1717
1769
|
/**
|
|
@@ -1735,7 +1787,7 @@ declare class EvmTransactionsService {
|
|
|
1735
1787
|
*/
|
|
1736
1788
|
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1737
1789
|
/**
|
|
1738
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1790
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1739
1791
|
*/
|
|
1740
1792
|
chainId: string;
|
|
1741
1793
|
/**
|
|
@@ -1769,7 +1821,7 @@ declare class EvmTransactionsService {
|
|
|
1769
1821
|
*/
|
|
1770
1822
|
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
1771
1823
|
/**
|
|
1772
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1824
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1773
1825
|
*/
|
|
1774
1826
|
chainId: string;
|
|
1775
1827
|
/**
|
|
@@ -1805,7 +1857,7 @@ declare class EvmTransactionsService {
|
|
|
1805
1857
|
*/
|
|
1806
1858
|
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1807
1859
|
/**
|
|
1808
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1860
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1809
1861
|
*/
|
|
1810
1862
|
chainId: string;
|
|
1811
1863
|
/**
|
|
@@ -1837,7 +1889,7 @@ declare class EvmTransactionsService {
|
|
|
1837
1889
|
*/
|
|
1838
1890
|
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1839
1891
|
/**
|
|
1840
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1892
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1841
1893
|
*/
|
|
1842
1894
|
chainId: string;
|
|
1843
1895
|
/**
|
|
@@ -1869,7 +1921,7 @@ declare class EvmTransactionsService {
|
|
|
1869
1921
|
*/
|
|
1870
1922
|
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1871
1923
|
/**
|
|
1872
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1924
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1873
1925
|
*/
|
|
1874
1926
|
chainId: string;
|
|
1875
1927
|
/**
|
|
@@ -1901,7 +1953,7 @@ declare class EvmTransactionsService {
|
|
|
1901
1953
|
*/
|
|
1902
1954
|
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1903
1955
|
/**
|
|
1904
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1956
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1905
1957
|
*/
|
|
1906
1958
|
chainId: string;
|
|
1907
1959
|
/**
|
|
@@ -1935,7 +1987,7 @@ declare class EvmTransactionsService {
|
|
|
1935
1987
|
*/
|
|
1936
1988
|
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1937
1989
|
/**
|
|
1938
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1990
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1939
1991
|
*/
|
|
1940
1992
|
chainId: string;
|
|
1941
1993
|
/**
|
|
@@ -1967,7 +2019,7 @@ declare class EvmTransactionsService {
|
|
|
1967
2019
|
*/
|
|
1968
2020
|
getTransaction({ chainId, txHash, }: {
|
|
1969
2021
|
/**
|
|
1970
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2022
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1971
2023
|
*/
|
|
1972
2024
|
chainId: string;
|
|
1973
2025
|
/**
|
|
@@ -1983,7 +2035,7 @@ declare class EvmTransactionsService {
|
|
|
1983
2035
|
*/
|
|
1984
2036
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
1985
2037
|
/**
|
|
1986
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2038
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1987
2039
|
*/
|
|
1988
2040
|
chainId: string;
|
|
1989
2041
|
/**
|
|
@@ -1999,7 +2051,7 @@ declare class EvmTransactionsService {
|
|
|
1999
2051
|
*/
|
|
2000
2052
|
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
2001
2053
|
/**
|
|
2002
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2054
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2003
2055
|
*/
|
|
2004
2056
|
chainId: string;
|
|
2005
2057
|
/**
|
|
@@ -2038,7 +2090,7 @@ type ListNftTokens = {
|
|
|
2038
2090
|
* 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
2091
|
*/
|
|
2040
2092
|
nextPageToken?: string;
|
|
2041
|
-
tokens:
|
|
2093
|
+
tokens: Array<(Erc721Token | Erc1155Token)>;
|
|
2042
2094
|
};
|
|
2043
2095
|
|
|
2044
2096
|
declare class NfTsService {
|
|
@@ -2052,7 +2104,7 @@ declare class NfTsService {
|
|
|
2052
2104
|
*/
|
|
2053
2105
|
reindexNft({ chainId, address, tokenId, }: {
|
|
2054
2106
|
/**
|
|
2055
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2107
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2056
2108
|
*/
|
|
2057
2109
|
chainId: string;
|
|
2058
2110
|
/**
|
|
@@ -2072,7 +2124,7 @@ declare class NfTsService {
|
|
|
2072
2124
|
*/
|
|
2073
2125
|
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2074
2126
|
/**
|
|
2075
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2127
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2076
2128
|
*/
|
|
2077
2129
|
chainId: string;
|
|
2078
2130
|
/**
|
|
@@ -2096,7 +2148,7 @@ declare class NfTsService {
|
|
|
2096
2148
|
*/
|
|
2097
2149
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
2098
2150
|
/**
|
|
2099
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2151
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2100
2152
|
*/
|
|
2101
2153
|
chainId: string;
|
|
2102
2154
|
/**
|
|
@@ -2115,8 +2167,12 @@ type EvmNetworkOptions = {
|
|
|
2115
2167
|
includeChains: Array<string>;
|
|
2116
2168
|
};
|
|
2117
2169
|
|
|
2170
|
+
declare enum EVMOperationType {
|
|
2171
|
+
TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2118
2174
|
type CreateEvmTransactionExportRequest = {
|
|
2119
|
-
type:
|
|
2175
|
+
type: EVMOperationType;
|
|
2120
2176
|
firstDate: string;
|
|
2121
2177
|
lastDate: string;
|
|
2122
2178
|
/**
|
|
@@ -2129,10 +2185,11 @@ type CreateEvmTransactionExportRequest = {
|
|
|
2129
2185
|
endDate: string;
|
|
2130
2186
|
options: EvmNetworkOptions;
|
|
2131
2187
|
};
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2188
|
+
|
|
2189
|
+
declare enum PrimaryNetworkOperationType {
|
|
2190
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
|
|
2191
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
|
|
2192
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"
|
|
2136
2193
|
}
|
|
2137
2194
|
|
|
2138
2195
|
type PrimaryNetworkOptions = {
|
|
@@ -2142,7 +2199,7 @@ type PrimaryNetworkOptions = {
|
|
|
2142
2199
|
};
|
|
2143
2200
|
|
|
2144
2201
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
2145
|
-
type:
|
|
2202
|
+
type: PrimaryNetworkOperationType;
|
|
2146
2203
|
firstDate: string;
|
|
2147
2204
|
lastDate: string;
|
|
2148
2205
|
/**
|
|
@@ -2155,11 +2212,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
|
|
|
2155
2212
|
endDate: string;
|
|
2156
2213
|
options: PrimaryNetworkOptions;
|
|
2157
2214
|
};
|
|
2158
|
-
declare namespace CreatePrimaryNetworkTransactionExportRequest {
|
|
2159
|
-
enum type {
|
|
2160
|
-
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
2215
|
|
|
2164
2216
|
declare enum OperationStatus {
|
|
2165
2217
|
RUNNING = "RUNNING",
|
|
@@ -2169,8 +2221,10 @@ declare enum OperationStatus {
|
|
|
2169
2221
|
}
|
|
2170
2222
|
|
|
2171
2223
|
declare enum OperationType {
|
|
2172
|
-
|
|
2173
|
-
|
|
2224
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
|
|
2225
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
|
|
2226
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",
|
|
2227
|
+
TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
|
|
2174
2228
|
}
|
|
2175
2229
|
|
|
2176
2230
|
declare enum OperationStatusCode {
|
|
@@ -2362,13 +2416,44 @@ type BlockchainInfo = {
|
|
|
2362
2416
|
blockchainId: string;
|
|
2363
2417
|
};
|
|
2364
2418
|
|
|
2419
|
+
type SubnetOwnershipInfo = {
|
|
2420
|
+
/**
|
|
2421
|
+
* Locktime in seconds after which Subnet owners can control this Subnet.
|
|
2422
|
+
*/
|
|
2423
|
+
locktime: number;
|
|
2424
|
+
/**
|
|
2425
|
+
* Minimum number of signatures required to sign the Subnet update transactions.
|
|
2426
|
+
*/
|
|
2427
|
+
threshold: number;
|
|
2428
|
+
/**
|
|
2429
|
+
* Addresses that are eligible to sign the Subnet update transactions.
|
|
2430
|
+
*/
|
|
2431
|
+
addresses: Array<string>;
|
|
2432
|
+
};
|
|
2433
|
+
|
|
2365
2434
|
type Subnet = {
|
|
2366
2435
|
createBlockTimestamp: number;
|
|
2367
2436
|
createBlockIndex: string;
|
|
2368
2437
|
subnetId: string;
|
|
2438
|
+
/**
|
|
2439
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2440
|
+
* @deprecated
|
|
2441
|
+
*/
|
|
2369
2442
|
ownerAddresses: Array<string>;
|
|
2443
|
+
/**
|
|
2444
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2445
|
+
* @deprecated
|
|
2446
|
+
*/
|
|
2370
2447
|
threshold: number;
|
|
2448
|
+
/**
|
|
2449
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2450
|
+
* @deprecated
|
|
2451
|
+
*/
|
|
2371
2452
|
locktime: number;
|
|
2453
|
+
/**
|
|
2454
|
+
* Latest subnet owner details for this Subnet.
|
|
2455
|
+
*/
|
|
2456
|
+
subnetOwnershipInfo: SubnetOwnershipInfo;
|
|
2372
2457
|
blockchains: Array<BlockchainInfo>;
|
|
2373
2458
|
};
|
|
2374
2459
|
|
|
@@ -2505,11 +2590,17 @@ declare enum ValidationStatusType {
|
|
|
2505
2590
|
REMOVED = "removed"
|
|
2506
2591
|
}
|
|
2507
2592
|
|
|
2593
|
+
/**
|
|
2594
|
+
* Cap represents if an asset is a variable or fixed cap asset.
|
|
2595
|
+
*/
|
|
2508
2596
|
declare enum PrimaryNetworkAssetCap {
|
|
2509
2597
|
FIXED = "fixed",
|
|
2510
2598
|
VARIABLE = "variable"
|
|
2511
2599
|
}
|
|
2512
2600
|
|
|
2601
|
+
/**
|
|
2602
|
+
* Type of asset like SECP256K1 or NFT.
|
|
2603
|
+
*/
|
|
2513
2604
|
declare enum PrimaryNetworkAssetType {
|
|
2514
2605
|
SECP256K1 = "secp256k1",
|
|
2515
2606
|
NFT = "nft"
|
|
@@ -2532,17 +2623,11 @@ type XChainAssetDetails = {
|
|
|
2532
2623
|
* Denomination of this asset to represent fungibility.
|
|
2533
2624
|
*/
|
|
2534
2625
|
denomination: number;
|
|
2535
|
-
/**
|
|
2536
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2537
|
-
*/
|
|
2538
2626
|
type: PrimaryNetworkAssetType;
|
|
2539
2627
|
/**
|
|
2540
2628
|
* Timestamp in seconds this asset was created on.
|
|
2541
2629
|
*/
|
|
2542
2630
|
createdAtTimestamp: number;
|
|
2543
|
-
/**
|
|
2544
|
-
* Cap represents if an asset is a variable or fixed cap asset.
|
|
2545
|
-
*/
|
|
2546
2631
|
cap: PrimaryNetworkAssetCap;
|
|
2547
2632
|
};
|
|
2548
2633
|
|
|
@@ -2809,9 +2894,6 @@ type CChainSharedAssetBalance = {
|
|
|
2809
2894
|
* Denomination of this asset to represent fungibility.
|
|
2810
2895
|
*/
|
|
2811
2896
|
denomination: number;
|
|
2812
|
-
/**
|
|
2813
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2814
|
-
*/
|
|
2815
2897
|
type: PrimaryNetworkAssetType;
|
|
2816
2898
|
/**
|
|
2817
2899
|
* Amount of the asset.
|
|
@@ -2847,7 +2929,7 @@ type ListCChainAtomicBalancesResponse = {
|
|
|
2847
2929
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2848
2930
|
};
|
|
2849
2931
|
|
|
2850
|
-
type
|
|
2932
|
+
type AggregatedAssetAmount = {
|
|
2851
2933
|
/**
|
|
2852
2934
|
* Unique ID for an asset.
|
|
2853
2935
|
*/
|
|
@@ -2864,14 +2946,12 @@ type Asset = {
|
|
|
2864
2946
|
* Denomination of this asset to represent fungibility.
|
|
2865
2947
|
*/
|
|
2866
2948
|
denomination: number;
|
|
2867
|
-
/**
|
|
2868
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2869
|
-
*/
|
|
2870
2949
|
type: PrimaryNetworkAssetType;
|
|
2871
2950
|
/**
|
|
2872
2951
|
* Amount of the asset.
|
|
2873
2952
|
*/
|
|
2874
2953
|
amount: string;
|
|
2954
|
+
utxoCount: number;
|
|
2875
2955
|
};
|
|
2876
2956
|
|
|
2877
2957
|
type PChainSharedAsset = {
|
|
@@ -2891,49 +2971,47 @@ type PChainSharedAsset = {
|
|
|
2891
2971
|
* Denomination of this asset to represent fungibility.
|
|
2892
2972
|
*/
|
|
2893
2973
|
denomination: number;
|
|
2894
|
-
/**
|
|
2895
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2896
|
-
*/
|
|
2897
2974
|
type: PrimaryNetworkAssetType;
|
|
2898
2975
|
/**
|
|
2899
2976
|
* Amount of the asset.
|
|
2900
2977
|
*/
|
|
2901
2978
|
amount: string;
|
|
2979
|
+
utxoCount: number;
|
|
2902
2980
|
sharedWithChainId: string;
|
|
2903
2981
|
status: string;
|
|
2904
2982
|
};
|
|
2905
2983
|
|
|
2906
2984
|
type PChainBalance = {
|
|
2907
2985
|
/**
|
|
2908
|
-
* A list of objects containing P-chain Asset
|
|
2986
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is consumable by any transaction.
|
|
2909
2987
|
*/
|
|
2910
|
-
unlockedUnstaked: Array<
|
|
2988
|
+
unlockedUnstaked: Array<AggregatedAssetAmount>;
|
|
2911
2989
|
/**
|
|
2912
|
-
* A list of objects containing P-chain Asset
|
|
2990
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax that is consumable by any transaction when the staking period ends.
|
|
2913
2991
|
*/
|
|
2914
|
-
unlockedStaked: Array<
|
|
2992
|
+
unlockedStaked: Array<AggregatedAssetAmount>;
|
|
2915
2993
|
/**
|
|
2916
|
-
* A list of objects containing P-chain Asset
|
|
2994
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count 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.
|
|
2917
2995
|
*/
|
|
2918
|
-
lockedPlatform: Array<
|
|
2996
|
+
lockedPlatform: Array<AggregatedAssetAmount>;
|
|
2919
2997
|
/**
|
|
2920
|
-
* A list of objects containing P-chain Asset
|
|
2998
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and only consumeable for staking transactions.
|
|
2921
2999
|
*/
|
|
2922
|
-
lockedStakeable: Array<
|
|
3000
|
+
lockedStakeable: Array<AggregatedAssetAmount>;
|
|
2923
3001
|
/**
|
|
2924
|
-
* A list of objects containing P-chain Asset
|
|
3002
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax that will be locked when the staking period ends.
|
|
2925
3003
|
*/
|
|
2926
|
-
lockedStaked: Array<
|
|
3004
|
+
lockedStaked: Array<AggregatedAssetAmount>;
|
|
2927
3005
|
/**
|
|
2928
|
-
* A list of objects containing P-chain Asset
|
|
3006
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax whose staking period has not yet started.
|
|
2929
3007
|
*/
|
|
2930
|
-
pendingStaked: Array<
|
|
3008
|
+
pendingStaked: Array<AggregatedAssetAmount>;
|
|
2931
3009
|
/**
|
|
2932
|
-
* A list of objects containing P-chain Asset
|
|
3010
|
+
* A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.
|
|
2933
3011
|
*/
|
|
2934
3012
|
atomicMemoryUnlocked: Array<PChainSharedAsset>;
|
|
2935
3013
|
/**
|
|
2936
|
-
* A list of objects containing P-chain Asset
|
|
3014
|
+
* A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of locked Avax in the atomic memory between P-Chain and other chain.
|
|
2937
3015
|
*/
|
|
2938
3016
|
atomicMemoryLocked: Array<PChainSharedAsset>;
|
|
2939
3017
|
};
|
|
@@ -2943,34 +3021,6 @@ type ListPChainBalancesResponse = {
|
|
|
2943
3021
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2944
3022
|
};
|
|
2945
3023
|
|
|
2946
|
-
type XChainAssetBalance = {
|
|
2947
|
-
/**
|
|
2948
|
-
* Unique ID for an asset.
|
|
2949
|
-
*/
|
|
2950
|
-
assetId: string;
|
|
2951
|
-
/**
|
|
2952
|
-
* Name of this asset.
|
|
2953
|
-
*/
|
|
2954
|
-
name: string;
|
|
2955
|
-
/**
|
|
2956
|
-
* Symbol for this asset (max 4 characters).
|
|
2957
|
-
*/
|
|
2958
|
-
symbol: string;
|
|
2959
|
-
/**
|
|
2960
|
-
* Denomination of this asset to represent fungibility.
|
|
2961
|
-
*/
|
|
2962
|
-
denomination: number;
|
|
2963
|
-
/**
|
|
2964
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2965
|
-
*/
|
|
2966
|
-
type: PrimaryNetworkAssetType;
|
|
2967
|
-
/**
|
|
2968
|
-
* Amount of the asset.
|
|
2969
|
-
*/
|
|
2970
|
-
amount: string;
|
|
2971
|
-
utxoCount: number;
|
|
2972
|
-
};
|
|
2973
|
-
|
|
2974
3024
|
type XChainSharedAssetBalance = {
|
|
2975
3025
|
/**
|
|
2976
3026
|
* Unique ID for an asset.
|
|
@@ -2988,9 +3038,6 @@ type XChainSharedAssetBalance = {
|
|
|
2988
3038
|
* Denomination of this asset to represent fungibility.
|
|
2989
3039
|
*/
|
|
2990
3040
|
denomination: number;
|
|
2991
|
-
/**
|
|
2992
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2993
|
-
*/
|
|
2994
3041
|
type: PrimaryNetworkAssetType;
|
|
2995
3042
|
/**
|
|
2996
3043
|
* Amount of the asset.
|
|
@@ -3004,11 +3051,11 @@ type XChainBalances = {
|
|
|
3004
3051
|
/**
|
|
3005
3052
|
* A list of objects containing X-chain Asset balance information.
|
|
3006
3053
|
*/
|
|
3007
|
-
locked: Array<
|
|
3054
|
+
locked: Array<AggregatedAssetAmount>;
|
|
3008
3055
|
/**
|
|
3009
3056
|
* A list of objects containing X-chain Asset balance information.
|
|
3010
3057
|
*/
|
|
3011
|
-
unlocked: Array<
|
|
3058
|
+
unlocked: Array<AggregatedAssetAmount>;
|
|
3012
3059
|
atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
|
|
3013
3060
|
atomicMemoryLocked: Array<XChainSharedAssetBalance>;
|
|
3014
3061
|
};
|
|
@@ -3186,9 +3233,6 @@ type AssetWithPriceInfo = {
|
|
|
3186
3233
|
* Denomination of this asset to represent fungibility.
|
|
3187
3234
|
*/
|
|
3188
3235
|
denomination: number;
|
|
3189
|
-
/**
|
|
3190
|
-
* Type of asset like SECP256K1 or NFT.
|
|
3191
|
-
*/
|
|
3192
3236
|
type: PrimaryNetworkAssetType;
|
|
3193
3237
|
/**
|
|
3194
3238
|
* Amount of the asset.
|
|
@@ -3231,6 +3275,30 @@ type ListHistoricalRewardsResponse = {
|
|
|
3231
3275
|
historicalRewards: Array<HistoricalReward>;
|
|
3232
3276
|
};
|
|
3233
3277
|
|
|
3278
|
+
type AssetAmount = {
|
|
3279
|
+
/**
|
|
3280
|
+
* Unique ID for an asset.
|
|
3281
|
+
*/
|
|
3282
|
+
assetId: string;
|
|
3283
|
+
/**
|
|
3284
|
+
* Name of this asset.
|
|
3285
|
+
*/
|
|
3286
|
+
name: string;
|
|
3287
|
+
/**
|
|
3288
|
+
* Symbol for this asset (max 4 characters).
|
|
3289
|
+
*/
|
|
3290
|
+
symbol: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* Denomination of this asset to represent fungibility.
|
|
3293
|
+
*/
|
|
3294
|
+
denomination: number;
|
|
3295
|
+
type: PrimaryNetworkAssetType;
|
|
3296
|
+
/**
|
|
3297
|
+
* Amount of the asset.
|
|
3298
|
+
*/
|
|
3299
|
+
amount: string;
|
|
3300
|
+
};
|
|
3301
|
+
|
|
3234
3302
|
type PendingReward = {
|
|
3235
3303
|
/**
|
|
3236
3304
|
* An array of P-Chain wallet addresses.
|
|
@@ -3244,9 +3312,9 @@ type PendingReward = {
|
|
|
3244
3312
|
rewardType: RewardType;
|
|
3245
3313
|
progress: number;
|
|
3246
3314
|
/**
|
|
3247
|
-
* An object containing P-chain Asset
|
|
3315
|
+
* An object containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3248
3316
|
*/
|
|
3249
|
-
estimatedReward:
|
|
3317
|
+
estimatedReward: AssetAmount;
|
|
3250
3318
|
};
|
|
3251
3319
|
|
|
3252
3320
|
type ListPendingRewardsResponse = {
|
|
@@ -3272,7 +3340,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3272
3340
|
*/
|
|
3273
3341
|
network: Network;
|
|
3274
3342
|
/**
|
|
3275
|
-
* 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".
|
|
3343
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". One of addresses or nodeIds is required.
|
|
3276
3344
|
*/
|
|
3277
3345
|
addresses?: string;
|
|
3278
3346
|
/**
|
|
@@ -3284,7 +3352,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3284
3352
|
*/
|
|
3285
3353
|
pageSize?: number;
|
|
3286
3354
|
/**
|
|
3287
|
-
* A comma separated list of node ids to filter by.
|
|
3355
|
+
* A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
|
|
3288
3356
|
*/
|
|
3289
3357
|
nodeIds?: string;
|
|
3290
3358
|
/**
|
|
@@ -3347,9 +3415,9 @@ type EVMInput = {
|
|
|
3347
3415
|
*/
|
|
3348
3416
|
fromAddress: string;
|
|
3349
3417
|
/**
|
|
3350
|
-
*
|
|
3418
|
+
* AssetAmount details for the asset being transferred.
|
|
3351
3419
|
*/
|
|
3352
|
-
asset:
|
|
3420
|
+
asset: AssetAmount;
|
|
3353
3421
|
/**
|
|
3354
3422
|
* Credentials that signed this transaction.
|
|
3355
3423
|
*/
|
|
@@ -3361,7 +3429,7 @@ type Utxo = {
|
|
|
3361
3429
|
* Addresses that are eligible to sign the consumption of this output.
|
|
3362
3430
|
*/
|
|
3363
3431
|
addresses: Array<string>;
|
|
3364
|
-
asset:
|
|
3432
|
+
asset: AssetAmount;
|
|
3365
3433
|
/**
|
|
3366
3434
|
* Blockchain ID on which this output is consumed on.
|
|
3367
3435
|
*/
|
|
@@ -3444,11 +3512,11 @@ type CChainExportTransaction = {
|
|
|
3444
3512
|
/**
|
|
3445
3513
|
* Assets unlocked by inputs of this transaction.
|
|
3446
3514
|
*/
|
|
3447
|
-
amountUnlocked: Array<
|
|
3515
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3448
3516
|
/**
|
|
3449
3517
|
* Assets created by outputs of this transaction.
|
|
3450
3518
|
*/
|
|
3451
|
-
amountCreated: Array<
|
|
3519
|
+
amountCreated: Array<AssetAmount>;
|
|
3452
3520
|
/**
|
|
3453
3521
|
* Source chain for an atomic transaction.
|
|
3454
3522
|
*/
|
|
@@ -3479,9 +3547,9 @@ type EVMOutput = {
|
|
|
3479
3547
|
*/
|
|
3480
3548
|
toAddress: string;
|
|
3481
3549
|
/**
|
|
3482
|
-
*
|
|
3550
|
+
* AssetAmount details for the asset being transferred.
|
|
3483
3551
|
*/
|
|
3484
|
-
asset:
|
|
3552
|
+
asset: AssetAmount;
|
|
3485
3553
|
};
|
|
3486
3554
|
|
|
3487
3555
|
type CChainImportTransaction = {
|
|
@@ -3508,11 +3576,11 @@ type CChainImportTransaction = {
|
|
|
3508
3576
|
/**
|
|
3509
3577
|
* Assets unlocked by inputs of this transaction.
|
|
3510
3578
|
*/
|
|
3511
|
-
amountUnlocked: Array<
|
|
3579
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3512
3580
|
/**
|
|
3513
3581
|
* Assets created by outputs of this transaction.
|
|
3514
3582
|
*/
|
|
3515
|
-
amountCreated: Array<
|
|
3583
|
+
amountCreated: Array<AssetAmount>;
|
|
3516
3584
|
/**
|
|
3517
3585
|
* Source chain for an atomic transaction.
|
|
3518
3586
|
*/
|
|
@@ -3560,6 +3628,8 @@ declare enum PChainTransactionType {
|
|
|
3560
3628
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3561
3629
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3562
3630
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3631
|
+
BASE_TX = "BaseTx",
|
|
3632
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3563
3633
|
UNKNOWN = "UNKNOWN"
|
|
3564
3634
|
}
|
|
3565
3635
|
|
|
@@ -3573,7 +3643,7 @@ type PChainUtxo = {
|
|
|
3573
3643
|
* Addresses that are eligible to sign the consumption of this output.
|
|
3574
3644
|
*/
|
|
3575
3645
|
addresses: Array<string>;
|
|
3576
|
-
asset:
|
|
3646
|
+
asset: AssetAmount;
|
|
3577
3647
|
/**
|
|
3578
3648
|
* Blockchain ID on which this output is consumed on.
|
|
3579
3649
|
*/
|
|
@@ -3637,17 +3707,17 @@ type PChainTransaction = {
|
|
|
3637
3707
|
*/
|
|
3638
3708
|
destinationChain?: string;
|
|
3639
3709
|
/**
|
|
3640
|
-
* A list of objects containing P-chain Asset
|
|
3710
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3641
3711
|
*/
|
|
3642
|
-
value: Array<
|
|
3712
|
+
value: Array<AssetAmount>;
|
|
3643
3713
|
/**
|
|
3644
|
-
* A list of objects containing P-chain Asset
|
|
3714
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3645
3715
|
*/
|
|
3646
|
-
amountBurned: Array<
|
|
3716
|
+
amountBurned: Array<AssetAmount>;
|
|
3647
3717
|
/**
|
|
3648
|
-
* A list of objects containing P-chain Asset
|
|
3718
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3649
3719
|
*/
|
|
3650
|
-
amountStaked: Array<
|
|
3720
|
+
amountStaked: Array<AssetAmount>;
|
|
3651
3721
|
/**
|
|
3652
3722
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3653
3723
|
*/
|
|
@@ -3679,6 +3749,10 @@ type PChainTransaction = {
|
|
|
3679
3749
|
* Present for RewardValidatorTx
|
|
3680
3750
|
*/
|
|
3681
3751
|
stakingTxHash?: string;
|
|
3752
|
+
/**
|
|
3753
|
+
* Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
|
|
3754
|
+
*/
|
|
3755
|
+
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
3682
3756
|
};
|
|
3683
3757
|
|
|
3684
3758
|
type ListPChainTransactionsResponse = {
|
|
@@ -3690,6 +3764,9 @@ type ListPChainTransactionsResponse = {
|
|
|
3690
3764
|
chainInfo: PrimaryNetworkChainInfo;
|
|
3691
3765
|
};
|
|
3692
3766
|
|
|
3767
|
+
/**
|
|
3768
|
+
* Type of transaction.
|
|
3769
|
+
*/
|
|
3693
3770
|
declare enum XChainTransactionType {
|
|
3694
3771
|
BASE_TX = "BaseTx",
|
|
3695
3772
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
@@ -3712,9 +3789,6 @@ type XChainLinearTransaction = {
|
|
|
3712
3789
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3713
3790
|
*/
|
|
3714
3791
|
timestamp: number;
|
|
3715
|
-
/**
|
|
3716
|
-
* Type of transaction.
|
|
3717
|
-
*/
|
|
3718
3792
|
txType: XChainTransactionType;
|
|
3719
3793
|
/**
|
|
3720
3794
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3725,11 +3799,11 @@ type XChainLinearTransaction = {
|
|
|
3725
3799
|
/**
|
|
3726
3800
|
* Assets unlocked by inputs of this transaction.
|
|
3727
3801
|
*/
|
|
3728
|
-
amountUnlocked: Array<
|
|
3802
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3729
3803
|
/**
|
|
3730
3804
|
* Assets created by outputs of this transaction.
|
|
3731
3805
|
*/
|
|
3732
|
-
amountCreated: Array<
|
|
3806
|
+
amountCreated: Array<AssetAmount>;
|
|
3733
3807
|
/**
|
|
3734
3808
|
* Source chain for an atomic transaction.
|
|
3735
3809
|
*/
|
|
@@ -3739,7 +3813,7 @@ type XChainLinearTransaction = {
|
|
|
3739
3813
|
*/
|
|
3740
3814
|
destinationChain?: string;
|
|
3741
3815
|
/**
|
|
3742
|
-
*
|
|
3816
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3743
3817
|
*/
|
|
3744
3818
|
assetCreated?: XChainAssetDetails;
|
|
3745
3819
|
/**
|
|
@@ -3789,9 +3863,6 @@ type XChainNonLinearTransaction = {
|
|
|
3789
3863
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3790
3864
|
*/
|
|
3791
3865
|
timestamp: number;
|
|
3792
|
-
/**
|
|
3793
|
-
* Type of transaction.
|
|
3794
|
-
*/
|
|
3795
3866
|
txType: XChainTransactionType;
|
|
3796
3867
|
/**
|
|
3797
3868
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3802,11 +3873,11 @@ type XChainNonLinearTransaction = {
|
|
|
3802
3873
|
/**
|
|
3803
3874
|
* Assets unlocked by inputs of this transaction.
|
|
3804
3875
|
*/
|
|
3805
|
-
amountUnlocked: Array<
|
|
3876
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3806
3877
|
/**
|
|
3807
3878
|
* Assets created by outputs of this transaction.
|
|
3808
3879
|
*/
|
|
3809
|
-
amountCreated: Array<
|
|
3880
|
+
amountCreated: Array<AssetAmount>;
|
|
3810
3881
|
/**
|
|
3811
3882
|
* Source chain for an atomic transaction.
|
|
3812
3883
|
*/
|
|
@@ -3816,7 +3887,7 @@ type XChainNonLinearTransaction = {
|
|
|
3816
3887
|
*/
|
|
3817
3888
|
destinationChain?: string;
|
|
3818
3889
|
/**
|
|
3819
|
-
*
|
|
3890
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3820
3891
|
*/
|
|
3821
3892
|
assetCreated?: XChainAssetDetails;
|
|
3822
3893
|
/**
|
|
@@ -3862,8 +3933,9 @@ declare enum PrimaryNetworkTxType {
|
|
|
3862
3933
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3863
3934
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3864
3935
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3865
|
-
UNKNOWN = "UNKNOWN",
|
|
3866
3936
|
BASE_TX = "BaseTx",
|
|
3937
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3938
|
+
UNKNOWN = "UNKNOWN",
|
|
3867
3939
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
3868
3940
|
OPERATION_TX = "OperationTx"
|
|
3869
3941
|
}
|
|
@@ -4197,6 +4269,11 @@ type TeleporterDestinationTransaction = {
|
|
|
4197
4269
|
delivererAddress: string;
|
|
4198
4270
|
};
|
|
4199
4271
|
|
|
4272
|
+
type TeleporterReceipt = {
|
|
4273
|
+
receivedMessageNonce: string;
|
|
4274
|
+
relayerRewardAddress: string;
|
|
4275
|
+
};
|
|
4276
|
+
|
|
4200
4277
|
type TeleporterRewardDetails = {
|
|
4201
4278
|
/**
|
|
4202
4279
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
@@ -4232,14 +4309,16 @@ declare namespace TeleporterRewardDetails {
|
|
|
4232
4309
|
}
|
|
4233
4310
|
|
|
4234
4311
|
type DeliveredSourceNotIndexedTeleporterMessage = {
|
|
4312
|
+
messageId: string;
|
|
4313
|
+
teleporterContractAddress: string;
|
|
4235
4314
|
sourceBlockchainId: string;
|
|
4236
4315
|
destinationBlockchainId: string;
|
|
4237
|
-
|
|
4316
|
+
messageNonce: string;
|
|
4238
4317
|
from: string;
|
|
4239
4318
|
to: string;
|
|
4240
4319
|
data?: string;
|
|
4241
4320
|
messageExecuted: boolean;
|
|
4242
|
-
receipts: Array<
|
|
4321
|
+
receipts: Array<TeleporterReceipt>;
|
|
4243
4322
|
receiptDelivered: boolean;
|
|
4244
4323
|
rewardDetails: TeleporterRewardDetails;
|
|
4245
4324
|
destinationTransaction: TeleporterDestinationTransaction;
|
|
@@ -4258,14 +4337,16 @@ type TeleporterSourceTransaction = {
|
|
|
4258
4337
|
};
|
|
4259
4338
|
|
|
4260
4339
|
type DeliveredTeleporterMessage = {
|
|
4340
|
+
messageId: string;
|
|
4341
|
+
teleporterContractAddress: string;
|
|
4261
4342
|
sourceBlockchainId: string;
|
|
4262
4343
|
destinationBlockchainId: string;
|
|
4263
|
-
|
|
4344
|
+
messageNonce: string;
|
|
4264
4345
|
from: string;
|
|
4265
4346
|
to: string;
|
|
4266
4347
|
data?: string;
|
|
4267
4348
|
messageExecuted: boolean;
|
|
4268
|
-
receipts: Array<
|
|
4349
|
+
receipts: Array<TeleporterReceipt>;
|
|
4269
4350
|
receiptDelivered: boolean;
|
|
4270
4351
|
rewardDetails: TeleporterRewardDetails;
|
|
4271
4352
|
sourceTransaction: TeleporterSourceTransaction;
|
|
@@ -4286,14 +4367,16 @@ type NextPageToken = {
|
|
|
4286
4367
|
};
|
|
4287
4368
|
|
|
4288
4369
|
type PendingTeleporterMessage = {
|
|
4370
|
+
messageId: string;
|
|
4371
|
+
teleporterContractAddress: string;
|
|
4289
4372
|
sourceBlockchainId: string;
|
|
4290
4373
|
destinationBlockchainId: string;
|
|
4291
|
-
|
|
4374
|
+
messageNonce: string;
|
|
4292
4375
|
from: string;
|
|
4293
4376
|
to: string;
|
|
4294
4377
|
data?: string;
|
|
4295
4378
|
messageExecuted: boolean;
|
|
4296
|
-
receipts: Array<
|
|
4379
|
+
receipts: Array<TeleporterReceipt>;
|
|
4297
4380
|
receiptDelivered: boolean;
|
|
4298
4381
|
rewardDetails: TeleporterRewardDetails;
|
|
4299
4382
|
sourceTransaction: TeleporterSourceTransaction;
|
|
@@ -4310,23 +4393,15 @@ declare class TeleporterService {
|
|
|
4310
4393
|
constructor(httpRequest: BaseHttpRequest);
|
|
4311
4394
|
/**
|
|
4312
4395
|
* Get a teleporter message
|
|
4313
|
-
* Gets a teleporter message by
|
|
4396
|
+
* Gets a teleporter message by message ID.
|
|
4314
4397
|
* @returns any
|
|
4315
4398
|
* @throws ApiError
|
|
4316
4399
|
*/
|
|
4317
|
-
getTeleporterMessage({
|
|
4318
|
-
/**
|
|
4319
|
-
* The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
|
|
4320
|
-
*/
|
|
4321
|
-
sourceBlockchainId: any;
|
|
4322
|
-
/**
|
|
4323
|
-
* The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
|
|
4324
|
-
*/
|
|
4325
|
-
destinationBlockchainId: any;
|
|
4400
|
+
getTeleporterMessage({ messageId, }: {
|
|
4326
4401
|
/**
|
|
4327
4402
|
* The message ID of the teleporter message.
|
|
4328
4403
|
*/
|
|
4329
|
-
messageId:
|
|
4404
|
+
messageId: string;
|
|
4330
4405
|
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
4331
4406
|
/**
|
|
4332
4407
|
* List teleporter messages
|
|
@@ -4344,21 +4419,21 @@ declare class TeleporterService {
|
|
|
4344
4419
|
*/
|
|
4345
4420
|
pageSize?: number;
|
|
4346
4421
|
/**
|
|
4347
|
-
* The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
|
|
4422
|
+
* The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
|
|
4348
4423
|
*/
|
|
4349
|
-
sourceBlockchainId?:
|
|
4424
|
+
sourceBlockchainId?: string;
|
|
4350
4425
|
/**
|
|
4351
|
-
* The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
|
|
4426
|
+
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
|
|
4352
4427
|
*/
|
|
4353
|
-
destinationBlockchainId?:
|
|
4428
|
+
destinationBlockchainId?: string;
|
|
4354
4429
|
/**
|
|
4355
4430
|
* The address of the recipient of the teleporter message.
|
|
4356
4431
|
*/
|
|
4357
|
-
to?:
|
|
4432
|
+
to?: string;
|
|
4358
4433
|
/**
|
|
4359
4434
|
* The address of the sender of the teleporter message.
|
|
4360
4435
|
*/
|
|
4361
|
-
from?:
|
|
4436
|
+
from?: string;
|
|
4362
4437
|
}): CancelablePromise<NextPageToken>;
|
|
4363
4438
|
}
|
|
4364
4439
|
|
|
@@ -4402,4 +4477,4 @@ declare class ApiError extends Error {
|
|
|
4402
4477
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4403
4478
|
}
|
|
4404
4479
|
|
|
4405
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError,
|
|
4480
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AggregatedAssetAmount, ApiError, AssetAmount, 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, EVMOperationType, 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, GlacierApiFeature, 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, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|