@avalabs/glacier-sdk 2.8.0-canary.4b05dbf.0 → 2.8.0-canary.4f5a2e3.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 +686 -475
- package/dist/index.js +317 -194
- package/esm/generated/Glacier.d.ts +4 -0
- package/esm/generated/Glacier.js +6 -0
- package/esm/generated/core/CancelablePromise.d.ts +2 -8
- package/esm/generated/core/CancelablePromise.js +38 -36
- package/esm/generated/core/request.js +3 -2
- package/esm/generated/models/AddressActivityMetadata.d.ts +2 -2
- package/esm/generated/models/AddressesChangeRequest.d.ts +8 -0
- 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 +5 -2
- package/esm/generated/models/DeliveredTeleporterMessage.d.ts +5 -2
- package/esm/generated/models/EVMInput.d.ts +3 -3
- package/esm/generated/models/EVMOperationType.d.ts +5 -0
- package/esm/generated/models/EVMOperationType.js +6 -0
- package/esm/generated/models/EVMOutput.d.ts +3 -3
- package/esm/generated/models/Erc1155TokenMetadata.d.ts +0 -3
- package/esm/generated/models/Erc721TokenMetadata.d.ts +0 -3
- package/esm/generated/models/GetChainResponse.d.ts +1 -3
- package/esm/generated/models/GlacierApiFeature.d.ts +6 -0
- package/esm/generated/models/GlacierApiFeature.js +7 -0
- package/esm/generated/models/HistoricalReward.d.ts +2 -5
- package/esm/generated/models/ListNftTokens.d.ts +1 -1
- package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +12 -0
- package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
- package/esm/generated/models/Method.d.ts +0 -3
- package/esm/generated/models/Money.d.ts +0 -3
- package/esm/generated/models/NftTokenMetadataStatus.d.ts +3 -0
- package/esm/generated/models/OperationType.d.ts +4 -2
- package/esm/generated/models/OperationType.js +3 -1
- package/esm/generated/models/PChainBalance.d.ts +15 -15
- package/esm/generated/models/PChainSharedAsset.d.ts +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 +5 -2
- 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/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/TeleporterReceipt.d.ts +6 -0
- package/esm/generated/models/TransactionMethodType.d.ts +3 -0
- package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
- package/esm/generated/models/Utxo.d.ts +2 -2
- package/esm/generated/models/WebhookResponse.d.ts +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 +17 -25
- package/esm/generated/services/TeleporterService.js +4 -8
- package/esm/generated/services/WebhooksService.d.ts +122 -0
- package/esm/generated/services/WebhooksService.js +108 -0
- package/esm/index.d.ts +19 -2
- package/esm/index.js +7 -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,16 @@ type GetChainResponse = {
|
|
|
796
682
|
networkToken: NetworkToken;
|
|
797
683
|
chainLogoUri?: string;
|
|
798
684
|
private?: boolean;
|
|
685
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
799
686
|
};
|
|
800
687
|
|
|
688
|
+
declare enum GlacierApiFeature {
|
|
689
|
+
NFT_INDEXING = "nftIndexing",
|
|
690
|
+
WEBHOOKS = "webhooks"
|
|
691
|
+
}
|
|
692
|
+
|
|
801
693
|
type ChainInfo = {
|
|
802
694
|
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
695
|
status: ChainStatus;
|
|
807
696
|
chainName: string;
|
|
808
697
|
description: string;
|
|
@@ -818,6 +707,7 @@ type ChainInfo = {
|
|
|
818
707
|
networkToken: NetworkToken;
|
|
819
708
|
chainLogoUri?: string;
|
|
820
709
|
private?: boolean;
|
|
710
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
821
711
|
};
|
|
822
712
|
|
|
823
713
|
type ListChainsResponse = {
|
|
@@ -838,11 +728,15 @@ declare class EvmChainsService {
|
|
|
838
728
|
* @returns ListChainsResponse
|
|
839
729
|
* @throws ApiError
|
|
840
730
|
*/
|
|
841
|
-
supportedChains({ network, }: {
|
|
731
|
+
supportedChains({ network, feature, }: {
|
|
842
732
|
/**
|
|
843
733
|
* mainnet or testnet.
|
|
844
734
|
*/
|
|
845
735
|
network?: NetworkType;
|
|
736
|
+
/**
|
|
737
|
+
* Filter by feature.
|
|
738
|
+
*/
|
|
739
|
+
feature?: GlacierApiFeature;
|
|
846
740
|
}): CancelablePromise<ListChainsResponse>;
|
|
847
741
|
/**
|
|
848
742
|
* Get chain information
|
|
@@ -852,7 +746,7 @@ declare class EvmChainsService {
|
|
|
852
746
|
*/
|
|
853
747
|
getChainInfo({ chainId, }: {
|
|
854
748
|
/**
|
|
855
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
749
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
856
750
|
*/
|
|
857
751
|
chainId: string;
|
|
858
752
|
}): CancelablePromise<GetChainResponse>;
|
|
@@ -1147,7 +1041,7 @@ declare class EvmContractsService {
|
|
|
1147
1041
|
*/
|
|
1148
1042
|
getContractMetadata({ chainId, address, }: {
|
|
1149
1043
|
/**
|
|
1150
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1044
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1151
1045
|
*/
|
|
1152
1046
|
chainId: string;
|
|
1153
1047
|
/**
|
|
@@ -1163,7 +1057,7 @@ declare class EvmContractsService {
|
|
|
1163
1057
|
*/
|
|
1164
1058
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1165
1059
|
/**
|
|
1166
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1060
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1167
1061
|
*/
|
|
1168
1062
|
chainId: string;
|
|
1169
1063
|
/**
|
|
@@ -1297,6 +1191,9 @@ type Erc721TransferDetails = {
|
|
|
1297
1191
|
erc721Token: Erc721Token;
|
|
1298
1192
|
};
|
|
1299
1193
|
|
|
1194
|
+
/**
|
|
1195
|
+
* The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
|
|
1196
|
+
*/
|
|
1300
1197
|
declare enum TransactionMethodType {
|
|
1301
1198
|
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1302
1199
|
CONTRACT_CALL = "CONTRACT_CALL",
|
|
@@ -1304,9 +1201,6 @@ declare enum TransactionMethodType {
|
|
|
1304
1201
|
}
|
|
1305
1202
|
|
|
1306
1203
|
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
1204
|
callType: TransactionMethodType;
|
|
1311
1205
|
/**
|
|
1312
1206
|
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
@@ -1667,7 +1561,7 @@ type ListTransfersResponse = {
|
|
|
1667
1561
|
* A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
|
|
1668
1562
|
*/
|
|
1669
1563
|
nextPageToken?: string;
|
|
1670
|
-
transfers:
|
|
1564
|
+
transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
|
|
1671
1565
|
};
|
|
1672
1566
|
|
|
1673
1567
|
declare enum SortOrder {
|
|
@@ -1691,7 +1585,7 @@ declare class EvmTransactionsService {
|
|
|
1691
1585
|
*/
|
|
1692
1586
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1693
1587
|
/**
|
|
1694
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1588
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1695
1589
|
*/
|
|
1696
1590
|
chainId: string;
|
|
1697
1591
|
/**
|
|
@@ -1709,23 +1603,23 @@ declare class EvmTransactionsService {
|
|
|
1709
1603
|
* @returns ListContractsResponse
|
|
1710
1604
|
* @throws ApiError
|
|
1711
1605
|
*/
|
|
1712
|
-
listContractDeployments({ chainId, address,
|
|
1606
|
+
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
1713
1607
|
/**
|
|
1714
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1608
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1715
1609
|
*/
|
|
1716
1610
|
chainId: string;
|
|
1717
1611
|
/**
|
|
1718
1612
|
* A wallet address.
|
|
1719
1613
|
*/
|
|
1720
1614
|
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
1615
|
/**
|
|
1726
1616
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1727
1617
|
*/
|
|
1728
1618
|
pageToken?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1621
|
+
*/
|
|
1622
|
+
pageSize?: number;
|
|
1729
1623
|
}): CancelablePromise<ListContractsResponse>;
|
|
1730
1624
|
/**
|
|
1731
1625
|
* List ERC transfers
|
|
@@ -1733,9 +1627,9 @@ declare class EvmTransactionsService {
|
|
|
1733
1627
|
* @returns ListTransfersResponse
|
|
1734
1628
|
* @throws ApiError
|
|
1735
1629
|
*/
|
|
1736
|
-
listTransfers({ chainId, address, startBlock, endBlock,
|
|
1630
|
+
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1737
1631
|
/**
|
|
1738
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1632
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1739
1633
|
*/
|
|
1740
1634
|
chainId: string;
|
|
1741
1635
|
/**
|
|
@@ -1750,14 +1644,14 @@ declare class EvmTransactionsService {
|
|
|
1750
1644
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1751
1645
|
*/
|
|
1752
1646
|
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
1647
|
/**
|
|
1758
1648
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1759
1649
|
*/
|
|
1760
1650
|
pageToken?: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1653
|
+
*/
|
|
1654
|
+
pageSize?: number;
|
|
1761
1655
|
}): CancelablePromise<ListTransfersResponse>;
|
|
1762
1656
|
/**
|
|
1763
1657
|
* List transactions
|
|
@@ -1767,23 +1661,23 @@ declare class EvmTransactionsService {
|
|
|
1767
1661
|
* @returns ListTransactionDetailsResponse
|
|
1768
1662
|
* @throws ApiError
|
|
1769
1663
|
*/
|
|
1770
|
-
listTransactions({ chainId, address,
|
|
1664
|
+
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
1771
1665
|
/**
|
|
1772
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1666
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1773
1667
|
*/
|
|
1774
1668
|
chainId: string;
|
|
1775
1669
|
/**
|
|
1776
1670
|
* A wallet address.
|
|
1777
1671
|
*/
|
|
1778
1672
|
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
1673
|
/**
|
|
1784
1674
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1785
1675
|
*/
|
|
1786
1676
|
pageToken?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1679
|
+
*/
|
|
1680
|
+
pageSize?: number;
|
|
1787
1681
|
/**
|
|
1788
1682
|
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
1789
1683
|
*/
|
|
@@ -1803,9 +1697,9 @@ declare class EvmTransactionsService {
|
|
|
1803
1697
|
* @returns ListNativeTransactionsResponse
|
|
1804
1698
|
* @throws ApiError
|
|
1805
1699
|
*/
|
|
1806
|
-
listNativeTransactions({ chainId, address, startBlock, endBlock,
|
|
1700
|
+
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1807
1701
|
/**
|
|
1808
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1702
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1809
1703
|
*/
|
|
1810
1704
|
chainId: string;
|
|
1811
1705
|
/**
|
|
@@ -1820,14 +1714,14 @@ declare class EvmTransactionsService {
|
|
|
1820
1714
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1821
1715
|
*/
|
|
1822
1716
|
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
1717
|
/**
|
|
1828
1718
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1829
1719
|
*/
|
|
1830
1720
|
pageToken?: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1723
|
+
*/
|
|
1724
|
+
pageSize?: number;
|
|
1831
1725
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1832
1726
|
/**
|
|
1833
1727
|
* List ERC-20 transfers
|
|
@@ -1835,9 +1729,9 @@ declare class EvmTransactionsService {
|
|
|
1835
1729
|
* @returns ListErc20TransactionsResponse
|
|
1836
1730
|
* @throws ApiError
|
|
1837
1731
|
*/
|
|
1838
|
-
listErc20Transactions({ chainId, address, startBlock, endBlock,
|
|
1732
|
+
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1839
1733
|
/**
|
|
1840
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1734
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1841
1735
|
*/
|
|
1842
1736
|
chainId: string;
|
|
1843
1737
|
/**
|
|
@@ -1852,14 +1746,14 @@ declare class EvmTransactionsService {
|
|
|
1852
1746
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1853
1747
|
*/
|
|
1854
1748
|
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
1749
|
/**
|
|
1860
1750
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1861
1751
|
*/
|
|
1862
1752
|
pageToken?: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1755
|
+
*/
|
|
1756
|
+
pageSize?: number;
|
|
1863
1757
|
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
1864
1758
|
/**
|
|
1865
1759
|
* List ERC-721 transfers
|
|
@@ -1867,9 +1761,9 @@ declare class EvmTransactionsService {
|
|
|
1867
1761
|
* @returns ListErc721TransactionsResponse
|
|
1868
1762
|
* @throws ApiError
|
|
1869
1763
|
*/
|
|
1870
|
-
listErc721Transactions({ chainId, address, startBlock, endBlock,
|
|
1764
|
+
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1871
1765
|
/**
|
|
1872
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1766
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1873
1767
|
*/
|
|
1874
1768
|
chainId: string;
|
|
1875
1769
|
/**
|
|
@@ -1884,14 +1778,14 @@ declare class EvmTransactionsService {
|
|
|
1884
1778
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1885
1779
|
*/
|
|
1886
1780
|
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
1781
|
/**
|
|
1892
1782
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1893
1783
|
*/
|
|
1894
1784
|
pageToken?: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1787
|
+
*/
|
|
1788
|
+
pageSize?: number;
|
|
1895
1789
|
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
1896
1790
|
/**
|
|
1897
1791
|
* List ERC-1155 transfers
|
|
@@ -1899,9 +1793,9 @@ declare class EvmTransactionsService {
|
|
|
1899
1793
|
* @returns ListErc1155TransactionsResponse
|
|
1900
1794
|
* @throws ApiError
|
|
1901
1795
|
*/
|
|
1902
|
-
listErc1155Transactions({ chainId, address, startBlock, endBlock,
|
|
1796
|
+
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1903
1797
|
/**
|
|
1904
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1798
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1905
1799
|
*/
|
|
1906
1800
|
chainId: string;
|
|
1907
1801
|
/**
|
|
@@ -1916,14 +1810,14 @@ declare class EvmTransactionsService {
|
|
|
1916
1810
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1917
1811
|
*/
|
|
1918
1812
|
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
1813
|
/**
|
|
1924
1814
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1925
1815
|
*/
|
|
1926
1816
|
pageToken?: string;
|
|
1817
|
+
/**
|
|
1818
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1819
|
+
*/
|
|
1820
|
+
pageSize?: number;
|
|
1927
1821
|
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
1928
1822
|
/**
|
|
1929
1823
|
* List internal transactions
|
|
@@ -1933,9 +1827,9 @@ declare class EvmTransactionsService {
|
|
|
1933
1827
|
* @returns ListInternalTransactionsResponse
|
|
1934
1828
|
* @throws ApiError
|
|
1935
1829
|
*/
|
|
1936
|
-
listInternalTransactions({ chainId, address, startBlock, endBlock,
|
|
1830
|
+
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1937
1831
|
/**
|
|
1938
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1832
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1939
1833
|
*/
|
|
1940
1834
|
chainId: string;
|
|
1941
1835
|
/**
|
|
@@ -1950,14 +1844,14 @@ declare class EvmTransactionsService {
|
|
|
1950
1844
|
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1951
1845
|
*/
|
|
1952
1846
|
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
1847
|
/**
|
|
1958
1848
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1959
1849
|
*/
|
|
1960
1850
|
pageToken?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1853
|
+
*/
|
|
1854
|
+
pageSize?: number;
|
|
1961
1855
|
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
1962
1856
|
/**
|
|
1963
1857
|
* Get transaction
|
|
@@ -1967,7 +1861,7 @@ declare class EvmTransactionsService {
|
|
|
1967
1861
|
*/
|
|
1968
1862
|
getTransaction({ chainId, txHash, }: {
|
|
1969
1863
|
/**
|
|
1970
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1864
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1971
1865
|
*/
|
|
1972
1866
|
chainId: string;
|
|
1973
1867
|
/**
|
|
@@ -1983,7 +1877,7 @@ declare class EvmTransactionsService {
|
|
|
1983
1877
|
*/
|
|
1984
1878
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
1985
1879
|
/**
|
|
1986
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1880
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1987
1881
|
*/
|
|
1988
1882
|
chainId: string;
|
|
1989
1883
|
/**
|
|
@@ -1997,19 +1891,19 @@ declare class EvmTransactionsService {
|
|
|
1997
1891
|
* @returns ListNativeTransactionsResponse
|
|
1998
1892
|
* @throws ApiError
|
|
1999
1893
|
*/
|
|
2000
|
-
listLatestTransactions({ chainId,
|
|
1894
|
+
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
2001
1895
|
/**
|
|
2002
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1896
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2003
1897
|
*/
|
|
2004
1898
|
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
1899
|
/**
|
|
2010
1900
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2011
1901
|
*/
|
|
2012
1902
|
pageToken?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1905
|
+
*/
|
|
1906
|
+
pageSize?: number;
|
|
2013
1907
|
/**
|
|
2014
1908
|
* A status filter for listed transactions.
|
|
2015
1909
|
*/
|
|
@@ -2038,7 +1932,7 @@ type ListNftTokens = {
|
|
|
2038
1932
|
* A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
|
|
2039
1933
|
*/
|
|
2040
1934
|
nextPageToken?: string;
|
|
2041
|
-
tokens:
|
|
1935
|
+
tokens: Array<(Erc721Token | Erc1155Token)>;
|
|
2042
1936
|
};
|
|
2043
1937
|
|
|
2044
1938
|
declare class NfTsService {
|
|
@@ -2052,7 +1946,7 @@ declare class NfTsService {
|
|
|
2052
1946
|
*/
|
|
2053
1947
|
reindexNft({ chainId, address, tokenId, }: {
|
|
2054
1948
|
/**
|
|
2055
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1949
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2056
1950
|
*/
|
|
2057
1951
|
chainId: string;
|
|
2058
1952
|
/**
|
|
@@ -2070,23 +1964,23 @@ declare class NfTsService {
|
|
|
2070
1964
|
* @returns ListNftTokens
|
|
2071
1965
|
* @throws ApiError
|
|
2072
1966
|
*/
|
|
2073
|
-
listTokens({ chainId, address,
|
|
1967
|
+
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2074
1968
|
/**
|
|
2075
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1969
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2076
1970
|
*/
|
|
2077
1971
|
chainId: string;
|
|
2078
1972
|
/**
|
|
2079
1973
|
* Contract address on the relevant chain.
|
|
2080
1974
|
*/
|
|
2081
1975
|
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
1976
|
/**
|
|
2087
1977
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2088
1978
|
*/
|
|
2089
1979
|
pageToken?: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1982
|
+
*/
|
|
1983
|
+
pageSize?: number;
|
|
2090
1984
|
}): CancelablePromise<ListNftTokens>;
|
|
2091
1985
|
/**
|
|
2092
1986
|
* Get token details
|
|
@@ -2096,7 +1990,7 @@ declare class NfTsService {
|
|
|
2096
1990
|
*/
|
|
2097
1991
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
2098
1992
|
/**
|
|
2099
|
-
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1993
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2100
1994
|
*/
|
|
2101
1995
|
chainId: string;
|
|
2102
1996
|
/**
|
|
@@ -2115,8 +2009,12 @@ type EvmNetworkOptions = {
|
|
|
2115
2009
|
includeChains: Array<string>;
|
|
2116
2010
|
};
|
|
2117
2011
|
|
|
2012
|
+
declare enum EVMOperationType {
|
|
2013
|
+
TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2118
2016
|
type CreateEvmTransactionExportRequest = {
|
|
2119
|
-
type:
|
|
2017
|
+
type: EVMOperationType;
|
|
2120
2018
|
firstDate: string;
|
|
2121
2019
|
lastDate: string;
|
|
2122
2020
|
/**
|
|
@@ -2129,20 +2027,21 @@ type CreateEvmTransactionExportRequest = {
|
|
|
2129
2027
|
endDate: string;
|
|
2130
2028
|
options: EvmNetworkOptions;
|
|
2131
2029
|
};
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2030
|
+
|
|
2031
|
+
declare enum PrimaryNetworkOperationType {
|
|
2032
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
|
|
2033
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
|
|
2034
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"
|
|
2136
2035
|
}
|
|
2137
2036
|
|
|
2138
2037
|
type PrimaryNetworkOptions = {
|
|
2139
|
-
addresses
|
|
2038
|
+
addresses?: Array<string>;
|
|
2140
2039
|
cChainEvmAddresses?: Array<string>;
|
|
2141
2040
|
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2142
2041
|
};
|
|
2143
2042
|
|
|
2144
2043
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
2145
|
-
type:
|
|
2044
|
+
type: PrimaryNetworkOperationType;
|
|
2146
2045
|
firstDate: string;
|
|
2147
2046
|
lastDate: string;
|
|
2148
2047
|
/**
|
|
@@ -2155,11 +2054,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
|
|
|
2155
2054
|
endDate: string;
|
|
2156
2055
|
options: PrimaryNetworkOptions;
|
|
2157
2056
|
};
|
|
2158
|
-
declare namespace CreatePrimaryNetworkTransactionExportRequest {
|
|
2159
|
-
enum type {
|
|
2160
|
-
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
2057
|
|
|
2164
2058
|
declare enum OperationStatus {
|
|
2165
2059
|
RUNNING = "RUNNING",
|
|
@@ -2169,8 +2063,10 @@ declare enum OperationStatus {
|
|
|
2169
2063
|
}
|
|
2170
2064
|
|
|
2171
2065
|
declare enum OperationType {
|
|
2172
|
-
|
|
2173
|
-
|
|
2066
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
|
|
2067
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
|
|
2068
|
+
TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",
|
|
2069
|
+
TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
|
|
2174
2070
|
}
|
|
2175
2071
|
|
|
2176
2072
|
declare enum OperationStatusCode {
|
|
@@ -2362,13 +2258,44 @@ type BlockchainInfo = {
|
|
|
2362
2258
|
blockchainId: string;
|
|
2363
2259
|
};
|
|
2364
2260
|
|
|
2261
|
+
type SubnetOwnershipInfo = {
|
|
2262
|
+
/**
|
|
2263
|
+
* Locktime in seconds after which Subnet owners can control this Subnet.
|
|
2264
|
+
*/
|
|
2265
|
+
locktime: number;
|
|
2266
|
+
/**
|
|
2267
|
+
* Minimum number of signatures required to sign the Subnet update transactions.
|
|
2268
|
+
*/
|
|
2269
|
+
threshold: number;
|
|
2270
|
+
/**
|
|
2271
|
+
* Addresses that are eligible to sign the Subnet update transactions.
|
|
2272
|
+
*/
|
|
2273
|
+
addresses: Array<string>;
|
|
2274
|
+
};
|
|
2275
|
+
|
|
2365
2276
|
type Subnet = {
|
|
2366
2277
|
createBlockTimestamp: number;
|
|
2367
2278
|
createBlockIndex: string;
|
|
2368
2279
|
subnetId: string;
|
|
2369
|
-
|
|
2370
|
-
|
|
2280
|
+
/**
|
|
2281
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2282
|
+
* @deprecated
|
|
2283
|
+
*/
|
|
2284
|
+
ownerAddresses: Array<string>;
|
|
2285
|
+
/**
|
|
2286
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2287
|
+
* @deprecated
|
|
2288
|
+
*/
|
|
2289
|
+
threshold: number;
|
|
2290
|
+
/**
|
|
2291
|
+
* This field is deprecated. Use subnetOwnershipInfo instead.
|
|
2292
|
+
* @deprecated
|
|
2293
|
+
*/
|
|
2371
2294
|
locktime: number;
|
|
2295
|
+
/**
|
|
2296
|
+
* Latest subnet owner details for this Subnet.
|
|
2297
|
+
*/
|
|
2298
|
+
subnetOwnershipInfo: SubnetOwnershipInfo;
|
|
2372
2299
|
blockchains: Array<BlockchainInfo>;
|
|
2373
2300
|
};
|
|
2374
2301
|
|
|
@@ -2505,6 +2432,22 @@ declare enum ValidationStatusType {
|
|
|
2505
2432
|
REMOVED = "removed"
|
|
2506
2433
|
}
|
|
2507
2434
|
|
|
2435
|
+
/**
|
|
2436
|
+
* Cap represents if an asset is a variable or fixed cap asset.
|
|
2437
|
+
*/
|
|
2438
|
+
declare enum PrimaryNetworkAssetCap {
|
|
2439
|
+
FIXED = "fixed",
|
|
2440
|
+
VARIABLE = "variable"
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* Type of asset like SECP256K1 or NFT.
|
|
2445
|
+
*/
|
|
2446
|
+
declare enum PrimaryNetworkAssetType {
|
|
2447
|
+
SECP256K1 = "secp256k1",
|
|
2448
|
+
NFT = "nft"
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2508
2451
|
type XChainAssetDetails = {
|
|
2509
2452
|
/**
|
|
2510
2453
|
* Unique ID for an asset.
|
|
@@ -2522,18 +2465,12 @@ type XChainAssetDetails = {
|
|
|
2522
2465
|
* Denomination of this asset to represent fungibility.
|
|
2523
2466
|
*/
|
|
2524
2467
|
denomination: number;
|
|
2525
|
-
|
|
2526
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2527
|
-
*/
|
|
2528
|
-
type: string;
|
|
2468
|
+
type: PrimaryNetworkAssetType;
|
|
2529
2469
|
/**
|
|
2530
2470
|
* Timestamp in seconds this asset was created on.
|
|
2531
2471
|
*/
|
|
2532
2472
|
createdAtTimestamp: number;
|
|
2533
|
-
|
|
2534
|
-
* Cap represents if an asset can be or is fixed cap.
|
|
2535
|
-
*/
|
|
2536
|
-
cap: string;
|
|
2473
|
+
cap: PrimaryNetworkAssetCap;
|
|
2537
2474
|
};
|
|
2538
2475
|
|
|
2539
2476
|
declare enum XChainId {
|
|
@@ -2599,19 +2536,19 @@ declare class PrimaryNetworkService {
|
|
|
2599
2536
|
* @returns ListBlockchainsResponse
|
|
2600
2537
|
* @throws ApiError
|
|
2601
2538
|
*/
|
|
2602
|
-
listBlockchains({ network,
|
|
2539
|
+
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
2603
2540
|
/**
|
|
2604
2541
|
* Either mainnet or a testnet.
|
|
2605
2542
|
*/
|
|
2606
2543
|
network: Network;
|
|
2607
|
-
/**
|
|
2608
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2609
|
-
*/
|
|
2610
|
-
pageSize?: number;
|
|
2611
2544
|
/**
|
|
2612
2545
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2613
2546
|
*/
|
|
2614
2547
|
pageToken?: string;
|
|
2548
|
+
/**
|
|
2549
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2550
|
+
*/
|
|
2551
|
+
pageSize?: number;
|
|
2615
2552
|
/**
|
|
2616
2553
|
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
2617
2554
|
*/
|
|
@@ -2623,19 +2560,19 @@ declare class PrimaryNetworkService {
|
|
|
2623
2560
|
* @returns ListSubnetsResponse
|
|
2624
2561
|
* @throws ApiError
|
|
2625
2562
|
*/
|
|
2626
|
-
listSubnets({ network,
|
|
2563
|
+
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
2627
2564
|
/**
|
|
2628
2565
|
* Either mainnet or a testnet.
|
|
2629
2566
|
*/
|
|
2630
2567
|
network: Network;
|
|
2631
|
-
/**
|
|
2632
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2633
|
-
*/
|
|
2634
|
-
pageSize?: number;
|
|
2635
2568
|
/**
|
|
2636
2569
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2637
2570
|
*/
|
|
2638
2571
|
pageToken?: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2574
|
+
*/
|
|
2575
|
+
pageSize?: number;
|
|
2639
2576
|
/**
|
|
2640
2577
|
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
2641
2578
|
*/
|
|
@@ -2647,19 +2584,19 @@ declare class PrimaryNetworkService {
|
|
|
2647
2584
|
* @returns ListValidatorDetailsResponse
|
|
2648
2585
|
* @throws ApiError
|
|
2649
2586
|
*/
|
|
2650
|
-
listValidators({ network,
|
|
2587
|
+
listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
|
|
2651
2588
|
/**
|
|
2652
2589
|
* Either mainnet or a testnet.
|
|
2653
2590
|
*/
|
|
2654
2591
|
network: Network;
|
|
2655
|
-
/**
|
|
2656
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2657
|
-
*/
|
|
2658
|
-
pageSize?: number;
|
|
2659
2592
|
/**
|
|
2660
2593
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2661
2594
|
*/
|
|
2662
2595
|
pageToken?: string;
|
|
2596
|
+
/**
|
|
2597
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2598
|
+
*/
|
|
2599
|
+
pageSize?: number;
|
|
2663
2600
|
/**
|
|
2664
2601
|
* A comma separated list of node ids to filter by.
|
|
2665
2602
|
*/
|
|
@@ -2675,31 +2612,31 @@ declare class PrimaryNetworkService {
|
|
|
2675
2612
|
/**
|
|
2676
2613
|
* The minimum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000
|
|
2677
2614
|
*/
|
|
2678
|
-
minDelegationCapacity?:
|
|
2615
|
+
minDelegationCapacity?: string;
|
|
2679
2616
|
/**
|
|
2680
2617
|
* The maximum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000.
|
|
2681
2618
|
*/
|
|
2682
|
-
maxDelegationCapacity?:
|
|
2619
|
+
maxDelegationCapacity?: string;
|
|
2683
2620
|
/**
|
|
2684
2621
|
* The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2685
2622
|
*/
|
|
2686
|
-
minTimeRemaining?:
|
|
2623
|
+
minTimeRemaining?: number;
|
|
2687
2624
|
/**
|
|
2688
2625
|
* The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
|
|
2689
2626
|
*/
|
|
2690
|
-
maxTimeRemaining?:
|
|
2627
|
+
maxTimeRemaining?: number;
|
|
2691
2628
|
/**
|
|
2692
2629
|
* The minimum fee percentage, used to filter the set of nodes being returned.If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 2, as per the Avalanche spec.
|
|
2693
2630
|
*/
|
|
2694
|
-
minFeePercentage?:
|
|
2631
|
+
minFeePercentage?: number;
|
|
2695
2632
|
/**
|
|
2696
2633
|
* The maximum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 100.
|
|
2697
2634
|
*/
|
|
2698
|
-
maxFeePercentage?:
|
|
2635
|
+
maxFeePercentage?: number;
|
|
2699
2636
|
/**
|
|
2700
2637
|
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
2701
2638
|
*/
|
|
2702
|
-
subnetId?:
|
|
2639
|
+
subnetId?: any;
|
|
2703
2640
|
}): CancelablePromise<ListValidatorDetailsResponse>;
|
|
2704
2641
|
/**
|
|
2705
2642
|
* Get single validator details
|
|
@@ -2707,7 +2644,7 @@ declare class PrimaryNetworkService {
|
|
|
2707
2644
|
* @returns ListValidatorDetailsResponse
|
|
2708
2645
|
* @throws ApiError
|
|
2709
2646
|
*/
|
|
2710
|
-
getSingleValidatorDetails({ network, nodeId,
|
|
2647
|
+
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
|
|
2711
2648
|
/**
|
|
2712
2649
|
* Either mainnet or a testnet.
|
|
2713
2650
|
*/
|
|
@@ -2716,14 +2653,14 @@ declare class PrimaryNetworkService {
|
|
|
2716
2653
|
* A primary network (P or X chain) nodeId.
|
|
2717
2654
|
*/
|
|
2718
2655
|
nodeId: string;
|
|
2719
|
-
/**
|
|
2720
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2721
|
-
*/
|
|
2722
|
-
pageSize?: number;
|
|
2723
2656
|
/**
|
|
2724
2657
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2725
2658
|
*/
|
|
2726
2659
|
pageToken?: string;
|
|
2660
|
+
/**
|
|
2661
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2662
|
+
*/
|
|
2663
|
+
pageSize?: number;
|
|
2727
2664
|
/**
|
|
2728
2665
|
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
2729
2666
|
*/
|
|
@@ -2739,19 +2676,19 @@ declare class PrimaryNetworkService {
|
|
|
2739
2676
|
* @returns ListDelegatorDetailsResponse
|
|
2740
2677
|
* @throws ApiError
|
|
2741
2678
|
*/
|
|
2742
|
-
listDelegators({ network,
|
|
2679
|
+
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
2743
2680
|
/**
|
|
2744
2681
|
* Either mainnet or a testnet.
|
|
2745
2682
|
*/
|
|
2746
2683
|
network: Network;
|
|
2747
|
-
/**
|
|
2748
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2749
|
-
*/
|
|
2750
|
-
pageSize?: number;
|
|
2751
2684
|
/**
|
|
2752
2685
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2753
2686
|
*/
|
|
2754
2687
|
pageToken?: string;
|
|
2688
|
+
/**
|
|
2689
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2690
|
+
*/
|
|
2691
|
+
pageSize?: number;
|
|
2755
2692
|
/**
|
|
2756
2693
|
* A comma separated list of reward addresses to filter by.
|
|
2757
2694
|
*/
|
|
@@ -2799,10 +2736,7 @@ type CChainSharedAssetBalance = {
|
|
|
2799
2736
|
* Denomination of this asset to represent fungibility.
|
|
2800
2737
|
*/
|
|
2801
2738
|
denomination: number;
|
|
2802
|
-
|
|
2803
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2804
|
-
*/
|
|
2805
|
-
type: string;
|
|
2739
|
+
type: PrimaryNetworkAssetType;
|
|
2806
2740
|
/**
|
|
2807
2741
|
* Amount of the asset.
|
|
2808
2742
|
*/
|
|
@@ -2837,7 +2771,7 @@ type ListCChainAtomicBalancesResponse = {
|
|
|
2837
2771
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2838
2772
|
};
|
|
2839
2773
|
|
|
2840
|
-
type
|
|
2774
|
+
type AggregatedAssetAmount = {
|
|
2841
2775
|
/**
|
|
2842
2776
|
* Unique ID for an asset.
|
|
2843
2777
|
*/
|
|
@@ -2854,14 +2788,12 @@ type Asset = {
|
|
|
2854
2788
|
* Denomination of this asset to represent fungibility.
|
|
2855
2789
|
*/
|
|
2856
2790
|
denomination: number;
|
|
2857
|
-
|
|
2858
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2859
|
-
*/
|
|
2860
|
-
type: string;
|
|
2791
|
+
type: PrimaryNetworkAssetType;
|
|
2861
2792
|
/**
|
|
2862
2793
|
* Amount of the asset.
|
|
2863
2794
|
*/
|
|
2864
2795
|
amount: string;
|
|
2796
|
+
utxoCount: number;
|
|
2865
2797
|
};
|
|
2866
2798
|
|
|
2867
2799
|
type PChainSharedAsset = {
|
|
@@ -2881,49 +2813,47 @@ type PChainSharedAsset = {
|
|
|
2881
2813
|
* Denomination of this asset to represent fungibility.
|
|
2882
2814
|
*/
|
|
2883
2815
|
denomination: number;
|
|
2884
|
-
|
|
2885
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2886
|
-
*/
|
|
2887
|
-
type: string;
|
|
2816
|
+
type: PrimaryNetworkAssetType;
|
|
2888
2817
|
/**
|
|
2889
2818
|
* Amount of the asset.
|
|
2890
2819
|
*/
|
|
2891
2820
|
amount: string;
|
|
2821
|
+
utxoCount: number;
|
|
2892
2822
|
sharedWithChainId: string;
|
|
2893
2823
|
status: string;
|
|
2894
2824
|
};
|
|
2895
2825
|
|
|
2896
2826
|
type PChainBalance = {
|
|
2897
2827
|
/**
|
|
2898
|
-
* A list of objects containing P-chain Asset
|
|
2828
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is consumable by any transaction.
|
|
2899
2829
|
*/
|
|
2900
|
-
unlockedUnstaked: Array<
|
|
2830
|
+
unlockedUnstaked: Array<AggregatedAssetAmount>;
|
|
2901
2831
|
/**
|
|
2902
|
-
* A list of objects containing P-chain Asset
|
|
2832
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax that is consumable by any transaction when the staking period ends.
|
|
2903
2833
|
*/
|
|
2904
|
-
unlockedStaked: Array<
|
|
2834
|
+
unlockedStaked: Array<AggregatedAssetAmount>;
|
|
2905
2835
|
/**
|
|
2906
|
-
* A list of objects containing P-chain Asset
|
|
2836
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and not consumable by any transaction at the current time.
|
|
2907
2837
|
*/
|
|
2908
|
-
lockedPlatform: Array<
|
|
2838
|
+
lockedPlatform: Array<AggregatedAssetAmount>;
|
|
2909
2839
|
/**
|
|
2910
|
-
* A list of objects containing P-chain Asset
|
|
2840
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and only consumeable for staking transactions.
|
|
2911
2841
|
*/
|
|
2912
|
-
lockedStakeable: Array<
|
|
2842
|
+
lockedStakeable: Array<AggregatedAssetAmount>;
|
|
2913
2843
|
/**
|
|
2914
|
-
* A list of objects containing P-chain Asset
|
|
2844
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax that will be locked when the staking period ends.
|
|
2915
2845
|
*/
|
|
2916
|
-
lockedStaked: Array<
|
|
2846
|
+
lockedStaked: Array<AggregatedAssetAmount>;
|
|
2917
2847
|
/**
|
|
2918
|
-
* A list of objects containing P-chain Asset
|
|
2848
|
+
* A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax whose staking period has not yet started.
|
|
2919
2849
|
*/
|
|
2920
|
-
pendingStaked: Array<
|
|
2850
|
+
pendingStaked: Array<AggregatedAssetAmount>;
|
|
2921
2851
|
/**
|
|
2922
|
-
* A list of objects containing P-chain Asset
|
|
2852
|
+
* A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.
|
|
2923
2853
|
*/
|
|
2924
2854
|
atomicMemoryUnlocked: Array<PChainSharedAsset>;
|
|
2925
2855
|
/**
|
|
2926
|
-
* A list of objects containing P-chain Asset
|
|
2856
|
+
* A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of locked Avax in the atomic memory between P-Chain and other chain.
|
|
2927
2857
|
*/
|
|
2928
2858
|
atomicMemoryLocked: Array<PChainSharedAsset>;
|
|
2929
2859
|
};
|
|
@@ -2933,34 +2863,6 @@ type ListPChainBalancesResponse = {
|
|
|
2933
2863
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2934
2864
|
};
|
|
2935
2865
|
|
|
2936
|
-
type XChainAssetBalance = {
|
|
2937
|
-
/**
|
|
2938
|
-
* Unique ID for an asset.
|
|
2939
|
-
*/
|
|
2940
|
-
assetId: string;
|
|
2941
|
-
/**
|
|
2942
|
-
* Name of this asset.
|
|
2943
|
-
*/
|
|
2944
|
-
name: string;
|
|
2945
|
-
/**
|
|
2946
|
-
* Symbol for this asset (max 4 characters).
|
|
2947
|
-
*/
|
|
2948
|
-
symbol: string;
|
|
2949
|
-
/**
|
|
2950
|
-
* Denomination of this asset to represent fungibility.
|
|
2951
|
-
*/
|
|
2952
|
-
denomination: number;
|
|
2953
|
-
/**
|
|
2954
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2955
|
-
*/
|
|
2956
|
-
type: string;
|
|
2957
|
-
/**
|
|
2958
|
-
* Amount of the asset.
|
|
2959
|
-
*/
|
|
2960
|
-
amount: string;
|
|
2961
|
-
utxoCount: number;
|
|
2962
|
-
};
|
|
2963
|
-
|
|
2964
2866
|
type XChainSharedAssetBalance = {
|
|
2965
2867
|
/**
|
|
2966
2868
|
* Unique ID for an asset.
|
|
@@ -2978,10 +2880,7 @@ type XChainSharedAssetBalance = {
|
|
|
2978
2880
|
* Denomination of this asset to represent fungibility.
|
|
2979
2881
|
*/
|
|
2980
2882
|
denomination: number;
|
|
2981
|
-
|
|
2982
|
-
* Type of asset like SECP256K1 or NFT.
|
|
2983
|
-
*/
|
|
2984
|
-
type: string;
|
|
2883
|
+
type: PrimaryNetworkAssetType;
|
|
2985
2884
|
/**
|
|
2986
2885
|
* Amount of the asset.
|
|
2987
2886
|
*/
|
|
@@ -2994,11 +2893,11 @@ type XChainBalances = {
|
|
|
2994
2893
|
/**
|
|
2995
2894
|
* A list of objects containing X-chain Asset balance information.
|
|
2996
2895
|
*/
|
|
2997
|
-
locked: Array<
|
|
2896
|
+
locked: Array<AggregatedAssetAmount>;
|
|
2998
2897
|
/**
|
|
2999
2898
|
* A list of objects containing X-chain Asset balance information.
|
|
3000
2899
|
*/
|
|
3001
|
-
unlocked: Array<
|
|
2900
|
+
unlocked: Array<AggregatedAssetAmount>;
|
|
3002
2901
|
atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
|
|
3003
2902
|
atomicMemoryLocked: Array<XChainSharedAssetBalance>;
|
|
3004
2903
|
};
|
|
@@ -3111,7 +3010,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3111
3010
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3112
3011
|
* @throws ApiError
|
|
3113
3012
|
*/
|
|
3114
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId,
|
|
3013
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
3115
3014
|
/**
|
|
3116
3015
|
* A primary network blockchain id or alias.
|
|
3117
3016
|
*/
|
|
@@ -3124,14 +3023,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3124
3023
|
* A primary network (P or X chain) nodeId.
|
|
3125
3024
|
*/
|
|
3126
3025
|
nodeId: string;
|
|
3127
|
-
/**
|
|
3128
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3129
|
-
*/
|
|
3130
|
-
pageSize?: number;
|
|
3131
3026
|
/**
|
|
3132
3027
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3133
3028
|
*/
|
|
3134
3029
|
pageToken?: string;
|
|
3030
|
+
/**
|
|
3031
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3032
|
+
*/
|
|
3033
|
+
pageSize?: number;
|
|
3135
3034
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3136
3035
|
/**
|
|
3137
3036
|
* List latest blocks
|
|
@@ -3139,7 +3038,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3139
3038
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3140
3039
|
* @throws ApiError
|
|
3141
3040
|
*/
|
|
3142
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network,
|
|
3041
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
3143
3042
|
/**
|
|
3144
3043
|
* A primary network blockchain id or alias.
|
|
3145
3044
|
*/
|
|
@@ -3148,17 +3047,45 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3148
3047
|
* Either mainnet or a testnet.
|
|
3149
3048
|
*/
|
|
3150
3049
|
network: Network;
|
|
3151
|
-
/**
|
|
3152
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3153
|
-
*/
|
|
3154
|
-
pageSize?: number;
|
|
3155
3050
|
/**
|
|
3156
3051
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3157
3052
|
*/
|
|
3158
3053
|
pageToken?: string;
|
|
3054
|
+
/**
|
|
3055
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3056
|
+
*/
|
|
3057
|
+
pageSize?: number;
|
|
3159
3058
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3160
3059
|
}
|
|
3161
3060
|
|
|
3061
|
+
type AssetWithPriceInfo = {
|
|
3062
|
+
/**
|
|
3063
|
+
* Unique ID for an asset.
|
|
3064
|
+
*/
|
|
3065
|
+
assetId: string;
|
|
3066
|
+
/**
|
|
3067
|
+
* Name of this asset.
|
|
3068
|
+
*/
|
|
3069
|
+
name: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* Symbol for this asset (max 4 characters).
|
|
3072
|
+
*/
|
|
3073
|
+
symbol: string;
|
|
3074
|
+
/**
|
|
3075
|
+
* Denomination of this asset to represent fungibility.
|
|
3076
|
+
*/
|
|
3077
|
+
denomination: number;
|
|
3078
|
+
type: PrimaryNetworkAssetType;
|
|
3079
|
+
/**
|
|
3080
|
+
* Amount of the asset.
|
|
3081
|
+
*/
|
|
3082
|
+
amount: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* The historical asset price at the time the reward was granted, if available. Note, this is only provided if the reward occured more than 24 hours ago.
|
|
3085
|
+
*/
|
|
3086
|
+
historicalPrice?: Money;
|
|
3087
|
+
};
|
|
3088
|
+
|
|
3162
3089
|
declare enum RewardType {
|
|
3163
3090
|
VALIDATOR = "VALIDATOR",
|
|
3164
3091
|
DELEGATOR = "DELEGATOR",
|
|
@@ -3178,10 +3105,7 @@ type HistoricalReward = {
|
|
|
3178
3105
|
rewardType: RewardType;
|
|
3179
3106
|
utxoId: string;
|
|
3180
3107
|
outputIndex: number;
|
|
3181
|
-
|
|
3182
|
-
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
3183
|
-
*/
|
|
3184
|
-
reward: Asset;
|
|
3108
|
+
reward: AssetWithPriceInfo;
|
|
3185
3109
|
rewardTxHash: string;
|
|
3186
3110
|
};
|
|
3187
3111
|
|
|
@@ -3193,6 +3117,30 @@ type ListHistoricalRewardsResponse = {
|
|
|
3193
3117
|
historicalRewards: Array<HistoricalReward>;
|
|
3194
3118
|
};
|
|
3195
3119
|
|
|
3120
|
+
type AssetAmount = {
|
|
3121
|
+
/**
|
|
3122
|
+
* Unique ID for an asset.
|
|
3123
|
+
*/
|
|
3124
|
+
assetId: string;
|
|
3125
|
+
/**
|
|
3126
|
+
* Name of this asset.
|
|
3127
|
+
*/
|
|
3128
|
+
name: string;
|
|
3129
|
+
/**
|
|
3130
|
+
* Symbol for this asset (max 4 characters).
|
|
3131
|
+
*/
|
|
3132
|
+
symbol: string;
|
|
3133
|
+
/**
|
|
3134
|
+
* Denomination of this asset to represent fungibility.
|
|
3135
|
+
*/
|
|
3136
|
+
denomination: number;
|
|
3137
|
+
type: PrimaryNetworkAssetType;
|
|
3138
|
+
/**
|
|
3139
|
+
* Amount of the asset.
|
|
3140
|
+
*/
|
|
3141
|
+
amount: string;
|
|
3142
|
+
};
|
|
3143
|
+
|
|
3196
3144
|
type PendingReward = {
|
|
3197
3145
|
/**
|
|
3198
3146
|
* An array of P-Chain wallet addresses.
|
|
@@ -3206,9 +3154,9 @@ type PendingReward = {
|
|
|
3206
3154
|
rewardType: RewardType;
|
|
3207
3155
|
progress: number;
|
|
3208
3156
|
/**
|
|
3209
|
-
* An object containing P-chain Asset
|
|
3157
|
+
* An object containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3210
3158
|
*/
|
|
3211
|
-
estimatedReward:
|
|
3159
|
+
estimatedReward: AssetAmount;
|
|
3212
3160
|
};
|
|
3213
3161
|
|
|
3214
3162
|
type ListPendingRewardsResponse = {
|
|
@@ -3228,25 +3176,25 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3228
3176
|
* @returns ListPendingRewardsResponse
|
|
3229
3177
|
* @throws ApiError
|
|
3230
3178
|
*/
|
|
3231
|
-
listPendingPrimaryNetworkRewards({ network, addresses,
|
|
3179
|
+
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
3232
3180
|
/**
|
|
3233
3181
|
* Either mainnet or a testnet.
|
|
3234
3182
|
*/
|
|
3235
3183
|
network: Network;
|
|
3236
3184
|
/**
|
|
3237
|
-
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
|
|
3185
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". One of addresses or nodeIds is required.
|
|
3238
3186
|
*/
|
|
3239
3187
|
addresses?: string;
|
|
3240
|
-
/**
|
|
3241
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3242
|
-
*/
|
|
3243
|
-
pageSize?: number;
|
|
3244
3188
|
/**
|
|
3245
3189
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3246
3190
|
*/
|
|
3247
3191
|
pageToken?: string;
|
|
3248
3192
|
/**
|
|
3249
|
-
*
|
|
3193
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3194
|
+
*/
|
|
3195
|
+
pageSize?: number;
|
|
3196
|
+
/**
|
|
3197
|
+
* A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
|
|
3250
3198
|
*/
|
|
3251
3199
|
nodeIds?: string;
|
|
3252
3200
|
/**
|
|
@@ -3260,7 +3208,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3260
3208
|
* @returns ListHistoricalRewardsResponse
|
|
3261
3209
|
* @throws ApiError
|
|
3262
3210
|
*/
|
|
3263
|
-
listHistoricalPrimaryNetworkRewards({ network, addresses,
|
|
3211
|
+
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
3264
3212
|
/**
|
|
3265
3213
|
* Either mainnet or a testnet.
|
|
3266
3214
|
*/
|
|
@@ -3269,14 +3217,14 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3269
3217
|
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Optional, but at least one of addresses or nodeIds is required.
|
|
3270
3218
|
*/
|
|
3271
3219
|
addresses?: string;
|
|
3272
|
-
/**
|
|
3273
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3274
|
-
*/
|
|
3275
|
-
pageSize?: number;
|
|
3276
3220
|
/**
|
|
3277
3221
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3278
3222
|
*/
|
|
3279
3223
|
pageToken?: string;
|
|
3224
|
+
/**
|
|
3225
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3226
|
+
*/
|
|
3227
|
+
pageSize?: number;
|
|
3280
3228
|
/**
|
|
3281
3229
|
* A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
|
|
3282
3230
|
*/
|
|
@@ -3285,6 +3233,10 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3285
3233
|
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3286
3234
|
*/
|
|
3287
3235
|
sortOrder?: SortOrder;
|
|
3236
|
+
/**
|
|
3237
|
+
* The currency that return values should use. Defaults to USD.
|
|
3238
|
+
*/
|
|
3239
|
+
currency?: CurrencyCode;
|
|
3288
3240
|
}): CancelablePromise<ListHistoricalRewardsResponse>;
|
|
3289
3241
|
}
|
|
3290
3242
|
|
|
@@ -3305,9 +3257,9 @@ type EVMInput = {
|
|
|
3305
3257
|
*/
|
|
3306
3258
|
fromAddress: string;
|
|
3307
3259
|
/**
|
|
3308
|
-
*
|
|
3260
|
+
* AssetAmount details for the asset being transferred.
|
|
3309
3261
|
*/
|
|
3310
|
-
asset:
|
|
3262
|
+
asset: AssetAmount;
|
|
3311
3263
|
/**
|
|
3312
3264
|
* Credentials that signed this transaction.
|
|
3313
3265
|
*/
|
|
@@ -3319,7 +3271,7 @@ type Utxo = {
|
|
|
3319
3271
|
* Addresses that are eligible to sign the consumption of this output.
|
|
3320
3272
|
*/
|
|
3321
3273
|
addresses: Array<string>;
|
|
3322
|
-
asset:
|
|
3274
|
+
asset: AssetAmount;
|
|
3323
3275
|
/**
|
|
3324
3276
|
* Blockchain ID on which this output is consumed on.
|
|
3325
3277
|
*/
|
|
@@ -3402,11 +3354,11 @@ type CChainExportTransaction = {
|
|
|
3402
3354
|
/**
|
|
3403
3355
|
* Assets unlocked by inputs of this transaction.
|
|
3404
3356
|
*/
|
|
3405
|
-
amountUnlocked: Array<
|
|
3357
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3406
3358
|
/**
|
|
3407
3359
|
* Assets created by outputs of this transaction.
|
|
3408
3360
|
*/
|
|
3409
|
-
amountCreated: Array<
|
|
3361
|
+
amountCreated: Array<AssetAmount>;
|
|
3410
3362
|
/**
|
|
3411
3363
|
* Source chain for an atomic transaction.
|
|
3412
3364
|
*/
|
|
@@ -3437,9 +3389,9 @@ type EVMOutput = {
|
|
|
3437
3389
|
*/
|
|
3438
3390
|
toAddress: string;
|
|
3439
3391
|
/**
|
|
3440
|
-
*
|
|
3392
|
+
* AssetAmount details for the asset being transferred.
|
|
3441
3393
|
*/
|
|
3442
|
-
asset:
|
|
3394
|
+
asset: AssetAmount;
|
|
3443
3395
|
};
|
|
3444
3396
|
|
|
3445
3397
|
type CChainImportTransaction = {
|
|
@@ -3466,11 +3418,11 @@ type CChainImportTransaction = {
|
|
|
3466
3418
|
/**
|
|
3467
3419
|
* Assets unlocked by inputs of this transaction.
|
|
3468
3420
|
*/
|
|
3469
|
-
amountUnlocked: Array<
|
|
3421
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3470
3422
|
/**
|
|
3471
3423
|
* Assets created by outputs of this transaction.
|
|
3472
3424
|
*/
|
|
3473
|
-
amountCreated: Array<
|
|
3425
|
+
amountCreated: Array<AssetAmount>;
|
|
3474
3426
|
/**
|
|
3475
3427
|
* Source chain for an atomic transaction.
|
|
3476
3428
|
*/
|
|
@@ -3518,6 +3470,8 @@ declare enum PChainTransactionType {
|
|
|
3518
3470
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3519
3471
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3520
3472
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3473
|
+
BASE_TX = "BaseTx",
|
|
3474
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3521
3475
|
UNKNOWN = "UNKNOWN"
|
|
3522
3476
|
}
|
|
3523
3477
|
|
|
@@ -3531,7 +3485,7 @@ type PChainUtxo = {
|
|
|
3531
3485
|
* Addresses that are eligible to sign the consumption of this output.
|
|
3532
3486
|
*/
|
|
3533
3487
|
addresses: Array<string>;
|
|
3534
|
-
asset:
|
|
3488
|
+
asset: AssetAmount;
|
|
3535
3489
|
/**
|
|
3536
3490
|
* Blockchain ID on which this output is consumed on.
|
|
3537
3491
|
*/
|
|
@@ -3595,17 +3549,17 @@ type PChainTransaction = {
|
|
|
3595
3549
|
*/
|
|
3596
3550
|
destinationChain?: string;
|
|
3597
3551
|
/**
|
|
3598
|
-
* A list of objects containing P-chain Asset
|
|
3552
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3599
3553
|
*/
|
|
3600
|
-
value: Array<
|
|
3554
|
+
value: Array<AssetAmount>;
|
|
3601
3555
|
/**
|
|
3602
|
-
* A list of objects containing P-chain Asset
|
|
3556
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
3603
3557
|
*/
|
|
3604
|
-
amountBurned: Array<
|
|
3558
|
+
amountBurned: Array<AssetAmount>;
|
|
3605
3559
|
/**
|
|
3606
|
-
* A list of objects containing P-chain Asset
|
|
3560
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3607
3561
|
*/
|
|
3608
|
-
amountStaked: Array<
|
|
3562
|
+
amountStaked: Array<AssetAmount>;
|
|
3609
3563
|
/**
|
|
3610
3564
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3611
3565
|
*/
|
|
@@ -3637,6 +3591,10 @@ type PChainTransaction = {
|
|
|
3637
3591
|
* Present for RewardValidatorTx
|
|
3638
3592
|
*/
|
|
3639
3593
|
stakingTxHash?: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
|
|
3596
|
+
*/
|
|
3597
|
+
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
3640
3598
|
};
|
|
3641
3599
|
|
|
3642
3600
|
type ListPChainTransactionsResponse = {
|
|
@@ -3648,6 +3606,9 @@ type ListPChainTransactionsResponse = {
|
|
|
3648
3606
|
chainInfo: PrimaryNetworkChainInfo;
|
|
3649
3607
|
};
|
|
3650
3608
|
|
|
3609
|
+
/**
|
|
3610
|
+
* Type of transaction.
|
|
3611
|
+
*/
|
|
3651
3612
|
declare enum XChainTransactionType {
|
|
3652
3613
|
BASE_TX = "BaseTx",
|
|
3653
3614
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
@@ -3670,9 +3631,6 @@ type XChainLinearTransaction = {
|
|
|
3670
3631
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3671
3632
|
*/
|
|
3672
3633
|
timestamp: number;
|
|
3673
|
-
/**
|
|
3674
|
-
* Type of transaction.
|
|
3675
|
-
*/
|
|
3676
3634
|
txType: XChainTransactionType;
|
|
3677
3635
|
/**
|
|
3678
3636
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3683,11 +3641,11 @@ type XChainLinearTransaction = {
|
|
|
3683
3641
|
/**
|
|
3684
3642
|
* Assets unlocked by inputs of this transaction.
|
|
3685
3643
|
*/
|
|
3686
|
-
amountUnlocked: Array<
|
|
3644
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3687
3645
|
/**
|
|
3688
3646
|
* Assets created by outputs of this transaction.
|
|
3689
3647
|
*/
|
|
3690
|
-
amountCreated: Array<
|
|
3648
|
+
amountCreated: Array<AssetAmount>;
|
|
3691
3649
|
/**
|
|
3692
3650
|
* Source chain for an atomic transaction.
|
|
3693
3651
|
*/
|
|
@@ -3697,7 +3655,7 @@ type XChainLinearTransaction = {
|
|
|
3697
3655
|
*/
|
|
3698
3656
|
destinationChain?: string;
|
|
3699
3657
|
/**
|
|
3700
|
-
*
|
|
3658
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3701
3659
|
*/
|
|
3702
3660
|
assetCreated?: XChainAssetDetails;
|
|
3703
3661
|
/**
|
|
@@ -3747,9 +3705,6 @@ type XChainNonLinearTransaction = {
|
|
|
3747
3705
|
* Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
|
|
3748
3706
|
*/
|
|
3749
3707
|
timestamp: number;
|
|
3750
|
-
/**
|
|
3751
|
-
* Type of transaction.
|
|
3752
|
-
*/
|
|
3753
3708
|
txType: XChainTransactionType;
|
|
3754
3709
|
/**
|
|
3755
3710
|
* Hex encoded memo bytes for this transaction.
|
|
@@ -3760,11 +3715,11 @@ type XChainNonLinearTransaction = {
|
|
|
3760
3715
|
/**
|
|
3761
3716
|
* Assets unlocked by inputs of this transaction.
|
|
3762
3717
|
*/
|
|
3763
|
-
amountUnlocked: Array<
|
|
3718
|
+
amountUnlocked: Array<AssetAmount>;
|
|
3764
3719
|
/**
|
|
3765
3720
|
* Assets created by outputs of this transaction.
|
|
3766
3721
|
*/
|
|
3767
|
-
amountCreated: Array<
|
|
3722
|
+
amountCreated: Array<AssetAmount>;
|
|
3768
3723
|
/**
|
|
3769
3724
|
* Source chain for an atomic transaction.
|
|
3770
3725
|
*/
|
|
@@ -3774,7 +3729,7 @@ type XChainNonLinearTransaction = {
|
|
|
3774
3729
|
*/
|
|
3775
3730
|
destinationChain?: string;
|
|
3776
3731
|
/**
|
|
3777
|
-
*
|
|
3732
|
+
* AssetAmount details of the asset created in CreateAssetTx
|
|
3778
3733
|
*/
|
|
3779
3734
|
assetCreated?: XChainAssetDetails;
|
|
3780
3735
|
/**
|
|
@@ -3820,8 +3775,9 @@ declare enum PrimaryNetworkTxType {
|
|
|
3820
3775
|
TRANSFORM_SUBNET_TX = "TransformSubnetTx",
|
|
3821
3776
|
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
3822
3777
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3823
|
-
UNKNOWN = "UNKNOWN",
|
|
3824
3778
|
BASE_TX = "BaseTx",
|
|
3779
|
+
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3780
|
+
UNKNOWN = "UNKNOWN",
|
|
3825
3781
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
3826
3782
|
OPERATION_TX = "OperationTx"
|
|
3827
3783
|
}
|
|
@@ -3853,13 +3809,13 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3853
3809
|
* List latest transactions
|
|
3854
3810
|
* Lists the latest transactions on one of the Primary Network chains.
|
|
3855
3811
|
*
|
|
3856
|
-
* Transactions are filterable by addresses.
|
|
3812
|
+
* Transactions are filterable by addresses, txTypes, and timestamps. When querying for latest transactions without an address parameter, filtering by txTypes and timestamps is not supported. An address filter must be provided to utilize txTypes and timestamp filters.
|
|
3857
3813
|
*
|
|
3858
3814
|
* Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
|
|
3859
3815
|
* @returns any
|
|
3860
3816
|
* @throws ApiError
|
|
3861
3817
|
*/
|
|
3862
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
3818
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3863
3819
|
/**
|
|
3864
3820
|
* A primary network blockchain id or alias.
|
|
3865
3821
|
*/
|
|
@@ -3884,14 +3840,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3884
3840
|
* Query param for retrieving items before a specific timestamp.
|
|
3885
3841
|
*/
|
|
3886
3842
|
endTimestamp?: number;
|
|
3887
|
-
/**
|
|
3888
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3889
|
-
*/
|
|
3890
|
-
pageSize?: number;
|
|
3891
3843
|
/**
|
|
3892
3844
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3893
3845
|
*/
|
|
3894
3846
|
pageToken?: string;
|
|
3847
|
+
/**
|
|
3848
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3849
|
+
*/
|
|
3850
|
+
pageSize?: number;
|
|
3895
3851
|
/**
|
|
3896
3852
|
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3897
3853
|
*/
|
|
@@ -3903,7 +3859,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3903
3859
|
* @returns ListPChainTransactionsResponse
|
|
3904
3860
|
* @throws ApiError
|
|
3905
3861
|
*/
|
|
3906
|
-
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp,
|
|
3862
|
+
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
3907
3863
|
/**
|
|
3908
3864
|
* A primary network blockchain id or alias.
|
|
3909
3865
|
*/
|
|
@@ -3928,14 +3884,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3928
3884
|
* Query param for retrieving items before a specific timestamp.
|
|
3929
3885
|
*/
|
|
3930
3886
|
endTimestamp?: number;
|
|
3931
|
-
/**
|
|
3932
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3933
|
-
*/
|
|
3934
|
-
pageSize?: number;
|
|
3935
3887
|
/**
|
|
3936
3888
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3937
3889
|
*/
|
|
3938
3890
|
pageToken?: string;
|
|
3891
|
+
/**
|
|
3892
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3893
|
+
*/
|
|
3894
|
+
pageSize?: number;
|
|
3939
3895
|
/**
|
|
3940
3896
|
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3941
3897
|
*/
|
|
@@ -3947,7 +3903,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3947
3903
|
* @returns ListXChainTransactionsResponse
|
|
3948
3904
|
* @throws ApiError
|
|
3949
3905
|
*/
|
|
3950
|
-
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp,
|
|
3906
|
+
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3951
3907
|
/**
|
|
3952
3908
|
* A primary network blockchain id or alias.
|
|
3953
3909
|
*/
|
|
@@ -3972,14 +3928,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3972
3928
|
* Query param for retrieving items before a specific timestamp.
|
|
3973
3929
|
*/
|
|
3974
3930
|
endTimestamp?: number;
|
|
3975
|
-
/**
|
|
3976
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3977
|
-
*/
|
|
3978
|
-
pageSize?: number;
|
|
3979
3931
|
/**
|
|
3980
3932
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3981
3933
|
*/
|
|
3982
3934
|
pageToken?: string;
|
|
3935
|
+
/**
|
|
3936
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3937
|
+
*/
|
|
3938
|
+
pageSize?: number;
|
|
3983
3939
|
}): CancelablePromise<ListXChainTransactionsResponse>;
|
|
3984
3940
|
}
|
|
3985
3941
|
|
|
@@ -4010,7 +3966,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4010
3966
|
* @returns any
|
|
4011
3967
|
* @throws ApiError
|
|
4012
3968
|
*/
|
|
4013
|
-
getUtxosByAddresses({ blockchainId, network, addresses,
|
|
3969
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
4014
3970
|
/**
|
|
4015
3971
|
* A primary network blockchain id or alias.
|
|
4016
3972
|
*/
|
|
@@ -4023,14 +3979,14 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4023
3979
|
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
|
|
4024
3980
|
*/
|
|
4025
3981
|
addresses?: string;
|
|
4026
|
-
/**
|
|
4027
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4028
|
-
*/
|
|
4029
|
-
pageSize?: number;
|
|
4030
3982
|
/**
|
|
4031
3983
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4032
3984
|
*/
|
|
4033
3985
|
pageToken?: string;
|
|
3986
|
+
/**
|
|
3987
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3988
|
+
*/
|
|
3989
|
+
pageSize?: number;
|
|
4034
3990
|
/**
|
|
4035
3991
|
* Asset ID for any asset (only applicable X-Chain)
|
|
4036
3992
|
*/
|
|
@@ -4075,7 +4031,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4075
4031
|
* @returns ListXChainVerticesResponse
|
|
4076
4032
|
* @throws ApiError
|
|
4077
4033
|
*/
|
|
4078
|
-
listLatestXChainVertices({ blockchainId, network,
|
|
4034
|
+
listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
|
|
4079
4035
|
/**
|
|
4080
4036
|
* A primary network blockchain id or alias.
|
|
4081
4037
|
*/
|
|
@@ -4084,14 +4040,14 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4084
4040
|
* Either mainnet or a testnet.
|
|
4085
4041
|
*/
|
|
4086
4042
|
network: Network;
|
|
4087
|
-
/**
|
|
4088
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4089
|
-
*/
|
|
4090
|
-
pageSize?: number;
|
|
4091
4043
|
/**
|
|
4092
4044
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4093
4045
|
*/
|
|
4094
4046
|
pageToken?: string;
|
|
4047
|
+
/**
|
|
4048
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4049
|
+
*/
|
|
4050
|
+
pageSize?: number;
|
|
4095
4051
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4096
4052
|
/**
|
|
4097
4053
|
* Get vertex
|
|
@@ -4119,7 +4075,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4119
4075
|
* @returns ListXChainVerticesResponse
|
|
4120
4076
|
* @throws ApiError
|
|
4121
4077
|
*/
|
|
4122
|
-
getVertexByHeight({ vertexHeight, blockchainId, network,
|
|
4078
|
+
getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
|
|
4123
4079
|
/**
|
|
4124
4080
|
* The height of a vertex.
|
|
4125
4081
|
*/
|
|
@@ -4132,14 +4088,14 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4132
4088
|
* Either mainnet or a testnet.
|
|
4133
4089
|
*/
|
|
4134
4090
|
network: Network;
|
|
4135
|
-
/**
|
|
4136
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4137
|
-
*/
|
|
4138
|
-
pageSize?: number;
|
|
4139
4091
|
/**
|
|
4140
4092
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4141
4093
|
*/
|
|
4142
4094
|
pageToken?: string;
|
|
4095
|
+
/**
|
|
4096
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4097
|
+
*/
|
|
4098
|
+
pageSize?: number;
|
|
4143
4099
|
/**
|
|
4144
4100
|
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
4145
4101
|
*/
|
|
@@ -4147,6 +4103,49 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4147
4103
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4148
4104
|
}
|
|
4149
4105
|
|
|
4106
|
+
type RpcErrorDto = {
|
|
4107
|
+
code: number;
|
|
4108
|
+
message: string;
|
|
4109
|
+
data?: Record<string, any>;
|
|
4110
|
+
};
|
|
4111
|
+
|
|
4112
|
+
type RpcErrorResponseDto = {
|
|
4113
|
+
jsonrpc: string;
|
|
4114
|
+
id?: (string | number);
|
|
4115
|
+
error: RpcErrorDto;
|
|
4116
|
+
};
|
|
4117
|
+
|
|
4118
|
+
type RpcRequestBodyDto = {
|
|
4119
|
+
method: string;
|
|
4120
|
+
params?: Record<string, any>;
|
|
4121
|
+
id?: (string | number);
|
|
4122
|
+
jsonrpc?: string;
|
|
4123
|
+
};
|
|
4124
|
+
|
|
4125
|
+
type RpcSuccessResponseDto = {
|
|
4126
|
+
jsonrpc: string;
|
|
4127
|
+
id?: (string | number);
|
|
4128
|
+
result: Record<string, any>;
|
|
4129
|
+
};
|
|
4130
|
+
|
|
4131
|
+
declare class RpcService {
|
|
4132
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4133
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4134
|
+
/**
|
|
4135
|
+
* Calls JSON-RPC method
|
|
4136
|
+
* Calls JSON-RPC method.
|
|
4137
|
+
* @returns any
|
|
4138
|
+
* @throws ApiError
|
|
4139
|
+
*/
|
|
4140
|
+
rpc({ chainId, requestBody, }: {
|
|
4141
|
+
/**
|
|
4142
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
4143
|
+
*/
|
|
4144
|
+
chainId: string;
|
|
4145
|
+
requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
|
|
4146
|
+
}): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
|
|
4147
|
+
}
|
|
4148
|
+
|
|
4150
4149
|
type TeleporterDestinationTransaction = {
|
|
4151
4150
|
txHash: string;
|
|
4152
4151
|
timestamp: number;
|
|
@@ -4155,6 +4154,11 @@ type TeleporterDestinationTransaction = {
|
|
|
4155
4154
|
delivererAddress: string;
|
|
4156
4155
|
};
|
|
4157
4156
|
|
|
4157
|
+
type TeleporterReceipt = {
|
|
4158
|
+
receivedMessageNonce: string;
|
|
4159
|
+
relayerRewardAddress: string;
|
|
4160
|
+
};
|
|
4161
|
+
|
|
4158
4162
|
type TeleporterRewardDetails = {
|
|
4159
4163
|
/**
|
|
4160
4164
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
@@ -4190,14 +4194,16 @@ declare namespace TeleporterRewardDetails {
|
|
|
4190
4194
|
}
|
|
4191
4195
|
|
|
4192
4196
|
type DeliveredSourceNotIndexedTeleporterMessage = {
|
|
4197
|
+
messageId: string;
|
|
4198
|
+
teleporterContractAddress: string;
|
|
4193
4199
|
sourceBlockchainId: string;
|
|
4194
4200
|
destinationBlockchainId: string;
|
|
4195
|
-
|
|
4201
|
+
messageNonce: string;
|
|
4196
4202
|
from: string;
|
|
4197
4203
|
to: string;
|
|
4198
4204
|
data?: string;
|
|
4199
4205
|
messageExecuted: boolean;
|
|
4200
|
-
receipts: Array<
|
|
4206
|
+
receipts: Array<TeleporterReceipt>;
|
|
4201
4207
|
receiptDelivered: boolean;
|
|
4202
4208
|
rewardDetails: TeleporterRewardDetails;
|
|
4203
4209
|
destinationTransaction: TeleporterDestinationTransaction;
|
|
@@ -4216,14 +4222,16 @@ type TeleporterSourceTransaction = {
|
|
|
4216
4222
|
};
|
|
4217
4223
|
|
|
4218
4224
|
type DeliveredTeleporterMessage = {
|
|
4225
|
+
messageId: string;
|
|
4226
|
+
teleporterContractAddress: string;
|
|
4219
4227
|
sourceBlockchainId: string;
|
|
4220
4228
|
destinationBlockchainId: string;
|
|
4221
|
-
|
|
4229
|
+
messageNonce: string;
|
|
4222
4230
|
from: string;
|
|
4223
4231
|
to: string;
|
|
4224
4232
|
data?: string;
|
|
4225
4233
|
messageExecuted: boolean;
|
|
4226
|
-
receipts: Array<
|
|
4234
|
+
receipts: Array<TeleporterReceipt>;
|
|
4227
4235
|
receiptDelivered: boolean;
|
|
4228
4236
|
rewardDetails: TeleporterRewardDetails;
|
|
4229
4237
|
sourceTransaction: TeleporterSourceTransaction;
|
|
@@ -4236,22 +4244,17 @@ declare namespace DeliveredTeleporterMessage {
|
|
|
4236
4244
|
}
|
|
4237
4245
|
}
|
|
4238
4246
|
|
|
4239
|
-
type NextPageToken = {
|
|
4240
|
-
/**
|
|
4241
|
-
* 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.
|
|
4242
|
-
*/
|
|
4243
|
-
nextPageToken?: string;
|
|
4244
|
-
};
|
|
4245
|
-
|
|
4246
4247
|
type PendingTeleporterMessage = {
|
|
4248
|
+
messageId: string;
|
|
4249
|
+
teleporterContractAddress: string;
|
|
4247
4250
|
sourceBlockchainId: string;
|
|
4248
4251
|
destinationBlockchainId: string;
|
|
4249
|
-
|
|
4252
|
+
messageNonce: string;
|
|
4250
4253
|
from: string;
|
|
4251
4254
|
to: string;
|
|
4252
4255
|
data?: string;
|
|
4253
4256
|
messageExecuted: boolean;
|
|
4254
|
-
receipts: Array<
|
|
4257
|
+
receipts: Array<TeleporterReceipt>;
|
|
4255
4258
|
receiptDelivered: boolean;
|
|
4256
4259
|
rewardDetails: TeleporterRewardDetails;
|
|
4257
4260
|
sourceTransaction: TeleporterSourceTransaction;
|
|
@@ -4263,61 +4266,260 @@ declare namespace PendingTeleporterMessage {
|
|
|
4263
4266
|
}
|
|
4264
4267
|
}
|
|
4265
4268
|
|
|
4269
|
+
type ListTeleporterMessagesResponse = {
|
|
4270
|
+
/**
|
|
4271
|
+
* 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.
|
|
4272
|
+
*/
|
|
4273
|
+
nextPageToken?: string;
|
|
4274
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
4275
|
+
};
|
|
4276
|
+
|
|
4266
4277
|
declare class TeleporterService {
|
|
4267
4278
|
readonly httpRequest: BaseHttpRequest;
|
|
4268
4279
|
constructor(httpRequest: BaseHttpRequest);
|
|
4269
4280
|
/**
|
|
4270
4281
|
* Get a teleporter message
|
|
4271
|
-
* Gets a teleporter message by
|
|
4282
|
+
* Gets a teleporter message by message ID.
|
|
4272
4283
|
* @returns any
|
|
4273
4284
|
* @throws ApiError
|
|
4274
4285
|
*/
|
|
4275
|
-
getTeleporterMessage({
|
|
4276
|
-
/**
|
|
4277
|
-
* The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
|
|
4278
|
-
*/
|
|
4279
|
-
sourceBlockchainId: any;
|
|
4280
|
-
/**
|
|
4281
|
-
* The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
|
|
4282
|
-
*/
|
|
4283
|
-
destinationBlockchainId: any;
|
|
4286
|
+
getTeleporterMessage({ messageId, }: {
|
|
4284
4287
|
/**
|
|
4285
4288
|
* The message ID of the teleporter message.
|
|
4286
4289
|
*/
|
|
4287
|
-
messageId:
|
|
4290
|
+
messageId: string;
|
|
4288
4291
|
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
4289
4292
|
/**
|
|
4290
4293
|
* List teleporter messages
|
|
4291
4294
|
* Lists teleporter messages. Ordered by timestamp in descending order.
|
|
4292
|
-
* @returns
|
|
4295
|
+
* @returns ListTeleporterMessagesResponse
|
|
4293
4296
|
* @throws ApiError
|
|
4294
4297
|
*/
|
|
4295
|
-
listTeleporterMessages({
|
|
4298
|
+
listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, }: {
|
|
4299
|
+
/**
|
|
4300
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4301
|
+
*/
|
|
4302
|
+
pageToken?: string;
|
|
4296
4303
|
/**
|
|
4297
4304
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4298
4305
|
*/
|
|
4299
4306
|
pageSize?: number;
|
|
4307
|
+
/**
|
|
4308
|
+
* The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
|
|
4309
|
+
*/
|
|
4310
|
+
sourceBlockchainId?: string;
|
|
4311
|
+
/**
|
|
4312
|
+
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
|
|
4313
|
+
*/
|
|
4314
|
+
destinationBlockchainId?: string;
|
|
4315
|
+
/**
|
|
4316
|
+
* The address of the recipient of the teleporter message.
|
|
4317
|
+
*/
|
|
4318
|
+
to?: string;
|
|
4319
|
+
/**
|
|
4320
|
+
* The address of the sender of the teleporter message.
|
|
4321
|
+
*/
|
|
4322
|
+
from?: string;
|
|
4323
|
+
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4324
|
+
}
|
|
4325
|
+
|
|
4326
|
+
type AddressesChangeRequest = {
|
|
4327
|
+
/**
|
|
4328
|
+
* Ethereum address(es) for the address_activity event type
|
|
4329
|
+
*/
|
|
4330
|
+
addresses: Array<any[]>;
|
|
4331
|
+
};
|
|
4332
|
+
|
|
4333
|
+
type AddressActivityMetadata = {
|
|
4334
|
+
/**
|
|
4335
|
+
* Ethereum address(es) for the address_activity event type
|
|
4336
|
+
*/
|
|
4337
|
+
addresses: Array<any[]>;
|
|
4338
|
+
/**
|
|
4339
|
+
* Array of hexadecimal strings of the event signatures.
|
|
4340
|
+
*/
|
|
4341
|
+
eventSignatures?: Array<string>;
|
|
4342
|
+
};
|
|
4343
|
+
|
|
4344
|
+
declare enum EventType {
|
|
4345
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
declare enum WebhookStatusType {
|
|
4349
|
+
ACTIVE = "active",
|
|
4350
|
+
INACTIVE = "inactive"
|
|
4351
|
+
}
|
|
4352
|
+
|
|
4353
|
+
type WebhookResponse = {
|
|
4354
|
+
id: string;
|
|
4355
|
+
eventType: EventType;
|
|
4356
|
+
metadata: AddressActivityMetadata;
|
|
4357
|
+
/**
|
|
4358
|
+
* Whether to include traces in the webhook payload.
|
|
4359
|
+
*/
|
|
4360
|
+
includeInternalTxs?: boolean;
|
|
4361
|
+
/**
|
|
4362
|
+
* Whether to include logs in the webhook payload.
|
|
4363
|
+
*/
|
|
4364
|
+
includeLogs?: boolean;
|
|
4365
|
+
url: string;
|
|
4366
|
+
chainId: string;
|
|
4367
|
+
status: WebhookStatusType;
|
|
4368
|
+
createdAt: number;
|
|
4369
|
+
name: string;
|
|
4370
|
+
description: string;
|
|
4371
|
+
};
|
|
4372
|
+
|
|
4373
|
+
type ListWebhooksResponse = {
|
|
4374
|
+
/**
|
|
4375
|
+
* 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.
|
|
4376
|
+
*/
|
|
4377
|
+
nextPageToken?: string;
|
|
4378
|
+
webhooks: Array<WebhookResponse>;
|
|
4379
|
+
};
|
|
4380
|
+
|
|
4381
|
+
type RegisterWebhookRequest = {
|
|
4382
|
+
url: string;
|
|
4383
|
+
chainId: string;
|
|
4384
|
+
eventType: EventType;
|
|
4385
|
+
metadata: AddressActivityMetadata;
|
|
4386
|
+
/**
|
|
4387
|
+
* Whether to include traces in the webhook payload.
|
|
4388
|
+
*/
|
|
4389
|
+
includeInternalTxs?: boolean;
|
|
4390
|
+
/**
|
|
4391
|
+
* Whether to include logs in the webhook payload.
|
|
4392
|
+
*/
|
|
4393
|
+
includeLogs?: boolean;
|
|
4394
|
+
};
|
|
4395
|
+
|
|
4396
|
+
type SharedSecretsResponse = {
|
|
4397
|
+
secret: string;
|
|
4398
|
+
};
|
|
4399
|
+
|
|
4400
|
+
type UpdateWebhookRequest = {
|
|
4401
|
+
name?: string;
|
|
4402
|
+
description?: string;
|
|
4403
|
+
url?: string;
|
|
4404
|
+
status?: WebhookStatusType;
|
|
4405
|
+
includeInternalTxs?: boolean;
|
|
4406
|
+
includeLogs?: boolean;
|
|
4407
|
+
};
|
|
4408
|
+
|
|
4409
|
+
declare enum WebhookStatus {
|
|
4410
|
+
ACTIVE = "active",
|
|
4411
|
+
INACTIVE = "inactive"
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4414
|
+
declare class WebhooksService {
|
|
4415
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4416
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4417
|
+
/**
|
|
4418
|
+
* Create a webhook
|
|
4419
|
+
* Create a new webhook.
|
|
4420
|
+
* @returns WebhookResponse
|
|
4421
|
+
* @throws ApiError
|
|
4422
|
+
*/
|
|
4423
|
+
registerWebhook({ requestBody, }: {
|
|
4424
|
+
requestBody: RegisterWebhookRequest;
|
|
4425
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4426
|
+
/**
|
|
4427
|
+
* List webhooks
|
|
4428
|
+
* Lists webhooks for the user.
|
|
4429
|
+
* @returns ListWebhooksResponse
|
|
4430
|
+
* @throws ApiError
|
|
4431
|
+
*/
|
|
4432
|
+
listWebhooks({ pageToken, pageSize, status, }: {
|
|
4300
4433
|
/**
|
|
4301
4434
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4302
4435
|
*/
|
|
4303
4436
|
pageToken?: string;
|
|
4304
4437
|
/**
|
|
4305
|
-
* The
|
|
4438
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4306
4439
|
*/
|
|
4307
|
-
|
|
4440
|
+
pageSize?: number;
|
|
4308
4441
|
/**
|
|
4309
|
-
*
|
|
4442
|
+
* 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.
|
|
4310
4443
|
*/
|
|
4311
|
-
|
|
4444
|
+
status?: WebhookStatus;
|
|
4445
|
+
}): CancelablePromise<ListWebhooksResponse>;
|
|
4446
|
+
/**
|
|
4447
|
+
* Get a webhook by ID
|
|
4448
|
+
* Retrieves a webhook by ID.
|
|
4449
|
+
* @returns WebhookResponse
|
|
4450
|
+
* @throws ApiError
|
|
4451
|
+
*/
|
|
4452
|
+
getWebhook({ id, }: {
|
|
4312
4453
|
/**
|
|
4313
|
-
* The
|
|
4454
|
+
* The webhook identifier.
|
|
4455
|
+
*/
|
|
4456
|
+
id: string;
|
|
4457
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4458
|
+
/**
|
|
4459
|
+
* Deactivate a webhook
|
|
4460
|
+
* Deactivates a webhook by ID.
|
|
4461
|
+
* @returns WebhookResponse
|
|
4462
|
+
* @throws ApiError
|
|
4463
|
+
*/
|
|
4464
|
+
deactivateWebhook({ id, }: {
|
|
4465
|
+
/**
|
|
4466
|
+
* The webhook identifier.
|
|
4314
4467
|
*/
|
|
4315
|
-
|
|
4468
|
+
id: string;
|
|
4469
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4470
|
+
/**
|
|
4471
|
+
* Update a webhook
|
|
4472
|
+
* Updates an existing webhook.
|
|
4473
|
+
* @returns WebhookResponse
|
|
4474
|
+
* @throws ApiError
|
|
4475
|
+
*/
|
|
4476
|
+
updateWebhook({ id, requestBody, }: {
|
|
4316
4477
|
/**
|
|
4317
|
-
* The
|
|
4478
|
+
* The webhook identifier.
|
|
4318
4479
|
*/
|
|
4319
|
-
|
|
4320
|
-
|
|
4480
|
+
id: string;
|
|
4481
|
+
requestBody: UpdateWebhookRequest;
|
|
4482
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4483
|
+
/**
|
|
4484
|
+
* Generate a shared secret
|
|
4485
|
+
* Generates a new shared secret.
|
|
4486
|
+
* @returns SharedSecretsResponse
|
|
4487
|
+
* @throws ApiError
|
|
4488
|
+
*/
|
|
4489
|
+
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4490
|
+
/**
|
|
4491
|
+
* Get a shared secret
|
|
4492
|
+
* Get a previously generated shared secret.
|
|
4493
|
+
* @returns SharedSecretsResponse
|
|
4494
|
+
* @throws ApiError
|
|
4495
|
+
*/
|
|
4496
|
+
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4497
|
+
/**
|
|
4498
|
+
* Add address(es) to a webhook
|
|
4499
|
+
* Adding address(es) to a given webhook.
|
|
4500
|
+
* @returns WebhookResponse
|
|
4501
|
+
* @throws ApiError
|
|
4502
|
+
*/
|
|
4503
|
+
addAddressesToWebhook({ id, requestBody, }: {
|
|
4504
|
+
/**
|
|
4505
|
+
* The webhook identifier.
|
|
4506
|
+
*/
|
|
4507
|
+
id: string;
|
|
4508
|
+
requestBody: AddressesChangeRequest;
|
|
4509
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4510
|
+
/**
|
|
4511
|
+
* Remove address(es) from a webhook
|
|
4512
|
+
* Removing address(es) from a given webhook.
|
|
4513
|
+
* @returns WebhookResponse
|
|
4514
|
+
* @throws ApiError
|
|
4515
|
+
*/
|
|
4516
|
+
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
4517
|
+
/**
|
|
4518
|
+
* The webhook identifier.
|
|
4519
|
+
*/
|
|
4520
|
+
id: string;
|
|
4521
|
+
requestBody: AddressesChangeRequest;
|
|
4522
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4321
4523
|
}
|
|
4322
4524
|
|
|
4323
4525
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
@@ -4338,7 +4540,9 @@ declare class Glacier {
|
|
|
4338
4540
|
readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
|
|
4339
4541
|
readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
|
|
4340
4542
|
readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
|
|
4543
|
+
readonly rpc: RpcService;
|
|
4341
4544
|
readonly teleporter: TeleporterService;
|
|
4545
|
+
readonly webhooks: WebhooksService;
|
|
4342
4546
|
readonly request: BaseHttpRequest;
|
|
4343
4547
|
constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
|
|
4344
4548
|
}
|
|
@@ -4360,4 +4564,11 @@ declare class ApiError extends Error {
|
|
|
4360
4564
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4361
4565
|
}
|
|
4362
4566
|
|
|
4363
|
-
|
|
4567
|
+
type NextPageToken = {
|
|
4568
|
+
/**
|
|
4569
|
+
* 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.
|
|
4570
|
+
*/
|
|
4571
|
+
nextPageToken?: string;
|
|
4572
|
+
};
|
|
4573
|
+
|
|
4574
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, 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, ListTeleporterMessagesResponse, 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 };
|