@avalabs/glacier-sdk 2.8.0-canary.d5ec74d.0 → 2.8.0-canary.d9fadf2.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 +691 -260
- package/dist/index.js +320 -103
- package/esm/generated/Glacier.d.ts +6 -0
- package/esm/generated/Glacier.js +9 -0
- package/esm/generated/core/CancelablePromise.d.ts +2 -8
- package/esm/generated/core/CancelablePromise.js +38 -36
- package/esm/generated/core/request.js +3 -2
- package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
- package/esm/generated/models/AddressActivityMetadata.d.ts +2 -2
- package/esm/generated/models/AddressesChangeRequest.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/BlsCredentials.d.ts +6 -0
- 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/CompletedValidatorDetails.d.ts +5 -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 +29 -0
- package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.js +8 -0
- package/esm/generated/models/DeliveredTeleporterMessage.d.ts +31 -0
- package/esm/generated/models/DeliveredTeleporterMessage.js +8 -0
- 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 +6 -0
- package/esm/generated/models/GlacierApiFeature.js +7 -0
- package/esm/generated/models/ListNftTokens.d.ts +1 -1
- package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +12 -0
- package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
- package/esm/generated/models/ListWebhookAddressesResponse.d.ts +10 -0
- package/esm/generated/models/Method.d.ts +0 -3
- package/esm/generated/models/Money.d.ts +0 -3
- package/esm/generated/models/NextPageToken.d.ts +8 -0
- 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 +17 -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 +29 -0
- package/esm/generated/models/PendingTeleporterMessage.js +8 -0
- package/esm/generated/models/PendingValidatorDetails.d.ts +6 -0
- 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/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
- package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
- package/esm/generated/models/RegisterWebhookRequest.d.ts +8 -3
- package/esm/generated/models/RemovedValidatorDetails.d.ts +6 -0
- package/esm/generated/models/RpcErrorDto.d.ts +7 -0
- package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
- package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
- package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
- package/esm/generated/models/SortByOption.d.ts +9 -0
- package/esm/generated/models/SortByOption.js +10 -0
- package/esm/generated/models/Subnet.d.ts +17 -0
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
- package/esm/generated/models/TeleporterDestinationTransaction.d.ts +9 -0
- package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
- package/esm/generated/models/TeleporterRewardDetails.d.ts +37 -0
- package/esm/generated/models/TeleporterRewardDetails.js +8 -0
- package/esm/generated/models/TeleporterSourceTransaction.d.ts +7 -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 +8 -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 +0 -53
- package/esm/generated/services/DefaultService.js +0 -42
- package/esm/generated/services/EvmBalancesService.d.ts +5 -1
- package/esm/generated/services/EvmBalancesService.js +2 -0
- package/esm/generated/services/EvmChainsService.d.ts +6 -1
- package/esm/generated/services/EvmChainsService.js +4 -2
- package/esm/generated/services/PrimaryNetworkService.d.ts +24 -9
- package/esm/generated/services/PrimaryNetworkService.js +11 -5
- package/esm/generated/services/RpcService.d.ts +25 -0
- package/esm/generated/services/RpcService.js +24 -0
- package/esm/generated/services/TeleporterService.d.ts +62 -0
- package/esm/generated/services/TeleporterService.js +41 -0
- package/esm/generated/services/WebhooksService.d.ts +143 -0
- package/esm/generated/services/WebhooksService.js +125 -0
- package/esm/index.d.ts +27 -2
- package/esm/index.js +11 -2
- package/package.json +3 -3
- package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -23,15 +23,9 @@ interface OnCancel {
|
|
|
23
23
|
(cancelHandler: () => void): void;
|
|
24
24
|
}
|
|
25
25
|
declare class CancelablePromise<T> implements Promise<T> {
|
|
26
|
-
|
|
27
|
-
private _isResolved;
|
|
28
|
-
private _isRejected;
|
|
29
|
-
private _isCancelled;
|
|
30
|
-
private readonly _cancelHandlers;
|
|
31
|
-
private readonly _promise;
|
|
32
|
-
private _resolve?;
|
|
33
|
-
private _reject?;
|
|
26
|
+
#private;
|
|
34
27
|
constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: OnCancel) => void);
|
|
28
|
+
get [Symbol.toStringTag](): string;
|
|
35
29
|
then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
36
30
|
catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
|
|
37
31
|
finally(onFinally?: (() => void) | null): Promise<T>;
|
|
@@ -60,65 +54,6 @@ declare abstract class BaseHttpRequest {
|
|
|
60
54
|
abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
61
55
|
}
|
|
62
56
|
|
|
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
|
-
name: string;
|
|
92
|
-
description: string;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
type ListWebhooksResponse = {
|
|
96
|
-
/**
|
|
97
|
-
* 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.
|
|
98
|
-
*/
|
|
99
|
-
nextPageToken?: string;
|
|
100
|
-
webhooks: Array<WebhookResponse>;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
type RegisterWebhookRequest = {
|
|
104
|
-
url: string;
|
|
105
|
-
chainId: string;
|
|
106
|
-
/**
|
|
107
|
-
* The type of event for the webhook
|
|
108
|
-
*/
|
|
109
|
-
eventType: EventType;
|
|
110
|
-
metadata: AddressActivityMetadata;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
type SharedSecretsResponse = {
|
|
114
|
-
secret: string;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
declare enum WebhookStatus {
|
|
118
|
-
ACTIVE = "active",
|
|
119
|
-
INACTIVE = "inactive"
|
|
120
|
-
}
|
|
121
|
-
|
|
122
57
|
declare class DefaultService {
|
|
123
58
|
readonly httpRequest: BaseHttpRequest;
|
|
124
59
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -127,56 +62,11 @@ declare class DefaultService {
|
|
|
127
62
|
* @throws ApiError
|
|
128
63
|
*/
|
|
129
64
|
mediaControllerUploadImage(): CancelablePromise<any>;
|
|
130
|
-
/**
|
|
131
|
-
* Register a webhook
|
|
132
|
-
* Registers a new webhook.
|
|
133
|
-
* @returns WebhookResponse
|
|
134
|
-
* @throws ApiError
|
|
135
|
-
*/
|
|
136
|
-
registerWebhook({ requestBody, }: {
|
|
137
|
-
requestBody: RegisterWebhookRequest;
|
|
138
|
-
}): CancelablePromise<WebhookResponse>;
|
|
139
|
-
/**
|
|
140
|
-
* List webhooks
|
|
141
|
-
* Lists webhooks for the user.
|
|
142
|
-
* @returns ListWebhooksResponse
|
|
143
|
-
* @throws ApiError
|
|
144
|
-
*/
|
|
145
|
-
listWebhooks({ pageToken, pageSize, status, }: {
|
|
146
|
-
/**
|
|
147
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
148
|
-
*/
|
|
149
|
-
pageToken?: string;
|
|
150
|
-
/**
|
|
151
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
152
|
-
*/
|
|
153
|
-
pageSize?: number;
|
|
154
|
-
/**
|
|
155
|
-
* 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.
|
|
156
|
-
*/
|
|
157
|
-
status?: WebhookStatus;
|
|
158
|
-
}): CancelablePromise<ListWebhooksResponse>;
|
|
159
|
-
/**
|
|
160
|
-
* Deactivate a webhook
|
|
161
|
-
* Deactivates a webhook by ID.
|
|
162
|
-
* @returns WebhookResponse
|
|
163
|
-
* @throws ApiError
|
|
164
|
-
*/
|
|
165
|
-
deactivateWebhook({ id, }: {
|
|
166
|
-
/**
|
|
167
|
-
* The webhook identifier.
|
|
168
|
-
*/
|
|
169
|
-
id: string;
|
|
170
|
-
}): CancelablePromise<WebhookResponse>;
|
|
171
|
-
/**
|
|
172
|
-
* Generate a shared secret
|
|
173
|
-
* Generates a new shared secret.
|
|
174
|
-
* @returns SharedSecretsResponse
|
|
175
|
-
* @throws ApiError
|
|
176
|
-
*/
|
|
177
|
-
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
178
65
|
}
|
|
179
66
|
|
|
67
|
+
/**
|
|
68
|
+
* ISO 4217 currency code.
|
|
69
|
+
*/
|
|
180
70
|
declare enum CurrencyCode {
|
|
181
71
|
USD = "usd",
|
|
182
72
|
EUR = "eur",
|
|
@@ -195,9 +85,6 @@ declare enum CurrencyCode {
|
|
|
195
85
|
}
|
|
196
86
|
|
|
197
87
|
type Money = {
|
|
198
|
-
/**
|
|
199
|
-
* ISO 4217 currency code.
|
|
200
|
-
*/
|
|
201
88
|
currencyCode: CurrencyCode;
|
|
202
89
|
/**
|
|
203
90
|
* Monetary value in base 10 decimals.
|
|
@@ -247,6 +134,9 @@ type GetNativeBalanceResponse = {
|
|
|
247
134
|
nativeTokenBalance: NativeTokenBalance;
|
|
248
135
|
};
|
|
249
136
|
|
|
137
|
+
/**
|
|
138
|
+
* The metadata indexing status of the nft.
|
|
139
|
+
*/
|
|
250
140
|
declare enum NftTokenMetadataStatus {
|
|
251
141
|
UNKNOWN = "UNKNOWN",
|
|
252
142
|
MISSING_TOKEN = "MISSING_TOKEN",
|
|
@@ -262,9 +152,6 @@ declare enum NftTokenMetadataStatus {
|
|
|
262
152
|
}
|
|
263
153
|
|
|
264
154
|
type Erc1155TokenMetadata = {
|
|
265
|
-
/**
|
|
266
|
-
* The metadata indexing status of the nft.
|
|
267
|
-
*/
|
|
268
155
|
indexStatus: NftTokenMetadataStatus;
|
|
269
156
|
metadataLastUpdatedTimestamp?: number;
|
|
270
157
|
name?: string;
|
|
@@ -303,9 +190,6 @@ declare namespace Erc1155TokenBalance {
|
|
|
303
190
|
}
|
|
304
191
|
|
|
305
192
|
type Erc721TokenMetadata = {
|
|
306
|
-
/**
|
|
307
|
-
* The metadata indexing status of the nft.
|
|
308
|
-
*/
|
|
309
193
|
indexStatus: NftTokenMetadataStatus;
|
|
310
194
|
metadataLastUpdatedTimestamp?: number;
|
|
311
195
|
name?: string;
|
|
@@ -478,7 +362,7 @@ declare class EvmBalancesService {
|
|
|
478
362
|
* @returns ListErc20BalancesResponse
|
|
479
363
|
* @throws ApiError
|
|
480
364
|
*/
|
|
481
|
-
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
|
|
365
|
+
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, filterSpamTokens, contractAddresses, currency, }: {
|
|
482
366
|
/**
|
|
483
367
|
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
484
368
|
*/
|
|
@@ -499,6 +383,10 @@ declare class EvmBalancesService {
|
|
|
499
383
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
500
384
|
*/
|
|
501
385
|
pageSize?: number;
|
|
386
|
+
/**
|
|
387
|
+
* whether to filter out spam tokens from the response. Default is true.
|
|
388
|
+
*/
|
|
389
|
+
filterSpamTokens?: boolean;
|
|
502
390
|
/**
|
|
503
391
|
* A comma separated list of contract addresses to filter by.
|
|
504
392
|
*/
|
|
@@ -743,6 +631,9 @@ declare class EvmBlocksService {
|
|
|
743
631
|
}): CancelablePromise<GetEvmBlockResponse>;
|
|
744
632
|
}
|
|
745
633
|
|
|
634
|
+
/**
|
|
635
|
+
* 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.
|
|
636
|
+
*/
|
|
746
637
|
declare enum ChainStatus {
|
|
747
638
|
OK = "OK",
|
|
748
639
|
UNAVAILABLE = "UNAVAILABLE"
|
|
@@ -780,9 +671,6 @@ declare enum VmName {
|
|
|
780
671
|
|
|
781
672
|
type GetChainResponse = {
|
|
782
673
|
chainId: string;
|
|
783
|
-
/**
|
|
784
|
-
* 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.
|
|
785
|
-
*/
|
|
786
674
|
status: ChainStatus;
|
|
787
675
|
chainName: string;
|
|
788
676
|
description: string;
|
|
@@ -798,13 +686,16 @@ type GetChainResponse = {
|
|
|
798
686
|
networkToken: NetworkToken;
|
|
799
687
|
chainLogoUri?: string;
|
|
800
688
|
private?: boolean;
|
|
689
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
801
690
|
};
|
|
802
691
|
|
|
692
|
+
declare enum GlacierApiFeature {
|
|
693
|
+
NFT_INDEXING = "nftIndexing",
|
|
694
|
+
WEBHOOKS = "webhooks"
|
|
695
|
+
}
|
|
696
|
+
|
|
803
697
|
type ChainInfo = {
|
|
804
698
|
chainId: string;
|
|
805
|
-
/**
|
|
806
|
-
* 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.
|
|
807
|
-
*/
|
|
808
699
|
status: ChainStatus;
|
|
809
700
|
chainName: string;
|
|
810
701
|
description: string;
|
|
@@ -820,6 +711,7 @@ type ChainInfo = {
|
|
|
820
711
|
networkToken: NetworkToken;
|
|
821
712
|
chainLogoUri?: string;
|
|
822
713
|
private?: boolean;
|
|
714
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
823
715
|
};
|
|
824
716
|
|
|
825
717
|
type ListChainsResponse = {
|
|
@@ -840,11 +732,15 @@ declare class EvmChainsService {
|
|
|
840
732
|
* @returns ListChainsResponse
|
|
841
733
|
* @throws ApiError
|
|
842
734
|
*/
|
|
843
|
-
supportedChains({ network, }: {
|
|
735
|
+
supportedChains({ network, feature, }: {
|
|
844
736
|
/**
|
|
845
737
|
* mainnet or testnet.
|
|
846
738
|
*/
|
|
847
739
|
network?: NetworkType;
|
|
740
|
+
/**
|
|
741
|
+
* Filter by feature.
|
|
742
|
+
*/
|
|
743
|
+
feature?: GlacierApiFeature;
|
|
848
744
|
}): CancelablePromise<ListChainsResponse>;
|
|
849
745
|
/**
|
|
850
746
|
* Get chain information
|
|
@@ -1299,6 +1195,9 @@ type Erc721TransferDetails = {
|
|
|
1299
1195
|
erc721Token: Erc721Token;
|
|
1300
1196
|
};
|
|
1301
1197
|
|
|
1198
|
+
/**
|
|
1199
|
+
* 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.
|
|
1200
|
+
*/
|
|
1302
1201
|
declare enum TransactionMethodType {
|
|
1303
1202
|
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1304
1203
|
CONTRACT_CALL = "CONTRACT_CALL",
|
|
@@ -1306,9 +1205,6 @@ declare enum TransactionMethodType {
|
|
|
1306
1205
|
}
|
|
1307
1206
|
|
|
1308
1207
|
type Method = {
|
|
1309
|
-
/**
|
|
1310
|
-
* 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.
|
|
1311
|
-
*/
|
|
1312
1208
|
callType: TransactionMethodType;
|
|
1313
1209
|
/**
|
|
1314
1210
|
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
@@ -1669,7 +1565,7 @@ type ListTransfersResponse = {
|
|
|
1669
1565
|
* 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.
|
|
1670
1566
|
*/
|
|
1671
1567
|
nextPageToken?: string;
|
|
1672
|
-
transfers:
|
|
1568
|
+
transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
|
|
1673
1569
|
};
|
|
1674
1570
|
|
|
1675
1571
|
declare enum SortOrder {
|
|
@@ -2040,7 +1936,7 @@ type ListNftTokens = {
|
|
|
2040
1936
|
* 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.
|
|
2041
1937
|
*/
|
|
2042
1938
|
nextPageToken?: string;
|
|
2043
|
-
tokens:
|
|
1939
|
+
tokens: Array<(Erc721Token | Erc1155Token)>;
|
|
2044
1940
|
};
|
|
2045
1941
|
|
|
2046
1942
|
declare class NfTsService {
|
|
@@ -2117,8 +2013,12 @@ type EvmNetworkOptions = {
|
|
|
2117
2013
|
includeChains: Array<string>;
|
|
2118
2014
|
};
|
|
2119
2015
|
|
|
2016
|
+
declare enum EVMOperationType {
|
|
2017
|
+
TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2120
2020
|
type CreateEvmTransactionExportRequest = {
|
|
2121
|
-
type:
|
|
2021
|
+
type: EVMOperationType;
|
|
2122
2022
|
firstDate: string;
|
|
2123
2023
|
lastDate: string;
|
|
2124
2024
|
/**
|
|
@@ -2131,20 +2031,21 @@ type CreateEvmTransactionExportRequest = {
|
|
|
2131
2031
|
endDate: string;
|
|
2132
2032
|
options: EvmNetworkOptions;
|
|
2133
2033
|
};
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2034
|
+
|
|
2035
|
+
declare enum PrimaryNetworkOperationType {
|
|
2036
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
|
|
2037
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
|
|
2038
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"
|
|
2138
2039
|
}
|
|
2139
2040
|
|
|
2140
2041
|
type PrimaryNetworkOptions = {
|
|
2141
|
-
addresses
|
|
2042
|
+
addresses?: Array<string>;
|
|
2142
2043
|
cChainEvmAddresses?: Array<string>;
|
|
2143
2044
|
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2144
2045
|
};
|
|
2145
2046
|
|
|
2146
2047
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
2147
|
-
type:
|
|
2048
|
+
type: PrimaryNetworkOperationType;
|
|
2148
2049
|
firstDate: string;
|
|
2149
2050
|
lastDate: string;
|
|
2150
2051
|
/**
|
|
@@ -2157,11 +2058,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
|
|
|
2157
2058
|
endDate: string;
|
|
2158
2059
|
options: PrimaryNetworkOptions;
|
|
2159
2060
|
};
|
|
2160
|
-
declare namespace CreatePrimaryNetworkTransactionExportRequest {
|
|
2161
|
-
enum type {
|
|
2162
|
-
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
|
|
2163
|
-
}
|
|
2164
|
-
}
|
|
2165
2061
|
|
|
2166
2062
|
declare enum OperationStatus {
|
|
2167
2063
|
RUNNING = "RUNNING",
|
|
@@ -2171,8 +2067,10 @@ declare enum OperationStatus {
|
|
|
2171
2067
|
}
|
|
2172
2068
|
|
|
2173
2069
|
declare enum OperationType {
|
|
2174
|
-
|
|
2175
|
-
|
|
2070
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
|
|
2071
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
|
|
2072
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",
|
|
2073
|
+
TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
|
|
2176
2074
|
}
|
|
2177
2075
|
|
|
2178
2076
|
declare enum OperationStatusCode {
|
|
@@ -2364,13 +2262,44 @@ type BlockchainInfo = {
|
|
|
2364
2262
|
blockchainId: string;
|
|
2365
2263
|
};
|
|
2366
2264
|
|
|
2265
|
+
type SubnetOwnershipInfo = {
|
|
2266
|
+
/**
|
|
2267
|
+
* Locktime in seconds after which Subnet owners can control this Subnet.
|
|
2268
|
+
*/
|
|
2269
|
+
locktime: number;
|
|
2270
|
+
/**
|
|
2271
|
+
* Minimum number of signatures required to sign the Subnet update transactions.
|
|
2272
|
+
*/
|
|
2273
|
+
threshold: number;
|
|
2274
|
+
/**
|
|
2275
|
+
* Addresses that are eligible to sign the Subnet update transactions.
|
|
2276
|
+
*/
|
|
2277
|
+
addresses: Array<string>;
|
|
2278
|
+
};
|
|
2279
|
+
|
|
2367
2280
|
type Subnet = {
|
|
2368
2281
|
createBlockTimestamp: number;
|
|
2369
2282
|
createBlockIndex: string;
|
|
2370
2283
|
subnetId: string;
|
|
2284
|
+
/**
|
|
2285
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2286
|
+
* @deprecated
|
|
2287
|
+
*/
|
|
2371
2288
|
ownerAddresses: Array<string>;
|
|
2289
|
+
/**
|
|
2290
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2291
|
+
* @deprecated
|
|
2292
|
+
*/
|
|
2372
2293
|
threshold: number;
|
|
2294
|
+
/**
|
|
2295
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2296
|
+
* @deprecated
|
|
2297
|
+
*/
|
|
2373
2298
|
locktime: number;
|
|
2299
|
+
/**
|
|
2300
|
+
* Latest subnet owner details for this Subnet.
|
|
2301
|
+
*/
|
|
2302
|
+
subnetOwnershipInfo: SubnetOwnershipInfo;
|
|
2374
2303
|
blockchains: Array<BlockchainInfo>;
|
|
2375
2304
|
};
|
|
2376
2305
|
|
|
@@ -2382,6 +2311,11 @@ type ListSubnetsResponse = {
|
|
|
2382
2311
|
subnets: Array<Subnet>;
|
|
2383
2312
|
};
|
|
2384
2313
|
|
|
2314
|
+
type BlsCredentials = {
|
|
2315
|
+
publicKey: string;
|
|
2316
|
+
proofOfPossession: string;
|
|
2317
|
+
};
|
|
2318
|
+
|
|
2385
2319
|
type Rewards = {
|
|
2386
2320
|
validationRewardAmount: string;
|
|
2387
2321
|
delegationRewardAmount: string;
|
|
@@ -2416,6 +2350,10 @@ type ActiveValidatorDetails = {
|
|
|
2416
2350
|
delegationFee?: string;
|
|
2417
2351
|
startTimestamp: number;
|
|
2418
2352
|
endTimestamp: number;
|
|
2353
|
+
/**
|
|
2354
|
+
* Present for AddPermissionlessValidatorTx
|
|
2355
|
+
*/
|
|
2356
|
+
blsCredentials?: BlsCredentials;
|
|
2419
2357
|
stakePercentage: number;
|
|
2420
2358
|
delegatorCount: number;
|
|
2421
2359
|
amountDelegated?: string;
|
|
@@ -2440,6 +2378,10 @@ type CompletedValidatorDetails = {
|
|
|
2440
2378
|
delegationFee?: string;
|
|
2441
2379
|
startTimestamp: number;
|
|
2442
2380
|
endTimestamp: number;
|
|
2381
|
+
/**
|
|
2382
|
+
* Present for AddPermissionlessValidatorTx
|
|
2383
|
+
*/
|
|
2384
|
+
blsCredentials?: BlsCredentials;
|
|
2443
2385
|
delegatorCount: number;
|
|
2444
2386
|
rewards: Rewards;
|
|
2445
2387
|
validationStatus: CompletedValidatorDetails.validationStatus;
|
|
@@ -2458,6 +2400,10 @@ type PendingValidatorDetails = {
|
|
|
2458
2400
|
delegationFee?: string;
|
|
2459
2401
|
startTimestamp: number;
|
|
2460
2402
|
endTimestamp: number;
|
|
2403
|
+
/**
|
|
2404
|
+
* Present for AddPermissionlessValidatorTx
|
|
2405
|
+
*/
|
|
2406
|
+
blsCredentials?: BlsCredentials;
|
|
2461
2407
|
validationStatus: PendingValidatorDetails.validationStatus;
|
|
2462
2408
|
};
|
|
2463
2409
|
declare namespace PendingValidatorDetails {
|
|
@@ -2474,6 +2420,10 @@ type RemovedValidatorDetails = {
|
|
|
2474
2420
|
delegationFee?: string;
|
|
2475
2421
|
startTimestamp: number;
|
|
2476
2422
|
endTimestamp: number;
|
|
2423
|
+
/**
|
|
2424
|
+
* Present for AddPermissionlessValidatorTx
|
|
2425
|
+
*/
|
|
2426
|
+
blsCredentials?: BlsCredentials;
|
|
2477
2427
|
removeTxHash: string;
|
|
2478
2428
|
removeTimestamp: number;
|
|
2479
2429
|
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
@@ -2500,6 +2450,14 @@ declare enum Network {
|
|
|
2500
2450
|
FUJI = "fuji"
|
|
2501
2451
|
}
|
|
2502
2452
|
|
|
2453
|
+
declare enum SortByOption {
|
|
2454
|
+
BLOCK_INDEX = "blockIndex",
|
|
2455
|
+
DELEGATION_CAPACITY = "delegationCapacity",
|
|
2456
|
+
TIME_REMAINING = "timeRemaining",
|
|
2457
|
+
DELEGATION_FEE = "delegationFee",
|
|
2458
|
+
UPTIME_PERFORMANCE = "uptimePerformance"
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2503
2461
|
declare enum ValidationStatusType {
|
|
2504
2462
|
COMPLETED = "completed",
|
|
2505
2463
|
ACTIVE = "active",
|
|
@@ -2507,11 +2465,17 @@ declare enum ValidationStatusType {
|
|
|
2507
2465
|
REMOVED = "removed"
|
|
2508
2466
|
}
|
|
2509
2467
|
|
|
2468
|
+
/**
|
|
2469
|
+
* Cap represents if an asset is a variable or fixed cap asset.
|
|
2470
|
+
*/
|
|
2510
2471
|
declare enum PrimaryNetworkAssetCap {
|
|
2511
2472
|
FIXED = "fixed",
|
|
2512
2473
|
VARIABLE = "variable"
|
|
2513
2474
|
}
|
|
2514
2475
|
|
|
2476
|
+
/**
|
|
2477
|
+
* Type of asset like SECP256K1 or NFT.
|
|
2478
|
+
*/
|
|
2515
2479
|
declare enum PrimaryNetworkAssetType {
|
|
2516
2480
|
SECP256K1 = "secp256k1",
|
|
2517
2481
|
NFT = "nft"
|
|
@@ -2534,17 +2498,11 @@ type XChainAssetDetails = {
|
|
|
2534
2498
|
* Denomination of this asset to represent fungibility.
|
|
2535
2499
|
*/
|
|
2536
2500
|
denomination: number;
|
|
2537
|
-
/**
|
|
2538
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2539
|
-
*/
|
|
2540
2501
|
type: PrimaryNetworkAssetType;
|
|
2541
2502
|
/**
|
|
2542
2503
|
* Timestamp in seconds this asset was created on.
|
|
2543
2504
|
*/
|
|
2544
2505
|
createdAtTimestamp: number;
|
|
2545
|
-
/**
|
|
2546
|
-
* Cap represents if an asset is a variable or fixed cap asset.
|
|
2547
|
-
*/
|
|
2548
2506
|
cap: PrimaryNetworkAssetCap;
|
|
2549
2507
|
};
|
|
2550
2508
|
|
|
@@ -2659,7 +2617,7 @@ declare class PrimaryNetworkService {
|
|
|
2659
2617
|
* @returns ListValidatorDetailsResponse
|
|
2660
2618
|
* @throws ApiError
|
|
2661
2619
|
*/
|
|
2662
|
-
listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
|
|
2620
|
+
listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
|
|
2663
2621
|
/**
|
|
2664
2622
|
* Either mainnet or a testnet.
|
|
2665
2623
|
*/
|
|
@@ -2676,6 +2634,12 @@ declare class PrimaryNetworkService {
|
|
|
2676
2634
|
* A comma separated list of node ids to filter by.
|
|
2677
2635
|
*/
|
|
2678
2636
|
nodeIds?: string;
|
|
2637
|
+
/**
|
|
2638
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
2639
|
+
*
|
|
2640
|
+
* Note: Delegation fee is only available for mainnet validators. Set `subnetId` to `11111111111111111111111111111111LpoYY` to use this option.
|
|
2641
|
+
*/
|
|
2642
|
+
sortBy?: SortByOption;
|
|
2679
2643
|
/**
|
|
2680
2644
|
* 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.
|
|
2681
2645
|
*/
|
|
@@ -2701,17 +2665,25 @@ declare class PrimaryNetworkService {
|
|
|
2701
2665
|
*/
|
|
2702
2666
|
maxTimeRemaining?: number;
|
|
2703
2667
|
/**
|
|
2704
|
-
* 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.
|
|
2668
|
+
* 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.0, as per the Avalanche spec.
|
|
2705
2669
|
*/
|
|
2706
2670
|
minFeePercentage?: number;
|
|
2707
2671
|
/**
|
|
2708
|
-
* 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.
|
|
2672
|
+
* 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.0.
|
|
2709
2673
|
*/
|
|
2710
2674
|
maxFeePercentage?: number;
|
|
2675
|
+
/**
|
|
2676
|
+
* The minimum node uptime performance percentage, which represents node health, used to filter the set of nodes being returned Default is 90.
|
|
2677
|
+
*/
|
|
2678
|
+
minUptimePerformance?: number;
|
|
2679
|
+
/**
|
|
2680
|
+
* The maximum node uptime performance percentage, which represents node health, used to filter the set of nodes being returned. Default is 100.
|
|
2681
|
+
*/
|
|
2682
|
+
maxUptimePerformance?: number;
|
|
2711
2683
|
/**
|
|
2712
2684
|
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
2713
2685
|
*/
|
|
2714
|
-
subnetId?:
|
|
2686
|
+
subnetId?: any;
|
|
2715
2687
|
}): CancelablePromise<ListValidatorDetailsResponse>;
|
|
2716
2688
|
/**
|
|
2717
2689
|
* Get single validator details
|
|
@@ -2719,7 +2691,7 @@ declare class PrimaryNetworkService {
|
|
|
2719
2691
|
* @returns ListValidatorDetailsResponse
|
|
2720
2692
|
* @throws ApiError
|
|
2721
2693
|
*/
|
|
2722
|
-
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize,
|
|
2694
|
+
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
|
|
2723
2695
|
/**
|
|
2724
2696
|
* Either mainnet or a testnet.
|
|
2725
2697
|
*/
|
|
@@ -2736,14 +2708,14 @@ declare class PrimaryNetworkService {
|
|
|
2736
2708
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2737
2709
|
*/
|
|
2738
2710
|
pageSize?: number;
|
|
2739
|
-
/**
|
|
2740
|
-
* 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.
|
|
2741
|
-
*/
|
|
2742
|
-
sortOrder?: SortOrder;
|
|
2743
2711
|
/**
|
|
2744
2712
|
* Validation status of the node.
|
|
2745
2713
|
*/
|
|
2746
2714
|
validationStatus?: ValidationStatusType;
|
|
2715
|
+
/**
|
|
2716
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
2717
|
+
*/
|
|
2718
|
+
sortOrder?: SortOrder;
|
|
2747
2719
|
}): CancelablePromise<ListValidatorDetailsResponse>;
|
|
2748
2720
|
/**
|
|
2749
2721
|
* List delegators
|
|
@@ -2811,9 +2783,6 @@ type CChainSharedAssetBalance = {
|
|
|
2811
2783
|
* Denomination of this asset to represent fungibility.
|
|
2812
2784
|
*/
|
|
2813
2785
|
denomination: number;
|
|
2814
|
-
/**
|
|
2815
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2816
|
-
*/
|
|
2817
2786
|
type: PrimaryNetworkAssetType;
|
|
2818
2787
|
/**
|
|
2819
2788
|
* Amount of the asset.
|
|
@@ -2849,7 +2818,7 @@ type ListCChainAtomicBalancesResponse = {
|
|
|
2849
2818
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2850
2819
|
};
|
|
2851
2820
|
|
|
2852
|
-
type
|
|
2821
|
+
type AggregatedAssetAmount = {
|
|
2853
2822
|
/**
|
|
2854
2823
|
* Unique ID for an asset.
|
|
2855
2824
|
*/
|
|
@@ -2866,14 +2835,12 @@ type Asset = {
|
|
|
2866
2835
|
* Denomination of this asset to represent fungibility.
|
|
2867
2836
|
*/
|
|
2868
2837
|
denomination: number;
|
|
2869
|
-
/**
|
|
2870
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2871
|
-
*/
|
|
2872
2838
|
type: PrimaryNetworkAssetType;
|
|
2873
2839
|
/**
|
|
2874
2840
|
* Amount of the asset.
|
|
2875
2841
|
*/
|
|
2876
2842
|
amount: string;
|
|
2843
|
+
utxoCount: number;
|
|
2877
2844
|
};
|
|
2878
2845
|
|
|
2879
2846
|
type PChainSharedAsset = {
|
|
@@ -2893,49 +2860,47 @@ type PChainSharedAsset = {
|
|
|
2893
2860
|
* Denomination of this asset to represent fungibility.
|
|
2894
2861
|
*/
|
|
2895
2862
|
denomination: number;
|
|
2896
|
-
/**
|
|
2897
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2898
|
-
*/
|
|
2899
2863
|
type: PrimaryNetworkAssetType;
|
|
2900
2864
|
/**
|
|
2901
2865
|
* Amount of the asset.
|
|
2902
2866
|
*/
|
|
2903
2867
|
amount: string;
|
|
2868
|
+
utxoCount: number;
|
|
2904
2869
|
sharedWithChainId: string;
|
|
2905
2870
|
status: string;
|
|
2906
2871
|
};
|
|
2907
2872
|
|
|
2908
2873
|
type PChainBalance = {
|
|
2909
2874
|
/**
|
|
2910
|
-
* A list of objects containing P-chain Asset
|
|
2875
|
+
* 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.
|
|
2911
2876
|
*/
|
|
2912
|
-
unlockedUnstaked: Array<
|
|
2877
|
+
unlockedUnstaked: Array<AggregatedAssetAmount>;
|
|
2913
2878
|
/**
|
|
2914
|
-
* A list of objects containing P-chain Asset
|
|
2879
|
+
* 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.
|
|
2915
2880
|
*/
|
|
2916
|
-
unlockedStaked: Array<
|
|
2881
|
+
unlockedStaked: Array<AggregatedAssetAmount>;
|
|
2917
2882
|
/**
|
|
2918
|
-
* A list of objects containing P-chain Asset
|
|
2883
|
+
* 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.
|
|
2919
2884
|
*/
|
|
2920
|
-
lockedPlatform: Array<
|
|
2885
|
+
lockedPlatform: Array<AggregatedAssetAmount>;
|
|
2921
2886
|
/**
|
|
2922
|
-
* A list of objects containing P-chain Asset
|
|
2887
|
+
* 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.
|
|
2923
2888
|
*/
|
|
2924
|
-
lockedStakeable: Array<
|
|
2889
|
+
lockedStakeable: Array<AggregatedAssetAmount>;
|
|
2925
2890
|
/**
|
|
2926
|
-
* A list of objects containing P-chain Asset
|
|
2891
|
+
* 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.
|
|
2927
2892
|
*/
|
|
2928
|
-
lockedStaked: Array<
|
|
2893
|
+
lockedStaked: Array<AggregatedAssetAmount>;
|
|
2929
2894
|
/**
|
|
2930
|
-
* A list of objects containing P-chain Asset
|
|
2895
|
+
* 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.
|
|
2931
2896
|
*/
|
|
2932
|
-
pendingStaked: Array<
|
|
2897
|
+
pendingStaked: Array<AggregatedAssetAmount>;
|
|
2933
2898
|
/**
|
|
2934
|
-
* A list of objects containing P-chain Asset
|
|
2899
|
+
* 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.
|
|
2935
2900
|
*/
|
|
2936
2901
|
atomicMemoryUnlocked: Array<PChainSharedAsset>;
|
|
2937
2902
|
/**
|
|
2938
|
-
* A list of objects containing P-chain Asset
|
|
2903
|
+
* 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.
|
|
2939
2904
|
*/
|
|
2940
2905
|
atomicMemoryLocked: Array<PChainSharedAsset>;
|
|
2941
2906
|
};
|
|
@@ -2945,34 +2910,6 @@ type ListPChainBalancesResponse = {
|
|
|
2945
2910
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2946
2911
|
};
|
|
2947
2912
|
|
|
2948
|
-
type XChainAssetBalance = {
|
|
2949
|
-
/**
|
|
2950
|
-
* Unique ID for an asset.
|
|
2951
|
-
*/
|
|
2952
|
-
assetId: string;
|
|
2953
|
-
/**
|
|
2954
|
-
* Name of this asset.
|
|
2955
|
-
*/
|
|
2956
|
-
name: string;
|
|
2957
|
-
/**
|
|
2958
|
-
* Symbol for this asset (max 4 characters).
|
|
2959
|
-
*/
|
|
2960
|
-
symbol: string;
|
|
2961
|
-
/**
|
|
2962
|
-
* Denomination of this asset to represent fungibility.
|
|
2963
|
-
*/
|
|
2964
|
-
denomination: number;
|
|
2965
|
-
/**
|
|
2966
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2967
|
-
*/
|
|
2968
|
-
type: PrimaryNetworkAssetType;
|
|
2969
|
-
/**
|
|
2970
|
-
* Amount of the asset.
|
|
2971
|
-
*/
|
|
2972
|
-
amount: string;
|
|
2973
|
-
utxoCount: number;
|
|
2974
|
-
};
|
|
2975
|
-
|
|
2976
2913
|
type XChainSharedAssetBalance = {
|
|
2977
2914
|
/**
|
|
2978
2915
|
* Unique ID for an asset.
|
|
@@ -2990,9 +2927,6 @@ type XChainSharedAssetBalance = {
|
|
|
2990
2927
|
* Denomination of this asset to represent fungibility.
|
|
2991
2928
|
*/
|
|
2992
2929
|
denomination: number;
|
|
2993
|
-
/**
|
|
2994
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2995
|
-
*/
|
|
2996
2930
|
type: PrimaryNetworkAssetType;
|
|
2997
2931
|
/**
|
|
2998
2932
|
* Amount of the asset.
|
|
@@ -3006,11 +2940,11 @@ type XChainBalances = {
|
|
|
3006
2940
|
/**
|
|
3007
2941
|
* A list of objects containing X-chain Asset balance information.
|
|
3008
2942
|
*/
|
|
3009
|
-
locked: Array<
|
|
2943
|
+
locked: Array<AggregatedAssetAmount>;
|
|
3010
2944
|
/**
|
|
3011
2945
|
* A list of objects containing X-chain Asset balance information.
|
|
3012
2946
|
*/
|
|
3013
|
-
unlocked: Array<
|
|
2947
|
+
unlocked: Array<AggregatedAssetAmount>;
|
|
3014
2948
|
atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
|
|
3015
2949
|
atomicMemoryLocked: Array<XChainSharedAssetBalance>;
|
|
3016
2950
|
};
|
|
@@ -3188,9 +3122,6 @@ type AssetWithPriceInfo = {
|
|
|
3188
3122
|
* Denomination of this asset to represent fungibility.
|
|
3189
3123
|
*/
|
|
3190
3124
|
denomination: number;
|
|
3191
|
-
/**
|
|
3192
|
-
* Type of asset like SECP256K1 or NFT.
|
|
3193
|
-
*/
|
|
3194
3125
|
type: PrimaryNetworkAssetType;
|
|
3195
3126
|
/**
|
|
3196
3127
|
* Amount of the asset.
|
|
@@ -3233,6 +3164,30 @@ type ListHistoricalRewardsResponse = {
|
|
|
3233
3164
|
historicalRewards: Array<HistoricalReward>;
|
|
3234
3165
|
};
|
|
3235
3166
|
|
|
3167
|
+
type AssetAmount = {
|
|
3168
|
+
/**
|
|
3169
|
+
* Unique ID for an asset.
|
|
3170
|
+
*/
|
|
3171
|
+
assetId: string;
|
|
3172
|
+
/**
|
|
3173
|
+
* Name of this asset.
|
|
3174
|
+
*/
|
|
3175
|
+
name: string;
|
|
3176
|
+
/**
|
|
3177
|
+
* Symbol for this asset (max 4 characters).
|
|
3178
|
+
*/
|
|
3179
|
+
symbol: string;
|
|
3180
|
+
/**
|
|
3181
|
+
* Denomination of this asset to represent fungibility.
|
|
3182
|
+
*/
|
|
3183
|
+
denomination: number;
|
|
3184
|
+
type: PrimaryNetworkAssetType;
|
|
3185
|
+
/**
|
|
3186
|
+
* Amount of the asset.
|
|
3187
|
+
*/
|
|
3188
|
+
amount: string;
|
|
3189
|
+
};
|
|
3190
|
+
|
|
3236
3191
|
type PendingReward = {
|
|
3237
3192
|
/**
|
|
3238
3193
|
* An array of P-Chain wallet addresses.
|
|
@@ -3246,9 +3201,9 @@ type PendingReward = {
|
|
|
3246
3201
|
rewardType: RewardType;
|
|
3247
3202
|
progress: number;
|
|
3248
3203
|
/**
|
|
3249
|
-
* An object containing P-chain Asset
|
|
3204
|
+
* An object containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3250
3205
|
*/
|
|
3251
|
-
estimatedReward:
|
|
3206
|
+
estimatedReward: AssetAmount;
|
|
3252
3207
|
};
|
|
3253
3208
|
|
|
3254
3209
|
type ListPendingRewardsResponse = {
|
|
@@ -3349,9 +3304,9 @@ type EVMInput = {
|
|
|
3349
3304
|
*/
|
|
3350
3305
|
fromAddress: string;
|
|
3351
3306
|
/**
|
|
3352
|
-
*
|
|
3307
|
+
* AssetAmount details for the asset being transferred.
|
|
3353
3308
|
*/
|
|
3354
|
-
asset:
|
|
3309
|
+
asset: AssetAmount;
|
|
3355
3310
|
/**
|
|
3356
3311
|
* Credentials that signed this transaction.
|
|
3357
3312
|
*/
|
|
@@ -3363,7 +3318,7 @@ type Utxo = {
|
|
|
3363
3318
|
* Addresses that are eligible to sign the consumption of this output.
|
|
3364
3319
|
*/
|
|
3365
3320
|
addresses: Array<string>;
|
|
3366
|
-
asset:
|
|
3321
|
+
asset: AssetAmount;
|
|
3367
3322
|
/**
|
|
3368
3323
|
* Blockchain ID on which this output is consumed on.
|
|
3369
3324
|
*/
|
|
@@ -3446,11 +3401,11 @@ type CChainExportTransaction = {
|
|
|
3446
3401
|
/**
|
|
3447
3402
|
* Assets unlocked by inputs of this transaction.
|
|
3448
3403
|
*/
|
|
3449
|
-
amountUnlocked: Array<
|
|
3404
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3450
3405
|
/**
|
|
3451
3406
|
* Assets created by outputs of this transaction.
|
|
3452
3407
|
*/
|
|
3453
|
-
amountCreated: Array<
|
|
3408
|
+
amountCreated: Array<AssetAmount>;
|
|
3454
3409
|
/**
|
|
3455
3410
|
* Source chain for an atomic transaction.
|
|
3456
3411
|
*/
|
|
@@ -3481,9 +3436,9 @@ type EVMOutput = {
|
|
|
3481
3436
|
*/
|
|
3482
3437
|
toAddress: string;
|
|
3483
3438
|
/**
|
|
3484
|
-
*
|
|
3439
|
+
* AssetAmount details for the asset being transferred.
|
|
3485
3440
|
*/
|
|
3486
|
-
asset:
|
|
3441
|
+
asset: AssetAmount;
|
|
3487
3442
|
};
|
|
3488
3443
|
|
|
3489
3444
|
type CChainImportTransaction = {
|
|
@@ -3510,11 +3465,11 @@ type CChainImportTransaction = {
|
|
|
3510
3465
|
/**
|
|
3511
3466
|
* Assets unlocked by inputs of this transaction.
|
|
3512
3467
|
*/
|
|
3513
|
-
amountUnlocked: Array<
|
|
3468
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3514
3469
|
/**
|
|
3515
3470
|
* Assets created by outputs of this transaction.
|
|
3516
3471
|
*/
|
|
3517
|
-
amountCreated: Array<
|
|
3472
|
+
amountCreated: Array<AssetAmount>;
|
|
3518
3473
|
/**
|
|
3519
3474
|
* Source chain for an atomic transaction.
|
|
3520
3475
|
*/
|
|
@@ -3562,6 +3517,8 @@ declare enum PChainTransactionType {
|
|
|
3562
3517
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3563
3518
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3564
3519
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3520
|
+
BASE_TX = "BaseTx",
|
|
3521
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3565
3522
|
UNKNOWN = "UNKNOWN"
|
|
3566
3523
|
}
|
|
3567
3524
|
|
|
@@ -3575,7 +3532,7 @@ type PChainUtxo = {
|
|
|
3575
3532
|
* Addresses that are eligible to sign the consumption of this output.
|
|
3576
3533
|
*/
|
|
3577
3534
|
addresses: Array<string>;
|
|
3578
|
-
asset:
|
|
3535
|
+
asset: AssetAmount;
|
|
3579
3536
|
/**
|
|
3580
3537
|
* Blockchain ID on which this output is consumed on.
|
|
3581
3538
|
*/
|
|
@@ -3639,17 +3596,17 @@ type PChainTransaction = {
|
|
|
3639
3596
|
*/
|
|
3640
3597
|
destinationChain?: string;
|
|
3641
3598
|
/**
|
|
3642
|
-
* A list of objects containing P-chain Asset
|
|
3599
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3643
3600
|
*/
|
|
3644
|
-
value: Array<
|
|
3601
|
+
value: Array<AssetAmount>;
|
|
3645
3602
|
/**
|
|
3646
|
-
* A list of objects containing P-chain Asset
|
|
3603
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3647
3604
|
*/
|
|
3648
|
-
amountBurned: Array<
|
|
3605
|
+
amountBurned: Array<AssetAmount>;
|
|
3649
3606
|
/**
|
|
3650
|
-
* A list of objects containing P-chain Asset
|
|
3607
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3651
3608
|
*/
|
|
3652
|
-
amountStaked: Array<
|
|
3609
|
+
amountStaked: Array<AssetAmount>;
|
|
3653
3610
|
/**
|
|
3654
3611
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3655
3612
|
*/
|
|
@@ -3681,6 +3638,14 @@ type PChainTransaction = {
|
|
|
3681
3638
|
* Present for RewardValidatorTx
|
|
3682
3639
|
*/
|
|
3683
3640
|
stakingTxHash?: string;
|
|
3641
|
+
/**
|
|
3642
|
+
* Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
|
|
3643
|
+
*/
|
|
3644
|
+
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
3645
|
+
/**
|
|
3646
|
+
* Present for AddPermissionlessValidatorTx
|
|
3647
|
+
*/
|
|
3648
|
+
blsCredentials?: BlsCredentials;
|
|
3684
3649
|
};
|
|
3685
3650
|
|
|
3686
3651
|
type ListPChainTransactionsResponse = {
|
|
@@ -3692,6 +3657,9 @@ type ListPChainTransactionsResponse = {
|
|
|
3692
3657
|
chainInfo: PrimaryNetworkChainInfo;
|
|
3693
3658
|
};
|
|
3694
3659
|
|
|
3660
|
+
/**
|
|
3661
|
+
* Type of transaction.
|
|
3662
|
+
*/
|
|
3695
3663
|
declare enum XChainTransactionType {
|
|
3696
3664
|
BASE_TX = "BaseTx",
|
|
3697
3665
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
@@ -3714,9 +3682,6 @@ type XChainLinearTransaction = {
|
|
|
3714
3682
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3715
3683
|
*/
|
|
3716
3684
|
timestamp: number;
|
|
3717
|
-
/**
|
|
3718
|
-
* Type of transaction.
|
|
3719
|
-
*/
|
|
3720
3685
|
txType: XChainTransactionType;
|
|
3721
3686
|
/**
|
|
3722
3687
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3727,11 +3692,11 @@ type XChainLinearTransaction = {
|
|
|
3727
3692
|
/**
|
|
3728
3693
|
* Assets unlocked by inputs of this transaction.
|
|
3729
3694
|
*/
|
|
3730
|
-
amountUnlocked: Array<
|
|
3695
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3731
3696
|
/**
|
|
3732
3697
|
* Assets created by outputs of this transaction.
|
|
3733
3698
|
*/
|
|
3734
|
-
amountCreated: Array<
|
|
3699
|
+
amountCreated: Array<AssetAmount>;
|
|
3735
3700
|
/**
|
|
3736
3701
|
* Source chain for an atomic transaction.
|
|
3737
3702
|
*/
|
|
@@ -3741,7 +3706,7 @@ type XChainLinearTransaction = {
|
|
|
3741
3706
|
*/
|
|
3742
3707
|
destinationChain?: string;
|
|
3743
3708
|
/**
|
|
3744
|
-
*
|
|
3709
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3745
3710
|
*/
|
|
3746
3711
|
assetCreated?: XChainAssetDetails;
|
|
3747
3712
|
/**
|
|
@@ -3791,9 +3756,6 @@ type XChainNonLinearTransaction = {
|
|
|
3791
3756
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3792
3757
|
*/
|
|
3793
3758
|
timestamp: number;
|
|
3794
|
-
/**
|
|
3795
|
-
* Type of transaction.
|
|
3796
|
-
*/
|
|
3797
3759
|
txType: XChainTransactionType;
|
|
3798
3760
|
/**
|
|
3799
3761
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3804,11 +3766,11 @@ type XChainNonLinearTransaction = {
|
|
|
3804
3766
|
/**
|
|
3805
3767
|
* Assets unlocked by inputs of this transaction.
|
|
3806
3768
|
*/
|
|
3807
|
-
amountUnlocked: Array<
|
|
3769
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3808
3770
|
/**
|
|
3809
3771
|
* Assets created by outputs of this transaction.
|
|
3810
3772
|
*/
|
|
3811
|
-
amountCreated: Array<
|
|
3773
|
+
amountCreated: Array<AssetAmount>;
|
|
3812
3774
|
/**
|
|
3813
3775
|
* Source chain for an atomic transaction.
|
|
3814
3776
|
*/
|
|
@@ -3818,7 +3780,7 @@ type XChainNonLinearTransaction = {
|
|
|
3818
3780
|
*/
|
|
3819
3781
|
destinationChain?: string;
|
|
3820
3782
|
/**
|
|
3821
|
-
*
|
|
3783
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3822
3784
|
*/
|
|
3823
3785
|
assetCreated?: XChainAssetDetails;
|
|
3824
3786
|
/**
|
|
@@ -3864,8 +3826,9 @@ declare enum PrimaryNetworkTxType {
|
|
|
3864
3826
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3865
3827
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3866
3828
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3867
|
-
UNKNOWN = "UNKNOWN",
|
|
3868
3829
|
BASE_TX = "BaseTx",
|
|
3830
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3831
|
+
UNKNOWN = "UNKNOWN",
|
|
3869
3832
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
3870
3833
|
OPERATION_TX = "OperationTx"
|
|
3871
3834
|
}
|
|
@@ -4191,8 +4154,466 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4191
4154
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4192
4155
|
}
|
|
4193
4156
|
|
|
4194
|
-
type
|
|
4195
|
-
|
|
4157
|
+
type RpcErrorDto = {
|
|
4158
|
+
code: number;
|
|
4159
|
+
message: string;
|
|
4160
|
+
data?: Record<string, any>;
|
|
4161
|
+
};
|
|
4162
|
+
|
|
4163
|
+
type RpcErrorResponseDto = {
|
|
4164
|
+
jsonrpc: string;
|
|
4165
|
+
id?: (string | number);
|
|
4166
|
+
error: RpcErrorDto;
|
|
4167
|
+
};
|
|
4168
|
+
|
|
4169
|
+
type RpcRequestBodyDto = {
|
|
4170
|
+
method: string;
|
|
4171
|
+
params?: Record<string, any>;
|
|
4172
|
+
id?: (string | number);
|
|
4173
|
+
jsonrpc?: string;
|
|
4174
|
+
};
|
|
4175
|
+
|
|
4176
|
+
type RpcSuccessResponseDto = {
|
|
4177
|
+
jsonrpc: string;
|
|
4178
|
+
id?: (string | number);
|
|
4179
|
+
result: Record<string, any>;
|
|
4180
|
+
};
|
|
4181
|
+
|
|
4182
|
+
declare class RpcService {
|
|
4183
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4184
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4185
|
+
/**
|
|
4186
|
+
* Calls JSON-RPC method
|
|
4187
|
+
* Calls JSON-RPC method.
|
|
4188
|
+
* @returns any
|
|
4189
|
+
* @throws ApiError
|
|
4190
|
+
*/
|
|
4191
|
+
rpc({ chainId, requestBody, }: {
|
|
4192
|
+
/**
|
|
4193
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
4194
|
+
*/
|
|
4195
|
+
chainId: string;
|
|
4196
|
+
requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
|
|
4197
|
+
}): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
type TeleporterDestinationTransaction = {
|
|
4201
|
+
txHash: string;
|
|
4202
|
+
timestamp: number;
|
|
4203
|
+
gasSpent: string;
|
|
4204
|
+
rewardRedeemer: string;
|
|
4205
|
+
delivererAddress: string;
|
|
4206
|
+
};
|
|
4207
|
+
|
|
4208
|
+
type TeleporterReceipt = {
|
|
4209
|
+
receivedMessageNonce: string;
|
|
4210
|
+
relayerRewardAddress: string;
|
|
4211
|
+
};
|
|
4212
|
+
|
|
4213
|
+
type TeleporterRewardDetails = {
|
|
4214
|
+
/**
|
|
4215
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
4216
|
+
*/
|
|
4217
|
+
address: string;
|
|
4218
|
+
/**
|
|
4219
|
+
* The contract name.
|
|
4220
|
+
*/
|
|
4221
|
+
name: string;
|
|
4222
|
+
/**
|
|
4223
|
+
* The contract symbol.
|
|
4224
|
+
*/
|
|
4225
|
+
symbol: string;
|
|
4226
|
+
/**
|
|
4227
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
4228
|
+
*/
|
|
4229
|
+
decimals: number;
|
|
4230
|
+
/**
|
|
4231
|
+
* The logo uri for the address.
|
|
4232
|
+
*/
|
|
4233
|
+
logoUri?: string;
|
|
4234
|
+
ercType: TeleporterRewardDetails.ercType;
|
|
4235
|
+
/**
|
|
4236
|
+
* The token price, if available.
|
|
4237
|
+
*/
|
|
4238
|
+
price?: Money;
|
|
4239
|
+
value: string;
|
|
4240
|
+
};
|
|
4241
|
+
declare namespace TeleporterRewardDetails {
|
|
4242
|
+
enum ercType {
|
|
4243
|
+
ERC_20 = "ERC-20"
|
|
4244
|
+
}
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
type DeliveredSourceNotIndexedTeleporterMessage = {
|
|
4248
|
+
messageId: string;
|
|
4249
|
+
teleporterContractAddress: string;
|
|
4250
|
+
sourceBlockchainId: string;
|
|
4251
|
+
destinationBlockchainId: string;
|
|
4252
|
+
sourceEvmChainId: string;
|
|
4253
|
+
destinationEvmChainId: string;
|
|
4254
|
+
messageNonce: string;
|
|
4255
|
+
from: string;
|
|
4256
|
+
to: string;
|
|
4257
|
+
data?: string;
|
|
4258
|
+
messageExecuted: boolean;
|
|
4259
|
+
receipts: Array<TeleporterReceipt>;
|
|
4260
|
+
receiptDelivered: boolean;
|
|
4261
|
+
rewardDetails: TeleporterRewardDetails;
|
|
4262
|
+
destinationTransaction: TeleporterDestinationTransaction;
|
|
4263
|
+
status: DeliveredSourceNotIndexedTeleporterMessage.status;
|
|
4264
|
+
};
|
|
4265
|
+
declare namespace DeliveredSourceNotIndexedTeleporterMessage {
|
|
4266
|
+
enum status {
|
|
4267
|
+
DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
|
|
4268
|
+
}
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4271
|
+
type TeleporterSourceTransaction = {
|
|
4272
|
+
txHash: string;
|
|
4273
|
+
timestamp: number;
|
|
4274
|
+
gasSpent: string;
|
|
4275
|
+
};
|
|
4276
|
+
|
|
4277
|
+
type DeliveredTeleporterMessage = {
|
|
4278
|
+
messageId: string;
|
|
4279
|
+
teleporterContractAddress: string;
|
|
4280
|
+
sourceBlockchainId: string;
|
|
4281
|
+
destinationBlockchainId: string;
|
|
4282
|
+
sourceEvmChainId: string;
|
|
4283
|
+
destinationEvmChainId: string;
|
|
4284
|
+
messageNonce: string;
|
|
4285
|
+
from: string;
|
|
4286
|
+
to: string;
|
|
4287
|
+
data?: string;
|
|
4288
|
+
messageExecuted: boolean;
|
|
4289
|
+
receipts: Array<TeleporterReceipt>;
|
|
4290
|
+
receiptDelivered: boolean;
|
|
4291
|
+
rewardDetails: TeleporterRewardDetails;
|
|
4292
|
+
sourceTransaction: TeleporterSourceTransaction;
|
|
4293
|
+
destinationTransaction: TeleporterDestinationTransaction;
|
|
4294
|
+
status: DeliveredTeleporterMessage.status;
|
|
4295
|
+
};
|
|
4296
|
+
declare namespace DeliveredTeleporterMessage {
|
|
4297
|
+
enum status {
|
|
4298
|
+
DELIVERED = "delivered"
|
|
4299
|
+
}
|
|
4300
|
+
}
|
|
4301
|
+
|
|
4302
|
+
type PendingTeleporterMessage = {
|
|
4303
|
+
messageId: string;
|
|
4304
|
+
teleporterContractAddress: string;
|
|
4305
|
+
sourceBlockchainId: string;
|
|
4306
|
+
destinationBlockchainId: string;
|
|
4307
|
+
sourceEvmChainId: string;
|
|
4308
|
+
destinationEvmChainId: string;
|
|
4309
|
+
messageNonce: string;
|
|
4310
|
+
from: string;
|
|
4311
|
+
to: string;
|
|
4312
|
+
data?: string;
|
|
4313
|
+
messageExecuted: boolean;
|
|
4314
|
+
receipts: Array<TeleporterReceipt>;
|
|
4315
|
+
receiptDelivered: boolean;
|
|
4316
|
+
rewardDetails: TeleporterRewardDetails;
|
|
4317
|
+
sourceTransaction: TeleporterSourceTransaction;
|
|
4318
|
+
status: PendingTeleporterMessage.status;
|
|
4319
|
+
};
|
|
4320
|
+
declare namespace PendingTeleporterMessage {
|
|
4321
|
+
enum status {
|
|
4322
|
+
PENDING = "pending"
|
|
4323
|
+
}
|
|
4324
|
+
}
|
|
4325
|
+
|
|
4326
|
+
type ListTeleporterMessagesResponse = {
|
|
4327
|
+
/**
|
|
4328
|
+
* 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.
|
|
4329
|
+
*/
|
|
4330
|
+
nextPageToken?: string;
|
|
4331
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
4332
|
+
};
|
|
4333
|
+
|
|
4334
|
+
declare class TeleporterService {
|
|
4335
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4336
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4337
|
+
/**
|
|
4338
|
+
* Get a teleporter message
|
|
4339
|
+
* Gets a teleporter message by message ID.
|
|
4340
|
+
* @returns any
|
|
4341
|
+
* @throws ApiError
|
|
4342
|
+
*/
|
|
4343
|
+
getTeleporterMessage({ messageId, }: {
|
|
4344
|
+
/**
|
|
4345
|
+
* The message ID of the teleporter message.
|
|
4346
|
+
*/
|
|
4347
|
+
messageId: string;
|
|
4348
|
+
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
4349
|
+
/**
|
|
4350
|
+
* List teleporter messages
|
|
4351
|
+
* Lists teleporter messages. Ordered by timestamp in descending order.
|
|
4352
|
+
* @returns ListTeleporterMessagesResponse
|
|
4353
|
+
* @throws ApiError
|
|
4354
|
+
*/
|
|
4355
|
+
listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, network, }: {
|
|
4356
|
+
/**
|
|
4357
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4358
|
+
*/
|
|
4359
|
+
pageToken?: string;
|
|
4360
|
+
/**
|
|
4361
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4362
|
+
*/
|
|
4363
|
+
pageSize?: number;
|
|
4364
|
+
/**
|
|
4365
|
+
* The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
|
|
4366
|
+
*/
|
|
4367
|
+
sourceBlockchainId?: string;
|
|
4368
|
+
/**
|
|
4369
|
+
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
|
|
4370
|
+
*/
|
|
4371
|
+
destinationBlockchainId?: string;
|
|
4372
|
+
/**
|
|
4373
|
+
* The address of the recipient of the teleporter message.
|
|
4374
|
+
*/
|
|
4375
|
+
to?: string;
|
|
4376
|
+
/**
|
|
4377
|
+
* The address of the sender of the teleporter message.
|
|
4378
|
+
*/
|
|
4379
|
+
from?: string;
|
|
4380
|
+
/**
|
|
4381
|
+
* mainnet or testnet.
|
|
4382
|
+
*/
|
|
4383
|
+
network?: NetworkType;
|
|
4384
|
+
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4385
|
+
}
|
|
4386
|
+
|
|
4387
|
+
type AddressesChangeRequest = {
|
|
4388
|
+
/**
|
|
4389
|
+
* Ethereum address(es) for the address_activity event type
|
|
4390
|
+
*/
|
|
4391
|
+
addresses: Array<any[]>;
|
|
4392
|
+
};
|
|
4393
|
+
|
|
4394
|
+
type ListWebhookAddressesResponse = {
|
|
4395
|
+
/**
|
|
4396
|
+
* 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.
|
|
4397
|
+
*/
|
|
4398
|
+
nextPageToken?: string;
|
|
4399
|
+
addresses: Array<string>;
|
|
4400
|
+
totalAddresses: number;
|
|
4401
|
+
};
|
|
4402
|
+
|
|
4403
|
+
type AddressActivityMetadata = {
|
|
4404
|
+
/**
|
|
4405
|
+
* Ethereum address(es) for the address_activity event type
|
|
4406
|
+
*/
|
|
4407
|
+
addresses: Array<any[]>;
|
|
4408
|
+
/**
|
|
4409
|
+
* Array of hexadecimal strings of the event signatures.
|
|
4410
|
+
*/
|
|
4411
|
+
eventSignatures?: Array<string>;
|
|
4412
|
+
};
|
|
4413
|
+
|
|
4414
|
+
declare enum EventType {
|
|
4415
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
4416
|
+
}
|
|
4417
|
+
|
|
4418
|
+
declare enum WebhookStatusType {
|
|
4419
|
+
ACTIVE = "active",
|
|
4420
|
+
INACTIVE = "inactive"
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
type WebhookResponse = {
|
|
4424
|
+
id: string;
|
|
4425
|
+
eventType: EventType;
|
|
4426
|
+
metadata: AddressActivityMetadata;
|
|
4427
|
+
/**
|
|
4428
|
+
* Whether to include traces in the webhook payload.
|
|
4429
|
+
*/
|
|
4430
|
+
includeInternalTxs?: boolean;
|
|
4431
|
+
/**
|
|
4432
|
+
* Whether to include logs in the webhook payload.
|
|
4433
|
+
*/
|
|
4434
|
+
includeLogs?: boolean;
|
|
4435
|
+
url: string;
|
|
4436
|
+
chainId: string;
|
|
4437
|
+
status: WebhookStatusType;
|
|
4438
|
+
createdAt: number;
|
|
4439
|
+
name: string;
|
|
4440
|
+
description: string;
|
|
4441
|
+
};
|
|
4442
|
+
|
|
4443
|
+
type ListWebhooksResponse = {
|
|
4444
|
+
/**
|
|
4445
|
+
* 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.
|
|
4446
|
+
*/
|
|
4447
|
+
nextPageToken?: string;
|
|
4448
|
+
webhooks: Array<WebhookResponse>;
|
|
4449
|
+
};
|
|
4450
|
+
|
|
4451
|
+
type RegisterWebhookRequest = {
|
|
4452
|
+
url: string;
|
|
4453
|
+
chainId: string;
|
|
4454
|
+
eventType: EventType;
|
|
4455
|
+
metadata: AddressActivityMetadata;
|
|
4456
|
+
/**
|
|
4457
|
+
* Whether to include traces in the webhook payload.
|
|
4458
|
+
*/
|
|
4459
|
+
includeInternalTxs?: boolean;
|
|
4460
|
+
/**
|
|
4461
|
+
* Whether to include logs in the webhook payload.
|
|
4462
|
+
*/
|
|
4463
|
+
includeLogs?: boolean;
|
|
4464
|
+
};
|
|
4465
|
+
|
|
4466
|
+
type SharedSecretsResponse = {
|
|
4467
|
+
secret: string;
|
|
4468
|
+
};
|
|
4469
|
+
|
|
4470
|
+
type UpdateWebhookRequest = {
|
|
4471
|
+
name?: string;
|
|
4472
|
+
description?: string;
|
|
4473
|
+
url?: string;
|
|
4474
|
+
status?: WebhookStatusType;
|
|
4475
|
+
includeInternalTxs?: boolean;
|
|
4476
|
+
includeLogs?: boolean;
|
|
4477
|
+
};
|
|
4478
|
+
|
|
4479
|
+
declare enum WebhookStatus {
|
|
4480
|
+
ACTIVE = "active",
|
|
4481
|
+
INACTIVE = "inactive"
|
|
4482
|
+
}
|
|
4483
|
+
|
|
4484
|
+
declare class WebhooksService {
|
|
4485
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4486
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4487
|
+
/**
|
|
4488
|
+
* Create a webhook
|
|
4489
|
+
* Create a new webhook.
|
|
4490
|
+
* @returns WebhookResponse
|
|
4491
|
+
* @throws ApiError
|
|
4492
|
+
*/
|
|
4493
|
+
registerWebhook({ requestBody, }: {
|
|
4494
|
+
requestBody: RegisterWebhookRequest;
|
|
4495
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4496
|
+
/**
|
|
4497
|
+
* List webhooks
|
|
4498
|
+
* Lists webhooks for the user.
|
|
4499
|
+
* @returns ListWebhooksResponse
|
|
4500
|
+
* @throws ApiError
|
|
4501
|
+
*/
|
|
4502
|
+
listWebhooks({ pageToken, pageSize, status, }: {
|
|
4503
|
+
/**
|
|
4504
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4505
|
+
*/
|
|
4506
|
+
pageToken?: string;
|
|
4507
|
+
/**
|
|
4508
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4509
|
+
*/
|
|
4510
|
+
pageSize?: number;
|
|
4511
|
+
/**
|
|
4512
|
+
* 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.
|
|
4513
|
+
*/
|
|
4514
|
+
status?: WebhookStatus;
|
|
4515
|
+
}): CancelablePromise<ListWebhooksResponse>;
|
|
4516
|
+
/**
|
|
4517
|
+
* Get a webhook by ID
|
|
4518
|
+
* Retrieves a webhook by ID.
|
|
4519
|
+
* @returns WebhookResponse
|
|
4520
|
+
* @throws ApiError
|
|
4521
|
+
*/
|
|
4522
|
+
getWebhook({ id, }: {
|
|
4523
|
+
/**
|
|
4524
|
+
* The webhook identifier.
|
|
4525
|
+
*/
|
|
4526
|
+
id: string;
|
|
4527
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4528
|
+
/**
|
|
4529
|
+
* Deactivate a webhook
|
|
4530
|
+
* Deactivates a webhook by ID.
|
|
4531
|
+
* @returns WebhookResponse
|
|
4532
|
+
* @throws ApiError
|
|
4533
|
+
*/
|
|
4534
|
+
deactivateWebhook({ id, }: {
|
|
4535
|
+
/**
|
|
4536
|
+
* The webhook identifier.
|
|
4537
|
+
*/
|
|
4538
|
+
id: string;
|
|
4539
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4540
|
+
/**
|
|
4541
|
+
* Update a webhook
|
|
4542
|
+
* Updates an existing webhook.
|
|
4543
|
+
* @returns WebhookResponse
|
|
4544
|
+
* @throws ApiError
|
|
4545
|
+
*/
|
|
4546
|
+
updateWebhook({ id, requestBody, }: {
|
|
4547
|
+
/**
|
|
4548
|
+
* The webhook identifier.
|
|
4549
|
+
*/
|
|
4550
|
+
id: string;
|
|
4551
|
+
requestBody: UpdateWebhookRequest;
|
|
4552
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4553
|
+
/**
|
|
4554
|
+
* Generate a shared secret
|
|
4555
|
+
* Generates a new shared secret.
|
|
4556
|
+
* @returns SharedSecretsResponse
|
|
4557
|
+
* @throws ApiError
|
|
4558
|
+
*/
|
|
4559
|
+
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4560
|
+
/**
|
|
4561
|
+
* Get a shared secret
|
|
4562
|
+
* Get a previously generated shared secret.
|
|
4563
|
+
* @returns SharedSecretsResponse
|
|
4564
|
+
* @throws ApiError
|
|
4565
|
+
*/
|
|
4566
|
+
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4567
|
+
/**
|
|
4568
|
+
* Add addresses to webhook
|
|
4569
|
+
* Add addresses to webhook.
|
|
4570
|
+
* @returns WebhookResponse
|
|
4571
|
+
* @throws ApiError
|
|
4572
|
+
*/
|
|
4573
|
+
addAddressesToWebhook({ id, requestBody, }: {
|
|
4574
|
+
/**
|
|
4575
|
+
* The webhook identifier.
|
|
4576
|
+
*/
|
|
4577
|
+
id: string;
|
|
4578
|
+
requestBody: AddressesChangeRequest;
|
|
4579
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4580
|
+
/**
|
|
4581
|
+
* Remove addresses from webhook
|
|
4582
|
+
* Remove addresses from webhook.
|
|
4583
|
+
* @returns WebhookResponse
|
|
4584
|
+
* @throws ApiError
|
|
4585
|
+
*/
|
|
4586
|
+
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
4587
|
+
/**
|
|
4588
|
+
* The webhook identifier.
|
|
4589
|
+
*/
|
|
4590
|
+
id: string;
|
|
4591
|
+
requestBody: AddressesChangeRequest;
|
|
4592
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4593
|
+
/**
|
|
4594
|
+
* List adresses by webhook
|
|
4595
|
+
* List adresses by webhook.
|
|
4596
|
+
* @returns ListWebhookAddressesResponse
|
|
4597
|
+
* @throws ApiError
|
|
4598
|
+
*/
|
|
4599
|
+
getAddressesFromWebhook({ id, pageToken, pageSize, }: {
|
|
4600
|
+
/**
|
|
4601
|
+
* The webhook identifier.
|
|
4602
|
+
*/
|
|
4603
|
+
id: string;
|
|
4604
|
+
/**
|
|
4605
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4606
|
+
*/
|
|
4607
|
+
pageToken?: string;
|
|
4608
|
+
/**
|
|
4609
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4610
|
+
*/
|
|
4611
|
+
pageSize?: number;
|
|
4612
|
+
}): CancelablePromise<ListWebhookAddressesResponse>;
|
|
4613
|
+
}
|
|
4614
|
+
|
|
4615
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
4616
|
+
declare class Glacier {
|
|
4196
4617
|
readonly default: DefaultService;
|
|
4197
4618
|
readonly evmBalances: EvmBalancesService;
|
|
4198
4619
|
readonly evmBlocks: EvmBlocksService;
|
|
@@ -4209,6 +4630,9 @@ declare class Glacier {
|
|
|
4209
4630
|
readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
|
|
4210
4631
|
readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
|
|
4211
4632
|
readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
|
|
4633
|
+
readonly rpc: RpcService;
|
|
4634
|
+
readonly teleporter: TeleporterService;
|
|
4635
|
+
readonly webhooks: WebhooksService;
|
|
4212
4636
|
readonly request: BaseHttpRequest;
|
|
4213
4637
|
constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
|
|
4214
4638
|
}
|
|
@@ -4230,4 +4654,11 @@ declare class ApiError extends Error {
|
|
|
4230
4654
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4231
4655
|
}
|
|
4232
4656
|
|
|
4233
|
-
|
|
4657
|
+
type NextPageToken = {
|
|
4658
|
+
/**
|
|
4659
|
+
* 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.
|
|
4660
|
+
*/
|
|
4661
|
+
nextPageToken?: string;
|
|
4662
|
+
};
|
|
4663
|
+
|
|
4664
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, 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, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, 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, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, SharedSecretsResponse, SortByOption, 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, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|