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