@avalabs/glacier-sdk 2.8.0-canary.4c39d28.0 → 2.8.0-canary.5083b17.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 +770 -419
- package/dist/index.js +268 -129
- package/esm/generated/Glacier.d.ts +2 -0
- package/esm/generated/Glacier.js +3 -0
- package/esm/generated/models/AddressActivityMetadata.d.ts +12 -1
- package/esm/generated/models/{XChainAssetBalance.d.ts → AggregatedAssetAmount.d.ts} +5 -6
- package/esm/generated/models/{Asset.d.ts → AssetAmount.d.ts} +5 -6
- package/esm/generated/models/AssetWithPriceInfo.d.ts +32 -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 +3 -4
- 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 +27 -0
- package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.js +8 -0
- package/esm/generated/models/DeliveredTeleporterMessage.d.ts +29 -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 +5 -0
- package/esm/generated/models/GlacierApiFeature.js +6 -0
- package/esm/generated/models/HistoricalReward.d.ts +2 -5
- package/esm/generated/models/ListNftTokens.d.ts +1 -1
- package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
- package/esm/generated/models/ListValidatorDetailsResponse.d.ts +2 -1
- 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 +22 -0
- package/esm/generated/models/PChainTransaction.d.ts +12 -7
- package/esm/generated/models/PChainTransactionType.d.ts +8 -5
- package/esm/generated/models/PChainTransactionType.js +8 -5
- package/esm/generated/models/PChainUtxo.d.ts +34 -14
- package/esm/generated/models/PendingReward.d.ts +3 -3
- package/esm/generated/models/PendingTeleporterMessage.d.ts +27 -0
- package/esm/generated/models/PendingTeleporterMessage.js +8 -0
- package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +9 -0
- package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
- package/esm/generated/models/PrimaryNetworkAssetType.d.ts +9 -0
- package/esm/generated/models/PrimaryNetworkAssetType.js +7 -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 +8 -6
- package/esm/generated/models/PrimaryNetworkTxType.js +8 -6
- package/esm/generated/models/RegisterWebhookRequest.d.ts +0 -3
- package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
- package/esm/generated/models/RemovedValidatorDetails.js +8 -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 +30 -30
- package/esm/generated/models/UtxoCredential.d.ts +2 -2
- package/esm/generated/models/ValidationStatusType.d.ts +2 -1
- package/esm/generated/models/ValidationStatusType.js +1 -0
- package/esm/generated/models/WebhookResponse.d.ts +2 -0
- package/esm/generated/models/XChainAssetDetails.d.ts +5 -8
- 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 +3 -4
- package/esm/generated/models/XChainTransactionType.d.ts +3 -0
- package/esm/generated/services/DefaultService.d.ts +38 -5
- package/esm/generated/services/DefaultService.js +34 -3
- package/esm/generated/services/EvmBalancesService.d.ts +25 -25
- package/esm/generated/services/EvmBalancesService.js +8 -8
- package/esm/generated/services/EvmBlocksService.d.ts +7 -7
- package/esm/generated/services/EvmBlocksService.js +4 -4
- 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 +57 -57
- package/esm/generated/services/EvmTransactionsService.js +32 -32
- package/esm/generated/services/NfTsService.d.ts +8 -8
- package/esm/generated/services/NfTsService.js +4 -4
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
- package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +19 -14
- package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -6
- package/esm/generated/services/PrimaryNetworkService.d.ts +41 -41
- package/esm/generated/services/PrimaryNetworkService.js +20 -20
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
- package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
- package/esm/generated/services/TeleporterService.d.ts +57 -0
- package/esm/generated/services/TeleporterService.js +39 -0
- package/esm/index.d.ts +20 -3
- package/esm/index.js +11 -2
- package/package.json +2 -2
- package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
- package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts
CHANGED
|
@@ -65,7 +65,18 @@ type AddressActivityMetadata = {
|
|
|
65
65
|
* Ethereum address for the address_activity event type
|
|
66
66
|
*/
|
|
67
67
|
address: string;
|
|
68
|
-
|
|
68
|
+
/**
|
|
69
|
+
* Array of hexadecimal strings of the event signatures.
|
|
70
|
+
*/
|
|
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;
|
|
69
80
|
};
|
|
70
81
|
|
|
71
82
|
declare enum EventType {
|
|
@@ -85,6 +96,8 @@ type WebhookResponse = {
|
|
|
85
96
|
chainId: string;
|
|
86
97
|
status: WebhookStatusType;
|
|
87
98
|
createdAt: number;
|
|
99
|
+
name: string;
|
|
100
|
+
description: string;
|
|
88
101
|
};
|
|
89
102
|
|
|
90
103
|
type ListWebhooksResponse = {
|
|
@@ -98,9 +111,6 @@ type ListWebhooksResponse = {
|
|
|
98
111
|
type RegisterWebhookRequest = {
|
|
99
112
|
url: string;
|
|
100
113
|
chainId: string;
|
|
101
|
-
/**
|
|
102
|
-
* The type of event for the webhook
|
|
103
|
-
*/
|
|
104
114
|
eventType: EventType;
|
|
105
115
|
metadata: AddressActivityMetadata;
|
|
106
116
|
};
|
|
@@ -109,6 +119,15 @@ type SharedSecretsResponse = {
|
|
|
109
119
|
secret: string;
|
|
110
120
|
};
|
|
111
121
|
|
|
122
|
+
type UpdateWebhookRequest = {
|
|
123
|
+
name?: string;
|
|
124
|
+
description?: string;
|
|
125
|
+
url?: string;
|
|
126
|
+
status?: WebhookStatusType;
|
|
127
|
+
includeTraces?: boolean;
|
|
128
|
+
includeLogs?: boolean;
|
|
129
|
+
};
|
|
130
|
+
|
|
112
131
|
declare enum WebhookStatus {
|
|
113
132
|
ACTIVE = "active",
|
|
114
133
|
INACTIVE = "inactive"
|
|
@@ -137,20 +156,32 @@ declare class DefaultService {
|
|
|
137
156
|
* @returns ListWebhooksResponse
|
|
138
157
|
* @throws ApiError
|
|
139
158
|
*/
|
|
140
|
-
listWebhooks({
|
|
141
|
-
/**
|
|
142
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
143
|
-
*/
|
|
144
|
-
pageSize?: number;
|
|
159
|
+
listWebhooks({ pageToken, pageSize, status, }: {
|
|
145
160
|
/**
|
|
146
161
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
147
162
|
*/
|
|
148
163
|
pageToken?: string;
|
|
164
|
+
/**
|
|
165
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
166
|
+
*/
|
|
167
|
+
pageSize?: number;
|
|
149
168
|
/**
|
|
150
169
|
* Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
|
|
151
170
|
*/
|
|
152
171
|
status?: WebhookStatus;
|
|
153
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>;
|
|
154
185
|
/**
|
|
155
186
|
* Deactivate a webhook
|
|
156
187
|
* Deactivates a webhook by ID.
|
|
@@ -163,6 +194,19 @@ declare class DefaultService {
|
|
|
163
194
|
*/
|
|
164
195
|
id: string;
|
|
165
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>;
|
|
166
210
|
/**
|
|
167
211
|
* Generate a shared secret
|
|
168
212
|
* Generates a new shared secret.
|
|
@@ -170,8 +214,18 @@ declare class DefaultService {
|
|
|
170
214
|
* @throws ApiError
|
|
171
215
|
*/
|
|
172
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>;
|
|
173
224
|
}
|
|
174
225
|
|
|
226
|
+
/**
|
|
227
|
+
* ISO 4217 currency code.
|
|
228
|
+
*/
|
|
175
229
|
declare enum CurrencyCode {
|
|
176
230
|
USD = "usd",
|
|
177
231
|
EUR = "eur",
|
|
@@ -190,9 +244,6 @@ declare enum CurrencyCode {
|
|
|
190
244
|
}
|
|
191
245
|
|
|
192
246
|
type Money = {
|
|
193
|
-
/**
|
|
194
|
-
* ISO 4217 currency code.
|
|
195
|
-
*/
|
|
196
247
|
currencyCode: CurrencyCode;
|
|
197
248
|
/**
|
|
198
249
|
* Monetary value in base 10 decimals.
|
|
@@ -242,6 +293,9 @@ type GetNativeBalanceResponse = {
|
|
|
242
293
|
nativeTokenBalance: NativeTokenBalance;
|
|
243
294
|
};
|
|
244
295
|
|
|
296
|
+
/**
|
|
297
|
+
* The metadata indexing status of the nft.
|
|
298
|
+
*/
|
|
245
299
|
declare enum NftTokenMetadataStatus {
|
|
246
300
|
UNKNOWN = "UNKNOWN",
|
|
247
301
|
MISSING_TOKEN = "MISSING_TOKEN",
|
|
@@ -257,9 +311,6 @@ declare enum NftTokenMetadataStatus {
|
|
|
257
311
|
}
|
|
258
312
|
|
|
259
313
|
type Erc1155TokenMetadata = {
|
|
260
|
-
/**
|
|
261
|
-
* The metadata indexing status of the nft.
|
|
262
|
-
*/
|
|
263
314
|
indexStatus: NftTokenMetadataStatus;
|
|
264
315
|
metadataLastUpdatedTimestamp?: number;
|
|
265
316
|
name?: string;
|
|
@@ -298,9 +349,6 @@ declare namespace Erc1155TokenBalance {
|
|
|
298
349
|
}
|
|
299
350
|
|
|
300
351
|
type Erc721TokenMetadata = {
|
|
301
|
-
/**
|
|
302
|
-
* The metadata indexing status of the nft.
|
|
303
|
-
*/
|
|
304
352
|
indexStatus: NftTokenMetadataStatus;
|
|
305
353
|
metadataLastUpdatedTimestamp?: number;
|
|
306
354
|
name?: string;
|
|
@@ -447,7 +495,7 @@ declare class EvmBalancesService {
|
|
|
447
495
|
*/
|
|
448
496
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
449
497
|
/**
|
|
450
|
-
* 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.
|
|
451
499
|
*/
|
|
452
500
|
chainId: string;
|
|
453
501
|
/**
|
|
@@ -473,9 +521,9 @@ declare class EvmBalancesService {
|
|
|
473
521
|
* @returns ListErc20BalancesResponse
|
|
474
522
|
* @throws ApiError
|
|
475
523
|
*/
|
|
476
|
-
listErc20Balances({ chainId, address, blockNumber,
|
|
524
|
+
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
|
|
477
525
|
/**
|
|
478
|
-
* 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.
|
|
479
527
|
*/
|
|
480
528
|
chainId: string;
|
|
481
529
|
/**
|
|
@@ -486,14 +534,14 @@ declare class EvmBalancesService {
|
|
|
486
534
|
* The block number, if not defined the block number will be the latest block.
|
|
487
535
|
*/
|
|
488
536
|
blockNumber?: string;
|
|
489
|
-
/**
|
|
490
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
491
|
-
*/
|
|
492
|
-
pageSize?: number;
|
|
493
537
|
/**
|
|
494
538
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
495
539
|
*/
|
|
496
540
|
pageToken?: string;
|
|
541
|
+
/**
|
|
542
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
543
|
+
*/
|
|
544
|
+
pageSize?: number;
|
|
497
545
|
/**
|
|
498
546
|
* A comma separated list of contract addresses to filter by.
|
|
499
547
|
*/
|
|
@@ -511,23 +559,23 @@ declare class EvmBalancesService {
|
|
|
511
559
|
* @returns ListErc721BalancesResponse
|
|
512
560
|
* @throws ApiError
|
|
513
561
|
*/
|
|
514
|
-
listErc721Balances({ chainId, address,
|
|
562
|
+
listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
515
563
|
/**
|
|
516
|
-
* 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.
|
|
517
565
|
*/
|
|
518
566
|
chainId: string;
|
|
519
567
|
/**
|
|
520
568
|
* A wallet address.
|
|
521
569
|
*/
|
|
522
570
|
address: string;
|
|
523
|
-
/**
|
|
524
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
525
|
-
*/
|
|
526
|
-
pageSize?: number;
|
|
527
571
|
/**
|
|
528
572
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
529
573
|
*/
|
|
530
574
|
pageToken?: string;
|
|
575
|
+
/**
|
|
576
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
577
|
+
*/
|
|
578
|
+
pageSize?: number;
|
|
531
579
|
/**
|
|
532
580
|
* A contract addresses to filter by.
|
|
533
581
|
*/
|
|
@@ -543,9 +591,9 @@ declare class EvmBalancesService {
|
|
|
543
591
|
* @returns ListErc1155BalancesResponse
|
|
544
592
|
* @throws ApiError
|
|
545
593
|
*/
|
|
546
|
-
listErc1155Balances({ chainId, address, blockNumber,
|
|
594
|
+
listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
|
|
547
595
|
/**
|
|
548
|
-
* 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.
|
|
549
597
|
*/
|
|
550
598
|
chainId: string;
|
|
551
599
|
/**
|
|
@@ -556,14 +604,14 @@ declare class EvmBalancesService {
|
|
|
556
604
|
* The block number, if not defined the block number will be the latest block.
|
|
557
605
|
*/
|
|
558
606
|
blockNumber?: string;
|
|
559
|
-
/**
|
|
560
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
561
|
-
*/
|
|
562
|
-
pageSize?: number;
|
|
563
607
|
/**
|
|
564
608
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
565
609
|
*/
|
|
566
610
|
pageToken?: string;
|
|
611
|
+
/**
|
|
612
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
613
|
+
*/
|
|
614
|
+
pageSize?: number;
|
|
567
615
|
/**
|
|
568
616
|
* A contract addresses to filter by.
|
|
569
617
|
*/
|
|
@@ -577,23 +625,23 @@ declare class EvmBalancesService {
|
|
|
577
625
|
* @returns ListCollectibleBalancesResponse
|
|
578
626
|
* @throws ApiError
|
|
579
627
|
*/
|
|
580
|
-
listCollectibleBalances({ chainId, address,
|
|
628
|
+
listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
581
629
|
/**
|
|
582
|
-
* 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.
|
|
583
631
|
*/
|
|
584
632
|
chainId: string;
|
|
585
633
|
/**
|
|
586
634
|
* A wallet address.
|
|
587
635
|
*/
|
|
588
636
|
address: string;
|
|
589
|
-
/**
|
|
590
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
591
|
-
*/
|
|
592
|
-
pageSize?: number;
|
|
593
637
|
/**
|
|
594
638
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
595
639
|
*/
|
|
596
640
|
pageToken?: string;
|
|
641
|
+
/**
|
|
642
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
643
|
+
*/
|
|
644
|
+
pageSize?: number;
|
|
597
645
|
/**
|
|
598
646
|
* A contract addresses to filter by.
|
|
599
647
|
*/
|
|
@@ -706,19 +754,19 @@ declare class EvmBlocksService {
|
|
|
706
754
|
* @returns ListEvmBlocksResponse
|
|
707
755
|
* @throws ApiError
|
|
708
756
|
*/
|
|
709
|
-
getLatestBlocks({ chainId,
|
|
757
|
+
getLatestBlocks({ chainId, pageToken, pageSize, }: {
|
|
710
758
|
/**
|
|
711
|
-
* 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.
|
|
712
760
|
*/
|
|
713
761
|
chainId: string;
|
|
714
|
-
/**
|
|
715
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
716
|
-
*/
|
|
717
|
-
pageSize?: number;
|
|
718
762
|
/**
|
|
719
763
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
720
764
|
*/
|
|
721
765
|
pageToken?: string;
|
|
766
|
+
/**
|
|
767
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
768
|
+
*/
|
|
769
|
+
pageSize?: number;
|
|
722
770
|
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
723
771
|
/**
|
|
724
772
|
* Get block
|
|
@@ -728,7 +776,7 @@ declare class EvmBlocksService {
|
|
|
728
776
|
*/
|
|
729
777
|
getBlock({ chainId, blockId, }: {
|
|
730
778
|
/**
|
|
731
|
-
* 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.
|
|
732
780
|
*/
|
|
733
781
|
chainId: string;
|
|
734
782
|
/**
|
|
@@ -738,6 +786,9 @@ declare class EvmBlocksService {
|
|
|
738
786
|
}): CancelablePromise<GetEvmBlockResponse>;
|
|
739
787
|
}
|
|
740
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
|
+
*/
|
|
741
792
|
declare enum ChainStatus {
|
|
742
793
|
OK = "OK",
|
|
743
794
|
UNAVAILABLE = "UNAVAILABLE"
|
|
@@ -775,9 +826,6 @@ declare enum VmName {
|
|
|
775
826
|
|
|
776
827
|
type GetChainResponse = {
|
|
777
828
|
chainId: string;
|
|
778
|
-
/**
|
|
779
|
-
* 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.
|
|
780
|
-
*/
|
|
781
829
|
status: ChainStatus;
|
|
782
830
|
chainName: string;
|
|
783
831
|
description: string;
|
|
@@ -793,13 +841,15 @@ type GetChainResponse = {
|
|
|
793
841
|
networkToken: NetworkToken;
|
|
794
842
|
chainLogoUri?: string;
|
|
795
843
|
private?: boolean;
|
|
844
|
+
enabledFeatures?: Array<'nftIndexing'>;
|
|
796
845
|
};
|
|
797
846
|
|
|
847
|
+
declare enum GlacierApiFeature {
|
|
848
|
+
NFT_INDEXING = "nftIndexing"
|
|
849
|
+
}
|
|
850
|
+
|
|
798
851
|
type ChainInfo = {
|
|
799
852
|
chainId: string;
|
|
800
|
-
/**
|
|
801
|
-
* 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.
|
|
802
|
-
*/
|
|
803
853
|
status: ChainStatus;
|
|
804
854
|
chainName: string;
|
|
805
855
|
description: string;
|
|
@@ -815,6 +865,7 @@ type ChainInfo = {
|
|
|
815
865
|
networkToken: NetworkToken;
|
|
816
866
|
chainLogoUri?: string;
|
|
817
867
|
private?: boolean;
|
|
868
|
+
enabledFeatures?: Array<'nftIndexing'>;
|
|
818
869
|
};
|
|
819
870
|
|
|
820
871
|
type ListChainsResponse = {
|
|
@@ -835,11 +886,15 @@ declare class EvmChainsService {
|
|
|
835
886
|
* @returns ListChainsResponse
|
|
836
887
|
* @throws ApiError
|
|
837
888
|
*/
|
|
838
|
-
supportedChains({ network, }: {
|
|
889
|
+
supportedChains({ network, feature, }: {
|
|
839
890
|
/**
|
|
840
891
|
* mainnet or testnet.
|
|
841
892
|
*/
|
|
842
893
|
network?: NetworkType;
|
|
894
|
+
/**
|
|
895
|
+
* Filter by feature.
|
|
896
|
+
*/
|
|
897
|
+
feature?: GlacierApiFeature;
|
|
843
898
|
}): CancelablePromise<ListChainsResponse>;
|
|
844
899
|
/**
|
|
845
900
|
* Get chain information
|
|
@@ -849,7 +904,7 @@ declare class EvmChainsService {
|
|
|
849
904
|
*/
|
|
850
905
|
getChainInfo({ chainId, }: {
|
|
851
906
|
/**
|
|
852
|
-
* 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.
|
|
853
908
|
*/
|
|
854
909
|
chainId: string;
|
|
855
910
|
}): CancelablePromise<GetChainResponse>;
|
|
@@ -1144,7 +1199,7 @@ declare class EvmContractsService {
|
|
|
1144
1199
|
*/
|
|
1145
1200
|
getContractMetadata({ chainId, address, }: {
|
|
1146
1201
|
/**
|
|
1147
|
-
* 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.
|
|
1148
1203
|
*/
|
|
1149
1204
|
chainId: string;
|
|
1150
1205
|
/**
|
|
@@ -1160,7 +1215,7 @@ declare class EvmContractsService {
|
|
|
1160
1215
|
*/
|
|
1161
1216
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1162
1217
|
/**
|
|
1163
|
-
* 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.
|
|
1164
1219
|
*/
|
|
1165
1220
|
chainId: string;
|
|
1166
1221
|
/**
|
|
@@ -1294,6 +1349,9 @@ type Erc721TransferDetails = {
|
|
|
1294
1349
|
erc721Token: Erc721Token;
|
|
1295
1350
|
};
|
|
1296
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
|
+
*/
|
|
1297
1355
|
declare enum TransactionMethodType {
|
|
1298
1356
|
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1299
1357
|
CONTRACT_CALL = "CONTRACT_CALL",
|
|
@@ -1301,9 +1359,6 @@ declare enum TransactionMethodType {
|
|
|
1301
1359
|
}
|
|
1302
1360
|
|
|
1303
1361
|
type Method = {
|
|
1304
|
-
/**
|
|
1305
|
-
* 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.
|
|
1306
|
-
*/
|
|
1307
1362
|
callType: TransactionMethodType;
|
|
1308
1363
|
/**
|
|
1309
1364
|
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
@@ -1664,7 +1719,7 @@ type ListTransfersResponse = {
|
|
|
1664
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.
|
|
1665
1720
|
*/
|
|
1666
1721
|
nextPageToken?: string;
|
|
1667
|
-
transfers:
|
|
1722
|
+
transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
|
|
1668
1723
|
};
|
|
1669
1724
|
|
|
1670
1725
|
declare enum SortOrder {
|
|
@@ -1688,7 +1743,7 @@ declare class EvmTransactionsService {
|
|
|
1688
1743
|
*/
|
|
1689
1744
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1690
1745
|
/**
|
|
1691
|
-
* 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.
|
|
1692
1747
|
*/
|
|
1693
1748
|
chainId: string;
|
|
1694
1749
|
/**
|
|
@@ -1706,23 +1761,23 @@ declare class EvmTransactionsService {
|
|
|
1706
1761
|
* @returns ListContractsResponse
|
|
1707
1762
|
* @throws ApiError
|
|
1708
1763
|
*/
|
|
1709
|
-
listContractDeployments({ chainId, address,
|
|
1764
|
+
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
1710
1765
|
/**
|
|
1711
|
-
* 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.
|
|
1712
1767
|
*/
|
|
1713
1768
|
chainId: string;
|
|
1714
1769
|
/**
|
|
1715
1770
|
* A wallet address.
|
|
1716
1771
|
*/
|
|
1717
1772
|
address: string;
|
|
1718
|
-
/**
|
|
1719
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1720
|
-
*/
|
|
1721
|
-
pageSize?: number;
|
|
1722
1773
|
/**
|
|
1723
1774
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1724
1775
|
*/
|
|
1725
1776
|
pageToken?: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1779
|
+
*/
|
|
1780
|
+
pageSize?: number;
|
|
1726
1781
|
}): CancelablePromise<ListContractsResponse>;
|
|
1727
1782
|
/**
|
|
1728
1783
|
* List ERC transfers
|
|
@@ -1730,9 +1785,9 @@ declare class EvmTransactionsService {
|
|
|
1730
1785
|
* @returns ListTransfersResponse
|
|
1731
1786
|
* @throws ApiError
|
|
1732
1787
|
*/
|
|
1733
|
-
listTransfers({ chainId, address, startBlock, endBlock,
|
|
1788
|
+
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1734
1789
|
/**
|
|
1735
|
-
* 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.
|
|
1736
1791
|
*/
|
|
1737
1792
|
chainId: string;
|
|
1738
1793
|
/**
|
|
@@ -1747,14 +1802,14 @@ declare class EvmTransactionsService {
|
|
|
1747
1802
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1748
1803
|
*/
|
|
1749
1804
|
endBlock?: number;
|
|
1750
|
-
/**
|
|
1751
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1752
|
-
*/
|
|
1753
|
-
pageSize?: number;
|
|
1754
1805
|
/**
|
|
1755
1806
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1756
1807
|
*/
|
|
1757
1808
|
pageToken?: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1811
|
+
*/
|
|
1812
|
+
pageSize?: number;
|
|
1758
1813
|
}): CancelablePromise<ListTransfersResponse>;
|
|
1759
1814
|
/**
|
|
1760
1815
|
* List transactions
|
|
@@ -1764,23 +1819,23 @@ declare class EvmTransactionsService {
|
|
|
1764
1819
|
* @returns ListTransactionDetailsResponse
|
|
1765
1820
|
* @throws ApiError
|
|
1766
1821
|
*/
|
|
1767
|
-
listTransactions({ chainId, address,
|
|
1822
|
+
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
1768
1823
|
/**
|
|
1769
|
-
* 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.
|
|
1770
1825
|
*/
|
|
1771
1826
|
chainId: string;
|
|
1772
1827
|
/**
|
|
1773
1828
|
* A wallet address.
|
|
1774
1829
|
*/
|
|
1775
1830
|
address: string;
|
|
1776
|
-
/**
|
|
1777
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1778
|
-
*/
|
|
1779
|
-
pageSize?: number;
|
|
1780
1831
|
/**
|
|
1781
1832
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1782
1833
|
*/
|
|
1783
1834
|
pageToken?: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1837
|
+
*/
|
|
1838
|
+
pageSize?: number;
|
|
1784
1839
|
/**
|
|
1785
1840
|
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
1786
1841
|
*/
|
|
@@ -1800,9 +1855,9 @@ declare class EvmTransactionsService {
|
|
|
1800
1855
|
* @returns ListNativeTransactionsResponse
|
|
1801
1856
|
* @throws ApiError
|
|
1802
1857
|
*/
|
|
1803
|
-
listNativeTransactions({ chainId, address, startBlock, endBlock,
|
|
1858
|
+
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1804
1859
|
/**
|
|
1805
|
-
* 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.
|
|
1806
1861
|
*/
|
|
1807
1862
|
chainId: string;
|
|
1808
1863
|
/**
|
|
@@ -1817,14 +1872,14 @@ declare class EvmTransactionsService {
|
|
|
1817
1872
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1818
1873
|
*/
|
|
1819
1874
|
endBlock?: number;
|
|
1820
|
-
/**
|
|
1821
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1822
|
-
*/
|
|
1823
|
-
pageSize?: number;
|
|
1824
1875
|
/**
|
|
1825
1876
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1826
1877
|
*/
|
|
1827
1878
|
pageToken?: string;
|
|
1879
|
+
/**
|
|
1880
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1881
|
+
*/
|
|
1882
|
+
pageSize?: number;
|
|
1828
1883
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1829
1884
|
/**
|
|
1830
1885
|
* List ERC-20 transfers
|
|
@@ -1832,9 +1887,9 @@ declare class EvmTransactionsService {
|
|
|
1832
1887
|
* @returns ListErc20TransactionsResponse
|
|
1833
1888
|
* @throws ApiError
|
|
1834
1889
|
*/
|
|
1835
|
-
listErc20Transactions({ chainId, address, startBlock, endBlock,
|
|
1890
|
+
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1836
1891
|
/**
|
|
1837
|
-
* 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.
|
|
1838
1893
|
*/
|
|
1839
1894
|
chainId: string;
|
|
1840
1895
|
/**
|
|
@@ -1849,14 +1904,14 @@ declare class EvmTransactionsService {
|
|
|
1849
1904
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1850
1905
|
*/
|
|
1851
1906
|
endBlock?: number;
|
|
1852
|
-
/**
|
|
1853
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1854
|
-
*/
|
|
1855
|
-
pageSize?: number;
|
|
1856
1907
|
/**
|
|
1857
1908
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1858
1909
|
*/
|
|
1859
1910
|
pageToken?: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1913
|
+
*/
|
|
1914
|
+
pageSize?: number;
|
|
1860
1915
|
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
1861
1916
|
/**
|
|
1862
1917
|
* List ERC-721 transfers
|
|
@@ -1864,9 +1919,9 @@ declare class EvmTransactionsService {
|
|
|
1864
1919
|
* @returns ListErc721TransactionsResponse
|
|
1865
1920
|
* @throws ApiError
|
|
1866
1921
|
*/
|
|
1867
|
-
listErc721Transactions({ chainId, address, startBlock, endBlock,
|
|
1922
|
+
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1868
1923
|
/**
|
|
1869
|
-
* 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.
|
|
1870
1925
|
*/
|
|
1871
1926
|
chainId: string;
|
|
1872
1927
|
/**
|
|
@@ -1881,14 +1936,14 @@ declare class EvmTransactionsService {
|
|
|
1881
1936
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1882
1937
|
*/
|
|
1883
1938
|
endBlock?: number;
|
|
1884
|
-
/**
|
|
1885
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1886
|
-
*/
|
|
1887
|
-
pageSize?: number;
|
|
1888
1939
|
/**
|
|
1889
1940
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1890
1941
|
*/
|
|
1891
1942
|
pageToken?: string;
|
|
1943
|
+
/**
|
|
1944
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1945
|
+
*/
|
|
1946
|
+
pageSize?: number;
|
|
1892
1947
|
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
1893
1948
|
/**
|
|
1894
1949
|
* List ERC-1155 transfers
|
|
@@ -1896,9 +1951,9 @@ declare class EvmTransactionsService {
|
|
|
1896
1951
|
* @returns ListErc1155TransactionsResponse
|
|
1897
1952
|
* @throws ApiError
|
|
1898
1953
|
*/
|
|
1899
|
-
listErc1155Transactions({ chainId, address, startBlock, endBlock,
|
|
1954
|
+
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1900
1955
|
/**
|
|
1901
|
-
* 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.
|
|
1902
1957
|
*/
|
|
1903
1958
|
chainId: string;
|
|
1904
1959
|
/**
|
|
@@ -1913,14 +1968,14 @@ declare class EvmTransactionsService {
|
|
|
1913
1968
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1914
1969
|
*/
|
|
1915
1970
|
endBlock?: number;
|
|
1916
|
-
/**
|
|
1917
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1918
|
-
*/
|
|
1919
|
-
pageSize?: number;
|
|
1920
1971
|
/**
|
|
1921
1972
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1922
1973
|
*/
|
|
1923
1974
|
pageToken?: string;
|
|
1975
|
+
/**
|
|
1976
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1977
|
+
*/
|
|
1978
|
+
pageSize?: number;
|
|
1924
1979
|
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
1925
1980
|
/**
|
|
1926
1981
|
* List internal transactions
|
|
@@ -1930,9 +1985,9 @@ declare class EvmTransactionsService {
|
|
|
1930
1985
|
* @returns ListInternalTransactionsResponse
|
|
1931
1986
|
* @throws ApiError
|
|
1932
1987
|
*/
|
|
1933
|
-
listInternalTransactions({ chainId, address, startBlock, endBlock,
|
|
1988
|
+
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1934
1989
|
/**
|
|
1935
|
-
* 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.
|
|
1936
1991
|
*/
|
|
1937
1992
|
chainId: string;
|
|
1938
1993
|
/**
|
|
@@ -1947,14 +2002,14 @@ declare class EvmTransactionsService {
|
|
|
1947
2002
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1948
2003
|
*/
|
|
1949
2004
|
endBlock?: number;
|
|
1950
|
-
/**
|
|
1951
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1952
|
-
*/
|
|
1953
|
-
pageSize?: number;
|
|
1954
2005
|
/**
|
|
1955
2006
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1956
2007
|
*/
|
|
1957
2008
|
pageToken?: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2011
|
+
*/
|
|
2012
|
+
pageSize?: number;
|
|
1958
2013
|
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
1959
2014
|
/**
|
|
1960
2015
|
* Get transaction
|
|
@@ -1964,7 +2019,7 @@ declare class EvmTransactionsService {
|
|
|
1964
2019
|
*/
|
|
1965
2020
|
getTransaction({ chainId, txHash, }: {
|
|
1966
2021
|
/**
|
|
1967
|
-
* 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.
|
|
1968
2023
|
*/
|
|
1969
2024
|
chainId: string;
|
|
1970
2025
|
/**
|
|
@@ -1980,7 +2035,7 @@ declare class EvmTransactionsService {
|
|
|
1980
2035
|
*/
|
|
1981
2036
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
1982
2037
|
/**
|
|
1983
|
-
* 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.
|
|
1984
2039
|
*/
|
|
1985
2040
|
chainId: string;
|
|
1986
2041
|
/**
|
|
@@ -1994,19 +2049,19 @@ declare class EvmTransactionsService {
|
|
|
1994
2049
|
* @returns ListNativeTransactionsResponse
|
|
1995
2050
|
* @throws ApiError
|
|
1996
2051
|
*/
|
|
1997
|
-
listLatestTransactions({ chainId,
|
|
2052
|
+
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
1998
2053
|
/**
|
|
1999
|
-
* 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.
|
|
2000
2055
|
*/
|
|
2001
2056
|
chainId: string;
|
|
2002
|
-
/**
|
|
2003
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2004
|
-
*/
|
|
2005
|
-
pageSize?: number;
|
|
2006
2057
|
/**
|
|
2007
2058
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2008
2059
|
*/
|
|
2009
2060
|
pageToken?: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2063
|
+
*/
|
|
2064
|
+
pageSize?: number;
|
|
2010
2065
|
/**
|
|
2011
2066
|
* A status filter for listed transactions.
|
|
2012
2067
|
*/
|
|
@@ -2035,7 +2090,7 @@ type ListNftTokens = {
|
|
|
2035
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.
|
|
2036
2091
|
*/
|
|
2037
2092
|
nextPageToken?: string;
|
|
2038
|
-
tokens:
|
|
2093
|
+
tokens: Array<(Erc721Token | Erc1155Token)>;
|
|
2039
2094
|
};
|
|
2040
2095
|
|
|
2041
2096
|
declare class NfTsService {
|
|
@@ -2049,7 +2104,7 @@ declare class NfTsService {
|
|
|
2049
2104
|
*/
|
|
2050
2105
|
reindexNft({ chainId, address, tokenId, }: {
|
|
2051
2106
|
/**
|
|
2052
|
-
* 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.
|
|
2053
2108
|
*/
|
|
2054
2109
|
chainId: string;
|
|
2055
2110
|
/**
|
|
@@ -2067,23 +2122,23 @@ declare class NfTsService {
|
|
|
2067
2122
|
* @returns ListNftTokens
|
|
2068
2123
|
* @throws ApiError
|
|
2069
2124
|
*/
|
|
2070
|
-
listTokens({ chainId, address,
|
|
2125
|
+
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2071
2126
|
/**
|
|
2072
|
-
* 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.
|
|
2073
2128
|
*/
|
|
2074
2129
|
chainId: string;
|
|
2075
2130
|
/**
|
|
2076
2131
|
* Contract address on the relevant chain.
|
|
2077
2132
|
*/
|
|
2078
2133
|
address: string;
|
|
2079
|
-
/**
|
|
2080
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2081
|
-
*/
|
|
2082
|
-
pageSize?: number;
|
|
2083
2134
|
/**
|
|
2084
2135
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2085
2136
|
*/
|
|
2086
2137
|
pageToken?: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2140
|
+
*/
|
|
2141
|
+
pageSize?: number;
|
|
2087
2142
|
}): CancelablePromise<ListNftTokens>;
|
|
2088
2143
|
/**
|
|
2089
2144
|
* Get token details
|
|
@@ -2093,7 +2148,7 @@ declare class NfTsService {
|
|
|
2093
2148
|
*/
|
|
2094
2149
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
2095
2150
|
/**
|
|
2096
|
-
* 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.
|
|
2097
2152
|
*/
|
|
2098
2153
|
chainId: string;
|
|
2099
2154
|
/**
|
|
@@ -2112,8 +2167,12 @@ type EvmNetworkOptions = {
|
|
|
2112
2167
|
includeChains: Array<string>;
|
|
2113
2168
|
};
|
|
2114
2169
|
|
|
2170
|
+
declare enum EVMOperationType {
|
|
2171
|
+
TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2115
2174
|
type CreateEvmTransactionExportRequest = {
|
|
2116
|
-
type:
|
|
2175
|
+
type: EVMOperationType;
|
|
2117
2176
|
firstDate: string;
|
|
2118
2177
|
lastDate: string;
|
|
2119
2178
|
/**
|
|
@@ -2126,10 +2185,11 @@ type CreateEvmTransactionExportRequest = {
|
|
|
2126
2185
|
endDate: string;
|
|
2127
2186
|
options: EvmNetworkOptions;
|
|
2128
2187
|
};
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
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"
|
|
2133
2193
|
}
|
|
2134
2194
|
|
|
2135
2195
|
type PrimaryNetworkOptions = {
|
|
@@ -2139,7 +2199,7 @@ type PrimaryNetworkOptions = {
|
|
|
2139
2199
|
};
|
|
2140
2200
|
|
|
2141
2201
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
2142
|
-
type:
|
|
2202
|
+
type: PrimaryNetworkOperationType;
|
|
2143
2203
|
firstDate: string;
|
|
2144
2204
|
lastDate: string;
|
|
2145
2205
|
/**
|
|
@@ -2152,11 +2212,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
|
|
|
2152
2212
|
endDate: string;
|
|
2153
2213
|
options: PrimaryNetworkOptions;
|
|
2154
2214
|
};
|
|
2155
|
-
declare namespace CreatePrimaryNetworkTransactionExportRequest {
|
|
2156
|
-
enum type {
|
|
2157
|
-
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
|
|
2158
|
-
}
|
|
2159
|
-
}
|
|
2160
2215
|
|
|
2161
2216
|
declare enum OperationStatus {
|
|
2162
2217
|
RUNNING = "RUNNING",
|
|
@@ -2166,8 +2221,10 @@ declare enum OperationStatus {
|
|
|
2166
2221
|
}
|
|
2167
2222
|
|
|
2168
2223
|
declare enum OperationType {
|
|
2169
|
-
|
|
2170
|
-
|
|
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"
|
|
2171
2228
|
}
|
|
2172
2229
|
|
|
2173
2230
|
declare enum OperationStatusCode {
|
|
@@ -2359,13 +2416,44 @@ type BlockchainInfo = {
|
|
|
2359
2416
|
blockchainId: string;
|
|
2360
2417
|
};
|
|
2361
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
|
+
|
|
2362
2434
|
type Subnet = {
|
|
2363
2435
|
createBlockTimestamp: number;
|
|
2364
2436
|
createBlockIndex: string;
|
|
2365
2437
|
subnetId: string;
|
|
2438
|
+
/**
|
|
2439
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2440
|
+
* @deprecated
|
|
2441
|
+
*/
|
|
2366
2442
|
ownerAddresses: Array<string>;
|
|
2443
|
+
/**
|
|
2444
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2445
|
+
* @deprecated
|
|
2446
|
+
*/
|
|
2367
2447
|
threshold: number;
|
|
2448
|
+
/**
|
|
2449
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2450
|
+
* @deprecated
|
|
2451
|
+
*/
|
|
2368
2452
|
locktime: number;
|
|
2453
|
+
/**
|
|
2454
|
+
* Latest subnet owner details for this Subnet.
|
|
2455
|
+
*/
|
|
2456
|
+
subnetOwnershipInfo: SubnetOwnershipInfo;
|
|
2369
2457
|
blockchains: Array<BlockchainInfo>;
|
|
2370
2458
|
};
|
|
2371
2459
|
|
|
@@ -2461,6 +2549,24 @@ declare namespace PendingValidatorDetails {
|
|
|
2461
2549
|
}
|
|
2462
2550
|
}
|
|
2463
2551
|
|
|
2552
|
+
type RemovedValidatorDetails = {
|
|
2553
|
+
txHash: string;
|
|
2554
|
+
nodeId: string;
|
|
2555
|
+
subnetId: string;
|
|
2556
|
+
amountStaked: string;
|
|
2557
|
+
delegationFee?: string;
|
|
2558
|
+
startTimestamp: number;
|
|
2559
|
+
endTimestamp: number;
|
|
2560
|
+
removeTxHash: string;
|
|
2561
|
+
removeTimestamp: number;
|
|
2562
|
+
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
2563
|
+
};
|
|
2564
|
+
declare namespace RemovedValidatorDetails {
|
|
2565
|
+
enum validationStatus {
|
|
2566
|
+
REMOVED = "removed"
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2464
2570
|
type ListValidatorDetailsResponse = {
|
|
2465
2571
|
/**
|
|
2466
2572
|
* 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.
|
|
@@ -2469,7 +2575,7 @@ type ListValidatorDetailsResponse = {
|
|
|
2469
2575
|
/**
|
|
2470
2576
|
* The list of validator Details.
|
|
2471
2577
|
*/
|
|
2472
|
-
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
|
|
2578
|
+
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
|
|
2473
2579
|
};
|
|
2474
2580
|
|
|
2475
2581
|
declare enum Network {
|
|
@@ -2480,7 +2586,24 @@ declare enum Network {
|
|
|
2480
2586
|
declare enum ValidationStatusType {
|
|
2481
2587
|
COMPLETED = "completed",
|
|
2482
2588
|
ACTIVE = "active",
|
|
2483
|
-
PENDING = "pending"
|
|
2589
|
+
PENDING = "pending",
|
|
2590
|
+
REMOVED = "removed"
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* Cap represents if an asset is a variable or fixed cap asset.
|
|
2595
|
+
*/
|
|
2596
|
+
declare enum PrimaryNetworkAssetCap {
|
|
2597
|
+
FIXED = "fixed",
|
|
2598
|
+
VARIABLE = "variable"
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
/**
|
|
2602
|
+
* Type of asset like SECP256K1 or NFT.
|
|
2603
|
+
*/
|
|
2604
|
+
declare enum PrimaryNetworkAssetType {
|
|
2605
|
+
SECP256K1 = "secp256k1",
|
|
2606
|
+
NFT = "nft"
|
|
2484
2607
|
}
|
|
2485
2608
|
|
|
2486
2609
|
type XChainAssetDetails = {
|
|
@@ -2500,18 +2623,12 @@ type XChainAssetDetails = {
|
|
|
2500
2623
|
* Denomination of this asset to represent fungibility.
|
|
2501
2624
|
*/
|
|
2502
2625
|
denomination: number;
|
|
2503
|
-
|
|
2504
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2505
|
-
*/
|
|
2506
|
-
type: string;
|
|
2626
|
+
type: PrimaryNetworkAssetType;
|
|
2507
2627
|
/**
|
|
2508
2628
|
* Timestamp in seconds this asset was created on.
|
|
2509
2629
|
*/
|
|
2510
2630
|
createdAtTimestamp: number;
|
|
2511
|
-
|
|
2512
|
-
* Cap represents if an asset can be or is fixed cap.
|
|
2513
|
-
*/
|
|
2514
|
-
cap: string;
|
|
2631
|
+
cap: PrimaryNetworkAssetCap;
|
|
2515
2632
|
};
|
|
2516
2633
|
|
|
2517
2634
|
declare enum XChainId {
|
|
@@ -2577,19 +2694,19 @@ declare class PrimaryNetworkService {
|
|
|
2577
2694
|
* @returns ListBlockchainsResponse
|
|
2578
2695
|
* @throws ApiError
|
|
2579
2696
|
*/
|
|
2580
|
-
listBlockchains({ network,
|
|
2697
|
+
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
2581
2698
|
/**
|
|
2582
2699
|
* Either mainnet or a testnet.
|
|
2583
2700
|
*/
|
|
2584
2701
|
network: Network;
|
|
2585
|
-
/**
|
|
2586
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2587
|
-
*/
|
|
2588
|
-
pageSize?: number;
|
|
2589
2702
|
/**
|
|
2590
2703
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2591
2704
|
*/
|
|
2592
2705
|
pageToken?: string;
|
|
2706
|
+
/**
|
|
2707
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2708
|
+
*/
|
|
2709
|
+
pageSize?: number;
|
|
2593
2710
|
/**
|
|
2594
2711
|
* 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.
|
|
2595
2712
|
*/
|
|
@@ -2601,19 +2718,19 @@ declare class PrimaryNetworkService {
|
|
|
2601
2718
|
* @returns ListSubnetsResponse
|
|
2602
2719
|
* @throws ApiError
|
|
2603
2720
|
*/
|
|
2604
|
-
listSubnets({ network,
|
|
2721
|
+
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
2605
2722
|
/**
|
|
2606
2723
|
* Either mainnet or a testnet.
|
|
2607
2724
|
*/
|
|
2608
2725
|
network: Network;
|
|
2609
|
-
/**
|
|
2610
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2611
|
-
*/
|
|
2612
|
-
pageSize?: number;
|
|
2613
2726
|
/**
|
|
2614
2727
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2615
2728
|
*/
|
|
2616
2729
|
pageToken?: string;
|
|
2730
|
+
/**
|
|
2731
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2732
|
+
*/
|
|
2733
|
+
pageSize?: number;
|
|
2617
2734
|
/**
|
|
2618
2735
|
* 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.
|
|
2619
2736
|
*/
|
|
@@ -2625,55 +2742,55 @@ declare class PrimaryNetworkService {
|
|
|
2625
2742
|
* @returns ListValidatorDetailsResponse
|
|
2626
2743
|
* @throws ApiError
|
|
2627
2744
|
*/
|
|
2628
|
-
listValidators({ network, pageSize,
|
|
2745
|
+
listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
|
|
2629
2746
|
/**
|
|
2630
2747
|
* Either mainnet or a testnet.
|
|
2631
2748
|
*/
|
|
2632
2749
|
network: Network;
|
|
2633
|
-
/**
|
|
2634
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2635
|
-
*/
|
|
2636
|
-
pageSize?: number;
|
|
2637
2750
|
/**
|
|
2638
2751
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2639
2752
|
*/
|
|
2640
2753
|
pageToken?: string;
|
|
2641
2754
|
/**
|
|
2642
|
-
* The
|
|
2755
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2643
2756
|
*/
|
|
2644
|
-
|
|
2757
|
+
pageSize?: number;
|
|
2645
2758
|
/**
|
|
2646
|
-
*
|
|
2759
|
+
* A comma separated list of node ids to filter by.
|
|
2647
2760
|
*/
|
|
2648
|
-
|
|
2761
|
+
nodeIds?: string;
|
|
2649
2762
|
/**
|
|
2650
|
-
* The
|
|
2763
|
+
* 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.
|
|
2651
2764
|
*/
|
|
2652
|
-
|
|
2765
|
+
sortOrder?: SortOrder;
|
|
2653
2766
|
/**
|
|
2654
|
-
*
|
|
2767
|
+
* Validation status of the node.
|
|
2655
2768
|
*/
|
|
2656
|
-
|
|
2769
|
+
validationStatus?: ValidationStatusType;
|
|
2657
2770
|
/**
|
|
2658
|
-
* The minimum
|
|
2771
|
+
* The minimum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000
|
|
2659
2772
|
*/
|
|
2660
|
-
|
|
2773
|
+
minDelegationCapacity?: string;
|
|
2661
2774
|
/**
|
|
2662
|
-
* The maximum
|
|
2775
|
+
* The maximum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000.
|
|
2663
2776
|
*/
|
|
2664
|
-
|
|
2777
|
+
maxDelegationCapacity?: string;
|
|
2665
2778
|
/**
|
|
2666
|
-
*
|
|
2779
|
+
* The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2667
2780
|
*/
|
|
2668
|
-
|
|
2781
|
+
minTimeRemaining?: number;
|
|
2669
2782
|
/**
|
|
2670
|
-
* The
|
|
2783
|
+
* The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2671
2784
|
*/
|
|
2672
|
-
|
|
2785
|
+
maxTimeRemaining?: number;
|
|
2673
2786
|
/**
|
|
2674
|
-
*
|
|
2787
|
+
* 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.
|
|
2675
2788
|
*/
|
|
2676
|
-
|
|
2789
|
+
minFeePercentage?: number;
|
|
2790
|
+
/**
|
|
2791
|
+
* 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.
|
|
2792
|
+
*/
|
|
2793
|
+
maxFeePercentage?: number;
|
|
2677
2794
|
/**
|
|
2678
2795
|
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
2679
2796
|
*/
|
|
@@ -2685,7 +2802,7 @@ declare class PrimaryNetworkService {
|
|
|
2685
2802
|
* @returns ListValidatorDetailsResponse
|
|
2686
2803
|
* @throws ApiError
|
|
2687
2804
|
*/
|
|
2688
|
-
getSingleValidatorDetails({ network, nodeId,
|
|
2805
|
+
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
|
|
2689
2806
|
/**
|
|
2690
2807
|
* Either mainnet or a testnet.
|
|
2691
2808
|
*/
|
|
@@ -2694,14 +2811,14 @@ declare class PrimaryNetworkService {
|
|
|
2694
2811
|
* A primary network (P or X chain) nodeId.
|
|
2695
2812
|
*/
|
|
2696
2813
|
nodeId: string;
|
|
2697
|
-
/**
|
|
2698
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2699
|
-
*/
|
|
2700
|
-
pageSize?: number;
|
|
2701
2814
|
/**
|
|
2702
2815
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2703
2816
|
*/
|
|
2704
2817
|
pageToken?: string;
|
|
2818
|
+
/**
|
|
2819
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2820
|
+
*/
|
|
2821
|
+
pageSize?: number;
|
|
2705
2822
|
/**
|
|
2706
2823
|
* 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.
|
|
2707
2824
|
*/
|
|
@@ -2717,19 +2834,19 @@ declare class PrimaryNetworkService {
|
|
|
2717
2834
|
* @returns ListDelegatorDetailsResponse
|
|
2718
2835
|
* @throws ApiError
|
|
2719
2836
|
*/
|
|
2720
|
-
listDelegators({ network,
|
|
2837
|
+
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
2721
2838
|
/**
|
|
2722
2839
|
* Either mainnet or a testnet.
|
|
2723
2840
|
*/
|
|
2724
2841
|
network: Network;
|
|
2725
|
-
/**
|
|
2726
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2727
|
-
*/
|
|
2728
|
-
pageSize?: number;
|
|
2729
2842
|
/**
|
|
2730
2843
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2731
2844
|
*/
|
|
2732
2845
|
pageToken?: string;
|
|
2846
|
+
/**
|
|
2847
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2848
|
+
*/
|
|
2849
|
+
pageSize?: number;
|
|
2733
2850
|
/**
|
|
2734
2851
|
* A comma separated list of reward addresses to filter by.
|
|
2735
2852
|
*/
|
|
@@ -2777,10 +2894,7 @@ type CChainSharedAssetBalance = {
|
|
|
2777
2894
|
* Denomination of this asset to represent fungibility.
|
|
2778
2895
|
*/
|
|
2779
2896
|
denomination: number;
|
|
2780
|
-
|
|
2781
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2782
|
-
*/
|
|
2783
|
-
type: string;
|
|
2897
|
+
type: PrimaryNetworkAssetType;
|
|
2784
2898
|
/**
|
|
2785
2899
|
* Amount of the asset.
|
|
2786
2900
|
*/
|
|
@@ -2815,49 +2929,89 @@ type ListCChainAtomicBalancesResponse = {
|
|
|
2815
2929
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2816
2930
|
};
|
|
2817
2931
|
|
|
2818
|
-
type
|
|
2932
|
+
type AggregatedAssetAmount = {
|
|
2933
|
+
/**
|
|
2934
|
+
* Unique ID for an asset.
|
|
2935
|
+
*/
|
|
2819
2936
|
assetId: string;
|
|
2937
|
+
/**
|
|
2938
|
+
* Name of this asset.
|
|
2939
|
+
*/
|
|
2940
|
+
name: string;
|
|
2941
|
+
/**
|
|
2942
|
+
* Symbol for this asset (max 4 characters).
|
|
2943
|
+
*/
|
|
2944
|
+
symbol: string;
|
|
2945
|
+
/**
|
|
2946
|
+
* Denomination of this asset to represent fungibility.
|
|
2947
|
+
*/
|
|
2948
|
+
denomination: number;
|
|
2949
|
+
type: PrimaryNetworkAssetType;
|
|
2950
|
+
/**
|
|
2951
|
+
* Amount of the asset.
|
|
2952
|
+
*/
|
|
2820
2953
|
amount: string;
|
|
2954
|
+
utxoCount: number;
|
|
2821
2955
|
};
|
|
2822
2956
|
|
|
2823
2957
|
type PChainSharedAsset = {
|
|
2958
|
+
/**
|
|
2959
|
+
* Unique ID for an asset.
|
|
2960
|
+
*/
|
|
2824
2961
|
assetId: string;
|
|
2962
|
+
/**
|
|
2963
|
+
* Name of this asset.
|
|
2964
|
+
*/
|
|
2965
|
+
name: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* Symbol for this asset (max 4 characters).
|
|
2968
|
+
*/
|
|
2969
|
+
symbol: string;
|
|
2970
|
+
/**
|
|
2971
|
+
* Denomination of this asset to represent fungibility.
|
|
2972
|
+
*/
|
|
2973
|
+
denomination: number;
|
|
2974
|
+
type: PrimaryNetworkAssetType;
|
|
2975
|
+
/**
|
|
2976
|
+
* Amount of the asset.
|
|
2977
|
+
*/
|
|
2825
2978
|
amount: string;
|
|
2979
|
+
utxoCount: number;
|
|
2826
2980
|
sharedWithChainId: string;
|
|
2827
2981
|
status: string;
|
|
2828
2982
|
};
|
|
2829
2983
|
|
|
2830
2984
|
type PChainBalance = {
|
|
2831
2985
|
/**
|
|
2832
|
-
* 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.
|
|
2833
2987
|
*/
|
|
2834
|
-
unlockedUnstaked: Array<
|
|
2988
|
+
unlockedUnstaked: Array<AggregatedAssetAmount>;
|
|
2835
2989
|
/**
|
|
2836
|
-
* 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.
|
|
2837
2991
|
*/
|
|
2838
|
-
unlockedStaked: Array<
|
|
2992
|
+
unlockedStaked: Array<AggregatedAssetAmount>;
|
|
2839
2993
|
/**
|
|
2840
|
-
* 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.
|
|
2841
2995
|
*/
|
|
2842
|
-
lockedPlatform: Array<
|
|
2996
|
+
lockedPlatform: Array<AggregatedAssetAmount>;
|
|
2843
2997
|
/**
|
|
2844
|
-
* 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.
|
|
2845
2999
|
*/
|
|
2846
|
-
lockedStakeable: Array<
|
|
3000
|
+
lockedStakeable: Array<AggregatedAssetAmount>;
|
|
2847
3001
|
/**
|
|
2848
|
-
* 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.
|
|
2849
3003
|
*/
|
|
2850
|
-
lockedStaked: Array<
|
|
3004
|
+
lockedStaked: Array<AggregatedAssetAmount>;
|
|
2851
3005
|
/**
|
|
2852
|
-
* 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.
|
|
2853
3007
|
*/
|
|
2854
|
-
pendingStaked: Array<
|
|
3008
|
+
pendingStaked: Array<AggregatedAssetAmount>;
|
|
2855
3009
|
/**
|
|
2856
|
-
* 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.
|
|
2857
3011
|
*/
|
|
2858
3012
|
atomicMemoryUnlocked: Array<PChainSharedAsset>;
|
|
2859
3013
|
/**
|
|
2860
|
-
* 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.
|
|
2861
3015
|
*/
|
|
2862
3016
|
atomicMemoryLocked: Array<PChainSharedAsset>;
|
|
2863
3017
|
};
|
|
@@ -2867,34 +3021,6 @@ type ListPChainBalancesResponse = {
|
|
|
2867
3021
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2868
3022
|
};
|
|
2869
3023
|
|
|
2870
|
-
type XChainAssetBalance = {
|
|
2871
|
-
/**
|
|
2872
|
-
* Unique ID for an asset.
|
|
2873
|
-
*/
|
|
2874
|
-
assetId: string;
|
|
2875
|
-
/**
|
|
2876
|
-
* Name of this asset.
|
|
2877
|
-
*/
|
|
2878
|
-
name: string;
|
|
2879
|
-
/**
|
|
2880
|
-
* Symbol for this asset (max 4 characters).
|
|
2881
|
-
*/
|
|
2882
|
-
symbol: string;
|
|
2883
|
-
/**
|
|
2884
|
-
* Denomination of this asset to represent fungibility.
|
|
2885
|
-
*/
|
|
2886
|
-
denomination: number;
|
|
2887
|
-
/**
|
|
2888
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2889
|
-
*/
|
|
2890
|
-
type: string;
|
|
2891
|
-
/**
|
|
2892
|
-
* Amount of the asset.
|
|
2893
|
-
*/
|
|
2894
|
-
amount: string;
|
|
2895
|
-
utxoCount: number;
|
|
2896
|
-
};
|
|
2897
|
-
|
|
2898
3024
|
type XChainSharedAssetBalance = {
|
|
2899
3025
|
/**
|
|
2900
3026
|
* Unique ID for an asset.
|
|
@@ -2912,10 +3038,7 @@ type XChainSharedAssetBalance = {
|
|
|
2912
3038
|
* Denomination of this asset to represent fungibility.
|
|
2913
3039
|
*/
|
|
2914
3040
|
denomination: number;
|
|
2915
|
-
|
|
2916
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2917
|
-
*/
|
|
2918
|
-
type: string;
|
|
3041
|
+
type: PrimaryNetworkAssetType;
|
|
2919
3042
|
/**
|
|
2920
3043
|
* Amount of the asset.
|
|
2921
3044
|
*/
|
|
@@ -2928,11 +3051,11 @@ type XChainBalances = {
|
|
|
2928
3051
|
/**
|
|
2929
3052
|
* A list of objects containing X-chain Asset balance information.
|
|
2930
3053
|
*/
|
|
2931
|
-
locked: Array<
|
|
3054
|
+
locked: Array<AggregatedAssetAmount>;
|
|
2932
3055
|
/**
|
|
2933
3056
|
* A list of objects containing X-chain Asset balance information.
|
|
2934
3057
|
*/
|
|
2935
|
-
unlocked: Array<
|
|
3058
|
+
unlocked: Array<AggregatedAssetAmount>;
|
|
2936
3059
|
atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
|
|
2937
3060
|
atomicMemoryLocked: Array<XChainSharedAssetBalance>;
|
|
2938
3061
|
};
|
|
@@ -3045,7 +3168,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3045
3168
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3046
3169
|
* @throws ApiError
|
|
3047
3170
|
*/
|
|
3048
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId,
|
|
3171
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
3049
3172
|
/**
|
|
3050
3173
|
* A primary network blockchain id or alias.
|
|
3051
3174
|
*/
|
|
@@ -3058,14 +3181,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3058
3181
|
* A primary network (P or X chain) nodeId.
|
|
3059
3182
|
*/
|
|
3060
3183
|
nodeId: string;
|
|
3061
|
-
/**
|
|
3062
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3063
|
-
*/
|
|
3064
|
-
pageSize?: number;
|
|
3065
3184
|
/**
|
|
3066
3185
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3067
3186
|
*/
|
|
3068
3187
|
pageToken?: string;
|
|
3188
|
+
/**
|
|
3189
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3190
|
+
*/
|
|
3191
|
+
pageSize?: number;
|
|
3069
3192
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3070
3193
|
/**
|
|
3071
3194
|
* List latest blocks
|
|
@@ -3073,7 +3196,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3073
3196
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3074
3197
|
* @throws ApiError
|
|
3075
3198
|
*/
|
|
3076
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network,
|
|
3199
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
3077
3200
|
/**
|
|
3078
3201
|
* A primary network blockchain id or alias.
|
|
3079
3202
|
*/
|
|
@@ -3082,17 +3205,45 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3082
3205
|
* Either mainnet or a testnet.
|
|
3083
3206
|
*/
|
|
3084
3207
|
network: Network;
|
|
3085
|
-
/**
|
|
3086
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3087
|
-
*/
|
|
3088
|
-
pageSize?: number;
|
|
3089
3208
|
/**
|
|
3090
3209
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3091
3210
|
*/
|
|
3092
3211
|
pageToken?: string;
|
|
3212
|
+
/**
|
|
3213
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3214
|
+
*/
|
|
3215
|
+
pageSize?: number;
|
|
3093
3216
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3094
3217
|
}
|
|
3095
3218
|
|
|
3219
|
+
type AssetWithPriceInfo = {
|
|
3220
|
+
/**
|
|
3221
|
+
* Unique ID for an asset.
|
|
3222
|
+
*/
|
|
3223
|
+
assetId: string;
|
|
3224
|
+
/**
|
|
3225
|
+
* Name of this asset.
|
|
3226
|
+
*/
|
|
3227
|
+
name: string;
|
|
3228
|
+
/**
|
|
3229
|
+
* Symbol for this asset (max 4 characters).
|
|
3230
|
+
*/
|
|
3231
|
+
symbol: string;
|
|
3232
|
+
/**
|
|
3233
|
+
* Denomination of this asset to represent fungibility.
|
|
3234
|
+
*/
|
|
3235
|
+
denomination: number;
|
|
3236
|
+
type: PrimaryNetworkAssetType;
|
|
3237
|
+
/**
|
|
3238
|
+
* Amount of the asset.
|
|
3239
|
+
*/
|
|
3240
|
+
amount: string;
|
|
3241
|
+
/**
|
|
3242
|
+
* The historical asset price at the time the reward was granted, if available. Note, this is only provided if the reward occured more than 24 hours ago.
|
|
3243
|
+
*/
|
|
3244
|
+
historicalPrice?: Money;
|
|
3245
|
+
};
|
|
3246
|
+
|
|
3096
3247
|
declare enum RewardType {
|
|
3097
3248
|
VALIDATOR = "VALIDATOR",
|
|
3098
3249
|
DELEGATOR = "DELEGATOR",
|
|
@@ -3112,10 +3263,7 @@ type HistoricalReward = {
|
|
|
3112
3263
|
rewardType: RewardType;
|
|
3113
3264
|
utxoId: string;
|
|
3114
3265
|
outputIndex: number;
|
|
3115
|
-
|
|
3116
|
-
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
3117
|
-
*/
|
|
3118
|
-
reward: PChainAsset;
|
|
3266
|
+
reward: AssetWithPriceInfo;
|
|
3119
3267
|
rewardTxHash: string;
|
|
3120
3268
|
};
|
|
3121
3269
|
|
|
@@ -3127,6 +3275,30 @@ type ListHistoricalRewardsResponse = {
|
|
|
3127
3275
|
historicalRewards: Array<HistoricalReward>;
|
|
3128
3276
|
};
|
|
3129
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
|
+
|
|
3130
3302
|
type PendingReward = {
|
|
3131
3303
|
/**
|
|
3132
3304
|
* An array of P-Chain wallet addresses.
|
|
@@ -3140,9 +3312,9 @@ type PendingReward = {
|
|
|
3140
3312
|
rewardType: RewardType;
|
|
3141
3313
|
progress: number;
|
|
3142
3314
|
/**
|
|
3143
|
-
* An object containing P-chain Asset
|
|
3315
|
+
* An object containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3144
3316
|
*/
|
|
3145
|
-
estimatedReward:
|
|
3317
|
+
estimatedReward: AssetAmount;
|
|
3146
3318
|
};
|
|
3147
3319
|
|
|
3148
3320
|
type ListPendingRewardsResponse = {
|
|
@@ -3162,25 +3334,25 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3162
3334
|
* @returns ListPendingRewardsResponse
|
|
3163
3335
|
* @throws ApiError
|
|
3164
3336
|
*/
|
|
3165
|
-
listPendingPrimaryNetworkRewards({ network, addresses,
|
|
3337
|
+
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
3166
3338
|
/**
|
|
3167
3339
|
* Either mainnet or a testnet.
|
|
3168
3340
|
*/
|
|
3169
3341
|
network: Network;
|
|
3170
3342
|
/**
|
|
3171
|
-
* 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.
|
|
3172
3344
|
*/
|
|
3173
3345
|
addresses?: string;
|
|
3174
|
-
/**
|
|
3175
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3176
|
-
*/
|
|
3177
|
-
pageSize?: number;
|
|
3178
3346
|
/**
|
|
3179
3347
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3180
3348
|
*/
|
|
3181
3349
|
pageToken?: string;
|
|
3182
3350
|
/**
|
|
3183
|
-
*
|
|
3351
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3352
|
+
*/
|
|
3353
|
+
pageSize?: number;
|
|
3354
|
+
/**
|
|
3355
|
+
* A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
|
|
3184
3356
|
*/
|
|
3185
3357
|
nodeIds?: string;
|
|
3186
3358
|
/**
|
|
@@ -3194,68 +3366,45 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3194
3366
|
* @returns ListHistoricalRewardsResponse
|
|
3195
3367
|
* @throws ApiError
|
|
3196
3368
|
*/
|
|
3197
|
-
listHistoricalPrimaryNetworkRewards({ network, addresses,
|
|
3369
|
+
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
3198
3370
|
/**
|
|
3199
3371
|
* Either mainnet or a testnet.
|
|
3200
3372
|
*/
|
|
3201
3373
|
network: Network;
|
|
3202
3374
|
/**
|
|
3203
|
-
* 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".
|
|
3375
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Optional, but at least one of addresses or nodeIds is required.
|
|
3204
3376
|
*/
|
|
3205
3377
|
addresses?: string;
|
|
3206
|
-
/**
|
|
3207
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3208
|
-
*/
|
|
3209
|
-
pageSize?: number;
|
|
3210
3378
|
/**
|
|
3211
3379
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3212
3380
|
*/
|
|
3213
3381
|
pageToken?: string;
|
|
3214
3382
|
/**
|
|
3215
|
-
*
|
|
3383
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3384
|
+
*/
|
|
3385
|
+
pageSize?: number;
|
|
3386
|
+
/**
|
|
3387
|
+
* A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
|
|
3216
3388
|
*/
|
|
3217
3389
|
nodeIds?: string;
|
|
3218
3390
|
/**
|
|
3219
3391
|
* 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.
|
|
3220
3392
|
*/
|
|
3221
3393
|
sortOrder?: SortOrder;
|
|
3394
|
+
/**
|
|
3395
|
+
* The currency that return values should use. Defaults to USD.
|
|
3396
|
+
*/
|
|
3397
|
+
currency?: CurrencyCode;
|
|
3222
3398
|
}): CancelablePromise<ListHistoricalRewardsResponse>;
|
|
3223
3399
|
}
|
|
3224
3400
|
|
|
3225
|
-
type Asset = {
|
|
3226
|
-
/**
|
|
3227
|
-
* Unique ID for an asset.
|
|
3228
|
-
*/
|
|
3229
|
-
assetId: string;
|
|
3230
|
-
/**
|
|
3231
|
-
* Name of this asset.
|
|
3232
|
-
*/
|
|
3233
|
-
name: string;
|
|
3234
|
-
/**
|
|
3235
|
-
* Symbol for this asset (max 4 characters).
|
|
3236
|
-
*/
|
|
3237
|
-
symbol: string;
|
|
3238
|
-
/**
|
|
3239
|
-
* Denomination of this asset to represent fungibility.
|
|
3240
|
-
*/
|
|
3241
|
-
denomination: number;
|
|
3242
|
-
/**
|
|
3243
|
-
* Type of asset like SECP256K1 or NFT.
|
|
3244
|
-
*/
|
|
3245
|
-
type: string;
|
|
3246
|
-
/**
|
|
3247
|
-
* Amount of the asset.
|
|
3248
|
-
*/
|
|
3249
|
-
amount: string;
|
|
3250
|
-
};
|
|
3251
|
-
|
|
3252
3401
|
type UtxoCredential = {
|
|
3253
3402
|
/**
|
|
3254
|
-
* Signature provided to consume the output
|
|
3403
|
+
* Signature provided to consume the output.
|
|
3255
3404
|
*/
|
|
3256
3405
|
signature?: string;
|
|
3257
3406
|
/**
|
|
3258
|
-
* Public key associated with the signature
|
|
3407
|
+
* Public key associated with the signature.
|
|
3259
3408
|
*/
|
|
3260
3409
|
publicKey?: string;
|
|
3261
3410
|
};
|
|
@@ -3266,9 +3415,9 @@ type EVMInput = {
|
|
|
3266
3415
|
*/
|
|
3267
3416
|
fromAddress: string;
|
|
3268
3417
|
/**
|
|
3269
|
-
*
|
|
3418
|
+
* AssetAmount details for the asset being transferred.
|
|
3270
3419
|
*/
|
|
3271
|
-
asset:
|
|
3420
|
+
asset: AssetAmount;
|
|
3272
3421
|
/**
|
|
3273
3422
|
* Credentials that signed this transaction.
|
|
3274
3423
|
*/
|
|
@@ -3277,66 +3426,66 @@ type EVMInput = {
|
|
|
3277
3426
|
|
|
3278
3427
|
type Utxo = {
|
|
3279
3428
|
/**
|
|
3280
|
-
*
|
|
3429
|
+
* Addresses that are eligible to sign the consumption of this output.
|
|
3281
3430
|
*/
|
|
3282
|
-
|
|
3283
|
-
asset:
|
|
3431
|
+
addresses: Array<string>;
|
|
3432
|
+
asset: AssetAmount;
|
|
3284
3433
|
/**
|
|
3285
|
-
*
|
|
3434
|
+
* Blockchain ID on which this output is consumed on.
|
|
3286
3435
|
*/
|
|
3287
|
-
|
|
3436
|
+
consumedOnChainId: string;
|
|
3437
|
+
/**
|
|
3438
|
+
* Transaction ID that consumed this output.
|
|
3439
|
+
*/
|
|
3440
|
+
consumingTxHash?: string;
|
|
3288
3441
|
/**
|
|
3289
3442
|
* Blockchain ID on which this output is created on.
|
|
3290
3443
|
*/
|
|
3291
3444
|
createdOnChainId: string;
|
|
3292
3445
|
/**
|
|
3293
|
-
*
|
|
3446
|
+
* UTXO ID for this output.
|
|
3294
3447
|
*/
|
|
3295
|
-
|
|
3448
|
+
utxoId: string;
|
|
3296
3449
|
/**
|
|
3297
|
-
*
|
|
3450
|
+
* Unix timestamp in seconds at which this output was consumed.
|
|
3298
3451
|
*/
|
|
3299
|
-
|
|
3300
|
-
/**
|
|
3301
|
-
* Transaction ID that consumed this output.
|
|
3302
|
-
*/
|
|
3303
|
-
consumingTxHash?: string;
|
|
3452
|
+
consumingTxTimestamp?: number;
|
|
3304
3453
|
/**
|
|
3305
|
-
*
|
|
3454
|
+
* Transaction ID that created this output.
|
|
3306
3455
|
*/
|
|
3307
|
-
|
|
3456
|
+
creationTxHash: string;
|
|
3308
3457
|
/**
|
|
3309
|
-
*
|
|
3458
|
+
* Credentials that signed the transaction to consume this utxo
|
|
3310
3459
|
*/
|
|
3311
|
-
|
|
3460
|
+
credentials?: Array<UtxoCredential>;
|
|
3312
3461
|
/**
|
|
3313
|
-
*
|
|
3462
|
+
* Index representing the minting set for the NFT mint output.
|
|
3314
3463
|
*/
|
|
3315
|
-
|
|
3464
|
+
groupId?: number;
|
|
3316
3465
|
/**
|
|
3317
3466
|
* Locktime in seconds after which this output can be consumed.
|
|
3318
3467
|
*/
|
|
3319
3468
|
locktime: number;
|
|
3320
3469
|
/**
|
|
3321
|
-
*
|
|
3470
|
+
* Postion of this output in a list of lexiographically sorted outputs of a transaction.
|
|
3322
3471
|
*/
|
|
3323
|
-
|
|
3472
|
+
outputIndex: string;
|
|
3324
3473
|
/**
|
|
3325
|
-
*
|
|
3474
|
+
* Hex encoded data for NFT assets.
|
|
3326
3475
|
*/
|
|
3327
|
-
|
|
3476
|
+
payload?: string;
|
|
3328
3477
|
/**
|
|
3329
|
-
*
|
|
3478
|
+
* Minimum number of signatures required to consume this output.
|
|
3330
3479
|
*/
|
|
3331
|
-
|
|
3480
|
+
threshold: number;
|
|
3332
3481
|
/**
|
|
3333
|
-
*
|
|
3482
|
+
* Unix timestamp in seconds at which this outptut was created.
|
|
3334
3483
|
*/
|
|
3335
|
-
|
|
3484
|
+
timestamp: number;
|
|
3336
3485
|
/**
|
|
3337
|
-
*
|
|
3486
|
+
* Type of output.
|
|
3338
3487
|
*/
|
|
3339
|
-
|
|
3488
|
+
utxoType: string;
|
|
3340
3489
|
};
|
|
3341
3490
|
|
|
3342
3491
|
type CChainExportTransaction = {
|
|
@@ -3363,11 +3512,11 @@ type CChainExportTransaction = {
|
|
|
3363
3512
|
/**
|
|
3364
3513
|
* Assets unlocked by inputs of this transaction.
|
|
3365
3514
|
*/
|
|
3366
|
-
amountUnlocked: Array<
|
|
3515
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3367
3516
|
/**
|
|
3368
3517
|
* Assets created by outputs of this transaction.
|
|
3369
3518
|
*/
|
|
3370
|
-
amountCreated: Array<
|
|
3519
|
+
amountCreated: Array<AssetAmount>;
|
|
3371
3520
|
/**
|
|
3372
3521
|
* Source chain for an atomic transaction.
|
|
3373
3522
|
*/
|
|
@@ -3398,9 +3547,9 @@ type EVMOutput = {
|
|
|
3398
3547
|
*/
|
|
3399
3548
|
toAddress: string;
|
|
3400
3549
|
/**
|
|
3401
|
-
*
|
|
3550
|
+
* AssetAmount details for the asset being transferred.
|
|
3402
3551
|
*/
|
|
3403
|
-
asset:
|
|
3552
|
+
asset: AssetAmount;
|
|
3404
3553
|
};
|
|
3405
3554
|
|
|
3406
3555
|
type CChainImportTransaction = {
|
|
@@ -3427,11 +3576,11 @@ type CChainImportTransaction = {
|
|
|
3427
3576
|
/**
|
|
3428
3577
|
* Assets unlocked by inputs of this transaction.
|
|
3429
3578
|
*/
|
|
3430
|
-
amountUnlocked: Array<
|
|
3579
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3431
3580
|
/**
|
|
3432
3581
|
* Assets created by outputs of this transaction.
|
|
3433
3582
|
*/
|
|
3434
|
-
amountCreated: Array<
|
|
3583
|
+
amountCreated: Array<AssetAmount>;
|
|
3435
3584
|
/**
|
|
3436
3585
|
* Source chain for an atomic transaction.
|
|
3437
3586
|
*/
|
|
@@ -3467,17 +3616,20 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
3467
3616
|
|
|
3468
3617
|
declare enum PChainTransactionType {
|
|
3469
3618
|
ADD_VALIDATOR_TX = "AddValidatorTx",
|
|
3470
|
-
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3471
|
-
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3472
|
-
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3473
3619
|
ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
|
|
3474
|
-
|
|
3475
|
-
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3620
|
+
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3476
3621
|
CREATE_CHAIN_TX = "CreateChainTx",
|
|
3477
3622
|
CREATE_SUBNET_TX = "CreateSubnetTx",
|
|
3478
3623
|
IMPORT_TX = "ImportTx",
|
|
3479
3624
|
EXPORT_TX = "ExportTx",
|
|
3480
3625
|
ADVANCE_TIME_TX = "AdvanceTimeTx",
|
|
3626
|
+
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3627
|
+
REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
|
|
3628
|
+
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3629
|
+
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3630
|
+
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3631
|
+
BASE_TX = "BaseTx",
|
|
3632
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3481
3633
|
UNKNOWN = "UNKNOWN"
|
|
3482
3634
|
}
|
|
3483
3635
|
|
|
@@ -3488,29 +3640,48 @@ declare enum UtxoType {
|
|
|
3488
3640
|
|
|
3489
3641
|
type PChainUtxo = {
|
|
3490
3642
|
/**
|
|
3491
|
-
*
|
|
3643
|
+
* Addresses that are eligible to sign the consumption of this output.
|
|
3492
3644
|
*/
|
|
3493
3645
|
addresses: Array<string>;
|
|
3646
|
+
asset: AssetAmount;
|
|
3647
|
+
/**
|
|
3648
|
+
* Blockchain ID on which this output is consumed on.
|
|
3649
|
+
*/
|
|
3650
|
+
consumedOnChainId: string;
|
|
3651
|
+
/**
|
|
3652
|
+
* Transaction ID that consumed this output.
|
|
3653
|
+
*/
|
|
3654
|
+
consumingTxHash?: string;
|
|
3655
|
+
/**
|
|
3656
|
+
* Blockchain ID on which this output is created on.
|
|
3657
|
+
*/
|
|
3658
|
+
createdOnChainId: string;
|
|
3659
|
+
/**
|
|
3660
|
+
* UTXO ID for this output.
|
|
3661
|
+
*/
|
|
3494
3662
|
utxoId: string;
|
|
3495
|
-
|
|
3496
|
-
|
|
3663
|
+
/**
|
|
3664
|
+
* @deprecated
|
|
3665
|
+
*/
|
|
3666
|
+
amount: string;
|
|
3667
|
+
/**
|
|
3668
|
+
* @deprecated
|
|
3669
|
+
*/
|
|
3670
|
+
assetId: string;
|
|
3497
3671
|
blockNumber: string;
|
|
3498
3672
|
blockTimestamp: number;
|
|
3499
|
-
consumingTxHash?: string;
|
|
3500
|
-
consumingBlockTimestamp?: number;
|
|
3501
3673
|
consumingBlockNumber?: string;
|
|
3502
|
-
|
|
3503
|
-
utxoType: UtxoType;
|
|
3504
|
-
amount: string;
|
|
3505
|
-
stakeableLocktime?: number;
|
|
3674
|
+
consumingBlockTimestamp?: number;
|
|
3506
3675
|
platformLocktime?: number;
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3676
|
+
outputIndex: number;
|
|
3677
|
+
rewardType?: RewardType;
|
|
3678
|
+
stakeableLocktime?: number;
|
|
3510
3679
|
staked?: boolean;
|
|
3511
|
-
|
|
3680
|
+
threshold?: number;
|
|
3681
|
+
txHash: string;
|
|
3512
3682
|
utxoEndTimestamp?: number;
|
|
3513
|
-
|
|
3683
|
+
utxoStartTimestamp?: number;
|
|
3684
|
+
utxoType: UtxoType;
|
|
3514
3685
|
};
|
|
3515
3686
|
|
|
3516
3687
|
type PChainTransaction = {
|
|
@@ -3536,17 +3707,17 @@ type PChainTransaction = {
|
|
|
3536
3707
|
*/
|
|
3537
3708
|
destinationChain?: string;
|
|
3538
3709
|
/**
|
|
3539
|
-
* 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.
|
|
3540
3711
|
*/
|
|
3541
|
-
value: Array<
|
|
3712
|
+
value: Array<AssetAmount>;
|
|
3542
3713
|
/**
|
|
3543
|
-
* 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.
|
|
3544
3715
|
*/
|
|
3545
|
-
amountBurned: Array<
|
|
3716
|
+
amountBurned: Array<AssetAmount>;
|
|
3546
3717
|
/**
|
|
3547
|
-
* 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
|
|
3548
3719
|
*/
|
|
3549
|
-
amountStaked: Array<
|
|
3720
|
+
amountStaked: Array<AssetAmount>;
|
|
3550
3721
|
/**
|
|
3551
3722
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3552
3723
|
*/
|
|
@@ -3578,6 +3749,10 @@ type PChainTransaction = {
|
|
|
3578
3749
|
* Present for RewardValidatorTx
|
|
3579
3750
|
*/
|
|
3580
3751
|
stakingTxHash?: string;
|
|
3752
|
+
/**
|
|
3753
|
+
* Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
|
|
3754
|
+
*/
|
|
3755
|
+
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
3581
3756
|
};
|
|
3582
3757
|
|
|
3583
3758
|
type ListPChainTransactionsResponse = {
|
|
@@ -3589,6 +3764,9 @@ type ListPChainTransactionsResponse = {
|
|
|
3589
3764
|
chainInfo: PrimaryNetworkChainInfo;
|
|
3590
3765
|
};
|
|
3591
3766
|
|
|
3767
|
+
/**
|
|
3768
|
+
* Type of transaction.
|
|
3769
|
+
*/
|
|
3592
3770
|
declare enum XChainTransactionType {
|
|
3593
3771
|
BASE_TX = "BaseTx",
|
|
3594
3772
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
@@ -3611,9 +3789,6 @@ type XChainLinearTransaction = {
|
|
|
3611
3789
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3612
3790
|
*/
|
|
3613
3791
|
timestamp: number;
|
|
3614
|
-
/**
|
|
3615
|
-
* Type of transaction.
|
|
3616
|
-
*/
|
|
3617
3792
|
txType: XChainTransactionType;
|
|
3618
3793
|
/**
|
|
3619
3794
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3624,11 +3799,11 @@ type XChainLinearTransaction = {
|
|
|
3624
3799
|
/**
|
|
3625
3800
|
* Assets unlocked by inputs of this transaction.
|
|
3626
3801
|
*/
|
|
3627
|
-
amountUnlocked: Array<
|
|
3802
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3628
3803
|
/**
|
|
3629
3804
|
* Assets created by outputs of this transaction.
|
|
3630
3805
|
*/
|
|
3631
|
-
amountCreated: Array<
|
|
3806
|
+
amountCreated: Array<AssetAmount>;
|
|
3632
3807
|
/**
|
|
3633
3808
|
* Source chain for an atomic transaction.
|
|
3634
3809
|
*/
|
|
@@ -3638,7 +3813,7 @@ type XChainLinearTransaction = {
|
|
|
3638
3813
|
*/
|
|
3639
3814
|
destinationChain?: string;
|
|
3640
3815
|
/**
|
|
3641
|
-
*
|
|
3816
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3642
3817
|
*/
|
|
3643
3818
|
assetCreated?: XChainAssetDetails;
|
|
3644
3819
|
/**
|
|
@@ -3688,9 +3863,6 @@ type XChainNonLinearTransaction = {
|
|
|
3688
3863
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3689
3864
|
*/
|
|
3690
3865
|
timestamp: number;
|
|
3691
|
-
/**
|
|
3692
|
-
* Type of transaction.
|
|
3693
|
-
*/
|
|
3694
3866
|
txType: XChainTransactionType;
|
|
3695
3867
|
/**
|
|
3696
3868
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3701,11 +3873,11 @@ type XChainNonLinearTransaction = {
|
|
|
3701
3873
|
/**
|
|
3702
3874
|
* Assets unlocked by inputs of this transaction.
|
|
3703
3875
|
*/
|
|
3704
|
-
amountUnlocked: Array<
|
|
3876
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3705
3877
|
/**
|
|
3706
3878
|
* Assets created by outputs of this transaction.
|
|
3707
3879
|
*/
|
|
3708
|
-
amountCreated: Array<
|
|
3880
|
+
amountCreated: Array<AssetAmount>;
|
|
3709
3881
|
/**
|
|
3710
3882
|
* Source chain for an atomic transaction.
|
|
3711
3883
|
*/
|
|
@@ -3715,7 +3887,7 @@ type XChainNonLinearTransaction = {
|
|
|
3715
3887
|
*/
|
|
3716
3888
|
destinationChain?: string;
|
|
3717
3889
|
/**
|
|
3718
|
-
*
|
|
3890
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3719
3891
|
*/
|
|
3720
3892
|
assetCreated?: XChainAssetDetails;
|
|
3721
3893
|
/**
|
|
@@ -3749,19 +3921,21 @@ declare enum PChainId {
|
|
|
3749
3921
|
|
|
3750
3922
|
declare enum PrimaryNetworkTxType {
|
|
3751
3923
|
ADD_VALIDATOR_TX = "AddValidatorTx",
|
|
3752
|
-
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3753
|
-
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3754
|
-
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3755
3924
|
ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
|
|
3756
|
-
|
|
3757
|
-
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3925
|
+
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
3758
3926
|
CREATE_CHAIN_TX = "CreateChainTx",
|
|
3759
3927
|
CREATE_SUBNET_TX = "CreateSubnetTx",
|
|
3760
3928
|
IMPORT_TX = "ImportTx",
|
|
3761
3929
|
EXPORT_TX = "ExportTx",
|
|
3762
3930
|
ADVANCE_TIME_TX = "AdvanceTimeTx",
|
|
3763
|
-
|
|
3931
|
+
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
3932
|
+
REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
|
|
3933
|
+
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3934
|
+
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3935
|
+
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3764
3936
|
BASE_TX = "BaseTx",
|
|
3937
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3938
|
+
UNKNOWN = "UNKNOWN",
|
|
3765
3939
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
3766
3940
|
OPERATION_TX = "OperationTx"
|
|
3767
3941
|
}
|
|
@@ -3793,13 +3967,13 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3793
3967
|
* List latest transactions
|
|
3794
3968
|
* Lists the latest transactions on one of the Primary Network chains.
|
|
3795
3969
|
*
|
|
3796
|
-
* Transactions are filterable by addresses.
|
|
3970
|
+
* Transactions are filterable by addresses, txTypes, and timestamps. When querying for latest transactions without an address parameter, filtering by txTypes and timestamps is not supported. An address filter must be provided to utilize txTypes and timestamp filters.
|
|
3797
3971
|
*
|
|
3798
3972
|
* Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
|
|
3799
3973
|
* @returns any
|
|
3800
3974
|
* @throws ApiError
|
|
3801
3975
|
*/
|
|
3802
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
3976
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3803
3977
|
/**
|
|
3804
3978
|
* A primary network blockchain id or alias.
|
|
3805
3979
|
*/
|
|
@@ -3824,14 +3998,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3824
3998
|
* Query param for retrieving items before a specific timestamp.
|
|
3825
3999
|
*/
|
|
3826
4000
|
endTimestamp?: number;
|
|
3827
|
-
/**
|
|
3828
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3829
|
-
*/
|
|
3830
|
-
pageSize?: number;
|
|
3831
4001
|
/**
|
|
3832
4002
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3833
4003
|
*/
|
|
3834
4004
|
pageToken?: string;
|
|
4005
|
+
/**
|
|
4006
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4007
|
+
*/
|
|
4008
|
+
pageSize?: number;
|
|
3835
4009
|
/**
|
|
3836
4010
|
* 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.
|
|
3837
4011
|
*/
|
|
@@ -3843,7 +4017,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3843
4017
|
* @returns ListPChainTransactionsResponse
|
|
3844
4018
|
* @throws ApiError
|
|
3845
4019
|
*/
|
|
3846
|
-
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
4020
|
+
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3847
4021
|
/**
|
|
3848
4022
|
* A primary network blockchain id or alias.
|
|
3849
4023
|
*/
|
|
@@ -3868,14 +4042,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3868
4042
|
* Query param for retrieving items before a specific timestamp.
|
|
3869
4043
|
*/
|
|
3870
4044
|
endTimestamp?: number;
|
|
3871
|
-
/**
|
|
3872
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3873
|
-
*/
|
|
3874
|
-
pageSize?: number;
|
|
3875
4045
|
/**
|
|
3876
4046
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3877
4047
|
*/
|
|
3878
4048
|
pageToken?: string;
|
|
4049
|
+
/**
|
|
4050
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4051
|
+
*/
|
|
4052
|
+
pageSize?: number;
|
|
3879
4053
|
/**
|
|
3880
4054
|
* 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.
|
|
3881
4055
|
*/
|
|
@@ -3887,7 +4061,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3887
4061
|
* @returns ListXChainTransactionsResponse
|
|
3888
4062
|
* @throws ApiError
|
|
3889
4063
|
*/
|
|
3890
|
-
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp,
|
|
4064
|
+
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3891
4065
|
/**
|
|
3892
4066
|
* A primary network blockchain id or alias.
|
|
3893
4067
|
*/
|
|
@@ -3912,14 +4086,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3912
4086
|
* Query param for retrieving items before a specific timestamp.
|
|
3913
4087
|
*/
|
|
3914
4088
|
endTimestamp?: number;
|
|
3915
|
-
/**
|
|
3916
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3917
|
-
*/
|
|
3918
|
-
pageSize?: number;
|
|
3919
4089
|
/**
|
|
3920
4090
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3921
4091
|
*/
|
|
3922
4092
|
pageToken?: string;
|
|
4093
|
+
/**
|
|
4094
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4095
|
+
*/
|
|
4096
|
+
pageSize?: number;
|
|
3923
4097
|
}): CancelablePromise<ListXChainTransactionsResponse>;
|
|
3924
4098
|
}
|
|
3925
4099
|
|
|
@@ -3950,7 +4124,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
3950
4124
|
* @returns any
|
|
3951
4125
|
* @throws ApiError
|
|
3952
4126
|
*/
|
|
3953
|
-
getUtxosByAddresses({ blockchainId, network, addresses,
|
|
4127
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
3954
4128
|
/**
|
|
3955
4129
|
* A primary network blockchain id or alias.
|
|
3956
4130
|
*/
|
|
@@ -3963,14 +4137,14 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
3963
4137
|
* 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".
|
|
3964
4138
|
*/
|
|
3965
4139
|
addresses?: string;
|
|
3966
|
-
/**
|
|
3967
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3968
|
-
*/
|
|
3969
|
-
pageSize?: number;
|
|
3970
4140
|
/**
|
|
3971
4141
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3972
4142
|
*/
|
|
3973
4143
|
pageToken?: string;
|
|
4144
|
+
/**
|
|
4145
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4146
|
+
*/
|
|
4147
|
+
pageSize?: number;
|
|
3974
4148
|
/**
|
|
3975
4149
|
* Asset ID for any asset (only applicable X-Chain)
|
|
3976
4150
|
*/
|
|
@@ -4015,7 +4189,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4015
4189
|
* @returns ListXChainVerticesResponse
|
|
4016
4190
|
* @throws ApiError
|
|
4017
4191
|
*/
|
|
4018
|
-
listLatestXChainVertices({ blockchainId, network,
|
|
4192
|
+
listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
|
|
4019
4193
|
/**
|
|
4020
4194
|
* A primary network blockchain id or alias.
|
|
4021
4195
|
*/
|
|
@@ -4024,14 +4198,14 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4024
4198
|
* Either mainnet or a testnet.
|
|
4025
4199
|
*/
|
|
4026
4200
|
network: Network;
|
|
4027
|
-
/**
|
|
4028
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4029
|
-
*/
|
|
4030
|
-
pageSize?: number;
|
|
4031
4201
|
/**
|
|
4032
4202
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4033
4203
|
*/
|
|
4034
4204
|
pageToken?: string;
|
|
4205
|
+
/**
|
|
4206
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4207
|
+
*/
|
|
4208
|
+
pageSize?: number;
|
|
4035
4209
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4036
4210
|
/**
|
|
4037
4211
|
* Get vertex
|
|
@@ -4059,7 +4233,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4059
4233
|
* @returns ListXChainVerticesResponse
|
|
4060
4234
|
* @throws ApiError
|
|
4061
4235
|
*/
|
|
4062
|
-
getVertexByHeight({ vertexHeight, blockchainId, network,
|
|
4236
|
+
getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
|
|
4063
4237
|
/**
|
|
4064
4238
|
* The height of a vertex.
|
|
4065
4239
|
*/
|
|
@@ -4072,19 +4246,195 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4072
4246
|
* Either mainnet or a testnet.
|
|
4073
4247
|
*/
|
|
4074
4248
|
network: Network;
|
|
4249
|
+
/**
|
|
4250
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4251
|
+
*/
|
|
4252
|
+
pageToken?: string;
|
|
4075
4253
|
/**
|
|
4076
4254
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4077
4255
|
*/
|
|
4078
4256
|
pageSize?: number;
|
|
4257
|
+
/**
|
|
4258
|
+
* 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.
|
|
4259
|
+
*/
|
|
4260
|
+
sortOrder?: SortOrder;
|
|
4261
|
+
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4262
|
+
}
|
|
4263
|
+
|
|
4264
|
+
type TeleporterDestinationTransaction = {
|
|
4265
|
+
txHash: string;
|
|
4266
|
+
timestamp: number;
|
|
4267
|
+
gasSpent: string;
|
|
4268
|
+
rewardRedeemer: string;
|
|
4269
|
+
delivererAddress: string;
|
|
4270
|
+
};
|
|
4271
|
+
|
|
4272
|
+
type TeleporterReceipt = {
|
|
4273
|
+
receivedMessageNonce: string;
|
|
4274
|
+
relayerRewardAddress: string;
|
|
4275
|
+
};
|
|
4276
|
+
|
|
4277
|
+
type TeleporterRewardDetails = {
|
|
4278
|
+
/**
|
|
4279
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
4280
|
+
*/
|
|
4281
|
+
address: string;
|
|
4282
|
+
/**
|
|
4283
|
+
* The contract name.
|
|
4284
|
+
*/
|
|
4285
|
+
name: string;
|
|
4286
|
+
/**
|
|
4287
|
+
* The contract symbol.
|
|
4288
|
+
*/
|
|
4289
|
+
symbol: string;
|
|
4290
|
+
/**
|
|
4291
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
4292
|
+
*/
|
|
4293
|
+
decimals: number;
|
|
4294
|
+
/**
|
|
4295
|
+
* The logo uri for the address.
|
|
4296
|
+
*/
|
|
4297
|
+
logoUri?: string;
|
|
4298
|
+
ercType: TeleporterRewardDetails.ercType;
|
|
4299
|
+
/**
|
|
4300
|
+
* The token price, if available.
|
|
4301
|
+
*/
|
|
4302
|
+
price?: Money;
|
|
4303
|
+
value: string;
|
|
4304
|
+
};
|
|
4305
|
+
declare namespace TeleporterRewardDetails {
|
|
4306
|
+
enum ercType {
|
|
4307
|
+
ERC_20 = "ERC-20"
|
|
4308
|
+
}
|
|
4309
|
+
}
|
|
4310
|
+
|
|
4311
|
+
type DeliveredSourceNotIndexedTeleporterMessage = {
|
|
4312
|
+
messageId: string;
|
|
4313
|
+
teleporterContractAddress: string;
|
|
4314
|
+
sourceBlockchainId: string;
|
|
4315
|
+
destinationBlockchainId: string;
|
|
4316
|
+
messageNonce: string;
|
|
4317
|
+
from: string;
|
|
4318
|
+
to: string;
|
|
4319
|
+
data?: string;
|
|
4320
|
+
messageExecuted: boolean;
|
|
4321
|
+
receipts: Array<TeleporterReceipt>;
|
|
4322
|
+
receiptDelivered: boolean;
|
|
4323
|
+
rewardDetails: TeleporterRewardDetails;
|
|
4324
|
+
destinationTransaction: TeleporterDestinationTransaction;
|
|
4325
|
+
status: DeliveredSourceNotIndexedTeleporterMessage.status;
|
|
4326
|
+
};
|
|
4327
|
+
declare namespace DeliveredSourceNotIndexedTeleporterMessage {
|
|
4328
|
+
enum status {
|
|
4329
|
+
DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
|
|
4333
|
+
type TeleporterSourceTransaction = {
|
|
4334
|
+
txHash: string;
|
|
4335
|
+
timestamp: number;
|
|
4336
|
+
gasSpent: string;
|
|
4337
|
+
};
|
|
4338
|
+
|
|
4339
|
+
type DeliveredTeleporterMessage = {
|
|
4340
|
+
messageId: string;
|
|
4341
|
+
teleporterContractAddress: string;
|
|
4342
|
+
sourceBlockchainId: string;
|
|
4343
|
+
destinationBlockchainId: string;
|
|
4344
|
+
messageNonce: string;
|
|
4345
|
+
from: string;
|
|
4346
|
+
to: string;
|
|
4347
|
+
data?: string;
|
|
4348
|
+
messageExecuted: boolean;
|
|
4349
|
+
receipts: Array<TeleporterReceipt>;
|
|
4350
|
+
receiptDelivered: boolean;
|
|
4351
|
+
rewardDetails: TeleporterRewardDetails;
|
|
4352
|
+
sourceTransaction: TeleporterSourceTransaction;
|
|
4353
|
+
destinationTransaction: TeleporterDestinationTransaction;
|
|
4354
|
+
status: DeliveredTeleporterMessage.status;
|
|
4355
|
+
};
|
|
4356
|
+
declare namespace DeliveredTeleporterMessage {
|
|
4357
|
+
enum status {
|
|
4358
|
+
DELIVERED = "delivered"
|
|
4359
|
+
}
|
|
4360
|
+
}
|
|
4361
|
+
|
|
4362
|
+
type NextPageToken = {
|
|
4363
|
+
/**
|
|
4364
|
+
* 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.
|
|
4365
|
+
*/
|
|
4366
|
+
nextPageToken?: string;
|
|
4367
|
+
};
|
|
4368
|
+
|
|
4369
|
+
type PendingTeleporterMessage = {
|
|
4370
|
+
messageId: string;
|
|
4371
|
+
teleporterContractAddress: string;
|
|
4372
|
+
sourceBlockchainId: string;
|
|
4373
|
+
destinationBlockchainId: string;
|
|
4374
|
+
messageNonce: string;
|
|
4375
|
+
from: string;
|
|
4376
|
+
to: string;
|
|
4377
|
+
data?: string;
|
|
4378
|
+
messageExecuted: boolean;
|
|
4379
|
+
receipts: Array<TeleporterReceipt>;
|
|
4380
|
+
receiptDelivered: boolean;
|
|
4381
|
+
rewardDetails: TeleporterRewardDetails;
|
|
4382
|
+
sourceTransaction: TeleporterSourceTransaction;
|
|
4383
|
+
status: PendingTeleporterMessage.status;
|
|
4384
|
+
};
|
|
4385
|
+
declare namespace PendingTeleporterMessage {
|
|
4386
|
+
enum status {
|
|
4387
|
+
PENDING = "pending"
|
|
4388
|
+
}
|
|
4389
|
+
}
|
|
4390
|
+
|
|
4391
|
+
declare class TeleporterService {
|
|
4392
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4393
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4394
|
+
/**
|
|
4395
|
+
* Get a teleporter message
|
|
4396
|
+
* Gets a teleporter message by message ID.
|
|
4397
|
+
* @returns any
|
|
4398
|
+
* @throws ApiError
|
|
4399
|
+
*/
|
|
4400
|
+
getTeleporterMessage({ messageId, }: {
|
|
4401
|
+
/**
|
|
4402
|
+
* The message ID of the teleporter message.
|
|
4403
|
+
*/
|
|
4404
|
+
messageId: string;
|
|
4405
|
+
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
4406
|
+
/**
|
|
4407
|
+
* List teleporter messages
|
|
4408
|
+
* Lists teleporter messages. Ordered by timestamp in descending order.
|
|
4409
|
+
* @returns any
|
|
4410
|
+
* @throws ApiError
|
|
4411
|
+
*/
|
|
4412
|
+
listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, }: {
|
|
4079
4413
|
/**
|
|
4080
4414
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4081
4415
|
*/
|
|
4082
4416
|
pageToken?: string;
|
|
4083
4417
|
/**
|
|
4084
|
-
* The
|
|
4418
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4085
4419
|
*/
|
|
4086
|
-
|
|
4087
|
-
|
|
4420
|
+
pageSize?: number;
|
|
4421
|
+
/**
|
|
4422
|
+
* The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
|
|
4423
|
+
*/
|
|
4424
|
+
sourceBlockchainId?: string;
|
|
4425
|
+
/**
|
|
4426
|
+
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
|
|
4427
|
+
*/
|
|
4428
|
+
destinationBlockchainId?: string;
|
|
4429
|
+
/**
|
|
4430
|
+
* The address of the recipient of the teleporter message.
|
|
4431
|
+
*/
|
|
4432
|
+
to?: string;
|
|
4433
|
+
/**
|
|
4434
|
+
* The address of the sender of the teleporter message.
|
|
4435
|
+
*/
|
|
4436
|
+
from?: string;
|
|
4437
|
+
}): CancelablePromise<NextPageToken>;
|
|
4088
4438
|
}
|
|
4089
4439
|
|
|
4090
4440
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
@@ -4105,6 +4455,7 @@ declare class Glacier {
|
|
|
4105
4455
|
readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
|
|
4106
4456
|
readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
|
|
4107
4457
|
readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
|
|
4458
|
+
readonly teleporter: TeleporterService;
|
|
4108
4459
|
readonly request: BaseHttpRequest;
|
|
4109
4460
|
constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
|
|
4110
4461
|
}
|
|
@@ -4126,4 +4477,4 @@ declare class ApiError extends Error {
|
|
|
4126
4477
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4127
4478
|
}
|
|
4128
4479
|
|
|
4129
|
-
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 };
|