@avalabs/glacier-sdk 2.8.0-canary.d0bce16.0 → 2.8.0-canary.d9e70ae.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 +805 -439
- package/dist/index.js +362 -186
- package/esm/generated/Glacier.d.ts +6 -0
- package/esm/generated/Glacier.js +9 -0
- package/esm/generated/core/CancelablePromise.d.ts +2 -8
- package/esm/generated/core/CancelablePromise.js +38 -36
- package/esm/generated/core/request.js +3 -2
- package/esm/generated/models/AddressActivityMetadata.d.ts +6 -3
- 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 +6 -0
- package/esm/generated/models/GlacierApiFeature.js +7 -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 +4 -4
- package/esm/generated/models/PChainTransaction.d.ts +12 -7
- package/esm/generated/models/PChainTransactionType.d.ts +2 -0
- package/esm/generated/models/PChainTransactionType.js +2 -0
- package/esm/generated/models/PChainUtxo.d.ts +2 -2
- package/esm/generated/models/PendingReward.d.ts +3 -3
- package/esm/generated/models/PendingTeleporterMessage.d.ts +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/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
- package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
- package/esm/generated/models/RegisterWebhookRequest.d.ts +8 -3
- package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
- package/esm/generated/models/RemovedValidatorDetails.js +8 -0
- package/esm/generated/models/RpcErrorDto.d.ts +7 -0
- package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
- package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
- package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
- package/esm/generated/models/Subnet.d.ts +17 -0
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
- package/esm/generated/models/TeleporterDestinationTransaction.d.ts +9 -0
- package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
- package/esm/generated/models/TeleporterRewardDetails.d.ts +37 -0
- package/esm/generated/models/TeleporterRewardDetails.js +8 -0
- package/esm/generated/models/TeleporterSourceTransaction.d.ts +7 -0
- package/esm/generated/models/TransactionMethodType.d.ts +3 -0
- package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
- package/esm/generated/models/Utxo.d.ts +2 -2
- package/esm/generated/models/ValidationStatusType.d.ts +2 -1
- package/esm/generated/models/ValidationStatusType.js +1 -0
- package/esm/generated/models/WebhookResponse.d.ts +10 -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 +0 -53
- package/esm/generated/services/DefaultService.js +0 -42
- 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 +32 -32
- package/esm/generated/services/PrimaryNetworkService.js +10 -10
- 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/RpcService.d.ts +25 -0
- package/esm/generated/services/RpcService.js +24 -0
- package/esm/generated/services/TeleporterService.d.ts +57 -0
- package/esm/generated/services/TeleporterService.js +39 -0
- package/esm/generated/services/WebhooksService.d.ts +95 -0
- package/esm/generated/services/WebhooksService.js +80 -0
- package/esm/index.d.ts +26 -2
- package/esm/index.js +13 -2
- package/package.json +3 -3
- package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -23,15 +23,9 @@ interface OnCancel {
|
|
|
23
23
|
(cancelHandler: () => void): void;
|
|
24
24
|
}
|
|
25
25
|
declare class CancelablePromise<T> implements Promise<T> {
|
|
26
|
-
|
|
27
|
-
private _isResolved;
|
|
28
|
-
private _isRejected;
|
|
29
|
-
private _isCancelled;
|
|
30
|
-
private readonly _cancelHandlers;
|
|
31
|
-
private readonly _promise;
|
|
32
|
-
private _resolve?;
|
|
33
|
-
private _reject?;
|
|
26
|
+
#private;
|
|
34
27
|
constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: OnCancel) => void);
|
|
28
|
+
get [Symbol.toStringTag](): string;
|
|
35
29
|
then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
36
30
|
catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
|
|
37
31
|
finally(onFinally?: (() => void) | null): Promise<T>;
|
|
@@ -60,60 +54,6 @@ declare abstract class BaseHttpRequest {
|
|
|
60
54
|
abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
61
55
|
}
|
|
62
56
|
|
|
63
|
-
type AddressActivityMetadata = {
|
|
64
|
-
/**
|
|
65
|
-
* Ethereum address for the address_activity event type
|
|
66
|
-
*/
|
|
67
|
-
address: string;
|
|
68
|
-
topic0?: string;
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
declare enum EventType {
|
|
72
|
-
ADDRESS_ACTIVITY = "address_activity"
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
declare enum WebhookStatusType {
|
|
76
|
-
ACTIVE = "active",
|
|
77
|
-
INACTIVE = "inactive"
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
type WebhookResponse = {
|
|
81
|
-
id: string;
|
|
82
|
-
eventType: EventType;
|
|
83
|
-
metadata: AddressActivityMetadata;
|
|
84
|
-
url: string;
|
|
85
|
-
chainId: string;
|
|
86
|
-
status: WebhookStatusType;
|
|
87
|
-
createdAt: number;
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
type ListWebhooksResponse = {
|
|
91
|
-
/**
|
|
92
|
-
* 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.
|
|
93
|
-
*/
|
|
94
|
-
nextPageToken?: string;
|
|
95
|
-
webhooks: Array<WebhookResponse>;
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
type RegisterWebhookRequest = {
|
|
99
|
-
url: string;
|
|
100
|
-
chainId: string;
|
|
101
|
-
/**
|
|
102
|
-
* The type of event for the webhook
|
|
103
|
-
*/
|
|
104
|
-
eventType: EventType;
|
|
105
|
-
metadata: AddressActivityMetadata;
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
type SharedSecretsResponse = {
|
|
109
|
-
secret: string;
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
declare enum WebhookStatus {
|
|
113
|
-
ACTIVE = "active",
|
|
114
|
-
INACTIVE = "inactive"
|
|
115
|
-
}
|
|
116
|
-
|
|
117
57
|
declare class DefaultService {
|
|
118
58
|
readonly httpRequest: BaseHttpRequest;
|
|
119
59
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -122,56 +62,11 @@ declare class DefaultService {
|
|
|
122
62
|
* @throws ApiError
|
|
123
63
|
*/
|
|
124
64
|
mediaControllerUploadImage(): CancelablePromise<any>;
|
|
125
|
-
/**
|
|
126
|
-
* Register a webhook
|
|
127
|
-
* Registers a new webhook.
|
|
128
|
-
* @returns WebhookResponse
|
|
129
|
-
* @throws ApiError
|
|
130
|
-
*/
|
|
131
|
-
registerWebhook({ requestBody, }: {
|
|
132
|
-
requestBody: RegisterWebhookRequest;
|
|
133
|
-
}): CancelablePromise<WebhookResponse>;
|
|
134
|
-
/**
|
|
135
|
-
* List webhooks
|
|
136
|
-
* Lists webhooks for the user.
|
|
137
|
-
* @returns ListWebhooksResponse
|
|
138
|
-
* @throws ApiError
|
|
139
|
-
*/
|
|
140
|
-
listWebhooks({ pageSize, pageToken, status, }: {
|
|
141
|
-
/**
|
|
142
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
143
|
-
*/
|
|
144
|
-
pageSize?: number;
|
|
145
|
-
/**
|
|
146
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
147
|
-
*/
|
|
148
|
-
pageToken?: string;
|
|
149
|
-
/**
|
|
150
|
-
* 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
|
-
*/
|
|
152
|
-
status?: WebhookStatus;
|
|
153
|
-
}): CancelablePromise<ListWebhooksResponse>;
|
|
154
|
-
/**
|
|
155
|
-
* Deactivate a webhook
|
|
156
|
-
* Deactivates a webhook by ID.
|
|
157
|
-
* @returns WebhookResponse
|
|
158
|
-
* @throws ApiError
|
|
159
|
-
*/
|
|
160
|
-
deactivateWebhook({ id, }: {
|
|
161
|
-
/**
|
|
162
|
-
* The webhook identifier.
|
|
163
|
-
*/
|
|
164
|
-
id: string;
|
|
165
|
-
}): CancelablePromise<WebhookResponse>;
|
|
166
|
-
/**
|
|
167
|
-
* Generate a shared secret
|
|
168
|
-
* Generates a new shared secret.
|
|
169
|
-
* @returns SharedSecretsResponse
|
|
170
|
-
* @throws ApiError
|
|
171
|
-
*/
|
|
172
|
-
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
173
65
|
}
|
|
174
66
|
|
|
67
|
+
/**
|
|
68
|
+
* ISO 4217 currency code.
|
|
69
|
+
*/
|
|
175
70
|
declare enum CurrencyCode {
|
|
176
71
|
USD = "usd",
|
|
177
72
|
EUR = "eur",
|
|
@@ -190,9 +85,6 @@ declare enum CurrencyCode {
|
|
|
190
85
|
}
|
|
191
86
|
|
|
192
87
|
type Money = {
|
|
193
|
-
/**
|
|
194
|
-
* ISO 4217 currency code.
|
|
195
|
-
*/
|
|
196
88
|
currencyCode: CurrencyCode;
|
|
197
89
|
/**
|
|
198
90
|
* Monetary value in base 10 decimals.
|
|
@@ -242,6 +134,9 @@ type GetNativeBalanceResponse = {
|
|
|
242
134
|
nativeTokenBalance: NativeTokenBalance;
|
|
243
135
|
};
|
|
244
136
|
|
|
137
|
+
/**
|
|
138
|
+
* The metadata indexing status of the nft.
|
|
139
|
+
*/
|
|
245
140
|
declare enum NftTokenMetadataStatus {
|
|
246
141
|
UNKNOWN = "UNKNOWN",
|
|
247
142
|
MISSING_TOKEN = "MISSING_TOKEN",
|
|
@@ -257,9 +152,6 @@ declare enum NftTokenMetadataStatus {
|
|
|
257
152
|
}
|
|
258
153
|
|
|
259
154
|
type Erc1155TokenMetadata = {
|
|
260
|
-
/**
|
|
261
|
-
* The metadata indexing status of the nft.
|
|
262
|
-
*/
|
|
263
155
|
indexStatus: NftTokenMetadataStatus;
|
|
264
156
|
metadataLastUpdatedTimestamp?: number;
|
|
265
157
|
name?: string;
|
|
@@ -298,9 +190,6 @@ declare namespace Erc1155TokenBalance {
|
|
|
298
190
|
}
|
|
299
191
|
|
|
300
192
|
type Erc721TokenMetadata = {
|
|
301
|
-
/**
|
|
302
|
-
* The metadata indexing status of the nft.
|
|
303
|
-
*/
|
|
304
193
|
indexStatus: NftTokenMetadataStatus;
|
|
305
194
|
metadataLastUpdatedTimestamp?: number;
|
|
306
195
|
name?: string;
|
|
@@ -447,7 +336,7 @@ declare class EvmBalancesService {
|
|
|
447
336
|
*/
|
|
448
337
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
449
338
|
/**
|
|
450
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
339
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
451
340
|
*/
|
|
452
341
|
chainId: string;
|
|
453
342
|
/**
|
|
@@ -473,9 +362,9 @@ declare class EvmBalancesService {
|
|
|
473
362
|
* @returns ListErc20BalancesResponse
|
|
474
363
|
* @throws ApiError
|
|
475
364
|
*/
|
|
476
|
-
listErc20Balances({ chainId, address, blockNumber,
|
|
365
|
+
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
|
|
477
366
|
/**
|
|
478
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
367
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
479
368
|
*/
|
|
480
369
|
chainId: string;
|
|
481
370
|
/**
|
|
@@ -486,14 +375,14 @@ declare class EvmBalancesService {
|
|
|
486
375
|
* The block number, if not defined the block number will be the latest block.
|
|
487
376
|
*/
|
|
488
377
|
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
378
|
/**
|
|
494
379
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
495
380
|
*/
|
|
496
381
|
pageToken?: string;
|
|
382
|
+
/**
|
|
383
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
384
|
+
*/
|
|
385
|
+
pageSize?: number;
|
|
497
386
|
/**
|
|
498
387
|
* A comma separated list of contract addresses to filter by.
|
|
499
388
|
*/
|
|
@@ -511,23 +400,23 @@ declare class EvmBalancesService {
|
|
|
511
400
|
* @returns ListErc721BalancesResponse
|
|
512
401
|
* @throws ApiError
|
|
513
402
|
*/
|
|
514
|
-
listErc721Balances({ chainId, address,
|
|
403
|
+
listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
515
404
|
/**
|
|
516
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
405
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
517
406
|
*/
|
|
518
407
|
chainId: string;
|
|
519
408
|
/**
|
|
520
409
|
* A wallet address.
|
|
521
410
|
*/
|
|
522
411
|
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
412
|
/**
|
|
528
413
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
529
414
|
*/
|
|
530
415
|
pageToken?: string;
|
|
416
|
+
/**
|
|
417
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
418
|
+
*/
|
|
419
|
+
pageSize?: number;
|
|
531
420
|
/**
|
|
532
421
|
* A contract addresses to filter by.
|
|
533
422
|
*/
|
|
@@ -543,9 +432,9 @@ declare class EvmBalancesService {
|
|
|
543
432
|
* @returns ListErc1155BalancesResponse
|
|
544
433
|
* @throws ApiError
|
|
545
434
|
*/
|
|
546
|
-
listErc1155Balances({ chainId, address, blockNumber,
|
|
435
|
+
listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
|
|
547
436
|
/**
|
|
548
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
437
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
549
438
|
*/
|
|
550
439
|
chainId: string;
|
|
551
440
|
/**
|
|
@@ -556,14 +445,14 @@ declare class EvmBalancesService {
|
|
|
556
445
|
* The block number, if not defined the block number will be the latest block.
|
|
557
446
|
*/
|
|
558
447
|
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
448
|
/**
|
|
564
449
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
565
450
|
*/
|
|
566
451
|
pageToken?: string;
|
|
452
|
+
/**
|
|
453
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
454
|
+
*/
|
|
455
|
+
pageSize?: number;
|
|
567
456
|
/**
|
|
568
457
|
* A contract addresses to filter by.
|
|
569
458
|
*/
|
|
@@ -577,23 +466,23 @@ declare class EvmBalancesService {
|
|
|
577
466
|
* @returns ListCollectibleBalancesResponse
|
|
578
467
|
* @throws ApiError
|
|
579
468
|
*/
|
|
580
|
-
listCollectibleBalances({ chainId, address,
|
|
469
|
+
listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
581
470
|
/**
|
|
582
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
471
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
583
472
|
*/
|
|
584
473
|
chainId: string;
|
|
585
474
|
/**
|
|
586
475
|
* A wallet address.
|
|
587
476
|
*/
|
|
588
477
|
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
478
|
/**
|
|
594
479
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
595
480
|
*/
|
|
596
481
|
pageToken?: string;
|
|
482
|
+
/**
|
|
483
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
484
|
+
*/
|
|
485
|
+
pageSize?: number;
|
|
597
486
|
/**
|
|
598
487
|
* A contract addresses to filter by.
|
|
599
488
|
*/
|
|
@@ -706,19 +595,19 @@ declare class EvmBlocksService {
|
|
|
706
595
|
* @returns ListEvmBlocksResponse
|
|
707
596
|
* @throws ApiError
|
|
708
597
|
*/
|
|
709
|
-
getLatestBlocks({ chainId,
|
|
598
|
+
getLatestBlocks({ chainId, pageToken, pageSize, }: {
|
|
710
599
|
/**
|
|
711
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
600
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
712
601
|
*/
|
|
713
602
|
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
603
|
/**
|
|
719
604
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
720
605
|
*/
|
|
721
606
|
pageToken?: string;
|
|
607
|
+
/**
|
|
608
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
609
|
+
*/
|
|
610
|
+
pageSize?: number;
|
|
722
611
|
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
723
612
|
/**
|
|
724
613
|
* Get block
|
|
@@ -728,7 +617,7 @@ declare class EvmBlocksService {
|
|
|
728
617
|
*/
|
|
729
618
|
getBlock({ chainId, blockId, }: {
|
|
730
619
|
/**
|
|
731
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
620
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
732
621
|
*/
|
|
733
622
|
chainId: string;
|
|
734
623
|
/**
|
|
@@ -738,6 +627,9 @@ declare class EvmBlocksService {
|
|
|
738
627
|
}): CancelablePromise<GetEvmBlockResponse>;
|
|
739
628
|
}
|
|
740
629
|
|
|
630
|
+
/**
|
|
631
|
+
* 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.
|
|
632
|
+
*/
|
|
741
633
|
declare enum ChainStatus {
|
|
742
634
|
OK = "OK",
|
|
743
635
|
UNAVAILABLE = "UNAVAILABLE"
|
|
@@ -775,9 +667,6 @@ declare enum VmName {
|
|
|
775
667
|
|
|
776
668
|
type GetChainResponse = {
|
|
777
669
|
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
670
|
status: ChainStatus;
|
|
782
671
|
chainName: string;
|
|
783
672
|
description: string;
|
|
@@ -793,13 +682,16 @@ type GetChainResponse = {
|
|
|
793
682
|
networkToken: NetworkToken;
|
|
794
683
|
chainLogoUri?: string;
|
|
795
684
|
private?: boolean;
|
|
685
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
796
686
|
};
|
|
797
687
|
|
|
688
|
+
declare enum GlacierApiFeature {
|
|
689
|
+
NFT_INDEXING = "nftIndexing",
|
|
690
|
+
WEBHOOKS = "webhooks"
|
|
691
|
+
}
|
|
692
|
+
|
|
798
693
|
type ChainInfo = {
|
|
799
694
|
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
695
|
status: ChainStatus;
|
|
804
696
|
chainName: string;
|
|
805
697
|
description: string;
|
|
@@ -815,6 +707,7 @@ type ChainInfo = {
|
|
|
815
707
|
networkToken: NetworkToken;
|
|
816
708
|
chainLogoUri?: string;
|
|
817
709
|
private?: boolean;
|
|
710
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
818
711
|
};
|
|
819
712
|
|
|
820
713
|
type ListChainsResponse = {
|
|
@@ -835,11 +728,15 @@ declare class EvmChainsService {
|
|
|
835
728
|
* @returns ListChainsResponse
|
|
836
729
|
* @throws ApiError
|
|
837
730
|
*/
|
|
838
|
-
supportedChains({ network, }: {
|
|
731
|
+
supportedChains({ network, feature, }: {
|
|
839
732
|
/**
|
|
840
733
|
* mainnet or testnet.
|
|
841
734
|
*/
|
|
842
735
|
network?: NetworkType;
|
|
736
|
+
/**
|
|
737
|
+
* Filter by feature.
|
|
738
|
+
*/
|
|
739
|
+
feature?: GlacierApiFeature;
|
|
843
740
|
}): CancelablePromise<ListChainsResponse>;
|
|
844
741
|
/**
|
|
845
742
|
* Get chain information
|
|
@@ -849,7 +746,7 @@ declare class EvmChainsService {
|
|
|
849
746
|
*/
|
|
850
747
|
getChainInfo({ chainId, }: {
|
|
851
748
|
/**
|
|
852
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
749
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
853
750
|
*/
|
|
854
751
|
chainId: string;
|
|
855
752
|
}): CancelablePromise<GetChainResponse>;
|
|
@@ -1144,7 +1041,7 @@ declare class EvmContractsService {
|
|
|
1144
1041
|
*/
|
|
1145
1042
|
getContractMetadata({ chainId, address, }: {
|
|
1146
1043
|
/**
|
|
1147
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1044
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1148
1045
|
*/
|
|
1149
1046
|
chainId: string;
|
|
1150
1047
|
/**
|
|
@@ -1160,7 +1057,7 @@ declare class EvmContractsService {
|
|
|
1160
1057
|
*/
|
|
1161
1058
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1162
1059
|
/**
|
|
1163
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1060
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1164
1061
|
*/
|
|
1165
1062
|
chainId: string;
|
|
1166
1063
|
/**
|
|
@@ -1294,6 +1191,9 @@ type Erc721TransferDetails = {
|
|
|
1294
1191
|
erc721Token: Erc721Token;
|
|
1295
1192
|
};
|
|
1296
1193
|
|
|
1194
|
+
/**
|
|
1195
|
+
* 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.
|
|
1196
|
+
*/
|
|
1297
1197
|
declare enum TransactionMethodType {
|
|
1298
1198
|
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1299
1199
|
CONTRACT_CALL = "CONTRACT_CALL",
|
|
@@ -1301,9 +1201,6 @@ declare enum TransactionMethodType {
|
|
|
1301
1201
|
}
|
|
1302
1202
|
|
|
1303
1203
|
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
1204
|
callType: TransactionMethodType;
|
|
1308
1205
|
/**
|
|
1309
1206
|
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
@@ -1664,7 +1561,7 @@ type ListTransfersResponse = {
|
|
|
1664
1561
|
* 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
1562
|
*/
|
|
1666
1563
|
nextPageToken?: string;
|
|
1667
|
-
transfers:
|
|
1564
|
+
transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
|
|
1668
1565
|
};
|
|
1669
1566
|
|
|
1670
1567
|
declare enum SortOrder {
|
|
@@ -1688,7 +1585,7 @@ declare class EvmTransactionsService {
|
|
|
1688
1585
|
*/
|
|
1689
1586
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1690
1587
|
/**
|
|
1691
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1588
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1692
1589
|
*/
|
|
1693
1590
|
chainId: string;
|
|
1694
1591
|
/**
|
|
@@ -1706,23 +1603,23 @@ declare class EvmTransactionsService {
|
|
|
1706
1603
|
* @returns ListContractsResponse
|
|
1707
1604
|
* @throws ApiError
|
|
1708
1605
|
*/
|
|
1709
|
-
listContractDeployments({ chainId, address,
|
|
1606
|
+
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
1710
1607
|
/**
|
|
1711
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1608
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1712
1609
|
*/
|
|
1713
1610
|
chainId: string;
|
|
1714
1611
|
/**
|
|
1715
1612
|
* A wallet address.
|
|
1716
1613
|
*/
|
|
1717
1614
|
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
1615
|
/**
|
|
1723
1616
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1724
1617
|
*/
|
|
1725
1618
|
pageToken?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1621
|
+
*/
|
|
1622
|
+
pageSize?: number;
|
|
1726
1623
|
}): CancelablePromise<ListContractsResponse>;
|
|
1727
1624
|
/**
|
|
1728
1625
|
* List ERC transfers
|
|
@@ -1730,9 +1627,9 @@ declare class EvmTransactionsService {
|
|
|
1730
1627
|
* @returns ListTransfersResponse
|
|
1731
1628
|
* @throws ApiError
|
|
1732
1629
|
*/
|
|
1733
|
-
listTransfers({ chainId, address, startBlock, endBlock,
|
|
1630
|
+
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1734
1631
|
/**
|
|
1735
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1632
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1736
1633
|
*/
|
|
1737
1634
|
chainId: string;
|
|
1738
1635
|
/**
|
|
@@ -1747,14 +1644,14 @@ declare class EvmTransactionsService {
|
|
|
1747
1644
|
* 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
1645
|
*/
|
|
1749
1646
|
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
1647
|
/**
|
|
1755
1648
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1756
1649
|
*/
|
|
1757
1650
|
pageToken?: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1653
|
+
*/
|
|
1654
|
+
pageSize?: number;
|
|
1758
1655
|
}): CancelablePromise<ListTransfersResponse>;
|
|
1759
1656
|
/**
|
|
1760
1657
|
* List transactions
|
|
@@ -1764,23 +1661,23 @@ declare class EvmTransactionsService {
|
|
|
1764
1661
|
* @returns ListTransactionDetailsResponse
|
|
1765
1662
|
* @throws ApiError
|
|
1766
1663
|
*/
|
|
1767
|
-
listTransactions({ chainId, address,
|
|
1664
|
+
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
1768
1665
|
/**
|
|
1769
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1666
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1770
1667
|
*/
|
|
1771
1668
|
chainId: string;
|
|
1772
1669
|
/**
|
|
1773
1670
|
* A wallet address.
|
|
1774
1671
|
*/
|
|
1775
1672
|
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
1673
|
/**
|
|
1781
1674
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1782
1675
|
*/
|
|
1783
1676
|
pageToken?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1679
|
+
*/
|
|
1680
|
+
pageSize?: number;
|
|
1784
1681
|
/**
|
|
1785
1682
|
* 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
1683
|
*/
|
|
@@ -1800,9 +1697,9 @@ declare class EvmTransactionsService {
|
|
|
1800
1697
|
* @returns ListNativeTransactionsResponse
|
|
1801
1698
|
* @throws ApiError
|
|
1802
1699
|
*/
|
|
1803
|
-
listNativeTransactions({ chainId, address, startBlock, endBlock,
|
|
1700
|
+
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1804
1701
|
/**
|
|
1805
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1702
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1806
1703
|
*/
|
|
1807
1704
|
chainId: string;
|
|
1808
1705
|
/**
|
|
@@ -1817,14 +1714,14 @@ declare class EvmTransactionsService {
|
|
|
1817
1714
|
* 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
1715
|
*/
|
|
1819
1716
|
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
1717
|
/**
|
|
1825
1718
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1826
1719
|
*/
|
|
1827
1720
|
pageToken?: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1723
|
+
*/
|
|
1724
|
+
pageSize?: number;
|
|
1828
1725
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1829
1726
|
/**
|
|
1830
1727
|
* List ERC-20 transfers
|
|
@@ -1832,9 +1729,9 @@ declare class EvmTransactionsService {
|
|
|
1832
1729
|
* @returns ListErc20TransactionsResponse
|
|
1833
1730
|
* @throws ApiError
|
|
1834
1731
|
*/
|
|
1835
|
-
listErc20Transactions({ chainId, address, startBlock, endBlock,
|
|
1732
|
+
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1836
1733
|
/**
|
|
1837
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1734
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1838
1735
|
*/
|
|
1839
1736
|
chainId: string;
|
|
1840
1737
|
/**
|
|
@@ -1849,14 +1746,14 @@ declare class EvmTransactionsService {
|
|
|
1849
1746
|
* 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
1747
|
*/
|
|
1851
1748
|
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
1749
|
/**
|
|
1857
1750
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1858
1751
|
*/
|
|
1859
1752
|
pageToken?: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1755
|
+
*/
|
|
1756
|
+
pageSize?: number;
|
|
1860
1757
|
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
1861
1758
|
/**
|
|
1862
1759
|
* List ERC-721 transfers
|
|
@@ -1864,9 +1761,9 @@ declare class EvmTransactionsService {
|
|
|
1864
1761
|
* @returns ListErc721TransactionsResponse
|
|
1865
1762
|
* @throws ApiError
|
|
1866
1763
|
*/
|
|
1867
|
-
listErc721Transactions({ chainId, address, startBlock, endBlock,
|
|
1764
|
+
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1868
1765
|
/**
|
|
1869
|
-
* 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.
|
|
1870
1767
|
*/
|
|
1871
1768
|
chainId: string;
|
|
1872
1769
|
/**
|
|
@@ -1881,14 +1778,14 @@ declare class EvmTransactionsService {
|
|
|
1881
1778
|
* 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
1779
|
*/
|
|
1883
1780
|
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
1781
|
/**
|
|
1889
1782
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1890
1783
|
*/
|
|
1891
1784
|
pageToken?: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1787
|
+
*/
|
|
1788
|
+
pageSize?: number;
|
|
1892
1789
|
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
1893
1790
|
/**
|
|
1894
1791
|
* List ERC-1155 transfers
|
|
@@ -1896,9 +1793,9 @@ declare class EvmTransactionsService {
|
|
|
1896
1793
|
* @returns ListErc1155TransactionsResponse
|
|
1897
1794
|
* @throws ApiError
|
|
1898
1795
|
*/
|
|
1899
|
-
listErc1155Transactions({ chainId, address, startBlock, endBlock,
|
|
1796
|
+
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1900
1797
|
/**
|
|
1901
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1798
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1902
1799
|
*/
|
|
1903
1800
|
chainId: string;
|
|
1904
1801
|
/**
|
|
@@ -1913,14 +1810,14 @@ declare class EvmTransactionsService {
|
|
|
1913
1810
|
* 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
1811
|
*/
|
|
1915
1812
|
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
1813
|
/**
|
|
1921
1814
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1922
1815
|
*/
|
|
1923
1816
|
pageToken?: string;
|
|
1817
|
+
/**
|
|
1818
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1819
|
+
*/
|
|
1820
|
+
pageSize?: number;
|
|
1924
1821
|
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
1925
1822
|
/**
|
|
1926
1823
|
* List internal transactions
|
|
@@ -1930,9 +1827,9 @@ declare class EvmTransactionsService {
|
|
|
1930
1827
|
* @returns ListInternalTransactionsResponse
|
|
1931
1828
|
* @throws ApiError
|
|
1932
1829
|
*/
|
|
1933
|
-
listInternalTransactions({ chainId, address, startBlock, endBlock,
|
|
1830
|
+
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1934
1831
|
/**
|
|
1935
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1832
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1936
1833
|
*/
|
|
1937
1834
|
chainId: string;
|
|
1938
1835
|
/**
|
|
@@ -1947,14 +1844,14 @@ declare class EvmTransactionsService {
|
|
|
1947
1844
|
* 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
1845
|
*/
|
|
1949
1846
|
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
1847
|
/**
|
|
1955
1848
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1956
1849
|
*/
|
|
1957
1850
|
pageToken?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1853
|
+
*/
|
|
1854
|
+
pageSize?: number;
|
|
1958
1855
|
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
1959
1856
|
/**
|
|
1960
1857
|
* Get transaction
|
|
@@ -1964,7 +1861,7 @@ declare class EvmTransactionsService {
|
|
|
1964
1861
|
*/
|
|
1965
1862
|
getTransaction({ chainId, txHash, }: {
|
|
1966
1863
|
/**
|
|
1967
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1864
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1968
1865
|
*/
|
|
1969
1866
|
chainId: string;
|
|
1970
1867
|
/**
|
|
@@ -1980,7 +1877,7 @@ declare class EvmTransactionsService {
|
|
|
1980
1877
|
*/
|
|
1981
1878
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
1982
1879
|
/**
|
|
1983
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1880
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1984
1881
|
*/
|
|
1985
1882
|
chainId: string;
|
|
1986
1883
|
/**
|
|
@@ -1994,19 +1891,19 @@ declare class EvmTransactionsService {
|
|
|
1994
1891
|
* @returns ListNativeTransactionsResponse
|
|
1995
1892
|
* @throws ApiError
|
|
1996
1893
|
*/
|
|
1997
|
-
listLatestTransactions({ chainId,
|
|
1894
|
+
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
1998
1895
|
/**
|
|
1999
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1896
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2000
1897
|
*/
|
|
2001
1898
|
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
1899
|
/**
|
|
2007
1900
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2008
1901
|
*/
|
|
2009
1902
|
pageToken?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1905
|
+
*/
|
|
1906
|
+
pageSize?: number;
|
|
2010
1907
|
/**
|
|
2011
1908
|
* A status filter for listed transactions.
|
|
2012
1909
|
*/
|
|
@@ -2035,7 +1932,7 @@ type ListNftTokens = {
|
|
|
2035
1932
|
* 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
1933
|
*/
|
|
2037
1934
|
nextPageToken?: string;
|
|
2038
|
-
tokens:
|
|
1935
|
+
tokens: Array<(Erc721Token | Erc1155Token)>;
|
|
2039
1936
|
};
|
|
2040
1937
|
|
|
2041
1938
|
declare class NfTsService {
|
|
@@ -2049,7 +1946,7 @@ declare class NfTsService {
|
|
|
2049
1946
|
*/
|
|
2050
1947
|
reindexNft({ chainId, address, tokenId, }: {
|
|
2051
1948
|
/**
|
|
2052
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1949
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2053
1950
|
*/
|
|
2054
1951
|
chainId: string;
|
|
2055
1952
|
/**
|
|
@@ -2067,23 +1964,23 @@ declare class NfTsService {
|
|
|
2067
1964
|
* @returns ListNftTokens
|
|
2068
1965
|
* @throws ApiError
|
|
2069
1966
|
*/
|
|
2070
|
-
listTokens({ chainId, address,
|
|
1967
|
+
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2071
1968
|
/**
|
|
2072
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1969
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2073
1970
|
*/
|
|
2074
1971
|
chainId: string;
|
|
2075
1972
|
/**
|
|
2076
1973
|
* Contract address on the relevant chain.
|
|
2077
1974
|
*/
|
|
2078
1975
|
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
1976
|
/**
|
|
2084
1977
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2085
1978
|
*/
|
|
2086
1979
|
pageToken?: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1982
|
+
*/
|
|
1983
|
+
pageSize?: number;
|
|
2087
1984
|
}): CancelablePromise<ListNftTokens>;
|
|
2088
1985
|
/**
|
|
2089
1986
|
* Get token details
|
|
@@ -2093,7 +1990,7 @@ declare class NfTsService {
|
|
|
2093
1990
|
*/
|
|
2094
1991
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
2095
1992
|
/**
|
|
2096
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1993
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2097
1994
|
*/
|
|
2098
1995
|
chainId: string;
|
|
2099
1996
|
/**
|
|
@@ -2112,8 +2009,12 @@ type EvmNetworkOptions = {
|
|
|
2112
2009
|
includeChains: Array<string>;
|
|
2113
2010
|
};
|
|
2114
2011
|
|
|
2012
|
+
declare enum EVMOperationType {
|
|
2013
|
+
TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2115
2016
|
type CreateEvmTransactionExportRequest = {
|
|
2116
|
-
type:
|
|
2017
|
+
type: EVMOperationType;
|
|
2117
2018
|
firstDate: string;
|
|
2118
2019
|
lastDate: string;
|
|
2119
2020
|
/**
|
|
@@ -2126,20 +2027,21 @@ type CreateEvmTransactionExportRequest = {
|
|
|
2126
2027
|
endDate: string;
|
|
2127
2028
|
options: EvmNetworkOptions;
|
|
2128
2029
|
};
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2030
|
+
|
|
2031
|
+
declare enum PrimaryNetworkOperationType {
|
|
2032
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
|
|
2033
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
|
|
2034
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"
|
|
2133
2035
|
}
|
|
2134
2036
|
|
|
2135
2037
|
type PrimaryNetworkOptions = {
|
|
2136
|
-
addresses
|
|
2038
|
+
addresses?: Array<string>;
|
|
2137
2039
|
cChainEvmAddresses?: Array<string>;
|
|
2138
2040
|
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2139
2041
|
};
|
|
2140
2042
|
|
|
2141
2043
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
2142
|
-
type:
|
|
2044
|
+
type: PrimaryNetworkOperationType;
|
|
2143
2045
|
firstDate: string;
|
|
2144
2046
|
lastDate: string;
|
|
2145
2047
|
/**
|
|
@@ -2152,11 +2054,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
|
|
|
2152
2054
|
endDate: string;
|
|
2153
2055
|
options: PrimaryNetworkOptions;
|
|
2154
2056
|
};
|
|
2155
|
-
declare namespace CreatePrimaryNetworkTransactionExportRequest {
|
|
2156
|
-
enum type {
|
|
2157
|
-
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
|
|
2158
|
-
}
|
|
2159
|
-
}
|
|
2160
2057
|
|
|
2161
2058
|
declare enum OperationStatus {
|
|
2162
2059
|
RUNNING = "RUNNING",
|
|
@@ -2166,8 +2063,10 @@ declare enum OperationStatus {
|
|
|
2166
2063
|
}
|
|
2167
2064
|
|
|
2168
2065
|
declare enum OperationType {
|
|
2169
|
-
|
|
2170
|
-
|
|
2066
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
|
|
2067
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
|
|
2068
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",
|
|
2069
|
+
TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
|
|
2171
2070
|
}
|
|
2172
2071
|
|
|
2173
2072
|
declare enum OperationStatusCode {
|
|
@@ -2359,13 +2258,44 @@ type BlockchainInfo = {
|
|
|
2359
2258
|
blockchainId: string;
|
|
2360
2259
|
};
|
|
2361
2260
|
|
|
2261
|
+
type SubnetOwnershipInfo = {
|
|
2262
|
+
/**
|
|
2263
|
+
* Locktime in seconds after which Subnet owners can control this Subnet.
|
|
2264
|
+
*/
|
|
2265
|
+
locktime: number;
|
|
2266
|
+
/**
|
|
2267
|
+
* Minimum number of signatures required to sign the Subnet update transactions.
|
|
2268
|
+
*/
|
|
2269
|
+
threshold: number;
|
|
2270
|
+
/**
|
|
2271
|
+
* Addresses that are eligible to sign the Subnet update transactions.
|
|
2272
|
+
*/
|
|
2273
|
+
addresses: Array<string>;
|
|
2274
|
+
};
|
|
2275
|
+
|
|
2362
2276
|
type Subnet = {
|
|
2363
2277
|
createBlockTimestamp: number;
|
|
2364
2278
|
createBlockIndex: string;
|
|
2365
2279
|
subnetId: string;
|
|
2280
|
+
/**
|
|
2281
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2282
|
+
* @deprecated
|
|
2283
|
+
*/
|
|
2366
2284
|
ownerAddresses: Array<string>;
|
|
2367
|
-
|
|
2285
|
+
/**
|
|
2286
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2287
|
+
* @deprecated
|
|
2288
|
+
*/
|
|
2289
|
+
threshold: number;
|
|
2290
|
+
/**
|
|
2291
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2292
|
+
* @deprecated
|
|
2293
|
+
*/
|
|
2368
2294
|
locktime: number;
|
|
2295
|
+
/**
|
|
2296
|
+
* Latest subnet owner details for this Subnet.
|
|
2297
|
+
*/
|
|
2298
|
+
subnetOwnershipInfo: SubnetOwnershipInfo;
|
|
2369
2299
|
blockchains: Array<BlockchainInfo>;
|
|
2370
2300
|
};
|
|
2371
2301
|
|
|
@@ -2461,6 +2391,24 @@ declare namespace PendingValidatorDetails {
|
|
|
2461
2391
|
}
|
|
2462
2392
|
}
|
|
2463
2393
|
|
|
2394
|
+
type RemovedValidatorDetails = {
|
|
2395
|
+
txHash: string;
|
|
2396
|
+
nodeId: string;
|
|
2397
|
+
subnetId: string;
|
|
2398
|
+
amountStaked: string;
|
|
2399
|
+
delegationFee?: string;
|
|
2400
|
+
startTimestamp: number;
|
|
2401
|
+
endTimestamp: number;
|
|
2402
|
+
removeTxHash: string;
|
|
2403
|
+
removeTimestamp: number;
|
|
2404
|
+
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
2405
|
+
};
|
|
2406
|
+
declare namespace RemovedValidatorDetails {
|
|
2407
|
+
enum validationStatus {
|
|
2408
|
+
REMOVED = "removed"
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2464
2412
|
type ListValidatorDetailsResponse = {
|
|
2465
2413
|
/**
|
|
2466
2414
|
* 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 +2417,7 @@ type ListValidatorDetailsResponse = {
|
|
|
2469
2417
|
/**
|
|
2470
2418
|
* The list of validator Details.
|
|
2471
2419
|
*/
|
|
2472
|
-
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
|
|
2420
|
+
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
|
|
2473
2421
|
};
|
|
2474
2422
|
|
|
2475
2423
|
declare enum Network {
|
|
@@ -2480,7 +2428,24 @@ declare enum Network {
|
|
|
2480
2428
|
declare enum ValidationStatusType {
|
|
2481
2429
|
COMPLETED = "completed",
|
|
2482
2430
|
ACTIVE = "active",
|
|
2483
|
-
PENDING = "pending"
|
|
2431
|
+
PENDING = "pending",
|
|
2432
|
+
REMOVED = "removed"
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Cap represents if an asset is a variable or fixed cap asset.
|
|
2437
|
+
*/
|
|
2438
|
+
declare enum PrimaryNetworkAssetCap {
|
|
2439
|
+
FIXED = "fixed",
|
|
2440
|
+
VARIABLE = "variable"
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* Type of asset like SECP256K1 or NFT.
|
|
2445
|
+
*/
|
|
2446
|
+
declare enum PrimaryNetworkAssetType {
|
|
2447
|
+
SECP256K1 = "secp256k1",
|
|
2448
|
+
NFT = "nft"
|
|
2484
2449
|
}
|
|
2485
2450
|
|
|
2486
2451
|
type XChainAssetDetails = {
|
|
@@ -2500,18 +2465,12 @@ type XChainAssetDetails = {
|
|
|
2500
2465
|
* Denomination of this asset to represent fungibility.
|
|
2501
2466
|
*/
|
|
2502
2467
|
denomination: number;
|
|
2503
|
-
|
|
2504
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2505
|
-
*/
|
|
2506
|
-
type: string;
|
|
2468
|
+
type: PrimaryNetworkAssetType;
|
|
2507
2469
|
/**
|
|
2508
2470
|
* Timestamp in seconds this asset was created on.
|
|
2509
2471
|
*/
|
|
2510
2472
|
createdAtTimestamp: number;
|
|
2511
|
-
|
|
2512
|
-
* Cap represents if an asset can be or is fixed cap.
|
|
2513
|
-
*/
|
|
2514
|
-
cap: string;
|
|
2473
|
+
cap: PrimaryNetworkAssetCap;
|
|
2515
2474
|
};
|
|
2516
2475
|
|
|
2517
2476
|
declare enum XChainId {
|
|
@@ -2577,19 +2536,19 @@ declare class PrimaryNetworkService {
|
|
|
2577
2536
|
* @returns ListBlockchainsResponse
|
|
2578
2537
|
* @throws ApiError
|
|
2579
2538
|
*/
|
|
2580
|
-
listBlockchains({ network,
|
|
2539
|
+
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
2581
2540
|
/**
|
|
2582
2541
|
* Either mainnet or a testnet.
|
|
2583
2542
|
*/
|
|
2584
2543
|
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
2544
|
/**
|
|
2590
2545
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2591
2546
|
*/
|
|
2592
2547
|
pageToken?: string;
|
|
2548
|
+
/**
|
|
2549
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2550
|
+
*/
|
|
2551
|
+
pageSize?: number;
|
|
2593
2552
|
/**
|
|
2594
2553
|
* 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
2554
|
*/
|
|
@@ -2601,19 +2560,19 @@ declare class PrimaryNetworkService {
|
|
|
2601
2560
|
* @returns ListSubnetsResponse
|
|
2602
2561
|
* @throws ApiError
|
|
2603
2562
|
*/
|
|
2604
|
-
listSubnets({ network,
|
|
2563
|
+
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
2605
2564
|
/**
|
|
2606
2565
|
* Either mainnet or a testnet.
|
|
2607
2566
|
*/
|
|
2608
2567
|
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
2568
|
/**
|
|
2614
2569
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2615
2570
|
*/
|
|
2616
2571
|
pageToken?: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2574
|
+
*/
|
|
2575
|
+
pageSize?: number;
|
|
2617
2576
|
/**
|
|
2618
2577
|
* 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
2578
|
*/
|
|
@@ -2625,19 +2584,19 @@ declare class PrimaryNetworkService {
|
|
|
2625
2584
|
* @returns ListValidatorDetailsResponse
|
|
2626
2585
|
* @throws ApiError
|
|
2627
2586
|
*/
|
|
2628
|
-
listValidators({ network,
|
|
2587
|
+
listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
|
|
2629
2588
|
/**
|
|
2630
2589
|
* Either mainnet or a testnet.
|
|
2631
2590
|
*/
|
|
2632
2591
|
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
2592
|
/**
|
|
2638
2593
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2639
2594
|
*/
|
|
2640
2595
|
pageToken?: string;
|
|
2596
|
+
/**
|
|
2597
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2598
|
+
*/
|
|
2599
|
+
pageSize?: number;
|
|
2641
2600
|
/**
|
|
2642
2601
|
* A comma separated list of node ids to filter by.
|
|
2643
2602
|
*/
|
|
@@ -2653,31 +2612,31 @@ declare class PrimaryNetworkService {
|
|
|
2653
2612
|
/**
|
|
2654
2613
|
* 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
|
|
2655
2614
|
*/
|
|
2656
|
-
minDelegationCapacity?:
|
|
2615
|
+
minDelegationCapacity?: string;
|
|
2657
2616
|
/**
|
|
2658
2617
|
* 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.
|
|
2659
2618
|
*/
|
|
2660
|
-
maxDelegationCapacity?:
|
|
2619
|
+
maxDelegationCapacity?: string;
|
|
2661
2620
|
/**
|
|
2662
2621
|
* The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2663
2622
|
*/
|
|
2664
|
-
minTimeRemaining?:
|
|
2623
|
+
minTimeRemaining?: number;
|
|
2665
2624
|
/**
|
|
2666
2625
|
* The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2667
2626
|
*/
|
|
2668
|
-
maxTimeRemaining?:
|
|
2627
|
+
maxTimeRemaining?: number;
|
|
2669
2628
|
/**
|
|
2670
2629
|
* 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.
|
|
2671
2630
|
*/
|
|
2672
|
-
minFeePercentage?:
|
|
2631
|
+
minFeePercentage?: number;
|
|
2673
2632
|
/**
|
|
2674
2633
|
* 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.
|
|
2675
2634
|
*/
|
|
2676
|
-
maxFeePercentage?:
|
|
2635
|
+
maxFeePercentage?: number;
|
|
2677
2636
|
/**
|
|
2678
2637
|
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
2679
2638
|
*/
|
|
2680
|
-
subnetId?:
|
|
2639
|
+
subnetId?: any;
|
|
2681
2640
|
}): CancelablePromise<ListValidatorDetailsResponse>;
|
|
2682
2641
|
/**
|
|
2683
2642
|
* Get single validator details
|
|
@@ -2685,7 +2644,7 @@ declare class PrimaryNetworkService {
|
|
|
2685
2644
|
* @returns ListValidatorDetailsResponse
|
|
2686
2645
|
* @throws ApiError
|
|
2687
2646
|
*/
|
|
2688
|
-
getSingleValidatorDetails({ network, nodeId,
|
|
2647
|
+
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
|
|
2689
2648
|
/**
|
|
2690
2649
|
* Either mainnet or a testnet.
|
|
2691
2650
|
*/
|
|
@@ -2694,14 +2653,14 @@ declare class PrimaryNetworkService {
|
|
|
2694
2653
|
* A primary network (P or X chain) nodeId.
|
|
2695
2654
|
*/
|
|
2696
2655
|
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
2656
|
/**
|
|
2702
2657
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2703
2658
|
*/
|
|
2704
2659
|
pageToken?: string;
|
|
2660
|
+
/**
|
|
2661
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2662
|
+
*/
|
|
2663
|
+
pageSize?: number;
|
|
2705
2664
|
/**
|
|
2706
2665
|
* 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
2666
|
*/
|
|
@@ -2717,19 +2676,19 @@ declare class PrimaryNetworkService {
|
|
|
2717
2676
|
* @returns ListDelegatorDetailsResponse
|
|
2718
2677
|
* @throws ApiError
|
|
2719
2678
|
*/
|
|
2720
|
-
listDelegators({ network,
|
|
2679
|
+
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
2721
2680
|
/**
|
|
2722
2681
|
* Either mainnet or a testnet.
|
|
2723
2682
|
*/
|
|
2724
2683
|
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
2684
|
/**
|
|
2730
2685
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2731
2686
|
*/
|
|
2732
2687
|
pageToken?: string;
|
|
2688
|
+
/**
|
|
2689
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2690
|
+
*/
|
|
2691
|
+
pageSize?: number;
|
|
2733
2692
|
/**
|
|
2734
2693
|
* A comma separated list of reward addresses to filter by.
|
|
2735
2694
|
*/
|
|
@@ -2777,10 +2736,7 @@ type CChainSharedAssetBalance = {
|
|
|
2777
2736
|
* Denomination of this asset to represent fungibility.
|
|
2778
2737
|
*/
|
|
2779
2738
|
denomination: number;
|
|
2780
|
-
|
|
2781
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2782
|
-
*/
|
|
2783
|
-
type: string;
|
|
2739
|
+
type: PrimaryNetworkAssetType;
|
|
2784
2740
|
/**
|
|
2785
2741
|
* Amount of the asset.
|
|
2786
2742
|
*/
|
|
@@ -2815,7 +2771,7 @@ type ListCChainAtomicBalancesResponse = {
|
|
|
2815
2771
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2816
2772
|
};
|
|
2817
2773
|
|
|
2818
|
-
type
|
|
2774
|
+
type AggregatedAssetAmount = {
|
|
2819
2775
|
/**
|
|
2820
2776
|
* Unique ID for an asset.
|
|
2821
2777
|
*/
|
|
@@ -2832,14 +2788,12 @@ type Asset = {
|
|
|
2832
2788
|
* Denomination of this asset to represent fungibility.
|
|
2833
2789
|
*/
|
|
2834
2790
|
denomination: number;
|
|
2835
|
-
|
|
2836
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2837
|
-
*/
|
|
2838
|
-
type: string;
|
|
2791
|
+
type: PrimaryNetworkAssetType;
|
|
2839
2792
|
/**
|
|
2840
2793
|
* Amount of the asset.
|
|
2841
2794
|
*/
|
|
2842
2795
|
amount: string;
|
|
2796
|
+
utxoCount: number;
|
|
2843
2797
|
};
|
|
2844
2798
|
|
|
2845
2799
|
type PChainSharedAsset = {
|
|
@@ -2859,49 +2813,47 @@ type PChainSharedAsset = {
|
|
|
2859
2813
|
* Denomination of this asset to represent fungibility.
|
|
2860
2814
|
*/
|
|
2861
2815
|
denomination: number;
|
|
2862
|
-
|
|
2863
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2864
|
-
*/
|
|
2865
|
-
type: string;
|
|
2816
|
+
type: PrimaryNetworkAssetType;
|
|
2866
2817
|
/**
|
|
2867
2818
|
* Amount of the asset.
|
|
2868
2819
|
*/
|
|
2869
2820
|
amount: string;
|
|
2821
|
+
utxoCount: number;
|
|
2870
2822
|
sharedWithChainId: string;
|
|
2871
2823
|
status: string;
|
|
2872
2824
|
};
|
|
2873
2825
|
|
|
2874
2826
|
type PChainBalance = {
|
|
2875
2827
|
/**
|
|
2876
|
-
* A list of objects containing P-chain Asset
|
|
2828
|
+
* 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.
|
|
2877
2829
|
*/
|
|
2878
|
-
unlockedUnstaked: Array<
|
|
2830
|
+
unlockedUnstaked: Array<AggregatedAssetAmount>;
|
|
2879
2831
|
/**
|
|
2880
|
-
* A list of objects containing P-chain Asset
|
|
2832
|
+
* 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.
|
|
2881
2833
|
*/
|
|
2882
|
-
unlockedStaked: Array<
|
|
2834
|
+
unlockedStaked: Array<AggregatedAssetAmount>;
|
|
2883
2835
|
/**
|
|
2884
|
-
* A list of objects containing P-chain Asset
|
|
2836
|
+
* 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.
|
|
2885
2837
|
*/
|
|
2886
|
-
lockedPlatform: Array<
|
|
2838
|
+
lockedPlatform: Array<AggregatedAssetAmount>;
|
|
2887
2839
|
/**
|
|
2888
|
-
* A list of objects containing P-chain Asset
|
|
2840
|
+
* 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.
|
|
2889
2841
|
*/
|
|
2890
|
-
lockedStakeable: Array<
|
|
2842
|
+
lockedStakeable: Array<AggregatedAssetAmount>;
|
|
2891
2843
|
/**
|
|
2892
|
-
* A list of objects containing P-chain Asset
|
|
2844
|
+
* 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.
|
|
2893
2845
|
*/
|
|
2894
|
-
lockedStaked: Array<
|
|
2846
|
+
lockedStaked: Array<AggregatedAssetAmount>;
|
|
2895
2847
|
/**
|
|
2896
|
-
* A list of objects containing P-chain Asset
|
|
2848
|
+
* 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.
|
|
2897
2849
|
*/
|
|
2898
|
-
pendingStaked: Array<
|
|
2850
|
+
pendingStaked: Array<AggregatedAssetAmount>;
|
|
2899
2851
|
/**
|
|
2900
|
-
* A list of objects containing P-chain Asset
|
|
2852
|
+
* 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.
|
|
2901
2853
|
*/
|
|
2902
2854
|
atomicMemoryUnlocked: Array<PChainSharedAsset>;
|
|
2903
2855
|
/**
|
|
2904
|
-
* A list of objects containing P-chain Asset
|
|
2856
|
+
* 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.
|
|
2905
2857
|
*/
|
|
2906
2858
|
atomicMemoryLocked: Array<PChainSharedAsset>;
|
|
2907
2859
|
};
|
|
@@ -2911,34 +2863,6 @@ type ListPChainBalancesResponse = {
|
|
|
2911
2863
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2912
2864
|
};
|
|
2913
2865
|
|
|
2914
|
-
type XChainAssetBalance = {
|
|
2915
|
-
/**
|
|
2916
|
-
* Unique ID for an asset.
|
|
2917
|
-
*/
|
|
2918
|
-
assetId: string;
|
|
2919
|
-
/**
|
|
2920
|
-
* Name of this asset.
|
|
2921
|
-
*/
|
|
2922
|
-
name: string;
|
|
2923
|
-
/**
|
|
2924
|
-
* Symbol for this asset (max 4 characters).
|
|
2925
|
-
*/
|
|
2926
|
-
symbol: string;
|
|
2927
|
-
/**
|
|
2928
|
-
* Denomination of this asset to represent fungibility.
|
|
2929
|
-
*/
|
|
2930
|
-
denomination: number;
|
|
2931
|
-
/**
|
|
2932
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2933
|
-
*/
|
|
2934
|
-
type: string;
|
|
2935
|
-
/**
|
|
2936
|
-
* Amount of the asset.
|
|
2937
|
-
*/
|
|
2938
|
-
amount: string;
|
|
2939
|
-
utxoCount: number;
|
|
2940
|
-
};
|
|
2941
|
-
|
|
2942
2866
|
type XChainSharedAssetBalance = {
|
|
2943
2867
|
/**
|
|
2944
2868
|
* Unique ID for an asset.
|
|
@@ -2956,10 +2880,7 @@ type XChainSharedAssetBalance = {
|
|
|
2956
2880
|
* Denomination of this asset to represent fungibility.
|
|
2957
2881
|
*/
|
|
2958
2882
|
denomination: number;
|
|
2959
|
-
|
|
2960
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2961
|
-
*/
|
|
2962
|
-
type: string;
|
|
2883
|
+
type: PrimaryNetworkAssetType;
|
|
2963
2884
|
/**
|
|
2964
2885
|
* Amount of the asset.
|
|
2965
2886
|
*/
|
|
@@ -2972,11 +2893,11 @@ type XChainBalances = {
|
|
|
2972
2893
|
/**
|
|
2973
2894
|
* A list of objects containing X-chain Asset balance information.
|
|
2974
2895
|
*/
|
|
2975
|
-
locked: Array<
|
|
2896
|
+
locked: Array<AggregatedAssetAmount>;
|
|
2976
2897
|
/**
|
|
2977
2898
|
* A list of objects containing X-chain Asset balance information.
|
|
2978
2899
|
*/
|
|
2979
|
-
unlocked: Array<
|
|
2900
|
+
unlocked: Array<AggregatedAssetAmount>;
|
|
2980
2901
|
atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
|
|
2981
2902
|
atomicMemoryLocked: Array<XChainSharedAssetBalance>;
|
|
2982
2903
|
};
|
|
@@ -3089,7 +3010,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3089
3010
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3090
3011
|
* @throws ApiError
|
|
3091
3012
|
*/
|
|
3092
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId,
|
|
3013
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
3093
3014
|
/**
|
|
3094
3015
|
* A primary network blockchain id or alias.
|
|
3095
3016
|
*/
|
|
@@ -3102,14 +3023,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3102
3023
|
* A primary network (P or X chain) nodeId.
|
|
3103
3024
|
*/
|
|
3104
3025
|
nodeId: string;
|
|
3105
|
-
/**
|
|
3106
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3107
|
-
*/
|
|
3108
|
-
pageSize?: number;
|
|
3109
3026
|
/**
|
|
3110
3027
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3111
3028
|
*/
|
|
3112
3029
|
pageToken?: string;
|
|
3030
|
+
/**
|
|
3031
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3032
|
+
*/
|
|
3033
|
+
pageSize?: number;
|
|
3113
3034
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3114
3035
|
/**
|
|
3115
3036
|
* List latest blocks
|
|
@@ -3117,7 +3038,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3117
3038
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3118
3039
|
* @throws ApiError
|
|
3119
3040
|
*/
|
|
3120
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network,
|
|
3041
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
3121
3042
|
/**
|
|
3122
3043
|
* A primary network blockchain id or alias.
|
|
3123
3044
|
*/
|
|
@@ -3126,17 +3047,45 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3126
3047
|
* Either mainnet or a testnet.
|
|
3127
3048
|
*/
|
|
3128
3049
|
network: Network;
|
|
3129
|
-
/**
|
|
3130
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3131
|
-
*/
|
|
3132
|
-
pageSize?: number;
|
|
3133
3050
|
/**
|
|
3134
3051
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3135
3052
|
*/
|
|
3136
3053
|
pageToken?: string;
|
|
3054
|
+
/**
|
|
3055
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3056
|
+
*/
|
|
3057
|
+
pageSize?: number;
|
|
3137
3058
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3138
3059
|
}
|
|
3139
3060
|
|
|
3061
|
+
type AssetWithPriceInfo = {
|
|
3062
|
+
/**
|
|
3063
|
+
* Unique ID for an asset.
|
|
3064
|
+
*/
|
|
3065
|
+
assetId: string;
|
|
3066
|
+
/**
|
|
3067
|
+
* Name of this asset.
|
|
3068
|
+
*/
|
|
3069
|
+
name: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* Symbol for this asset (max 4 characters).
|
|
3072
|
+
*/
|
|
3073
|
+
symbol: string;
|
|
3074
|
+
/**
|
|
3075
|
+
* Denomination of this asset to represent fungibility.
|
|
3076
|
+
*/
|
|
3077
|
+
denomination: number;
|
|
3078
|
+
type: PrimaryNetworkAssetType;
|
|
3079
|
+
/**
|
|
3080
|
+
* Amount of the asset.
|
|
3081
|
+
*/
|
|
3082
|
+
amount: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* 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.
|
|
3085
|
+
*/
|
|
3086
|
+
historicalPrice?: Money;
|
|
3087
|
+
};
|
|
3088
|
+
|
|
3140
3089
|
declare enum RewardType {
|
|
3141
3090
|
VALIDATOR = "VALIDATOR",
|
|
3142
3091
|
DELEGATOR = "DELEGATOR",
|
|
@@ -3156,10 +3105,7 @@ type HistoricalReward = {
|
|
|
3156
3105
|
rewardType: RewardType;
|
|
3157
3106
|
utxoId: string;
|
|
3158
3107
|
outputIndex: number;
|
|
3159
|
-
|
|
3160
|
-
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
3161
|
-
*/
|
|
3162
|
-
reward: Asset;
|
|
3108
|
+
reward: AssetWithPriceInfo;
|
|
3163
3109
|
rewardTxHash: string;
|
|
3164
3110
|
};
|
|
3165
3111
|
|
|
@@ -3171,6 +3117,30 @@ type ListHistoricalRewardsResponse = {
|
|
|
3171
3117
|
historicalRewards: Array<HistoricalReward>;
|
|
3172
3118
|
};
|
|
3173
3119
|
|
|
3120
|
+
type AssetAmount = {
|
|
3121
|
+
/**
|
|
3122
|
+
* Unique ID for an asset.
|
|
3123
|
+
*/
|
|
3124
|
+
assetId: string;
|
|
3125
|
+
/**
|
|
3126
|
+
* Name of this asset.
|
|
3127
|
+
*/
|
|
3128
|
+
name: string;
|
|
3129
|
+
/**
|
|
3130
|
+
* Symbol for this asset (max 4 characters).
|
|
3131
|
+
*/
|
|
3132
|
+
symbol: string;
|
|
3133
|
+
/**
|
|
3134
|
+
* Denomination of this asset to represent fungibility.
|
|
3135
|
+
*/
|
|
3136
|
+
denomination: number;
|
|
3137
|
+
type: PrimaryNetworkAssetType;
|
|
3138
|
+
/**
|
|
3139
|
+
* Amount of the asset.
|
|
3140
|
+
*/
|
|
3141
|
+
amount: string;
|
|
3142
|
+
};
|
|
3143
|
+
|
|
3174
3144
|
type PendingReward = {
|
|
3175
3145
|
/**
|
|
3176
3146
|
* An array of P-Chain wallet addresses.
|
|
@@ -3184,9 +3154,9 @@ type PendingReward = {
|
|
|
3184
3154
|
rewardType: RewardType;
|
|
3185
3155
|
progress: number;
|
|
3186
3156
|
/**
|
|
3187
|
-
* An object containing P-chain Asset
|
|
3157
|
+
* An object containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3188
3158
|
*/
|
|
3189
|
-
estimatedReward:
|
|
3159
|
+
estimatedReward: AssetAmount;
|
|
3190
3160
|
};
|
|
3191
3161
|
|
|
3192
3162
|
type ListPendingRewardsResponse = {
|
|
@@ -3206,25 +3176,25 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3206
3176
|
* @returns ListPendingRewardsResponse
|
|
3207
3177
|
* @throws ApiError
|
|
3208
3178
|
*/
|
|
3209
|
-
listPendingPrimaryNetworkRewards({ network, addresses,
|
|
3179
|
+
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
3210
3180
|
/**
|
|
3211
3181
|
* Either mainnet or a testnet.
|
|
3212
3182
|
*/
|
|
3213
3183
|
network: Network;
|
|
3214
3184
|
/**
|
|
3215
|
-
* 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".
|
|
3185
|
+
* 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.
|
|
3216
3186
|
*/
|
|
3217
3187
|
addresses?: string;
|
|
3218
|
-
/**
|
|
3219
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3220
|
-
*/
|
|
3221
|
-
pageSize?: number;
|
|
3222
3188
|
/**
|
|
3223
3189
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3224
3190
|
*/
|
|
3225
3191
|
pageToken?: string;
|
|
3226
3192
|
/**
|
|
3227
|
-
*
|
|
3193
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3194
|
+
*/
|
|
3195
|
+
pageSize?: number;
|
|
3196
|
+
/**
|
|
3197
|
+
* A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
|
|
3228
3198
|
*/
|
|
3229
3199
|
nodeIds?: string;
|
|
3230
3200
|
/**
|
|
@@ -3238,31 +3208,35 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3238
3208
|
* @returns ListHistoricalRewardsResponse
|
|
3239
3209
|
* @throws ApiError
|
|
3240
3210
|
*/
|
|
3241
|
-
listHistoricalPrimaryNetworkRewards({ network, addresses,
|
|
3211
|
+
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
3242
3212
|
/**
|
|
3243
3213
|
* Either mainnet or a testnet.
|
|
3244
3214
|
*/
|
|
3245
3215
|
network: Network;
|
|
3246
3216
|
/**
|
|
3247
|
-
* 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".
|
|
3217
|
+
* 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.
|
|
3248
3218
|
*/
|
|
3249
3219
|
addresses?: string;
|
|
3250
|
-
/**
|
|
3251
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3252
|
-
*/
|
|
3253
|
-
pageSize?: number;
|
|
3254
3220
|
/**
|
|
3255
3221
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3256
3222
|
*/
|
|
3257
3223
|
pageToken?: string;
|
|
3258
3224
|
/**
|
|
3259
|
-
*
|
|
3225
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3226
|
+
*/
|
|
3227
|
+
pageSize?: number;
|
|
3228
|
+
/**
|
|
3229
|
+
* A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
|
|
3260
3230
|
*/
|
|
3261
3231
|
nodeIds?: string;
|
|
3262
3232
|
/**
|
|
3263
3233
|
* 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.
|
|
3264
3234
|
*/
|
|
3265
3235
|
sortOrder?: SortOrder;
|
|
3236
|
+
/**
|
|
3237
|
+
* The currency that return values should use. Defaults to USD.
|
|
3238
|
+
*/
|
|
3239
|
+
currency?: CurrencyCode;
|
|
3266
3240
|
}): CancelablePromise<ListHistoricalRewardsResponse>;
|
|
3267
3241
|
}
|
|
3268
3242
|
|
|
@@ -3283,9 +3257,9 @@ type EVMInput = {
|
|
|
3283
3257
|
*/
|
|
3284
3258
|
fromAddress: string;
|
|
3285
3259
|
/**
|
|
3286
|
-
*
|
|
3260
|
+
* AssetAmount details for the asset being transferred.
|
|
3287
3261
|
*/
|
|
3288
|
-
asset:
|
|
3262
|
+
asset: AssetAmount;
|
|
3289
3263
|
/**
|
|
3290
3264
|
* Credentials that signed this transaction.
|
|
3291
3265
|
*/
|
|
@@ -3297,7 +3271,7 @@ type Utxo = {
|
|
|
3297
3271
|
* Addresses that are eligible to sign the consumption of this output.
|
|
3298
3272
|
*/
|
|
3299
3273
|
addresses: Array<string>;
|
|
3300
|
-
asset:
|
|
3274
|
+
asset: AssetAmount;
|
|
3301
3275
|
/**
|
|
3302
3276
|
* Blockchain ID on which this output is consumed on.
|
|
3303
3277
|
*/
|
|
@@ -3380,11 +3354,11 @@ type CChainExportTransaction = {
|
|
|
3380
3354
|
/**
|
|
3381
3355
|
* Assets unlocked by inputs of this transaction.
|
|
3382
3356
|
*/
|
|
3383
|
-
amountUnlocked: Array<
|
|
3357
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3384
3358
|
/**
|
|
3385
3359
|
* Assets created by outputs of this transaction.
|
|
3386
3360
|
*/
|
|
3387
|
-
amountCreated: Array<
|
|
3361
|
+
amountCreated: Array<AssetAmount>;
|
|
3388
3362
|
/**
|
|
3389
3363
|
* Source chain for an atomic transaction.
|
|
3390
3364
|
*/
|
|
@@ -3415,9 +3389,9 @@ type EVMOutput = {
|
|
|
3415
3389
|
*/
|
|
3416
3390
|
toAddress: string;
|
|
3417
3391
|
/**
|
|
3418
|
-
*
|
|
3392
|
+
* AssetAmount details for the asset being transferred.
|
|
3419
3393
|
*/
|
|
3420
|
-
asset:
|
|
3394
|
+
asset: AssetAmount;
|
|
3421
3395
|
};
|
|
3422
3396
|
|
|
3423
3397
|
type CChainImportTransaction = {
|
|
@@ -3444,11 +3418,11 @@ type CChainImportTransaction = {
|
|
|
3444
3418
|
/**
|
|
3445
3419
|
* Assets unlocked by inputs of this transaction.
|
|
3446
3420
|
*/
|
|
3447
|
-
amountUnlocked: Array<
|
|
3421
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3448
3422
|
/**
|
|
3449
3423
|
* Assets created by outputs of this transaction.
|
|
3450
3424
|
*/
|
|
3451
|
-
amountCreated: Array<
|
|
3425
|
+
amountCreated: Array<AssetAmount>;
|
|
3452
3426
|
/**
|
|
3453
3427
|
* Source chain for an atomic transaction.
|
|
3454
3428
|
*/
|
|
@@ -3496,6 +3470,8 @@ declare enum PChainTransactionType {
|
|
|
3496
3470
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3497
3471
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3498
3472
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3473
|
+
BASE_TX = "BaseTx",
|
|
3474
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3499
3475
|
UNKNOWN = "UNKNOWN"
|
|
3500
3476
|
}
|
|
3501
3477
|
|
|
@@ -3509,7 +3485,7 @@ type PChainUtxo = {
|
|
|
3509
3485
|
* Addresses that are eligible to sign the consumption of this output.
|
|
3510
3486
|
*/
|
|
3511
3487
|
addresses: Array<string>;
|
|
3512
|
-
asset:
|
|
3488
|
+
asset: AssetAmount;
|
|
3513
3489
|
/**
|
|
3514
3490
|
* Blockchain ID on which this output is consumed on.
|
|
3515
3491
|
*/
|
|
@@ -3573,17 +3549,17 @@ type PChainTransaction = {
|
|
|
3573
3549
|
*/
|
|
3574
3550
|
destinationChain?: string;
|
|
3575
3551
|
/**
|
|
3576
|
-
* A list of objects containing P-chain Asset
|
|
3552
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3577
3553
|
*/
|
|
3578
|
-
value: Array<
|
|
3554
|
+
value: Array<AssetAmount>;
|
|
3579
3555
|
/**
|
|
3580
|
-
* A list of objects containing P-chain Asset
|
|
3556
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3581
3557
|
*/
|
|
3582
|
-
amountBurned: Array<
|
|
3558
|
+
amountBurned: Array<AssetAmount>;
|
|
3583
3559
|
/**
|
|
3584
|
-
* A list of objects containing P-chain Asset
|
|
3560
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3585
3561
|
*/
|
|
3586
|
-
amountStaked: Array<
|
|
3562
|
+
amountStaked: Array<AssetAmount>;
|
|
3587
3563
|
/**
|
|
3588
3564
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3589
3565
|
*/
|
|
@@ -3615,6 +3591,10 @@ type PChainTransaction = {
|
|
|
3615
3591
|
* Present for RewardValidatorTx
|
|
3616
3592
|
*/
|
|
3617
3593
|
stakingTxHash?: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
|
|
3596
|
+
*/
|
|
3597
|
+
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
3618
3598
|
};
|
|
3619
3599
|
|
|
3620
3600
|
type ListPChainTransactionsResponse = {
|
|
@@ -3626,6 +3606,9 @@ type ListPChainTransactionsResponse = {
|
|
|
3626
3606
|
chainInfo: PrimaryNetworkChainInfo;
|
|
3627
3607
|
};
|
|
3628
3608
|
|
|
3609
|
+
/**
|
|
3610
|
+
* Type of transaction.
|
|
3611
|
+
*/
|
|
3629
3612
|
declare enum XChainTransactionType {
|
|
3630
3613
|
BASE_TX = "BaseTx",
|
|
3631
3614
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
@@ -3648,9 +3631,6 @@ type XChainLinearTransaction = {
|
|
|
3648
3631
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3649
3632
|
*/
|
|
3650
3633
|
timestamp: number;
|
|
3651
|
-
/**
|
|
3652
|
-
* Type of transaction.
|
|
3653
|
-
*/
|
|
3654
3634
|
txType: XChainTransactionType;
|
|
3655
3635
|
/**
|
|
3656
3636
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3661,11 +3641,11 @@ type XChainLinearTransaction = {
|
|
|
3661
3641
|
/**
|
|
3662
3642
|
* Assets unlocked by inputs of this transaction.
|
|
3663
3643
|
*/
|
|
3664
|
-
amountUnlocked: Array<
|
|
3644
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3665
3645
|
/**
|
|
3666
3646
|
* Assets created by outputs of this transaction.
|
|
3667
3647
|
*/
|
|
3668
|
-
amountCreated: Array<
|
|
3648
|
+
amountCreated: Array<AssetAmount>;
|
|
3669
3649
|
/**
|
|
3670
3650
|
* Source chain for an atomic transaction.
|
|
3671
3651
|
*/
|
|
@@ -3675,7 +3655,7 @@ type XChainLinearTransaction = {
|
|
|
3675
3655
|
*/
|
|
3676
3656
|
destinationChain?: string;
|
|
3677
3657
|
/**
|
|
3678
|
-
*
|
|
3658
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3679
3659
|
*/
|
|
3680
3660
|
assetCreated?: XChainAssetDetails;
|
|
3681
3661
|
/**
|
|
@@ -3725,9 +3705,6 @@ type XChainNonLinearTransaction = {
|
|
|
3725
3705
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3726
3706
|
*/
|
|
3727
3707
|
timestamp: number;
|
|
3728
|
-
/**
|
|
3729
|
-
* Type of transaction.
|
|
3730
|
-
*/
|
|
3731
3708
|
txType: XChainTransactionType;
|
|
3732
3709
|
/**
|
|
3733
3710
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3738,11 +3715,11 @@ type XChainNonLinearTransaction = {
|
|
|
3738
3715
|
/**
|
|
3739
3716
|
* Assets unlocked by inputs of this transaction.
|
|
3740
3717
|
*/
|
|
3741
|
-
amountUnlocked: Array<
|
|
3718
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3742
3719
|
/**
|
|
3743
3720
|
* Assets created by outputs of this transaction.
|
|
3744
3721
|
*/
|
|
3745
|
-
amountCreated: Array<
|
|
3722
|
+
amountCreated: Array<AssetAmount>;
|
|
3746
3723
|
/**
|
|
3747
3724
|
* Source chain for an atomic transaction.
|
|
3748
3725
|
*/
|
|
@@ -3752,7 +3729,7 @@ type XChainNonLinearTransaction = {
|
|
|
3752
3729
|
*/
|
|
3753
3730
|
destinationChain?: string;
|
|
3754
3731
|
/**
|
|
3755
|
-
*
|
|
3732
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3756
3733
|
*/
|
|
3757
3734
|
assetCreated?: XChainAssetDetails;
|
|
3758
3735
|
/**
|
|
@@ -3798,8 +3775,9 @@ declare enum PrimaryNetworkTxType {
|
|
|
3798
3775
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3799
3776
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3800
3777
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3801
|
-
UNKNOWN = "UNKNOWN",
|
|
3802
3778
|
BASE_TX = "BaseTx",
|
|
3779
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3780
|
+
UNKNOWN = "UNKNOWN",
|
|
3803
3781
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
3804
3782
|
OPERATION_TX = "OperationTx"
|
|
3805
3783
|
}
|
|
@@ -3831,13 +3809,13 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3831
3809
|
* List latest transactions
|
|
3832
3810
|
* Lists the latest transactions on one of the Primary Network chains.
|
|
3833
3811
|
*
|
|
3834
|
-
* Transactions are filterable by addresses.
|
|
3812
|
+
* 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.
|
|
3835
3813
|
*
|
|
3836
3814
|
* 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.
|
|
3837
3815
|
* @returns any
|
|
3838
3816
|
* @throws ApiError
|
|
3839
3817
|
*/
|
|
3840
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
3818
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3841
3819
|
/**
|
|
3842
3820
|
* A primary network blockchain id or alias.
|
|
3843
3821
|
*/
|
|
@@ -3862,14 +3840,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3862
3840
|
* Query param for retrieving items before a specific timestamp.
|
|
3863
3841
|
*/
|
|
3864
3842
|
endTimestamp?: number;
|
|
3865
|
-
/**
|
|
3866
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3867
|
-
*/
|
|
3868
|
-
pageSize?: number;
|
|
3869
3843
|
/**
|
|
3870
3844
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3871
3845
|
*/
|
|
3872
3846
|
pageToken?: string;
|
|
3847
|
+
/**
|
|
3848
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3849
|
+
*/
|
|
3850
|
+
pageSize?: number;
|
|
3873
3851
|
/**
|
|
3874
3852
|
* 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.
|
|
3875
3853
|
*/
|
|
@@ -3881,7 +3859,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3881
3859
|
* @returns ListPChainTransactionsResponse
|
|
3882
3860
|
* @throws ApiError
|
|
3883
3861
|
*/
|
|
3884
|
-
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
3862
|
+
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3885
3863
|
/**
|
|
3886
3864
|
* A primary network blockchain id or alias.
|
|
3887
3865
|
*/
|
|
@@ -3906,14 +3884,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3906
3884
|
* Query param for retrieving items before a specific timestamp.
|
|
3907
3885
|
*/
|
|
3908
3886
|
endTimestamp?: number;
|
|
3909
|
-
/**
|
|
3910
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3911
|
-
*/
|
|
3912
|
-
pageSize?: number;
|
|
3913
3887
|
/**
|
|
3914
3888
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3915
3889
|
*/
|
|
3916
3890
|
pageToken?: string;
|
|
3891
|
+
/**
|
|
3892
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3893
|
+
*/
|
|
3894
|
+
pageSize?: number;
|
|
3917
3895
|
/**
|
|
3918
3896
|
* 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.
|
|
3919
3897
|
*/
|
|
@@ -3925,7 +3903,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3925
3903
|
* @returns ListXChainTransactionsResponse
|
|
3926
3904
|
* @throws ApiError
|
|
3927
3905
|
*/
|
|
3928
|
-
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp,
|
|
3906
|
+
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3929
3907
|
/**
|
|
3930
3908
|
* A primary network blockchain id or alias.
|
|
3931
3909
|
*/
|
|
@@ -3950,14 +3928,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3950
3928
|
* Query param for retrieving items before a specific timestamp.
|
|
3951
3929
|
*/
|
|
3952
3930
|
endTimestamp?: number;
|
|
3953
|
-
/**
|
|
3954
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3955
|
-
*/
|
|
3956
|
-
pageSize?: number;
|
|
3957
3931
|
/**
|
|
3958
3932
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3959
3933
|
*/
|
|
3960
3934
|
pageToken?: string;
|
|
3935
|
+
/**
|
|
3936
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3937
|
+
*/
|
|
3938
|
+
pageSize?: number;
|
|
3961
3939
|
}): CancelablePromise<ListXChainTransactionsResponse>;
|
|
3962
3940
|
}
|
|
3963
3941
|
|
|
@@ -3988,7 +3966,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
3988
3966
|
* @returns any
|
|
3989
3967
|
* @throws ApiError
|
|
3990
3968
|
*/
|
|
3991
|
-
getUtxosByAddresses({ blockchainId, network, addresses,
|
|
3969
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
3992
3970
|
/**
|
|
3993
3971
|
* A primary network blockchain id or alias.
|
|
3994
3972
|
*/
|
|
@@ -4001,14 +3979,14 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4001
3979
|
* 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".
|
|
4002
3980
|
*/
|
|
4003
3981
|
addresses?: string;
|
|
4004
|
-
/**
|
|
4005
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4006
|
-
*/
|
|
4007
|
-
pageSize?: number;
|
|
4008
3982
|
/**
|
|
4009
3983
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4010
3984
|
*/
|
|
4011
3985
|
pageToken?: string;
|
|
3986
|
+
/**
|
|
3987
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3988
|
+
*/
|
|
3989
|
+
pageSize?: number;
|
|
4012
3990
|
/**
|
|
4013
3991
|
* Asset ID for any asset (only applicable X-Chain)
|
|
4014
3992
|
*/
|
|
@@ -4053,7 +4031,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4053
4031
|
* @returns ListXChainVerticesResponse
|
|
4054
4032
|
* @throws ApiError
|
|
4055
4033
|
*/
|
|
4056
|
-
listLatestXChainVertices({ blockchainId, network,
|
|
4034
|
+
listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
|
|
4057
4035
|
/**
|
|
4058
4036
|
* A primary network blockchain id or alias.
|
|
4059
4037
|
*/
|
|
@@ -4062,14 +4040,14 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4062
4040
|
* Either mainnet or a testnet.
|
|
4063
4041
|
*/
|
|
4064
4042
|
network: Network;
|
|
4065
|
-
/**
|
|
4066
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4067
|
-
*/
|
|
4068
|
-
pageSize?: number;
|
|
4069
4043
|
/**
|
|
4070
4044
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4071
4045
|
*/
|
|
4072
4046
|
pageToken?: string;
|
|
4047
|
+
/**
|
|
4048
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4049
|
+
*/
|
|
4050
|
+
pageSize?: number;
|
|
4073
4051
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4074
4052
|
/**
|
|
4075
4053
|
* Get vertex
|
|
@@ -4097,7 +4075,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4097
4075
|
* @returns ListXChainVerticesResponse
|
|
4098
4076
|
* @throws ApiError
|
|
4099
4077
|
*/
|
|
4100
|
-
getVertexByHeight({ vertexHeight, blockchainId, network,
|
|
4078
|
+
getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
|
|
4101
4079
|
/**
|
|
4102
4080
|
* The height of a vertex.
|
|
4103
4081
|
*/
|
|
@@ -4110,19 +4088,404 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4110
4088
|
* Either mainnet or a testnet.
|
|
4111
4089
|
*/
|
|
4112
4090
|
network: Network;
|
|
4091
|
+
/**
|
|
4092
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4093
|
+
*/
|
|
4094
|
+
pageToken?: string;
|
|
4113
4095
|
/**
|
|
4114
4096
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4115
4097
|
*/
|
|
4116
4098
|
pageSize?: number;
|
|
4099
|
+
/**
|
|
4100
|
+
* 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.
|
|
4101
|
+
*/
|
|
4102
|
+
sortOrder?: SortOrder;
|
|
4103
|
+
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4104
|
+
}
|
|
4105
|
+
|
|
4106
|
+
type RpcErrorDto = {
|
|
4107
|
+
code: number;
|
|
4108
|
+
message: string;
|
|
4109
|
+
data?: Record<string, any>;
|
|
4110
|
+
};
|
|
4111
|
+
|
|
4112
|
+
type RpcErrorResponseDto = {
|
|
4113
|
+
jsonrpc: string;
|
|
4114
|
+
id?: (string | number);
|
|
4115
|
+
error: RpcErrorDto;
|
|
4116
|
+
};
|
|
4117
|
+
|
|
4118
|
+
type RpcRequestBodyDto = {
|
|
4119
|
+
method: string;
|
|
4120
|
+
params?: Record<string, any>;
|
|
4121
|
+
id?: (string | number);
|
|
4122
|
+
jsonrpc?: string;
|
|
4123
|
+
};
|
|
4124
|
+
|
|
4125
|
+
type RpcSuccessResponseDto = {
|
|
4126
|
+
jsonrpc: string;
|
|
4127
|
+
id?: (string | number);
|
|
4128
|
+
result: Record<string, any>;
|
|
4129
|
+
};
|
|
4130
|
+
|
|
4131
|
+
declare class RpcService {
|
|
4132
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4133
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4134
|
+
/**
|
|
4135
|
+
* Calls JSON-RPC method
|
|
4136
|
+
* Calls JSON-RPC method.
|
|
4137
|
+
* @returns any
|
|
4138
|
+
* @throws ApiError
|
|
4139
|
+
*/
|
|
4140
|
+
rpc({ chainId, requestBody, }: {
|
|
4141
|
+
/**
|
|
4142
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
4143
|
+
*/
|
|
4144
|
+
chainId: string;
|
|
4145
|
+
requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
|
|
4146
|
+
}): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
|
|
4147
|
+
}
|
|
4148
|
+
|
|
4149
|
+
type TeleporterDestinationTransaction = {
|
|
4150
|
+
txHash: string;
|
|
4151
|
+
timestamp: number;
|
|
4152
|
+
gasSpent: string;
|
|
4153
|
+
rewardRedeemer: string;
|
|
4154
|
+
delivererAddress: string;
|
|
4155
|
+
};
|
|
4156
|
+
|
|
4157
|
+
type TeleporterReceipt = {
|
|
4158
|
+
receivedMessageNonce: string;
|
|
4159
|
+
relayerRewardAddress: string;
|
|
4160
|
+
};
|
|
4161
|
+
|
|
4162
|
+
type TeleporterRewardDetails = {
|
|
4163
|
+
/**
|
|
4164
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
4165
|
+
*/
|
|
4166
|
+
address: string;
|
|
4167
|
+
/**
|
|
4168
|
+
* The contract name.
|
|
4169
|
+
*/
|
|
4170
|
+
name: string;
|
|
4171
|
+
/**
|
|
4172
|
+
* The contract symbol.
|
|
4173
|
+
*/
|
|
4174
|
+
symbol: string;
|
|
4175
|
+
/**
|
|
4176
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
4177
|
+
*/
|
|
4178
|
+
decimals: number;
|
|
4179
|
+
/**
|
|
4180
|
+
* The logo uri for the address.
|
|
4181
|
+
*/
|
|
4182
|
+
logoUri?: string;
|
|
4183
|
+
ercType: TeleporterRewardDetails.ercType;
|
|
4184
|
+
/**
|
|
4185
|
+
* The token price, if available.
|
|
4186
|
+
*/
|
|
4187
|
+
price?: Money;
|
|
4188
|
+
value: string;
|
|
4189
|
+
};
|
|
4190
|
+
declare namespace TeleporterRewardDetails {
|
|
4191
|
+
enum ercType {
|
|
4192
|
+
ERC_20 = "ERC-20"
|
|
4193
|
+
}
|
|
4194
|
+
}
|
|
4195
|
+
|
|
4196
|
+
type DeliveredSourceNotIndexedTeleporterMessage = {
|
|
4197
|
+
messageId: string;
|
|
4198
|
+
teleporterContractAddress: string;
|
|
4199
|
+
sourceBlockchainId: string;
|
|
4200
|
+
destinationBlockchainId: string;
|
|
4201
|
+
messageNonce: string;
|
|
4202
|
+
from: string;
|
|
4203
|
+
to: string;
|
|
4204
|
+
data?: string;
|
|
4205
|
+
messageExecuted: boolean;
|
|
4206
|
+
receipts: Array<TeleporterReceipt>;
|
|
4207
|
+
receiptDelivered: boolean;
|
|
4208
|
+
rewardDetails: TeleporterRewardDetails;
|
|
4209
|
+
destinationTransaction: TeleporterDestinationTransaction;
|
|
4210
|
+
status: DeliveredSourceNotIndexedTeleporterMessage.status;
|
|
4211
|
+
};
|
|
4212
|
+
declare namespace DeliveredSourceNotIndexedTeleporterMessage {
|
|
4213
|
+
enum status {
|
|
4214
|
+
DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
|
|
4215
|
+
}
|
|
4216
|
+
}
|
|
4217
|
+
|
|
4218
|
+
type TeleporterSourceTransaction = {
|
|
4219
|
+
txHash: string;
|
|
4220
|
+
timestamp: number;
|
|
4221
|
+
gasSpent: string;
|
|
4222
|
+
};
|
|
4223
|
+
|
|
4224
|
+
type DeliveredTeleporterMessage = {
|
|
4225
|
+
messageId: string;
|
|
4226
|
+
teleporterContractAddress: string;
|
|
4227
|
+
sourceBlockchainId: string;
|
|
4228
|
+
destinationBlockchainId: string;
|
|
4229
|
+
messageNonce: string;
|
|
4230
|
+
from: string;
|
|
4231
|
+
to: string;
|
|
4232
|
+
data?: string;
|
|
4233
|
+
messageExecuted: boolean;
|
|
4234
|
+
receipts: Array<TeleporterReceipt>;
|
|
4235
|
+
receiptDelivered: boolean;
|
|
4236
|
+
rewardDetails: TeleporterRewardDetails;
|
|
4237
|
+
sourceTransaction: TeleporterSourceTransaction;
|
|
4238
|
+
destinationTransaction: TeleporterDestinationTransaction;
|
|
4239
|
+
status: DeliveredTeleporterMessage.status;
|
|
4240
|
+
};
|
|
4241
|
+
declare namespace DeliveredTeleporterMessage {
|
|
4242
|
+
enum status {
|
|
4243
|
+
DELIVERED = "delivered"
|
|
4244
|
+
}
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
type NextPageToken = {
|
|
4248
|
+
/**
|
|
4249
|
+
* 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.
|
|
4250
|
+
*/
|
|
4251
|
+
nextPageToken?: string;
|
|
4252
|
+
};
|
|
4253
|
+
|
|
4254
|
+
type PendingTeleporterMessage = {
|
|
4255
|
+
messageId: string;
|
|
4256
|
+
teleporterContractAddress: string;
|
|
4257
|
+
sourceBlockchainId: string;
|
|
4258
|
+
destinationBlockchainId: string;
|
|
4259
|
+
messageNonce: string;
|
|
4260
|
+
from: string;
|
|
4261
|
+
to: string;
|
|
4262
|
+
data?: string;
|
|
4263
|
+
messageExecuted: boolean;
|
|
4264
|
+
receipts: Array<TeleporterReceipt>;
|
|
4265
|
+
receiptDelivered: boolean;
|
|
4266
|
+
rewardDetails: TeleporterRewardDetails;
|
|
4267
|
+
sourceTransaction: TeleporterSourceTransaction;
|
|
4268
|
+
status: PendingTeleporterMessage.status;
|
|
4269
|
+
};
|
|
4270
|
+
declare namespace PendingTeleporterMessage {
|
|
4271
|
+
enum status {
|
|
4272
|
+
PENDING = "pending"
|
|
4273
|
+
}
|
|
4274
|
+
}
|
|
4275
|
+
|
|
4276
|
+
declare class TeleporterService {
|
|
4277
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4278
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4279
|
+
/**
|
|
4280
|
+
* Get a teleporter message
|
|
4281
|
+
* Gets a teleporter message by message ID.
|
|
4282
|
+
* @returns any
|
|
4283
|
+
* @throws ApiError
|
|
4284
|
+
*/
|
|
4285
|
+
getTeleporterMessage({ messageId, }: {
|
|
4286
|
+
/**
|
|
4287
|
+
* The message ID of the teleporter message.
|
|
4288
|
+
*/
|
|
4289
|
+
messageId: string;
|
|
4290
|
+
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
4291
|
+
/**
|
|
4292
|
+
* List teleporter messages
|
|
4293
|
+
* Lists teleporter messages. Ordered by timestamp in descending order.
|
|
4294
|
+
* @returns any
|
|
4295
|
+
* @throws ApiError
|
|
4296
|
+
*/
|
|
4297
|
+
listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, }: {
|
|
4117
4298
|
/**
|
|
4118
4299
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4119
4300
|
*/
|
|
4120
4301
|
pageToken?: string;
|
|
4121
4302
|
/**
|
|
4122
|
-
* The
|
|
4303
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4123
4304
|
*/
|
|
4124
|
-
|
|
4125
|
-
|
|
4305
|
+
pageSize?: number;
|
|
4306
|
+
/**
|
|
4307
|
+
* The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
|
|
4308
|
+
*/
|
|
4309
|
+
sourceBlockchainId?: string;
|
|
4310
|
+
/**
|
|
4311
|
+
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
|
|
4312
|
+
*/
|
|
4313
|
+
destinationBlockchainId?: string;
|
|
4314
|
+
/**
|
|
4315
|
+
* The address of the recipient of the teleporter message.
|
|
4316
|
+
*/
|
|
4317
|
+
to?: string;
|
|
4318
|
+
/**
|
|
4319
|
+
* The address of the sender of the teleporter message.
|
|
4320
|
+
*/
|
|
4321
|
+
from?: string;
|
|
4322
|
+
}): CancelablePromise<NextPageToken>;
|
|
4323
|
+
}
|
|
4324
|
+
|
|
4325
|
+
type AddressActivityMetadata = {
|
|
4326
|
+
/**
|
|
4327
|
+
* Ethereum address(es) for the address_activity event type
|
|
4328
|
+
*/
|
|
4329
|
+
addresses: Array<any[]>;
|
|
4330
|
+
/**
|
|
4331
|
+
* Array of hexadecimal strings of the event signatures.
|
|
4332
|
+
*/
|
|
4333
|
+
eventSignatures?: Array<string>;
|
|
4334
|
+
};
|
|
4335
|
+
|
|
4336
|
+
declare enum EventType {
|
|
4337
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
4338
|
+
}
|
|
4339
|
+
|
|
4340
|
+
declare enum WebhookStatusType {
|
|
4341
|
+
ACTIVE = "active",
|
|
4342
|
+
INACTIVE = "inactive"
|
|
4343
|
+
}
|
|
4344
|
+
|
|
4345
|
+
type WebhookResponse = {
|
|
4346
|
+
id: string;
|
|
4347
|
+
eventType: EventType;
|
|
4348
|
+
metadata: AddressActivityMetadata;
|
|
4349
|
+
/**
|
|
4350
|
+
* Whether to include traces in the webhook payload.
|
|
4351
|
+
*/
|
|
4352
|
+
includeInternalTxs?: boolean;
|
|
4353
|
+
/**
|
|
4354
|
+
* Whether to include logs in the webhook payload.
|
|
4355
|
+
*/
|
|
4356
|
+
includeLogs?: boolean;
|
|
4357
|
+
url: string;
|
|
4358
|
+
chainId: string;
|
|
4359
|
+
status: WebhookStatusType;
|
|
4360
|
+
createdAt: number;
|
|
4361
|
+
name: string;
|
|
4362
|
+
description: string;
|
|
4363
|
+
};
|
|
4364
|
+
|
|
4365
|
+
type ListWebhooksResponse = {
|
|
4366
|
+
/**
|
|
4367
|
+
* 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.
|
|
4368
|
+
*/
|
|
4369
|
+
nextPageToken?: string;
|
|
4370
|
+
webhooks: Array<WebhookResponse>;
|
|
4371
|
+
};
|
|
4372
|
+
|
|
4373
|
+
type RegisterWebhookRequest = {
|
|
4374
|
+
url: string;
|
|
4375
|
+
chainId: string;
|
|
4376
|
+
eventType: EventType;
|
|
4377
|
+
metadata: AddressActivityMetadata;
|
|
4378
|
+
/**
|
|
4379
|
+
* Whether to include traces in the webhook payload.
|
|
4380
|
+
*/
|
|
4381
|
+
includeInternalTxs?: boolean;
|
|
4382
|
+
/**
|
|
4383
|
+
* Whether to include logs in the webhook payload.
|
|
4384
|
+
*/
|
|
4385
|
+
includeLogs?: boolean;
|
|
4386
|
+
};
|
|
4387
|
+
|
|
4388
|
+
type SharedSecretsResponse = {
|
|
4389
|
+
secret: string;
|
|
4390
|
+
};
|
|
4391
|
+
|
|
4392
|
+
type UpdateWebhookRequest = {
|
|
4393
|
+
name?: string;
|
|
4394
|
+
description?: string;
|
|
4395
|
+
url?: string;
|
|
4396
|
+
status?: WebhookStatusType;
|
|
4397
|
+
includeInternalTxs?: boolean;
|
|
4398
|
+
includeLogs?: boolean;
|
|
4399
|
+
};
|
|
4400
|
+
|
|
4401
|
+
declare enum WebhookStatus {
|
|
4402
|
+
ACTIVE = "active",
|
|
4403
|
+
INACTIVE = "inactive"
|
|
4404
|
+
}
|
|
4405
|
+
|
|
4406
|
+
declare class WebhooksService {
|
|
4407
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4408
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4409
|
+
/**
|
|
4410
|
+
* Register a webhook
|
|
4411
|
+
* Registers a new webhook.
|
|
4412
|
+
* @returns WebhookResponse
|
|
4413
|
+
* @throws ApiError
|
|
4414
|
+
*/
|
|
4415
|
+
registerWebhook({ requestBody, }: {
|
|
4416
|
+
requestBody: RegisterWebhookRequest;
|
|
4417
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4418
|
+
/**
|
|
4419
|
+
* List webhooks
|
|
4420
|
+
* Lists webhooks for the user.
|
|
4421
|
+
* @returns ListWebhooksResponse
|
|
4422
|
+
* @throws ApiError
|
|
4423
|
+
*/
|
|
4424
|
+
listWebhooks({ pageToken, pageSize, status, }: {
|
|
4425
|
+
/**
|
|
4426
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4427
|
+
*/
|
|
4428
|
+
pageToken?: string;
|
|
4429
|
+
/**
|
|
4430
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4431
|
+
*/
|
|
4432
|
+
pageSize?: number;
|
|
4433
|
+
/**
|
|
4434
|
+
* 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.
|
|
4435
|
+
*/
|
|
4436
|
+
status?: WebhookStatus;
|
|
4437
|
+
}): CancelablePromise<ListWebhooksResponse>;
|
|
4438
|
+
/**
|
|
4439
|
+
* Get a webhook by ID
|
|
4440
|
+
* Retrieves a webhook by ID.
|
|
4441
|
+
* @returns WebhookResponse
|
|
4442
|
+
* @throws ApiError
|
|
4443
|
+
*/
|
|
4444
|
+
getWebhook({ id, }: {
|
|
4445
|
+
/**
|
|
4446
|
+
* The webhook identifier.
|
|
4447
|
+
*/
|
|
4448
|
+
id: string;
|
|
4449
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4450
|
+
/**
|
|
4451
|
+
* Deactivate a webhook
|
|
4452
|
+
* Deactivates a webhook by ID.
|
|
4453
|
+
* @returns WebhookResponse
|
|
4454
|
+
* @throws ApiError
|
|
4455
|
+
*/
|
|
4456
|
+
deactivateWebhook({ id, }: {
|
|
4457
|
+
/**
|
|
4458
|
+
* The webhook identifier.
|
|
4459
|
+
*/
|
|
4460
|
+
id: string;
|
|
4461
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4462
|
+
/**
|
|
4463
|
+
* Update a webhook
|
|
4464
|
+
* Updates an existing webhook.
|
|
4465
|
+
* @returns WebhookResponse
|
|
4466
|
+
* @throws ApiError
|
|
4467
|
+
*/
|
|
4468
|
+
updateWebhook({ id, requestBody, }: {
|
|
4469
|
+
/**
|
|
4470
|
+
* The webhook identifier.
|
|
4471
|
+
*/
|
|
4472
|
+
id: string;
|
|
4473
|
+
requestBody: UpdateWebhookRequest;
|
|
4474
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4475
|
+
/**
|
|
4476
|
+
* Generate a shared secret
|
|
4477
|
+
* Generates a new shared secret.
|
|
4478
|
+
* @returns SharedSecretsResponse
|
|
4479
|
+
* @throws ApiError
|
|
4480
|
+
*/
|
|
4481
|
+
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4482
|
+
/**
|
|
4483
|
+
* Get a shared secret
|
|
4484
|
+
* Get a previously generated shared secret.
|
|
4485
|
+
* @returns SharedSecretsResponse
|
|
4486
|
+
* @throws ApiError
|
|
4487
|
+
*/
|
|
4488
|
+
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4126
4489
|
}
|
|
4127
4490
|
|
|
4128
4491
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
@@ -4143,6 +4506,9 @@ declare class Glacier {
|
|
|
4143
4506
|
readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
|
|
4144
4507
|
readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
|
|
4145
4508
|
readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
|
|
4509
|
+
readonly rpc: RpcService;
|
|
4510
|
+
readonly teleporter: TeleporterService;
|
|
4511
|
+
readonly webhooks: WebhooksService;
|
|
4146
4512
|
readonly request: BaseHttpRequest;
|
|
4147
4513
|
constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
|
|
4148
4514
|
}
|
|
@@ -4164,4 +4530,4 @@ declare class ApiError extends Error {
|
|
|
4164
4530
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4165
4531
|
}
|
|
4166
4532
|
|
|
4167
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError,
|
|
4533
|
+
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, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, 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, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|