@avalabs/glacier-sdk 3.1.0-canary.b86a6f6.0 → 3.1.0-canary.bac8d3c.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 +1619 -372
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +4 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/AccessListData.d.ts +12 -0
- package/esm/generated/models/AccessRequest.d.ts +12 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +21 -0
- package/esm/generated/models/CommonBalanceType.d.ts +17 -0
- package/esm/generated/models/CommonBalanceType.js +1 -0
- package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
- package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
- package/esm/generated/models/DeliveredIcmMessage.js +1 -0
- package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
- package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
- package/esm/generated/models/ERCToken.d.ts +24 -0
- package/esm/generated/models/ERCTransfer.d.ts +50 -0
- package/esm/generated/models/EVMAddressActivityRequest.d.ts +27 -0
- package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
- package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +8 -8
- package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
- package/esm/generated/models/Erc20TokenBalance.js +1 -1
- package/esm/generated/models/EventType.d.ts +3 -1
- package/esm/generated/models/EventType.js +1 -1
- package/esm/generated/models/EvmBlock.d.ts +4 -0
- package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
- package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
- package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -2
- package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
- package/esm/generated/models/HealthCheckResultDto.js +1 -0
- package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
- package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
- package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
- package/esm/generated/models/IcmReceipt.d.ts +6 -0
- package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
- package/esm/generated/models/IcmRewardDetails.js +1 -0
- package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
- package/esm/generated/models/InternalTransaction.d.ts +15 -16
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +37 -0
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +27 -0
- package/esm/generated/models/ListErc1155BalancesResponse.d.ts +5 -0
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +5 -0
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +5 -0
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +12 -0
- package/esm/generated/models/{ListSubnetOnlyValidatorsResponse.d.ts → ListL1ValidatorsResponse.d.ts} +4 -4
- package/esm/generated/models/ListWebhooksResponse.d.ts +3 -2
- package/esm/generated/models/Log.d.ts +40 -0
- package/esm/generated/models/NativeTransaction.d.ts +4 -0
- package/esm/generated/models/Network.d.ts +1 -2
- package/esm/generated/models/Network.js +1 -1
- package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
- package/esm/generated/models/NotificationsResponse.d.ts +5 -0
- package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
- package/esm/generated/models/PChainTransaction.d.ts +25 -13
- package/esm/generated/models/PChainTransactionType.d.ts +5 -5
- package/esm/generated/models/PChainTransactionType.js +1 -1
- package/esm/generated/models/PChainUtxo.d.ts +27 -0
- package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
- package/esm/generated/models/PendingIcmMessage.js +1 -0
- package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
- package/esm/generated/models/PlatformActivityKeyType.d.ts +10 -0
- package/esm/generated/models/PlatformActivityKeyType.js +1 -0
- package/esm/generated/models/PlatformActivityMetadata.d.ts +37 -0
- package/esm/generated/models/PlatformActivityRequest.d.ts +31 -0
- package/esm/generated/models/PlatformActivityRequest.js +1 -0
- package/esm/generated/models/PlatformActivityResponse.d.ts +17 -0
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +11 -0
- package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +10 -0
- package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -0
- package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +11 -0
- package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -2
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +10 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
- package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
- package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
- package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -5
- package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
- package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
- package/esm/generated/models/PrimaryNetworkType.js +1 -0
- package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +8 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -7
- package/esm/generated/models/StakingDistribution.d.ts +9 -0
- package/esm/generated/models/Subnet.d.ts +6 -2
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
- package/esm/generated/models/{RpcUsageMetricsResponseDTO.d.ts → SubnetRpcUsageMetricsResponseDTO.d.ts} +6 -6
- package/esm/generated/models/SubscribeRequest.d.ts +16 -0
- package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
- package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
- package/esm/generated/models/Transaction.d.ts +121 -0
- package/esm/generated/models/TransactionEvent.d.ts +15 -0
- package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
- package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
- package/esm/generated/models/UtxoType.d.ts +3 -0
- package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
- package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
- package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +119 -20
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
- package/esm/generated/services/EvmBalancesService.d.ts +4 -4
- package/esm/generated/services/EvmBlocksService.d.ts +21 -0
- package/esm/generated/services/EvmBlocksService.js +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +69 -4
- package/esm/generated/services/EvmChainsService.js +1 -1
- package/esm/generated/services/EvmTransactionsService.d.ts +34 -1
- package/esm/generated/services/EvmTransactionsService.js +1 -1
- package/esm/generated/services/HealthCheckService.d.ts +4 -7
- package/esm/generated/services/HealthCheckService.js +1 -1
- package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
- package/esm/generated/services/InterchainMessagingService.js +1 -0
- package/esm/generated/services/NotificationsService.d.ts +51 -0
- package/esm/generated/services/NotificationsService.js +1 -0
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +18 -2
- package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
- package/esm/generated/services/PrimaryNetworkService.d.ts +26 -9
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
- package/esm/generated/services/SignatureAggregatorService.d.ts +22 -1
- package/esm/generated/services/SignatureAggregatorService.js +1 -1
- package/esm/generated/services/TeleporterService.d.ts +12 -6
- package/esm/generated/services/WebhooksService.d.ts +26 -24
- package/esm/generated/services/WebhooksService.js +1 -1
- package/esm/index.d.ts +46 -7
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/BlockchainInfo.d.ts +0 -5
- package/esm/generated/models/CreateWebhookRequest.d.ts +0 -21
- package/esm/generated/models/SoVDetailsTransaction.d.ts +0 -23
- package/esm/generated/models/SovDetailsFull.d.ts +0 -33
package/dist/index.d.ts
CHANGED
|
@@ -148,6 +148,28 @@ type LogsResponseDTO = {
|
|
|
148
148
|
logs: Array<LogsFormat>;
|
|
149
149
|
};
|
|
150
150
|
|
|
151
|
+
declare enum Network {
|
|
152
|
+
MAINNET = "mainnet",
|
|
153
|
+
FUJI = "fuji",
|
|
154
|
+
TESTNET = "testnet"
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
declare enum PrimaryNetworkRpcMetricsGroupByEnum {
|
|
158
|
+
RPC_METHOD = "rpcMethod",
|
|
159
|
+
REQUEST_PATH = "requestPath",
|
|
160
|
+
RESPONSE_CODE = "responseCode",
|
|
161
|
+
COUNTRY = "country",
|
|
162
|
+
CONTINENT = "continent",
|
|
163
|
+
USER_AGENT = "userAgent"
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare enum PrimaryNetworkRpcTimeIntervalGranularity {
|
|
167
|
+
HOURLY = "hourly",
|
|
168
|
+
DAILY = "daily",
|
|
169
|
+
WEEKLY = "weekly",
|
|
170
|
+
MONTHLY = "monthly"
|
|
171
|
+
}
|
|
172
|
+
|
|
151
173
|
type RpcUsageMetricsValueAggregated = {
|
|
152
174
|
/**
|
|
153
175
|
* The total number of requests
|
|
@@ -173,6 +195,10 @@ type RpcUsageMetricsValueAggregated = {
|
|
|
173
195
|
* The number of invalid requests
|
|
174
196
|
*/
|
|
175
197
|
invalidRequests: number;
|
|
198
|
+
/**
|
|
199
|
+
* The number of API credits wasted on invalid requests
|
|
200
|
+
*/
|
|
201
|
+
apiCreditsWasted: number;
|
|
176
202
|
/**
|
|
177
203
|
* Column name used for data aggregation
|
|
178
204
|
*/
|
|
@@ -190,6 +216,10 @@ declare namespace RpcUsageMetricsValueAggregated {
|
|
|
190
216
|
RPC_METHOD = "rpcMethod",
|
|
191
217
|
RESPONSE_CODE = "responseCode",
|
|
192
218
|
RL_BYPASS_TOKEN = "rlBypassToken",
|
|
219
|
+
REQUEST_PATH = "requestPath",
|
|
220
|
+
COUNTRY = "country",
|
|
221
|
+
CONTINENT = "continent",
|
|
222
|
+
USER_AGENT = "userAgent",
|
|
193
223
|
NONE = "None"
|
|
194
224
|
}
|
|
195
225
|
}
|
|
@@ -205,19 +235,56 @@ type RpcMetrics = {
|
|
|
205
235
|
values: Array<RpcUsageMetricsValueAggregated>;
|
|
206
236
|
};
|
|
207
237
|
|
|
208
|
-
type
|
|
238
|
+
type PrimaryNetworkRpcUsageMetricsResponseDTO = {
|
|
209
239
|
/**
|
|
210
240
|
* Duration in which the metrics value is aggregated
|
|
211
241
|
*/
|
|
212
242
|
aggregateDuration: string;
|
|
213
243
|
/**
|
|
214
|
-
*
|
|
244
|
+
* Metrics values
|
|
215
245
|
*/
|
|
216
|
-
|
|
246
|
+
metrics: Array<RpcMetrics>;
|
|
247
|
+
/**
|
|
248
|
+
* Network type for which the metrics are aggregated
|
|
249
|
+
*/
|
|
250
|
+
network: PrimaryNetworkRpcUsageMetricsResponseDTO.network;
|
|
251
|
+
};
|
|
252
|
+
declare namespace PrimaryNetworkRpcUsageMetricsResponseDTO {
|
|
253
|
+
/**
|
|
254
|
+
* Network type for which the metrics are aggregated
|
|
255
|
+
*/
|
|
256
|
+
enum network {
|
|
257
|
+
MAINNET = "mainnet",
|
|
258
|
+
TESTNET = "testnet"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
declare enum RpcUsageMetricsGroupByEnum {
|
|
263
|
+
RPC_METHOD = "rpcMethod",
|
|
264
|
+
RESPONSE_CODE = "responseCode",
|
|
265
|
+
RL_BYPASS_TOKEN = "rlBypassToken"
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
declare enum SubnetRpcTimeIntervalGranularity {
|
|
269
|
+
HOURLY = "hourly",
|
|
270
|
+
DAILY = "daily",
|
|
271
|
+
WEEKLY = "weekly",
|
|
272
|
+
MONTHLY = "monthly"
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
type SubnetRpcUsageMetricsResponseDTO = {
|
|
276
|
+
/**
|
|
277
|
+
* Duration in which the metrics value is aggregated
|
|
278
|
+
*/
|
|
279
|
+
aggregateDuration: string;
|
|
217
280
|
/**
|
|
218
281
|
* Metrics values
|
|
219
282
|
*/
|
|
220
283
|
metrics: Array<RpcMetrics>;
|
|
284
|
+
/**
|
|
285
|
+
* ChainId for which the metrics are aggregated
|
|
286
|
+
*/
|
|
287
|
+
chainId: string;
|
|
221
288
|
};
|
|
222
289
|
|
|
223
290
|
declare enum TimeIntervalGranularityExtended {
|
|
@@ -323,7 +390,7 @@ declare class DataApiUsageMetricsService {
|
|
|
323
390
|
* @returns UsageMetricsResponseDTO Successful response
|
|
324
391
|
* @throws ApiError
|
|
325
392
|
*/
|
|
326
|
-
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId,
|
|
393
|
+
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, responseCode, requestType, apiKeyId, requestPath, }: {
|
|
327
394
|
/**
|
|
328
395
|
* Organization ID to fetch usage metrics for
|
|
329
396
|
*/
|
|
@@ -348,10 +415,6 @@ declare class DataApiUsageMetricsService {
|
|
|
348
415
|
* Filter data by chain ID.
|
|
349
416
|
*/
|
|
350
417
|
chainId?: string;
|
|
351
|
-
/**
|
|
352
|
-
* Filter data by request path.
|
|
353
|
-
*/
|
|
354
|
-
requestPath?: string;
|
|
355
418
|
/**
|
|
356
419
|
* Filter data by response status code.
|
|
357
420
|
*/
|
|
@@ -364,6 +427,10 @@ declare class DataApiUsageMetricsService {
|
|
|
364
427
|
* Filter data by API key ID.
|
|
365
428
|
*/
|
|
366
429
|
apiKeyId?: string;
|
|
430
|
+
/**
|
|
431
|
+
* Filter data by request path.
|
|
432
|
+
*/
|
|
433
|
+
requestPath?: string;
|
|
367
434
|
}): CancelablePromise<UsageMetricsResponseDTO>;
|
|
368
435
|
/**
|
|
369
436
|
* Get logs for requests made by client
|
|
@@ -371,7 +438,7 @@ declare class DataApiUsageMetricsService {
|
|
|
371
438
|
* @returns LogsResponseDTO Successful response
|
|
372
439
|
* @throws ApiError
|
|
373
440
|
*/
|
|
374
|
-
getApiLogs({ orgId, startTimestamp, endTimestamp, chainId,
|
|
441
|
+
getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, responseCode, requestType, apiKeyId, requestPath, pageToken, pageSize, }: {
|
|
375
442
|
/**
|
|
376
443
|
* Organization ID to fetch usage metrics for
|
|
377
444
|
*/
|
|
@@ -388,10 +455,6 @@ declare class DataApiUsageMetricsService {
|
|
|
388
455
|
* Filter data by chain ID.
|
|
389
456
|
*/
|
|
390
457
|
chainId?: string;
|
|
391
|
-
/**
|
|
392
|
-
* Filter data by request path.
|
|
393
|
-
*/
|
|
394
|
-
requestPath?: string;
|
|
395
458
|
/**
|
|
396
459
|
* Filter data by response status code.
|
|
397
460
|
*/
|
|
@@ -404,6 +467,10 @@ declare class DataApiUsageMetricsService {
|
|
|
404
467
|
* Filter data by API key ID.
|
|
405
468
|
*/
|
|
406
469
|
apiKeyId?: string;
|
|
470
|
+
/**
|
|
471
|
+
* Filter data by request path.
|
|
472
|
+
*/
|
|
473
|
+
requestPath?: string;
|
|
407
474
|
/**
|
|
408
475
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
409
476
|
*/
|
|
@@ -415,15 +482,16 @@ declare class DataApiUsageMetricsService {
|
|
|
415
482
|
}): CancelablePromise<LogsResponseDTO>;
|
|
416
483
|
/**
|
|
417
484
|
* Get usage metrics for the Subnet RPC
|
|
418
|
-
* Gets metrics for Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
419
|
-
* @returns
|
|
485
|
+
* Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
486
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
420
487
|
* @throws ApiError
|
|
421
488
|
*/
|
|
422
|
-
|
|
489
|
+
getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
423
490
|
/**
|
|
424
|
-
*
|
|
491
|
+
* Time interval granularity for data aggregation for subnet
|
|
492
|
+
* rpc metrics
|
|
425
493
|
*/
|
|
426
|
-
timeInterval?:
|
|
494
|
+
timeInterval?: SubnetRpcTimeIntervalGranularity;
|
|
427
495
|
/**
|
|
428
496
|
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
429
497
|
*/
|
|
@@ -435,15 +503,54 @@ declare class DataApiUsageMetricsService {
|
|
|
435
503
|
/**
|
|
436
504
|
* Query param for the criterion used for grouping metrics
|
|
437
505
|
*/
|
|
438
|
-
groupBy?:
|
|
506
|
+
groupBy?: RpcUsageMetricsGroupByEnum;
|
|
439
507
|
/**
|
|
440
508
|
* Filter data by chain ID.
|
|
441
509
|
*/
|
|
442
510
|
chainId?: string;
|
|
443
511
|
/**
|
|
444
|
-
* Filter data by
|
|
512
|
+
* Filter data by response status code.
|
|
445
513
|
*/
|
|
446
|
-
|
|
514
|
+
responseCode?: string;
|
|
515
|
+
/**
|
|
516
|
+
* Filter data by RPC method.
|
|
517
|
+
*/
|
|
518
|
+
rpcMethod?: string;
|
|
519
|
+
/**
|
|
520
|
+
* Filter data by Rl Bypass API Token.
|
|
521
|
+
*/
|
|
522
|
+
rlBypassApiToken?: string;
|
|
523
|
+
}): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
|
|
524
|
+
/**
|
|
525
|
+
* @deprecated
|
|
526
|
+
* **[Deprecated]** Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
527
|
+
*
|
|
528
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/subnetRpcUsageMetrics endpoint instead**.
|
|
529
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
530
|
+
* @throws ApiError
|
|
531
|
+
*/
|
|
532
|
+
getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
533
|
+
/**
|
|
534
|
+
* Time interval granularity for data aggregation for subnet
|
|
535
|
+
* rpc metrics
|
|
536
|
+
*/
|
|
537
|
+
timeInterval?: SubnetRpcTimeIntervalGranularity;
|
|
538
|
+
/**
|
|
539
|
+
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
540
|
+
*/
|
|
541
|
+
startTimestamp?: number;
|
|
542
|
+
/**
|
|
543
|
+
* The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
|
|
544
|
+
*/
|
|
545
|
+
endTimestamp?: number;
|
|
546
|
+
/**
|
|
547
|
+
* Query param for the criterion used for grouping metrics
|
|
548
|
+
*/
|
|
549
|
+
groupBy?: RpcUsageMetricsGroupByEnum;
|
|
550
|
+
/**
|
|
551
|
+
* Filter data by chain ID.
|
|
552
|
+
*/
|
|
553
|
+
chainId?: string;
|
|
447
554
|
/**
|
|
448
555
|
* Filter data by response status code.
|
|
449
556
|
*/
|
|
@@ -456,7 +563,60 @@ declare class DataApiUsageMetricsService {
|
|
|
456
563
|
* Filter data by Rl Bypass API Token.
|
|
457
564
|
*/
|
|
458
565
|
rlBypassApiToken?: string;
|
|
459
|
-
}): CancelablePromise<
|
|
566
|
+
}): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
|
|
567
|
+
/**
|
|
568
|
+
* Get usage metrics for the Primary Network RPC
|
|
569
|
+
* Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
570
|
+
* @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
|
|
571
|
+
* @throws ApiError
|
|
572
|
+
*/
|
|
573
|
+
getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
|
|
574
|
+
/**
|
|
575
|
+
* Either mainnet or testnet/fuji.
|
|
576
|
+
*/
|
|
577
|
+
network: Network;
|
|
578
|
+
/**
|
|
579
|
+
* Time interval granularity for data aggregation for subnet
|
|
580
|
+
* rpc metrics
|
|
581
|
+
*/
|
|
582
|
+
timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
|
|
583
|
+
/**
|
|
584
|
+
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
585
|
+
*/
|
|
586
|
+
startTimestamp?: number;
|
|
587
|
+
/**
|
|
588
|
+
* The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
|
|
589
|
+
*/
|
|
590
|
+
endTimestamp?: number;
|
|
591
|
+
/**
|
|
592
|
+
* Query param for the criterion used for grouping metrics
|
|
593
|
+
*/
|
|
594
|
+
groupBy?: PrimaryNetworkRpcMetricsGroupByEnum;
|
|
595
|
+
/**
|
|
596
|
+
* Filter data by response status code.
|
|
597
|
+
*/
|
|
598
|
+
responseCode?: string;
|
|
599
|
+
/**
|
|
600
|
+
* Filter data by request path.
|
|
601
|
+
*/
|
|
602
|
+
requestPath?: string;
|
|
603
|
+
/**
|
|
604
|
+
* Filter data by Country. Input must be a valid ISO 3166-1 alpha-2 country code. "XX" - Represents clients without country code data. "T1" - Represents clients using the Tor network.
|
|
605
|
+
*/
|
|
606
|
+
country?: string;
|
|
607
|
+
/**
|
|
608
|
+
* Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
|
|
609
|
+
*/
|
|
610
|
+
continent?: string;
|
|
611
|
+
/**
|
|
612
|
+
* Filter data by User Agent.
|
|
613
|
+
*/
|
|
614
|
+
userAgent?: string;
|
|
615
|
+
/**
|
|
616
|
+
* Filter data by RPC method.
|
|
617
|
+
*/
|
|
618
|
+
rpcMethod?: string;
|
|
619
|
+
}): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
|
|
460
620
|
}
|
|
461
621
|
|
|
462
622
|
declare class DefaultService {
|
|
@@ -655,6 +815,10 @@ type ListErc1155BalancesResponse = {
|
|
|
655
815
|
* 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.
|
|
656
816
|
*/
|
|
657
817
|
nextPageToken?: string;
|
|
818
|
+
/**
|
|
819
|
+
* The native token balance for the address.
|
|
820
|
+
*/
|
|
821
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
658
822
|
/**
|
|
659
823
|
* The list of ERC-1155 token balances for the address.
|
|
660
824
|
*/
|
|
@@ -699,11 +863,22 @@ type Erc20TokenBalance = {
|
|
|
699
863
|
* The monetary value of the balance, if a price is available for the token.
|
|
700
864
|
*/
|
|
701
865
|
balanceValue?: Money;
|
|
866
|
+
/**
|
|
867
|
+
* Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
|
|
868
|
+
*/
|
|
869
|
+
tokenReputation: Erc20TokenBalance.tokenReputation;
|
|
702
870
|
};
|
|
703
871
|
declare namespace Erc20TokenBalance {
|
|
704
872
|
enum ercType {
|
|
705
873
|
ERC_20 = "ERC-20"
|
|
706
874
|
}
|
|
875
|
+
/**
|
|
876
|
+
* Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
|
|
877
|
+
*/
|
|
878
|
+
enum tokenReputation {
|
|
879
|
+
MALICIOUS = "Malicious",
|
|
880
|
+
BENIGN = "Benign"
|
|
881
|
+
}
|
|
707
882
|
}
|
|
708
883
|
|
|
709
884
|
type ListErc20BalancesResponse = {
|
|
@@ -711,6 +886,10 @@ type ListErc20BalancesResponse = {
|
|
|
711
886
|
* 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.
|
|
712
887
|
*/
|
|
713
888
|
nextPageToken?: string;
|
|
889
|
+
/**
|
|
890
|
+
* The native token balance for the address.
|
|
891
|
+
*/
|
|
892
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
714
893
|
/**
|
|
715
894
|
* The list of ERC-20 token balances for the address.
|
|
716
895
|
*/
|
|
@@ -722,6 +901,10 @@ type ListErc721BalancesResponse = {
|
|
|
722
901
|
* 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.
|
|
723
902
|
*/
|
|
724
903
|
nextPageToken?: string;
|
|
904
|
+
/**
|
|
905
|
+
* The native token balance for the address.
|
|
906
|
+
*/
|
|
907
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
725
908
|
/**
|
|
726
909
|
* The list of ERC-721 token balances for the address.
|
|
727
910
|
*/
|
|
@@ -785,7 +968,7 @@ declare class EvmBalancesService {
|
|
|
785
968
|
*/
|
|
786
969
|
pageToken?: string;
|
|
787
970
|
/**
|
|
788
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
971
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
789
972
|
*/
|
|
790
973
|
pageSize?: number;
|
|
791
974
|
/**
|
|
@@ -823,7 +1006,7 @@ declare class EvmBalancesService {
|
|
|
823
1006
|
*/
|
|
824
1007
|
pageToken?: string;
|
|
825
1008
|
/**
|
|
826
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1009
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
827
1010
|
*/
|
|
828
1011
|
pageSize?: number;
|
|
829
1012
|
/**
|
|
@@ -859,7 +1042,7 @@ declare class EvmBalancesService {
|
|
|
859
1042
|
*/
|
|
860
1043
|
pageToken?: string;
|
|
861
1044
|
/**
|
|
862
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1045
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
863
1046
|
*/
|
|
864
1047
|
pageSize?: number;
|
|
865
1048
|
/**
|
|
@@ -889,7 +1072,7 @@ declare class EvmBalancesService {
|
|
|
889
1072
|
*/
|
|
890
1073
|
pageToken?: string;
|
|
891
1074
|
/**
|
|
892
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1075
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
893
1076
|
*/
|
|
894
1077
|
pageSize?: number;
|
|
895
1078
|
/**
|
|
@@ -900,6 +1083,10 @@ declare class EvmBalancesService {
|
|
|
900
1083
|
}
|
|
901
1084
|
|
|
902
1085
|
type GetEvmBlockResponse = {
|
|
1086
|
+
/**
|
|
1087
|
+
* The EVM chain ID on which the block was created.
|
|
1088
|
+
*/
|
|
1089
|
+
chainId: string;
|
|
903
1090
|
/**
|
|
904
1091
|
* The block number on the chain.
|
|
905
1092
|
*/
|
|
@@ -944,6 +1131,10 @@ type GetEvmBlockResponse = {
|
|
|
944
1131
|
};
|
|
945
1132
|
|
|
946
1133
|
type EvmBlock = {
|
|
1134
|
+
/**
|
|
1135
|
+
* The EVM chain ID on which the block was created.
|
|
1136
|
+
*/
|
|
1137
|
+
chainId: string;
|
|
947
1138
|
/**
|
|
948
1139
|
* The block number on the chain.
|
|
949
1140
|
*/
|
|
@@ -998,6 +1189,26 @@ type ListEvmBlocksResponse = {
|
|
|
998
1189
|
declare class EvmBlocksService {
|
|
999
1190
|
readonly httpRequest: BaseHttpRequest;
|
|
1000
1191
|
constructor(httpRequest: BaseHttpRequest);
|
|
1192
|
+
/**
|
|
1193
|
+
* List latest blocks across all supported EVM chains
|
|
1194
|
+
* Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
|
|
1195
|
+
* @returns ListEvmBlocksResponse Successful response
|
|
1196
|
+
* @throws ApiError
|
|
1197
|
+
*/
|
|
1198
|
+
listLatestBlocksAllChains({ pageToken, pageSize, network, }: {
|
|
1199
|
+
/**
|
|
1200
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1201
|
+
*/
|
|
1202
|
+
pageToken?: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1205
|
+
*/
|
|
1206
|
+
pageSize?: number;
|
|
1207
|
+
/**
|
|
1208
|
+
* Either mainnet or testnet/fuji.
|
|
1209
|
+
*/
|
|
1210
|
+
network?: Network;
|
|
1211
|
+
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
1001
1212
|
/**
|
|
1002
1213
|
* List latest blocks
|
|
1003
1214
|
* Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
|
|
@@ -1129,64 +1340,231 @@ type ListChainsResponse = {
|
|
|
1129
1340
|
chains: Array<ChainInfo>;
|
|
1130
1341
|
};
|
|
1131
1342
|
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1343
|
+
/**
|
|
1344
|
+
* 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.
|
|
1345
|
+
*/
|
|
1346
|
+
declare enum TransactionMethodType {
|
|
1347
|
+
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1348
|
+
CONTRACT_CALL = "CONTRACT_CALL",
|
|
1349
|
+
CONTRACT_CREATION = "CONTRACT_CREATION"
|
|
1137
1350
|
}
|
|
1138
1351
|
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
constructor(httpRequest: BaseHttpRequest);
|
|
1352
|
+
type Method = {
|
|
1353
|
+
callType: TransactionMethodType;
|
|
1142
1354
|
/**
|
|
1143
|
-
*
|
|
1144
|
-
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
1145
|
-
* @returns ListChainsResponse Successful response
|
|
1146
|
-
* @throws ApiError
|
|
1355
|
+
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
1147
1356
|
*/
|
|
1148
|
-
|
|
1149
|
-
/**
|
|
1150
|
-
* Either mainnet or testnet/fuji.
|
|
1151
|
-
*/
|
|
1152
|
-
network?: Network;
|
|
1153
|
-
/**
|
|
1154
|
-
* Filter by feature.
|
|
1155
|
-
*/
|
|
1156
|
-
feature?: ApiFeature;
|
|
1157
|
-
}): CancelablePromise<ListChainsResponse>;
|
|
1357
|
+
methodHash: string;
|
|
1158
1358
|
/**
|
|
1159
|
-
*
|
|
1160
|
-
* Gets chain information for the EVM-compatible chain if supported by the api.
|
|
1161
|
-
* @returns GetChainResponse Successful response
|
|
1162
|
-
* @throws ApiError
|
|
1359
|
+
* The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
|
|
1163
1360
|
*/
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
chainId: string;
|
|
1169
|
-
}): CancelablePromise<GetChainResponse>;
|
|
1361
|
+
methodName?: string;
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
type RichAddress = {
|
|
1170
1365
|
/**
|
|
1171
|
-
*
|
|
1172
|
-
* Gets the list of chains an address has interacted with.
|
|
1173
|
-
* @returns ListAddressChainsResponse Successful response
|
|
1174
|
-
* @throws ApiError
|
|
1366
|
+
* The contract name.
|
|
1175
1367
|
*/
|
|
1176
|
-
|
|
1177
|
-
/**
|
|
1178
|
-
* A wallet address.
|
|
1179
|
-
*/
|
|
1180
|
-
address: string;
|
|
1181
|
-
}): CancelablePromise<ListAddressChainsResponse>;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
type ImageAsset = {
|
|
1185
|
-
assetId?: string;
|
|
1368
|
+
name?: string;
|
|
1186
1369
|
/**
|
|
1187
|
-
*
|
|
1370
|
+
* The contract symbol.
|
|
1188
1371
|
*/
|
|
1189
|
-
|
|
1372
|
+
symbol?: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
1375
|
+
*/
|
|
1376
|
+
decimals?: number;
|
|
1377
|
+
/**
|
|
1378
|
+
* The logo uri for the address.
|
|
1379
|
+
*/
|
|
1380
|
+
logoUri?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
1383
|
+
*/
|
|
1384
|
+
address: string;
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
type NativeTransaction = {
|
|
1388
|
+
/**
|
|
1389
|
+
* The block number on the chain.
|
|
1390
|
+
*/
|
|
1391
|
+
blockNumber: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* The block finality timestamp.
|
|
1394
|
+
*/
|
|
1395
|
+
blockTimestamp: number;
|
|
1396
|
+
/**
|
|
1397
|
+
* The block hash identifier.
|
|
1398
|
+
*/
|
|
1399
|
+
blockHash: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* The EVM chain ID on which the transaction occured.
|
|
1402
|
+
*/
|
|
1403
|
+
chainId: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* The index at which the transaction occured in the block (0-indexed).
|
|
1406
|
+
*/
|
|
1407
|
+
blockIndex: number;
|
|
1408
|
+
/**
|
|
1409
|
+
* The transaction hash identifier.
|
|
1410
|
+
*/
|
|
1411
|
+
txHash: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* The transaction status, which is either 0 (failed) or 1 (successful).
|
|
1414
|
+
*/
|
|
1415
|
+
txStatus: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* The transaction type.
|
|
1418
|
+
*/
|
|
1419
|
+
txType: number;
|
|
1420
|
+
/**
|
|
1421
|
+
* The gas limit set for the transaction.
|
|
1422
|
+
*/
|
|
1423
|
+
gasLimit: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* The amount of gas used.
|
|
1426
|
+
*/
|
|
1427
|
+
gasUsed: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* The gas price denominated by the number of decimals of the native token.
|
|
1430
|
+
*/
|
|
1431
|
+
gasPrice: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* The nonce used by the sender of the transaction.
|
|
1434
|
+
*/
|
|
1435
|
+
nonce: string;
|
|
1436
|
+
from: RichAddress;
|
|
1437
|
+
to: RichAddress;
|
|
1438
|
+
method?: Method;
|
|
1439
|
+
value: string;
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
type ListNativeTransactionsResponse = {
|
|
1443
|
+
/**
|
|
1444
|
+
* 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.
|
|
1445
|
+
*/
|
|
1446
|
+
nextPageToken?: string;
|
|
1447
|
+
transactions: Array<NativeTransaction>;
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1450
|
+
declare enum TransactionStatus {
|
|
1451
|
+
FAILED = "failed",
|
|
1452
|
+
SUCCESS = "success"
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
declare class EvmChainsService {
|
|
1456
|
+
readonly httpRequest: BaseHttpRequest;
|
|
1457
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
1458
|
+
/**
|
|
1459
|
+
* List all chains associated with a given address
|
|
1460
|
+
* Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.
|
|
1461
|
+
* @returns ListAddressChainsResponse Successful response
|
|
1462
|
+
* @throws ApiError
|
|
1463
|
+
*/
|
|
1464
|
+
listAddressChains({ address, }: {
|
|
1465
|
+
/**
|
|
1466
|
+
* A wallet address.
|
|
1467
|
+
*/
|
|
1468
|
+
address: string;
|
|
1469
|
+
}): CancelablePromise<ListAddressChainsResponse>;
|
|
1470
|
+
/**
|
|
1471
|
+
* List chains
|
|
1472
|
+
* Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
|
|
1473
|
+
* @returns ListChainsResponse Successful response
|
|
1474
|
+
* @throws ApiError
|
|
1475
|
+
*/
|
|
1476
|
+
supportedChains({ network, feature, }: {
|
|
1477
|
+
/**
|
|
1478
|
+
* Either mainnet or testnet/fuji.
|
|
1479
|
+
*/
|
|
1480
|
+
network?: Network;
|
|
1481
|
+
/**
|
|
1482
|
+
* Filter by feature.
|
|
1483
|
+
*/
|
|
1484
|
+
feature?: ApiFeature;
|
|
1485
|
+
}): CancelablePromise<ListChainsResponse>;
|
|
1486
|
+
/**
|
|
1487
|
+
* Get chain information
|
|
1488
|
+
* Gets chain information for the EVM-compatible chain if supported by AvaCloud.
|
|
1489
|
+
* @returns GetChainResponse Successful response
|
|
1490
|
+
* @throws ApiError
|
|
1491
|
+
*/
|
|
1492
|
+
getChainInfo({ chainId, }: {
|
|
1493
|
+
/**
|
|
1494
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1495
|
+
*/
|
|
1496
|
+
chainId: string;
|
|
1497
|
+
}): CancelablePromise<GetChainResponse>;
|
|
1498
|
+
/**
|
|
1499
|
+
* @deprecated
|
|
1500
|
+
* **[Deprecated]** Gets a list of all chains where the address was either a sender or receiver in a transaction or ERC transfer. The list is currently updated every 15 minutes.
|
|
1501
|
+
*
|
|
1502
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/address/:address/chains endpoint instead** .
|
|
1503
|
+
* @returns ListAddressChainsResponse Successful response
|
|
1504
|
+
* @throws ApiError
|
|
1505
|
+
*/
|
|
1506
|
+
getAddressChains({ address, }: {
|
|
1507
|
+
/**
|
|
1508
|
+
* A wallet address.
|
|
1509
|
+
*/
|
|
1510
|
+
address: string;
|
|
1511
|
+
}): CancelablePromise<ListAddressChainsResponse>;
|
|
1512
|
+
/**
|
|
1513
|
+
* @deprecated
|
|
1514
|
+
* **[Deprecated]** Lists the latest transactions for all supported EVM chains. Filterable by status.
|
|
1515
|
+
*
|
|
1516
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/transactions endpoint instead** .
|
|
1517
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
1518
|
+
* @throws ApiError
|
|
1519
|
+
*/
|
|
1520
|
+
listAllLatestTransactions({ pageToken, pageSize, network, status, }: {
|
|
1521
|
+
/**
|
|
1522
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1523
|
+
*/
|
|
1524
|
+
pageToken?: string;
|
|
1525
|
+
/**
|
|
1526
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1527
|
+
*/
|
|
1528
|
+
pageSize?: number;
|
|
1529
|
+
/**
|
|
1530
|
+
* Either mainnet or testnet/fuji.
|
|
1531
|
+
*/
|
|
1532
|
+
network?: Network;
|
|
1533
|
+
/**
|
|
1534
|
+
* A status filter for listed transactions.
|
|
1535
|
+
*/
|
|
1536
|
+
status?: TransactionStatus;
|
|
1537
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1538
|
+
/**
|
|
1539
|
+
* @deprecated
|
|
1540
|
+
* **[Deprecated]** Lists the latest blocks for all supported EVM chains. Filterable by network.
|
|
1541
|
+
*
|
|
1542
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/blocks endpoint instead** .
|
|
1543
|
+
* @returns ListEvmBlocksResponse Successful response
|
|
1544
|
+
* @throws ApiError
|
|
1545
|
+
*/
|
|
1546
|
+
listAllLatestBlocks({ pageToken, pageSize, network, }: {
|
|
1547
|
+
/**
|
|
1548
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1549
|
+
*/
|
|
1550
|
+
pageToken?: string;
|
|
1551
|
+
/**
|
|
1552
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1553
|
+
*/
|
|
1554
|
+
pageSize?: number;
|
|
1555
|
+
/**
|
|
1556
|
+
* Either mainnet or testnet/fuji.
|
|
1557
|
+
*/
|
|
1558
|
+
network?: Network;
|
|
1559
|
+
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
type ImageAsset = {
|
|
1563
|
+
assetId?: string;
|
|
1564
|
+
/**
|
|
1565
|
+
* OUTPUT ONLY
|
|
1566
|
+
*/
|
|
1567
|
+
imageUri?: string;
|
|
1190
1568
|
};
|
|
1191
1569
|
|
|
1192
1570
|
type PricingProviders = {
|
|
@@ -1513,29 +1891,6 @@ declare namespace Erc1155Token {
|
|
|
1513
1891
|
}
|
|
1514
1892
|
}
|
|
1515
1893
|
|
|
1516
|
-
type RichAddress = {
|
|
1517
|
-
/**
|
|
1518
|
-
* The contract name.
|
|
1519
|
-
*/
|
|
1520
|
-
name?: string;
|
|
1521
|
-
/**
|
|
1522
|
-
* The contract symbol.
|
|
1523
|
-
*/
|
|
1524
|
-
symbol?: string;
|
|
1525
|
-
/**
|
|
1526
|
-
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
1527
|
-
*/
|
|
1528
|
-
decimals?: number;
|
|
1529
|
-
/**
|
|
1530
|
-
* The logo uri for the address.
|
|
1531
|
-
*/
|
|
1532
|
-
logoUri?: string;
|
|
1533
|
-
/**
|
|
1534
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
1535
|
-
*/
|
|
1536
|
-
address: string;
|
|
1537
|
-
};
|
|
1538
|
-
|
|
1539
1894
|
type Erc1155TransferDetails = {
|
|
1540
1895
|
from: RichAddress;
|
|
1541
1896
|
to: RichAddress;
|
|
@@ -1620,27 +1975,6 @@ type Erc721TransferDetails = {
|
|
|
1620
1975
|
erc721Token: Erc721Token;
|
|
1621
1976
|
};
|
|
1622
1977
|
|
|
1623
|
-
/**
|
|
1624
|
-
* 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.
|
|
1625
|
-
*/
|
|
1626
|
-
declare enum TransactionMethodType {
|
|
1627
|
-
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1628
|
-
CONTRACT_CALL = "CONTRACT_CALL",
|
|
1629
|
-
CONTRACT_CREATION = "CONTRACT_CREATION"
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
type Method = {
|
|
1633
|
-
callType: TransactionMethodType;
|
|
1634
|
-
/**
|
|
1635
|
-
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
1636
|
-
*/
|
|
1637
|
-
methodHash: string;
|
|
1638
|
-
/**
|
|
1639
|
-
* The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
|
|
1640
|
-
*/
|
|
1641
|
-
methodName?: string;
|
|
1642
|
-
};
|
|
1643
|
-
|
|
1644
1978
|
type FullNativeTransactionDetails = {
|
|
1645
1979
|
/**
|
|
1646
1980
|
* The block number on the chain.
|
|
@@ -1654,6 +1988,10 @@ type FullNativeTransactionDetails = {
|
|
|
1654
1988
|
* The block hash identifier.
|
|
1655
1989
|
*/
|
|
1656
1990
|
blockHash: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* The EVM chain ID on which the transaction occured.
|
|
1993
|
+
*/
|
|
1994
|
+
chainId: string;
|
|
1657
1995
|
/**
|
|
1658
1996
|
* The index at which the transaction occured in the block (0-indexed).
|
|
1659
1997
|
*/
|
|
@@ -1882,31 +2220,33 @@ type ListErc721TransactionsResponse = {
|
|
|
1882
2220
|
|
|
1883
2221
|
type InternalTransaction = {
|
|
1884
2222
|
/**
|
|
1885
|
-
*
|
|
2223
|
+
* Sender address
|
|
1886
2224
|
*/
|
|
1887
|
-
|
|
2225
|
+
from: string;
|
|
1888
2226
|
/**
|
|
1889
|
-
*
|
|
2227
|
+
* Recipient address
|
|
1890
2228
|
*/
|
|
1891
|
-
|
|
2229
|
+
to: string;
|
|
1892
2230
|
/**
|
|
1893
|
-
*
|
|
2231
|
+
* Internal transaction type
|
|
1894
2232
|
*/
|
|
1895
|
-
|
|
2233
|
+
internalTxType: string;
|
|
1896
2234
|
/**
|
|
1897
|
-
*
|
|
2235
|
+
* Value transferred
|
|
1898
2236
|
*/
|
|
1899
|
-
txHash: string;
|
|
1900
|
-
from: RichAddress;
|
|
1901
|
-
to: RichAddress;
|
|
1902
|
-
internalTxType: InternalTransactionOpCall;
|
|
1903
2237
|
value: string;
|
|
1904
2238
|
/**
|
|
1905
|
-
*
|
|
2239
|
+
* Gas used
|
|
1906
2240
|
*/
|
|
1907
|
-
isReverted: boolean;
|
|
1908
2241
|
gasUsed: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* Gas limit
|
|
2244
|
+
*/
|
|
1909
2245
|
gasLimit: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* Transaction hash
|
|
2248
|
+
*/
|
|
2249
|
+
transactionHash: string;
|
|
1910
2250
|
};
|
|
1911
2251
|
|
|
1912
2252
|
type ListInternalTransactionsResponse = {
|
|
@@ -1917,84 +2257,25 @@ type ListInternalTransactionsResponse = {
|
|
|
1917
2257
|
transactions: Array<InternalTransaction>;
|
|
1918
2258
|
};
|
|
1919
2259
|
|
|
1920
|
-
type
|
|
2260
|
+
type TransactionDetails = {
|
|
1921
2261
|
/**
|
|
1922
|
-
* The
|
|
2262
|
+
* The native (top-level) transaction details.
|
|
1923
2263
|
*/
|
|
1924
|
-
|
|
2264
|
+
nativeTransaction: NativeTransaction;
|
|
1925
2265
|
/**
|
|
1926
|
-
* The
|
|
2266
|
+
* The list of ERC-20 transfers.
|
|
1927
2267
|
*/
|
|
1928
|
-
|
|
2268
|
+
erc20Transfers?: Array<Erc20TransferDetails>;
|
|
1929
2269
|
/**
|
|
1930
|
-
* The
|
|
2270
|
+
* The list of ERC-721 transfers.
|
|
1931
2271
|
*/
|
|
1932
|
-
|
|
2272
|
+
erc721Transfers?: Array<Erc721TransferDetails>;
|
|
1933
2273
|
/**
|
|
1934
|
-
* The
|
|
2274
|
+
* The list of ERC-1155 transfers.
|
|
1935
2275
|
*/
|
|
1936
|
-
|
|
2276
|
+
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
1937
2277
|
/**
|
|
1938
|
-
* The
|
|
1939
|
-
*/
|
|
1940
|
-
txHash: string;
|
|
1941
|
-
/**
|
|
1942
|
-
* The transaction status, which is either 0 (failed) or 1 (successful).
|
|
1943
|
-
*/
|
|
1944
|
-
txStatus: string;
|
|
1945
|
-
/**
|
|
1946
|
-
* The transaction type.
|
|
1947
|
-
*/
|
|
1948
|
-
txType: number;
|
|
1949
|
-
/**
|
|
1950
|
-
* The gas limit set for the transaction.
|
|
1951
|
-
*/
|
|
1952
|
-
gasLimit: string;
|
|
1953
|
-
/**
|
|
1954
|
-
* The amount of gas used.
|
|
1955
|
-
*/
|
|
1956
|
-
gasUsed: string;
|
|
1957
|
-
/**
|
|
1958
|
-
* The gas price denominated by the number of decimals of the native token.
|
|
1959
|
-
*/
|
|
1960
|
-
gasPrice: string;
|
|
1961
|
-
/**
|
|
1962
|
-
* The nonce used by the sender of the transaction.
|
|
1963
|
-
*/
|
|
1964
|
-
nonce: string;
|
|
1965
|
-
from: RichAddress;
|
|
1966
|
-
to: RichAddress;
|
|
1967
|
-
method?: Method;
|
|
1968
|
-
value: string;
|
|
1969
|
-
};
|
|
1970
|
-
|
|
1971
|
-
type ListNativeTransactionsResponse = {
|
|
1972
|
-
/**
|
|
1973
|
-
* 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.
|
|
1974
|
-
*/
|
|
1975
|
-
nextPageToken?: string;
|
|
1976
|
-
transactions: Array<NativeTransaction>;
|
|
1977
|
-
};
|
|
1978
|
-
|
|
1979
|
-
type TransactionDetails = {
|
|
1980
|
-
/**
|
|
1981
|
-
* The native (top-level) transaction details.
|
|
1982
|
-
*/
|
|
1983
|
-
nativeTransaction: NativeTransaction;
|
|
1984
|
-
/**
|
|
1985
|
-
* The list of ERC-20 transfers.
|
|
1986
|
-
*/
|
|
1987
|
-
erc20Transfers?: Array<Erc20TransferDetails>;
|
|
1988
|
-
/**
|
|
1989
|
-
* The list of ERC-721 transfers.
|
|
1990
|
-
*/
|
|
1991
|
-
erc721Transfers?: Array<Erc721TransferDetails>;
|
|
1992
|
-
/**
|
|
1993
|
-
* The list of ERC-1155 transfers.
|
|
1994
|
-
*/
|
|
1995
|
-
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
1996
|
-
/**
|
|
1997
|
-
* The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
|
|
2278
|
+
* The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
|
|
1998
2279
|
*/
|
|
1999
2280
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
2000
2281
|
};
|
|
@@ -2020,14 +2301,33 @@ declare enum SortOrder {
|
|
|
2020
2301
|
DESC = "desc"
|
|
2021
2302
|
}
|
|
2022
2303
|
|
|
2023
|
-
declare enum TransactionStatus {
|
|
2024
|
-
FAILED = "failed",
|
|
2025
|
-
SUCCESS = "success"
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
2304
|
declare class EvmTransactionsService {
|
|
2029
2305
|
readonly httpRequest: BaseHttpRequest;
|
|
2030
2306
|
constructor(httpRequest: BaseHttpRequest);
|
|
2307
|
+
/**
|
|
2308
|
+
* List the latest transactions across all supported EVM chains
|
|
2309
|
+
* Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
|
|
2310
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
2311
|
+
* @throws ApiError
|
|
2312
|
+
*/
|
|
2313
|
+
listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
|
|
2314
|
+
/**
|
|
2315
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2316
|
+
*/
|
|
2317
|
+
pageToken?: string;
|
|
2318
|
+
/**
|
|
2319
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2320
|
+
*/
|
|
2321
|
+
pageSize?: number;
|
|
2322
|
+
/**
|
|
2323
|
+
* Either mainnet or testnet/fuji.
|
|
2324
|
+
*/
|
|
2325
|
+
network?: Network;
|
|
2326
|
+
/**
|
|
2327
|
+
* A status filter for listed transactions.
|
|
2328
|
+
*/
|
|
2329
|
+
status?: TransactionStatus;
|
|
2330
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2031
2331
|
/**
|
|
2032
2332
|
* Get deployment transaction
|
|
2033
2333
|
* If the address is a smart contract, returns the transaction in which it was deployed.
|
|
@@ -2326,7 +2626,7 @@ declare class EvmTransactionsService {
|
|
|
2326
2626
|
* @returns ListNativeTransactionsResponse Successful response
|
|
2327
2627
|
* @throws ApiError
|
|
2328
2628
|
*/
|
|
2329
|
-
getTransactionsForBlock({ chainId, blockId, }: {
|
|
2629
|
+
getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
|
|
2330
2630
|
/**
|
|
2331
2631
|
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2332
2632
|
*/
|
|
@@ -2335,6 +2635,14 @@ declare class EvmTransactionsService {
|
|
|
2335
2635
|
* A block identifier which is either a block number or the block hash.
|
|
2336
2636
|
*/
|
|
2337
2637
|
blockId: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2640
|
+
*/
|
|
2641
|
+
pageToken?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
|
|
2644
|
+
*/
|
|
2645
|
+
pageSize?: number;
|
|
2338
2646
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2339
2647
|
/**
|
|
2340
2648
|
* List latest transactions
|
|
@@ -2362,66 +2670,246 @@ declare class EvmTransactionsService {
|
|
|
2362
2670
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2363
2671
|
}
|
|
2364
2672
|
|
|
2673
|
+
type HealthIndicatorResultDto = {
|
|
2674
|
+
/**
|
|
2675
|
+
* Status of the health indicator.
|
|
2676
|
+
*/
|
|
2677
|
+
status?: HealthIndicatorResultDto.status;
|
|
2678
|
+
};
|
|
2679
|
+
declare namespace HealthIndicatorResultDto {
|
|
2680
|
+
/**
|
|
2681
|
+
* Status of the health indicator.
|
|
2682
|
+
*/
|
|
2683
|
+
enum status {
|
|
2684
|
+
UP = "up",
|
|
2685
|
+
DOWN = "down"
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
type HealthCheckResultDto = {
|
|
2690
|
+
status?: HealthCheckResultDto.status;
|
|
2691
|
+
info?: any | null;
|
|
2692
|
+
error?: any | null;
|
|
2693
|
+
details?: Record<string, HealthIndicatorResultDto>;
|
|
2694
|
+
};
|
|
2695
|
+
declare namespace HealthCheckResultDto {
|
|
2696
|
+
enum status {
|
|
2697
|
+
ERROR = "error",
|
|
2698
|
+
OK = "ok",
|
|
2699
|
+
SHUTTING_DOWN = "shutting_down"
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2365
2703
|
declare class HealthCheckService {
|
|
2366
2704
|
readonly httpRequest: BaseHttpRequest;
|
|
2367
2705
|
constructor(httpRequest: BaseHttpRequest);
|
|
2368
2706
|
/**
|
|
2369
2707
|
* Get the health of the service
|
|
2370
|
-
*
|
|
2708
|
+
* Check the health of the service.
|
|
2709
|
+
* @returns HealthCheckResultDto The health of the service
|
|
2371
2710
|
* @throws ApiError
|
|
2372
2711
|
*/
|
|
2373
|
-
dataHealthCheck(): CancelablePromise<
|
|
2374
|
-
status?: string;
|
|
2375
|
-
info?: Record<string, Record<string, string>> | null;
|
|
2376
|
-
error?: Record<string, Record<string, string>> | null;
|
|
2377
|
-
details?: Record<string, Record<string, string>>;
|
|
2378
|
-
}>;
|
|
2712
|
+
dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2379
2713
|
}
|
|
2380
2714
|
|
|
2381
|
-
type
|
|
2715
|
+
type IcmDestinationTransaction = {
|
|
2716
|
+
txHash: string;
|
|
2717
|
+
timestamp: number;
|
|
2718
|
+
gasSpent: string;
|
|
2719
|
+
rewardRedeemer: string;
|
|
2720
|
+
delivererAddress: string;
|
|
2721
|
+
};
|
|
2722
|
+
|
|
2723
|
+
type IcmReceipt = {
|
|
2724
|
+
receivedMessageNonce: string;
|
|
2725
|
+
relayerRewardAddress: string;
|
|
2726
|
+
};
|
|
2727
|
+
|
|
2728
|
+
type IcmRewardDetails = {
|
|
2729
|
+
/**
|
|
2730
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
2731
|
+
*/
|
|
2732
|
+
address: string;
|
|
2733
|
+
/**
|
|
2734
|
+
* The contract name.
|
|
2735
|
+
*/
|
|
2736
|
+
name: string;
|
|
2737
|
+
/**
|
|
2738
|
+
* The contract symbol.
|
|
2739
|
+
*/
|
|
2740
|
+
symbol: string;
|
|
2741
|
+
/**
|
|
2742
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
2743
|
+
*/
|
|
2744
|
+
decimals: number;
|
|
2745
|
+
/**
|
|
2746
|
+
* The logo uri for the address.
|
|
2747
|
+
*/
|
|
2748
|
+
logoUri?: string;
|
|
2749
|
+
ercType: IcmRewardDetails.ercType;
|
|
2750
|
+
/**
|
|
2751
|
+
* The token price, if available.
|
|
2752
|
+
*/
|
|
2753
|
+
price?: Money;
|
|
2754
|
+
value: string;
|
|
2755
|
+
};
|
|
2756
|
+
declare namespace IcmRewardDetails {
|
|
2757
|
+
enum ercType {
|
|
2758
|
+
ERC_20 = "ERC-20"
|
|
2759
|
+
}
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
type IcmSourceTransaction = {
|
|
2763
|
+
txHash: string;
|
|
2764
|
+
timestamp: number;
|
|
2765
|
+
gasSpent: string;
|
|
2766
|
+
};
|
|
2767
|
+
|
|
2768
|
+
type DeliveredIcmMessage = {
|
|
2769
|
+
messageId: string;
|
|
2770
|
+
icmContractAddress: string;
|
|
2771
|
+
sourceBlockchainId: string;
|
|
2772
|
+
destinationBlockchainId: string;
|
|
2773
|
+
sourceEvmChainId: string;
|
|
2774
|
+
destinationEvmChainId: string;
|
|
2775
|
+
messageNonce: string;
|
|
2776
|
+
from: string;
|
|
2777
|
+
to: string;
|
|
2778
|
+
data?: string;
|
|
2779
|
+
messageExecuted: boolean;
|
|
2780
|
+
receipts: Array<IcmReceipt>;
|
|
2781
|
+
receiptDelivered: boolean;
|
|
2782
|
+
rewardDetails: IcmRewardDetails;
|
|
2783
|
+
sourceTransaction: IcmSourceTransaction;
|
|
2784
|
+
destinationTransaction: IcmDestinationTransaction;
|
|
2785
|
+
status: DeliveredIcmMessage.status;
|
|
2786
|
+
};
|
|
2787
|
+
declare namespace DeliveredIcmMessage {
|
|
2788
|
+
enum status {
|
|
2789
|
+
DELIVERED = "delivered"
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
type DeliveredSourceNotIndexedIcmMessage = {
|
|
2794
|
+
messageId: string;
|
|
2795
|
+
icmContractAddress: string;
|
|
2796
|
+
sourceBlockchainId: string;
|
|
2797
|
+
destinationBlockchainId: string;
|
|
2798
|
+
sourceEvmChainId: string;
|
|
2799
|
+
destinationEvmChainId: string;
|
|
2800
|
+
messageNonce: string;
|
|
2801
|
+
from: string;
|
|
2802
|
+
to: string;
|
|
2803
|
+
data?: string;
|
|
2804
|
+
messageExecuted: boolean;
|
|
2805
|
+
receipts: Array<IcmReceipt>;
|
|
2806
|
+
receiptDelivered: boolean;
|
|
2807
|
+
rewardDetails: IcmRewardDetails;
|
|
2808
|
+
destinationTransaction: IcmDestinationTransaction;
|
|
2809
|
+
status: DeliveredSourceNotIndexedIcmMessage.status;
|
|
2810
|
+
};
|
|
2811
|
+
declare namespace DeliveredSourceNotIndexedIcmMessage {
|
|
2812
|
+
enum status {
|
|
2813
|
+
DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
type PendingIcmMessage = {
|
|
2818
|
+
messageId: string;
|
|
2819
|
+
icmContractAddress: string;
|
|
2820
|
+
sourceBlockchainId: string;
|
|
2821
|
+
destinationBlockchainId: string;
|
|
2822
|
+
sourceEvmChainId: string;
|
|
2823
|
+
destinationEvmChainId: string;
|
|
2824
|
+
messageNonce: string;
|
|
2825
|
+
from: string;
|
|
2826
|
+
to: string;
|
|
2827
|
+
data?: string;
|
|
2828
|
+
messageExecuted: boolean;
|
|
2829
|
+
receipts: Array<IcmReceipt>;
|
|
2830
|
+
receiptDelivered: boolean;
|
|
2831
|
+
rewardDetails: IcmRewardDetails;
|
|
2832
|
+
sourceTransaction: IcmSourceTransaction;
|
|
2833
|
+
status: PendingIcmMessage.status;
|
|
2834
|
+
};
|
|
2835
|
+
declare namespace PendingIcmMessage {
|
|
2836
|
+
enum status {
|
|
2837
|
+
PENDING = "pending"
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
type ListIcmMessagesResponse = {
|
|
2382
2842
|
/**
|
|
2383
2843
|
* 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.
|
|
2384
2844
|
*/
|
|
2385
2845
|
nextPageToken?: string;
|
|
2386
|
-
|
|
2846
|
+
messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
|
|
2387
2847
|
};
|
|
2388
2848
|
|
|
2389
|
-
declare class
|
|
2849
|
+
declare class InterchainMessagingService {
|
|
2390
2850
|
readonly httpRequest: BaseHttpRequest;
|
|
2391
2851
|
constructor(httpRequest: BaseHttpRequest);
|
|
2392
2852
|
/**
|
|
2393
|
-
*
|
|
2394
|
-
*
|
|
2853
|
+
* Get an ICM message
|
|
2854
|
+
* Gets an ICM message by message ID.
|
|
2395
2855
|
* @returns any Successful response
|
|
2396
2856
|
* @throws ApiError
|
|
2397
2857
|
*/
|
|
2398
|
-
|
|
2858
|
+
getIcmMessage({ messageId, }: {
|
|
2399
2859
|
/**
|
|
2400
|
-
*
|
|
2860
|
+
* The message ID of the ICM message.
|
|
2401
2861
|
*/
|
|
2402
|
-
|
|
2862
|
+
messageId: string;
|
|
2863
|
+
}): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
2864
|
+
/**
|
|
2865
|
+
* List ICM messages
|
|
2866
|
+
* Lists ICM messages. Ordered by timestamp in descending order.
|
|
2867
|
+
* @returns ListIcmMessagesResponse Successful response
|
|
2868
|
+
* @throws ApiError
|
|
2869
|
+
*/
|
|
2870
|
+
listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
|
|
2403
2871
|
/**
|
|
2404
|
-
*
|
|
2872
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2405
2873
|
*/
|
|
2406
|
-
|
|
2874
|
+
pageToken?: string;
|
|
2407
2875
|
/**
|
|
2408
|
-
*
|
|
2876
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2409
2877
|
*/
|
|
2410
|
-
|
|
2411
|
-
|
|
2878
|
+
pageSize?: number;
|
|
2879
|
+
/**
|
|
2880
|
+
* The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
|
|
2881
|
+
*/
|
|
2882
|
+
sourceBlockchainId?: string;
|
|
2883
|
+
/**
|
|
2884
|
+
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
|
|
2885
|
+
*/
|
|
2886
|
+
destinationBlockchainId?: string;
|
|
2887
|
+
/**
|
|
2888
|
+
* The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
|
|
2889
|
+
*/
|
|
2890
|
+
blockchainId?: string;
|
|
2891
|
+
/**
|
|
2892
|
+
* The address of the recipient of the ICM message.
|
|
2893
|
+
*/
|
|
2894
|
+
to?: string;
|
|
2895
|
+
/**
|
|
2896
|
+
* The address of the sender of the ICM message.
|
|
2897
|
+
*/
|
|
2898
|
+
from?: string;
|
|
2899
|
+
/**
|
|
2900
|
+
* Either mainnet or testnet/fuji.
|
|
2901
|
+
*/
|
|
2902
|
+
network?: Network;
|
|
2903
|
+
}): CancelablePromise<ListIcmMessagesResponse>;
|
|
2412
2904
|
/**
|
|
2413
|
-
* List
|
|
2414
|
-
* Lists
|
|
2415
|
-
* @returns
|
|
2905
|
+
* List ICM messages by address
|
|
2906
|
+
* Lists ICM messages by address. Ordered by timestamp in descending order.
|
|
2907
|
+
* @returns ListIcmMessagesResponse Successful response
|
|
2416
2908
|
* @throws ApiError
|
|
2417
2909
|
*/
|
|
2418
|
-
|
|
2910
|
+
listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
|
|
2419
2911
|
/**
|
|
2420
|
-
*
|
|
2421
|
-
*/
|
|
2422
|
-
chainId: string;
|
|
2423
|
-
/**
|
|
2424
|
-
* Contract address on the relevant chain.
|
|
2912
|
+
* An EVM address.
|
|
2425
2913
|
*/
|
|
2426
2914
|
address: string;
|
|
2427
2915
|
/**
|
|
@@ -2432,8 +2920,69 @@ declare class NfTsService {
|
|
|
2432
2920
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2433
2921
|
*/
|
|
2434
2922
|
pageSize?: number;
|
|
2435
|
-
|
|
2436
|
-
|
|
2923
|
+
/**
|
|
2924
|
+
* Either mainnet or testnet/fuji.
|
|
2925
|
+
*/
|
|
2926
|
+
network?: Network;
|
|
2927
|
+
}): CancelablePromise<ListIcmMessagesResponse>;
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
type ListNftTokens = {
|
|
2931
|
+
/**
|
|
2932
|
+
* 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.
|
|
2933
|
+
*/
|
|
2934
|
+
nextPageToken?: string;
|
|
2935
|
+
tokens: Array<(Erc721Token | Erc1155Token)>;
|
|
2936
|
+
};
|
|
2937
|
+
|
|
2938
|
+
declare class NfTsService {
|
|
2939
|
+
readonly httpRequest: BaseHttpRequest;
|
|
2940
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
2941
|
+
/**
|
|
2942
|
+
* Reindex NFT metadata
|
|
2943
|
+
* Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
|
|
2944
|
+
* @returns any Successful response
|
|
2945
|
+
* @throws ApiError
|
|
2946
|
+
*/
|
|
2947
|
+
reindexNft({ chainId, address, tokenId, }: {
|
|
2948
|
+
/**
|
|
2949
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2950
|
+
*/
|
|
2951
|
+
chainId: string;
|
|
2952
|
+
/**
|
|
2953
|
+
* Contract address on the relevant chain.
|
|
2954
|
+
*/
|
|
2955
|
+
address: string;
|
|
2956
|
+
/**
|
|
2957
|
+
* TokenId on the contract
|
|
2958
|
+
*/
|
|
2959
|
+
tokenId: string;
|
|
2960
|
+
}): CancelablePromise<any>;
|
|
2961
|
+
/**
|
|
2962
|
+
* List tokens
|
|
2963
|
+
* Lists tokens for an NFT contract.
|
|
2964
|
+
* @returns ListNftTokens Successful response
|
|
2965
|
+
* @throws ApiError
|
|
2966
|
+
*/
|
|
2967
|
+
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2968
|
+
/**
|
|
2969
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2970
|
+
*/
|
|
2971
|
+
chainId: string;
|
|
2972
|
+
/**
|
|
2973
|
+
* Contract address on the relevant chain.
|
|
2974
|
+
*/
|
|
2975
|
+
address: string;
|
|
2976
|
+
/**
|
|
2977
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2978
|
+
*/
|
|
2979
|
+
pageToken?: string;
|
|
2980
|
+
/**
|
|
2981
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2982
|
+
*/
|
|
2983
|
+
pageSize?: number;
|
|
2984
|
+
}): CancelablePromise<ListNftTokens>;
|
|
2985
|
+
/**
|
|
2437
2986
|
* Get token details
|
|
2438
2987
|
* Gets token details for a specific token of an NFT contract.
|
|
2439
2988
|
* @returns any Successful response
|
|
@@ -2455,6 +3004,108 @@ declare class NfTsService {
|
|
|
2455
3004
|
}): CancelablePromise<(Erc721Token | Erc1155Token)>;
|
|
2456
3005
|
}
|
|
2457
3006
|
|
|
3007
|
+
type AccessRequest = {
|
|
3008
|
+
/**
|
|
3009
|
+
* The email address to send the access token to
|
|
3010
|
+
*/
|
|
3011
|
+
email: string;
|
|
3012
|
+
/**
|
|
3013
|
+
* The captcha to verify the user
|
|
3014
|
+
*/
|
|
3015
|
+
captcha: string;
|
|
3016
|
+
};
|
|
3017
|
+
|
|
3018
|
+
type NotificationsResponse = {
|
|
3019
|
+
message: string;
|
|
3020
|
+
};
|
|
3021
|
+
|
|
3022
|
+
type SubscribeRequest = {
|
|
3023
|
+
/**
|
|
3024
|
+
* The access token to use for authentication
|
|
3025
|
+
*/
|
|
3026
|
+
accessToken: string;
|
|
3027
|
+
/**
|
|
3028
|
+
* The node ID to subscribe to
|
|
3029
|
+
*/
|
|
3030
|
+
nodeId: string;
|
|
3031
|
+
/**
|
|
3032
|
+
* The notification types to subscribe to. If not provided, all notification types will be subscribed to
|
|
3033
|
+
*/
|
|
3034
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
3035
|
+
};
|
|
3036
|
+
|
|
3037
|
+
type SubscriptionsRequest = {
|
|
3038
|
+
/**
|
|
3039
|
+
* The access token to use for authentication
|
|
3040
|
+
*/
|
|
3041
|
+
accessToken: string;
|
|
3042
|
+
};
|
|
3043
|
+
|
|
3044
|
+
type SubscriptionsResponse = {
|
|
3045
|
+
/**
|
|
3046
|
+
* The email address of the user
|
|
3047
|
+
*/
|
|
3048
|
+
email: string;
|
|
3049
|
+
/**
|
|
3050
|
+
* The subscriptions of the user
|
|
3051
|
+
*/
|
|
3052
|
+
subscriptions: Record<string, {
|
|
3053
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
3054
|
+
}>;
|
|
3055
|
+
};
|
|
3056
|
+
|
|
3057
|
+
type UnsubscribeRequest = {
|
|
3058
|
+
/**
|
|
3059
|
+
* The access token to use for authentication
|
|
3060
|
+
*/
|
|
3061
|
+
accessToken: string;
|
|
3062
|
+
/**
|
|
3063
|
+
* The node ID to subscribe to
|
|
3064
|
+
*/
|
|
3065
|
+
nodeId: string;
|
|
3066
|
+
};
|
|
3067
|
+
|
|
3068
|
+
declare class NotificationsService {
|
|
3069
|
+
readonly httpRequest: BaseHttpRequest;
|
|
3070
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
3071
|
+
/**
|
|
3072
|
+
* Access Notifications
|
|
3073
|
+
* Access notifications.
|
|
3074
|
+
* @returns NotificationsResponse Successful response
|
|
3075
|
+
* @throws ApiError
|
|
3076
|
+
*/
|
|
3077
|
+
access({ requestBody, }: {
|
|
3078
|
+
requestBody: AccessRequest;
|
|
3079
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
3080
|
+
/**
|
|
3081
|
+
* Subscribe to Notifications
|
|
3082
|
+
* Subscribe to receive notifications.
|
|
3083
|
+
* @returns NotificationsResponse Successful response
|
|
3084
|
+
* @throws ApiError
|
|
3085
|
+
*/
|
|
3086
|
+
subscribe({ requestBody, }: {
|
|
3087
|
+
requestBody: SubscribeRequest;
|
|
3088
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
3089
|
+
/**
|
|
3090
|
+
* Unsubscribe from Notifications
|
|
3091
|
+
* Unsubscribe from receiving notifications.
|
|
3092
|
+
* @returns NotificationsResponse Successful response
|
|
3093
|
+
* @throws ApiError
|
|
3094
|
+
*/
|
|
3095
|
+
unsubscribe({ requestBody, }: {
|
|
3096
|
+
requestBody: UnsubscribeRequest;
|
|
3097
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
3098
|
+
/**
|
|
3099
|
+
* Get Subscriptions
|
|
3100
|
+
* Get subscriptions.
|
|
3101
|
+
* @returns SubscriptionsResponse Successful response
|
|
3102
|
+
* @throws ApiError
|
|
3103
|
+
*/
|
|
3104
|
+
subscriptions({ requestBody, }: {
|
|
3105
|
+
requestBody: SubscriptionsRequest;
|
|
3106
|
+
}): CancelablePromise<SubscriptionsResponse>;
|
|
3107
|
+
}
|
|
3108
|
+
|
|
2458
3109
|
type EvmNetworkOptions = {
|
|
2459
3110
|
addresses: Array<string>;
|
|
2460
3111
|
includeChains: Array<string>;
|
|
@@ -2543,7 +3194,7 @@ type OperationStatusResponse = {
|
|
|
2543
3194
|
operationType: OperationType;
|
|
2544
3195
|
operationStatus: OperationStatus;
|
|
2545
3196
|
message?: string;
|
|
2546
|
-
metadata
|
|
3197
|
+
metadata?: TransactionExportMetadata;
|
|
2547
3198
|
createdAtTimestamp: number;
|
|
2548
3199
|
updatedAtTimestamp: number;
|
|
2549
3200
|
};
|
|
@@ -2576,6 +3227,15 @@ declare class OperationsService {
|
|
|
2576
3227
|
}): CancelablePromise<OperationStatusResponse>;
|
|
2577
3228
|
}
|
|
2578
3229
|
|
|
3230
|
+
type Blockchain = {
|
|
3231
|
+
createBlockTimestamp: number;
|
|
3232
|
+
createBlockNumber: string;
|
|
3233
|
+
blockchainId: string;
|
|
3234
|
+
vmId: string;
|
|
3235
|
+
subnetId: string;
|
|
3236
|
+
blockchainName: string;
|
|
3237
|
+
};
|
|
3238
|
+
|
|
2579
3239
|
declare enum BlockchainIds {
|
|
2580
3240
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
2581
3241
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
@@ -2607,16 +3267,31 @@ type DelegatorsDetails = {
|
|
|
2607
3267
|
};
|
|
2608
3268
|
|
|
2609
3269
|
type StakingDistribution = {
|
|
3270
|
+
/**
|
|
3271
|
+
* AvalancheGo version for the validator node.
|
|
3272
|
+
*/
|
|
2610
3273
|
version: string;
|
|
3274
|
+
/**
|
|
3275
|
+
* The total amount staked by validators using this version.
|
|
3276
|
+
*/
|
|
2611
3277
|
amountStaked: string;
|
|
3278
|
+
/**
|
|
3279
|
+
* The number of validators using this version.
|
|
3280
|
+
*/
|
|
2612
3281
|
validatorCount: number;
|
|
2613
3282
|
};
|
|
2614
3283
|
|
|
2615
3284
|
type ValidatorsDetails = {
|
|
2616
3285
|
validatorCount: number;
|
|
2617
3286
|
totalAmountStaked: string;
|
|
3287
|
+
/**
|
|
3288
|
+
* Total potential rewards from currently active validations and delegations.
|
|
3289
|
+
*/
|
|
2618
3290
|
estimatedAnnualStakingReward: string;
|
|
2619
3291
|
stakingDistributionByVersion: Array<StakingDistribution>;
|
|
3292
|
+
/**
|
|
3293
|
+
* Ratio of total active stake amount to the current supply.
|
|
3294
|
+
*/
|
|
2620
3295
|
stakingRatio: string;
|
|
2621
3296
|
};
|
|
2622
3297
|
|
|
@@ -2625,15 +3300,6 @@ type GetNetworkDetailsResponse = {
|
|
|
2625
3300
|
delegatorDetails: DelegatorsDetails;
|
|
2626
3301
|
};
|
|
2627
3302
|
|
|
2628
|
-
type Blockchain = {
|
|
2629
|
-
createBlockTimestamp: number;
|
|
2630
|
-
createBlockNumber: string;
|
|
2631
|
-
blockchainId: string;
|
|
2632
|
-
vmId: string;
|
|
2633
|
-
subnetId: string;
|
|
2634
|
-
blockchainName: string;
|
|
2635
|
-
};
|
|
2636
|
-
|
|
2637
3303
|
type ListBlockchainsResponse = {
|
|
2638
3304
|
/**
|
|
2639
3305
|
* 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.
|
|
@@ -2668,7 +3334,13 @@ type CompletedDelegatorDetails = {
|
|
|
2668
3334
|
delegationFee: string;
|
|
2669
3335
|
startTimestamp: number;
|
|
2670
3336
|
endTimestamp: number;
|
|
3337
|
+
/**
|
|
3338
|
+
* Total rewards distributed for the successful delegation.
|
|
3339
|
+
*/
|
|
2671
3340
|
grossReward: string;
|
|
3341
|
+
/**
|
|
3342
|
+
* Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
3343
|
+
*/
|
|
2672
3344
|
netReward: string;
|
|
2673
3345
|
delegationStatus: CompletedDelegatorDetails.delegationStatus;
|
|
2674
3346
|
};
|
|
@@ -2686,7 +3358,13 @@ type PendingDelegatorDetails = {
|
|
|
2686
3358
|
delegationFee: string;
|
|
2687
3359
|
startTimestamp: number;
|
|
2688
3360
|
endTimestamp: number;
|
|
3361
|
+
/**
|
|
3362
|
+
* Estimated total rewards that will be distributed for the successful delegation.
|
|
3363
|
+
*/
|
|
2689
3364
|
estimatedGrossReward: string;
|
|
3365
|
+
/**
|
|
3366
|
+
* Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
3367
|
+
*/
|
|
2690
3368
|
estimatedNetReward: string;
|
|
2691
3369
|
delegationStatus: PendingDelegatorDetails.delegationStatus;
|
|
2692
3370
|
};
|
|
@@ -2712,37 +3390,41 @@ type BalanceOwner = {
|
|
|
2712
3390
|
threshold: number;
|
|
2713
3391
|
};
|
|
2714
3392
|
|
|
2715
|
-
type
|
|
3393
|
+
type L1ValidatorDetailsFull = {
|
|
2716
3394
|
/**
|
|
2717
|
-
* Unique
|
|
3395
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
2718
3396
|
*/
|
|
2719
3397
|
validationId: string;
|
|
3398
|
+
/**
|
|
3399
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
|
|
3400
|
+
*/
|
|
3401
|
+
validationIdHex: string;
|
|
2720
3402
|
nodeId: string;
|
|
2721
3403
|
subnetId: string;
|
|
2722
3404
|
/**
|
|
2723
|
-
* Weight of the
|
|
3405
|
+
* Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
|
|
2724
3406
|
*/
|
|
2725
3407
|
weight: number;
|
|
2726
3408
|
/**
|
|
2727
|
-
* Remaining
|
|
3409
|
+
* Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
|
|
2728
3410
|
*/
|
|
2729
3411
|
remainingBalance: number;
|
|
2730
3412
|
/**
|
|
2731
|
-
* The timestamp of the transaction which created this
|
|
3413
|
+
* The timestamp of the transaction which created this L1 validator
|
|
2732
3414
|
*/
|
|
2733
3415
|
creationTimestamp: number;
|
|
2734
3416
|
blsCredentials: Record<string, any>;
|
|
2735
3417
|
/**
|
|
2736
|
-
* The
|
|
3418
|
+
* The L1 validator owner's balance, returned after it's disabled or removed
|
|
2737
3419
|
*/
|
|
2738
3420
|
remainingBalanceOwner: BalanceOwner;
|
|
2739
3421
|
/**
|
|
2740
|
-
* Owner ddresses details which can disable or remove the
|
|
3422
|
+
* Owner ddresses details which can disable or remove the L1 validator
|
|
2741
3423
|
*/
|
|
2742
3424
|
deactivationOwner: BalanceOwner;
|
|
2743
3425
|
};
|
|
2744
3426
|
|
|
2745
|
-
type
|
|
3427
|
+
type ListL1ValidatorsResponse = {
|
|
2746
3428
|
/**
|
|
2747
3429
|
* 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.
|
|
2748
3430
|
*/
|
|
@@ -2750,11 +3432,7 @@ type ListSubnetOnlyValidatorsResponse = {
|
|
|
2750
3432
|
/**
|
|
2751
3433
|
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
2752
3434
|
*/
|
|
2753
|
-
validators: Array<
|
|
2754
|
-
};
|
|
2755
|
-
|
|
2756
|
-
type BlockchainInfo = {
|
|
2757
|
-
blockchainId: string;
|
|
3435
|
+
validators: Array<L1ValidatorDetailsFull>;
|
|
2758
3436
|
};
|
|
2759
3437
|
|
|
2760
3438
|
type L1ValidatorManagerDetails = {
|
|
@@ -2804,11 +3482,15 @@ type Subnet = {
|
|
|
2804
3482
|
* Whether the subnet is an L1 or not.
|
|
2805
3483
|
*/
|
|
2806
3484
|
isL1: boolean;
|
|
3485
|
+
/**
|
|
3486
|
+
* Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
|
|
3487
|
+
*/
|
|
3488
|
+
l1ConversionTransactionHash?: string;
|
|
2807
3489
|
/**
|
|
2808
3490
|
* L1 validator manager details.
|
|
2809
3491
|
*/
|
|
2810
3492
|
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
2811
|
-
blockchains: Array<
|
|
3493
|
+
blockchains: Array<Blockchain>;
|
|
2812
3494
|
};
|
|
2813
3495
|
|
|
2814
3496
|
type ListSubnetsResponse = {
|
|
@@ -2855,6 +3537,9 @@ type ActiveValidatorDetails = {
|
|
|
2855
3537
|
nodeId: string;
|
|
2856
3538
|
subnetId: string;
|
|
2857
3539
|
amountStaked: string;
|
|
3540
|
+
/**
|
|
3541
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3542
|
+
*/
|
|
2858
3543
|
delegationFee?: string;
|
|
2859
3544
|
startTimestamp: number;
|
|
2860
3545
|
endTimestamp: number;
|
|
@@ -2862,12 +3547,30 @@ type ActiveValidatorDetails = {
|
|
|
2862
3547
|
* Present for AddPermissionlessValidatorTx
|
|
2863
3548
|
*/
|
|
2864
3549
|
blsCredentials?: BlsCredentials;
|
|
3550
|
+
/**
|
|
3551
|
+
* The percentage of this validator's stake amount to the total active stake.
|
|
3552
|
+
*/
|
|
2865
3553
|
stakePercentage: number;
|
|
3554
|
+
/**
|
|
3555
|
+
* The number of delegators linked to the validator.
|
|
3556
|
+
*/
|
|
2866
3557
|
delegatorCount: number;
|
|
3558
|
+
/**
|
|
3559
|
+
* The total amount in nAVAX delegated to the validator.
|
|
3560
|
+
*/
|
|
2867
3561
|
amountDelegated?: string;
|
|
3562
|
+
/**
|
|
3563
|
+
* The validator's uptime percentage, as observed by our internal node and measured over time.
|
|
3564
|
+
*/
|
|
2868
3565
|
uptimePerformance: number;
|
|
2869
3566
|
avalancheGoVersion?: string;
|
|
3567
|
+
/**
|
|
3568
|
+
* The amount of stake in nAVAX that can be delegated to this validator.
|
|
3569
|
+
*/
|
|
2870
3570
|
delegationCapacity?: string;
|
|
3571
|
+
/**
|
|
3572
|
+
* Estimated rewards for the validator if the validation is successful.
|
|
3573
|
+
*/
|
|
2871
3574
|
potentialRewards: Rewards;
|
|
2872
3575
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
2873
3576
|
validatorHealth: ValidatorHealthDetails;
|
|
@@ -2883,6 +3586,9 @@ type CompletedValidatorDetails = {
|
|
|
2883
3586
|
nodeId: string;
|
|
2884
3587
|
subnetId: string;
|
|
2885
3588
|
amountStaked: string;
|
|
3589
|
+
/**
|
|
3590
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3591
|
+
*/
|
|
2886
3592
|
delegationFee?: string;
|
|
2887
3593
|
startTimestamp: number;
|
|
2888
3594
|
endTimestamp: number;
|
|
@@ -2906,6 +3612,9 @@ type PendingValidatorDetails = {
|
|
|
2906
3612
|
nodeId: string;
|
|
2907
3613
|
subnetId: string;
|
|
2908
3614
|
amountStaked: string;
|
|
3615
|
+
/**
|
|
3616
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3617
|
+
*/
|
|
2909
3618
|
delegationFee?: string;
|
|
2910
3619
|
startTimestamp: number;
|
|
2911
3620
|
endTimestamp: number;
|
|
@@ -2926,6 +3635,9 @@ type RemovedValidatorDetails = {
|
|
|
2926
3635
|
nodeId: string;
|
|
2927
3636
|
subnetId: string;
|
|
2928
3637
|
amountStaked: string;
|
|
3638
|
+
/**
|
|
3639
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3640
|
+
*/
|
|
2929
3641
|
delegationFee?: string;
|
|
2930
3642
|
startTimestamp: number;
|
|
2931
3643
|
endTimestamp: number;
|
|
@@ -2933,7 +3645,13 @@ type RemovedValidatorDetails = {
|
|
|
2933
3645
|
* Present for AddPermissionlessValidatorTx
|
|
2934
3646
|
*/
|
|
2935
3647
|
blsCredentials?: BlsCredentials;
|
|
3648
|
+
/**
|
|
3649
|
+
* The transaction hash that removed the permissioned subnet validator.
|
|
3650
|
+
*/
|
|
2936
3651
|
removeTxHash: string;
|
|
3652
|
+
/**
|
|
3653
|
+
* The timestamp of the transaction that removed the permissioned subnet validator.
|
|
3654
|
+
*/
|
|
2937
3655
|
removeTimestamp: number;
|
|
2938
3656
|
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
2939
3657
|
};
|
|
@@ -3092,6 +3810,22 @@ declare class PrimaryNetworkService {
|
|
|
3092
3810
|
*/
|
|
3093
3811
|
sortOrder?: SortOrder;
|
|
3094
3812
|
}): CancelablePromise<ListBlockchainsResponse>;
|
|
3813
|
+
/**
|
|
3814
|
+
* Get blockchain details by ID
|
|
3815
|
+
* Get details of the blockchain registered on the network.
|
|
3816
|
+
* @returns Blockchain Successful response
|
|
3817
|
+
* @throws ApiError
|
|
3818
|
+
*/
|
|
3819
|
+
getBlockchainById({ blockchainId, network, }: {
|
|
3820
|
+
/**
|
|
3821
|
+
* The blockchain ID of the blockchain to retrieve.
|
|
3822
|
+
*/
|
|
3823
|
+
blockchainId: string;
|
|
3824
|
+
/**
|
|
3825
|
+
* Either mainnet or testnet/fuji.
|
|
3826
|
+
*/
|
|
3827
|
+
network: Network;
|
|
3828
|
+
}): CancelablePromise<Blockchain>;
|
|
3095
3829
|
/**
|
|
3096
3830
|
* List subnets
|
|
3097
3831
|
* Lists all subnets registered on the network.
|
|
@@ -3275,12 +4009,12 @@ declare class PrimaryNetworkService {
|
|
|
3275
4009
|
nodeIds?: string;
|
|
3276
4010
|
}): CancelablePromise<ListDelegatorDetailsResponse>;
|
|
3277
4011
|
/**
|
|
3278
|
-
* List
|
|
3279
|
-
* Lists details for
|
|
3280
|
-
* @returns
|
|
4012
|
+
* List L1 validators
|
|
4013
|
+
* Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.
|
|
4014
|
+
* @returns ListL1ValidatorsResponse Successful response
|
|
3281
4015
|
* @throws ApiError
|
|
3282
4016
|
*/
|
|
3283
|
-
|
|
4017
|
+
listL1Validators({ network, pageToken, pageSize, l1ValidationId, includeInactiveL1Validators, nodeId, subnetId, }: {
|
|
3284
4018
|
/**
|
|
3285
4019
|
* Either mainnet or testnet/fuji.
|
|
3286
4020
|
*/
|
|
@@ -3294,10 +4028,10 @@ declare class PrimaryNetworkService {
|
|
|
3294
4028
|
*/
|
|
3295
4029
|
pageSize?: number;
|
|
3296
4030
|
/**
|
|
3297
|
-
* The
|
|
4031
|
+
* The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
|
|
3298
4032
|
*/
|
|
3299
|
-
|
|
3300
|
-
|
|
4033
|
+
l1ValidationId?: any;
|
|
4034
|
+
includeInactiveL1Validators?: boolean;
|
|
3301
4035
|
/**
|
|
3302
4036
|
* A valid node ID in format 'NodeID-HASH'.
|
|
3303
4037
|
*/
|
|
@@ -3306,7 +4040,7 @@ declare class PrimaryNetworkService {
|
|
|
3306
4040
|
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
3307
4041
|
*/
|
|
3308
4042
|
subnetId?: any;
|
|
3309
|
-
}): CancelablePromise<
|
|
4043
|
+
}): CancelablePromise<ListL1ValidatorsResponse>;
|
|
3310
4044
|
}
|
|
3311
4045
|
|
|
3312
4046
|
declare enum BlockchainId {
|
|
@@ -3553,8 +4287,8 @@ type GetPrimaryNetworkBlockResponse = {
|
|
|
3553
4287
|
txCount: number;
|
|
3554
4288
|
transactions: Array<string>;
|
|
3555
4289
|
blockSizeBytes: number;
|
|
3556
|
-
|
|
3557
|
-
|
|
4290
|
+
l1ValidatorsAccruedFees?: number;
|
|
4291
|
+
activeL1Validators?: number;
|
|
3558
4292
|
currentSupply?: string;
|
|
3559
4293
|
proposerDetails?: ProposerDetails;
|
|
3560
4294
|
};
|
|
@@ -3568,8 +4302,8 @@ type PrimaryNetworkBlock = {
|
|
|
3568
4302
|
txCount: number;
|
|
3569
4303
|
transactions: Array<string>;
|
|
3570
4304
|
blockSizeBytes: number;
|
|
3571
|
-
|
|
3572
|
-
|
|
4305
|
+
l1ValidatorsAccruedFees?: number;
|
|
4306
|
+
activeL1Validators?: number;
|
|
3573
4307
|
currentSupply?: string;
|
|
3574
4308
|
proposerDetails?: ProposerDetails;
|
|
3575
4309
|
};
|
|
@@ -3612,7 +4346,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3612
4346
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3613
4347
|
* @throws ApiError
|
|
3614
4348
|
*/
|
|
3615
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
4349
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3616
4350
|
/**
|
|
3617
4351
|
* A primary network blockchain id or alias.
|
|
3618
4352
|
*/
|
|
@@ -3625,6 +4359,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3625
4359
|
* A primary network (P or X chain) nodeId.
|
|
3626
4360
|
*/
|
|
3627
4361
|
nodeId: string;
|
|
4362
|
+
/**
|
|
4363
|
+
* Query param for retrieving items after a specific timestamp.
|
|
4364
|
+
*/
|
|
4365
|
+
startTimestamp?: number;
|
|
4366
|
+
/**
|
|
4367
|
+
* Query param for retrieving items before a specific timestamp.
|
|
4368
|
+
*/
|
|
4369
|
+
endTimestamp?: number;
|
|
3628
4370
|
/**
|
|
3629
4371
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3630
4372
|
*/
|
|
@@ -3640,7 +4382,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3640
4382
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3641
4383
|
* @throws ApiError
|
|
3642
4384
|
*/
|
|
3643
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
4385
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3644
4386
|
/**
|
|
3645
4387
|
* A primary network blockchain id or alias.
|
|
3646
4388
|
*/
|
|
@@ -3649,6 +4391,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3649
4391
|
* Either mainnet or testnet/fuji.
|
|
3650
4392
|
*/
|
|
3651
4393
|
network: Network;
|
|
4394
|
+
/**
|
|
4395
|
+
* Query param for retrieving items after a specific timestamp.
|
|
4396
|
+
*/
|
|
4397
|
+
startTimestamp?: number;
|
|
4398
|
+
/**
|
|
4399
|
+
* Query param for retrieving items before a specific timestamp.
|
|
4400
|
+
*/
|
|
4401
|
+
endTimestamp?: number;
|
|
3652
4402
|
/**
|
|
3653
4403
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3654
4404
|
*/
|
|
@@ -4058,6 +4808,32 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
4058
4808
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4059
4809
|
};
|
|
4060
4810
|
|
|
4811
|
+
type L1ValidatorDetailsTransaction = {
|
|
4812
|
+
/**
|
|
4813
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
4814
|
+
*/
|
|
4815
|
+
validationId: string;
|
|
4816
|
+
/**
|
|
4817
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
|
|
4818
|
+
*/
|
|
4819
|
+
validationIdHex: string;
|
|
4820
|
+
nodeId: string;
|
|
4821
|
+
subnetId: string;
|
|
4822
|
+
/**
|
|
4823
|
+
* Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
|
|
4824
|
+
*/
|
|
4825
|
+
weight: number;
|
|
4826
|
+
/**
|
|
4827
|
+
* Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
|
|
4828
|
+
*/
|
|
4829
|
+
remainingBalance: number;
|
|
4830
|
+
/**
|
|
4831
|
+
* The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
|
|
4832
|
+
*/
|
|
4833
|
+
balanceChange?: number;
|
|
4834
|
+
blsCredentials?: Record<string, any>;
|
|
4835
|
+
};
|
|
4836
|
+
|
|
4061
4837
|
declare enum PChainTransactionType {
|
|
4062
4838
|
ADD_VALIDATOR_TX = "AddValidatorTx",
|
|
4063
4839
|
ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
|
|
@@ -4074,14 +4850,17 @@ declare enum PChainTransactionType {
|
|
|
4074
4850
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
4075
4851
|
BASE_TX = "BaseTx",
|
|
4076
4852
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4853
|
+
CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
|
|
4854
|
+
REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
|
|
4855
|
+
SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
|
|
4856
|
+
DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
|
|
4857
|
+
INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
|
|
4082
4858
|
UNKNOWN = "UNKNOWN"
|
|
4083
4859
|
}
|
|
4084
4860
|
|
|
4861
|
+
/**
|
|
4862
|
+
* Indicates whether the UTXO is staked or transferable
|
|
4863
|
+
*/
|
|
4085
4864
|
declare enum UtxoType {
|
|
4086
4865
|
STAKE = "STAKE",
|
|
4087
4866
|
TRANSFER = "TRANSFER"
|
|
@@ -4119,40 +4898,45 @@ type PChainUtxo = {
|
|
|
4119
4898
|
assetId: string;
|
|
4120
4899
|
blockNumber: string;
|
|
4121
4900
|
blockTimestamp: number;
|
|
4901
|
+
/**
|
|
4902
|
+
* Block height in which the transaction consuming this UTXO was included
|
|
4903
|
+
*/
|
|
4122
4904
|
consumingBlockNumber?: string;
|
|
4905
|
+
/**
|
|
4906
|
+
* Timestamp in seconds at which this UTXO is used in a consuming transaction
|
|
4907
|
+
*/
|
|
4123
4908
|
consumingBlockTimestamp?: number;
|
|
4909
|
+
/**
|
|
4910
|
+
* Timestamp in seconds after which this UTXO can be consumed
|
|
4911
|
+
*/
|
|
4124
4912
|
platformLocktime?: number;
|
|
4913
|
+
/**
|
|
4914
|
+
* The index of the UTXO in the transaction
|
|
4915
|
+
*/
|
|
4125
4916
|
outputIndex: number;
|
|
4126
4917
|
rewardType?: RewardType;
|
|
4918
|
+
/**
|
|
4919
|
+
* Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
|
|
4920
|
+
*/
|
|
4127
4921
|
stakeableLocktime?: number;
|
|
4128
4922
|
staked?: boolean;
|
|
4129
|
-
threshold?: number;
|
|
4130
|
-
txHash: string;
|
|
4131
|
-
utxoEndTimestamp?: number;
|
|
4132
|
-
utxoStartTimestamp?: number;
|
|
4133
|
-
utxoType: UtxoType;
|
|
4134
|
-
};
|
|
4135
|
-
|
|
4136
|
-
type SoVDetailsTransaction = {
|
|
4137
4923
|
/**
|
|
4138
|
-
*
|
|
4924
|
+
* The minimum number of signatures required to spend this UTXO
|
|
4139
4925
|
*/
|
|
4140
|
-
|
|
4141
|
-
nodeId: string;
|
|
4142
|
-
subnetId: string;
|
|
4926
|
+
threshold?: number;
|
|
4143
4927
|
/**
|
|
4144
|
-
*
|
|
4928
|
+
* The hash of the transaction that created this UTXO
|
|
4145
4929
|
*/
|
|
4146
|
-
|
|
4930
|
+
txHash: string;
|
|
4147
4931
|
/**
|
|
4148
|
-
*
|
|
4932
|
+
* Timestamp in seconds after which the staked UTXO will be unlocked.
|
|
4149
4933
|
*/
|
|
4150
|
-
|
|
4934
|
+
utxoEndTimestamp?: number;
|
|
4151
4935
|
/**
|
|
4152
|
-
*
|
|
4936
|
+
* Timestamp in seconds at which the staked UTXO was locked.
|
|
4153
4937
|
*/
|
|
4154
|
-
|
|
4155
|
-
|
|
4938
|
+
utxoStartTimestamp?: number;
|
|
4939
|
+
utxoType: UtxoType;
|
|
4156
4940
|
};
|
|
4157
4941
|
|
|
4158
4942
|
type PChainTransaction = {
|
|
@@ -4165,9 +4949,18 @@ type PChainTransaction = {
|
|
|
4165
4949
|
* The block finality timestamp.
|
|
4166
4950
|
*/
|
|
4167
4951
|
blockTimestamp: number;
|
|
4952
|
+
/**
|
|
4953
|
+
* The height of the block in which the transaction was included
|
|
4954
|
+
*/
|
|
4168
4955
|
blockNumber: string;
|
|
4169
4956
|
blockHash: string;
|
|
4957
|
+
/**
|
|
4958
|
+
* The consumed UTXOs of the transaction
|
|
4959
|
+
*/
|
|
4170
4960
|
consumedUtxos: Array<PChainUtxo>;
|
|
4961
|
+
/**
|
|
4962
|
+
* The newly created UTXOs of the transaction
|
|
4963
|
+
*/
|
|
4171
4964
|
emittedUtxos: Array<PChainUtxo>;
|
|
4172
4965
|
/**
|
|
4173
4966
|
* Source chain for an atomic transaction.
|
|
@@ -4178,11 +4971,11 @@ type PChainTransaction = {
|
|
|
4178
4971
|
*/
|
|
4179
4972
|
destinationChain?: string;
|
|
4180
4973
|
/**
|
|
4181
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4974
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction
|
|
4182
4975
|
*/
|
|
4183
4976
|
value: Array<AssetAmount>;
|
|
4184
4977
|
/**
|
|
4185
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4978
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee
|
|
4186
4979
|
*/
|
|
4187
4980
|
amountBurned: Array<AssetAmount>;
|
|
4188
4981
|
/**
|
|
@@ -4190,9 +4983,9 @@ type PChainTransaction = {
|
|
|
4190
4983
|
*/
|
|
4191
4984
|
amountStaked: Array<AssetAmount>;
|
|
4192
4985
|
/**
|
|
4193
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4986
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.
|
|
4194
4987
|
*/
|
|
4195
|
-
|
|
4988
|
+
amountL1ValidatorBalanceBurned: Array<AssetAmount>;
|
|
4196
4989
|
/**
|
|
4197
4990
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4198
4991
|
*/
|
|
@@ -4202,11 +4995,11 @@ type PChainTransaction = {
|
|
|
4202
4995
|
*/
|
|
4203
4996
|
endTimestamp?: number;
|
|
4204
4997
|
/**
|
|
4205
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
4998
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
4206
4999
|
*/
|
|
4207
5000
|
delegationFeePercent?: string;
|
|
4208
5001
|
/**
|
|
4209
|
-
* Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
5002
|
+
* The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4210
5003
|
*/
|
|
4211
5004
|
nodeId?: string;
|
|
4212
5005
|
/**
|
|
@@ -4214,22 +5007,25 @@ type PChainTransaction = {
|
|
|
4214
5007
|
*/
|
|
4215
5008
|
subnetId?: string;
|
|
4216
5009
|
/**
|
|
4217
|
-
* Details of the L1's validator manager contract and blockchain. Present for the
|
|
5010
|
+
* Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1
|
|
4218
5011
|
*/
|
|
4219
5012
|
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
4220
5013
|
/**
|
|
4221
|
-
* Details of
|
|
5014
|
+
* Details of L1 validators registered or changed in the current transaction. The details reflect the state at the time of the transaction, not in real-time
|
|
4222
5015
|
*/
|
|
4223
|
-
l1ValidatorDetails?: Array<
|
|
5016
|
+
l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
|
|
4224
5017
|
/**
|
|
4225
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
5018
|
+
* Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4226
5019
|
*/
|
|
4227
5020
|
estimatedReward?: string;
|
|
5021
|
+
/**
|
|
5022
|
+
* Reward transaction hash for the completed validations or delegations
|
|
5023
|
+
*/
|
|
4228
5024
|
rewardTxHash?: string;
|
|
4229
5025
|
rewardAddresses?: Array<string>;
|
|
4230
5026
|
memo?: string;
|
|
4231
5027
|
/**
|
|
4232
|
-
*
|
|
5028
|
+
* Staking transaction corresponding to the RewardValidatorTx
|
|
4233
5029
|
*/
|
|
4234
5030
|
stakingTxHash?: string;
|
|
4235
5031
|
/**
|
|
@@ -4237,7 +5033,7 @@ type PChainTransaction = {
|
|
|
4237
5033
|
*/
|
|
4238
5034
|
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
4239
5035
|
/**
|
|
4240
|
-
* Present for AddPermissionlessValidatorTx
|
|
5036
|
+
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
4241
5037
|
*/
|
|
4242
5038
|
blsCredentials?: BlsCredentials;
|
|
4243
5039
|
};
|
|
@@ -4422,11 +5218,11 @@ declare enum PrimaryNetworkTxType {
|
|
|
4422
5218
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
4423
5219
|
BASE_TX = "BaseTx",
|
|
4424
5220
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
5221
|
+
CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
|
|
5222
|
+
REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
|
|
5223
|
+
SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
|
|
5224
|
+
DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
|
|
5225
|
+
INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
|
|
4430
5226
|
UNKNOWN = "UNKNOWN",
|
|
4431
5227
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
4432
5228
|
OPERATION_TX = "OperationTx"
|
|
@@ -4461,13 +5257,13 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4461
5257
|
*
|
|
4462
5258
|
* 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.
|
|
4463
5259
|
*
|
|
4464
|
-
* For P-Chain, you can fetch all
|
|
5260
|
+
* For P-Chain, you can fetch all L1 validators related transactions like ConvertSubnetToL1Tx, IncreaseL1ValidatorBalanceTx etc. using the unique L1 validation ID. These transactions are further filterable by txTypes and timestamps as well.
|
|
4465
5261
|
*
|
|
4466
5262
|
* 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.
|
|
4467
5263
|
* @returns any Successful response
|
|
4468
5264
|
* @throws ApiError
|
|
4469
5265
|
*/
|
|
4470
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses,
|
|
5266
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
4471
5267
|
/**
|
|
4472
5268
|
* A primary network blockchain id or alias.
|
|
4473
5269
|
*/
|
|
@@ -4480,7 +5276,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4480
5276
|
* 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". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
|
|
4481
5277
|
*/
|
|
4482
5278
|
addresses?: string;
|
|
4483
|
-
|
|
5279
|
+
l1ValidationId?: string;
|
|
4484
5280
|
/**
|
|
4485
5281
|
* Query param for filtering items based on transaction types.
|
|
4486
5282
|
*/
|
|
@@ -4761,13 +5557,7 @@ type SignatureAggregationResponse = {
|
|
|
4761
5557
|
};
|
|
4762
5558
|
|
|
4763
5559
|
type SignatureAggregatorRequest = {
|
|
4764
|
-
|
|
4765
|
-
* Must be defined if justification is not defined
|
|
4766
|
-
*/
|
|
4767
|
-
message?: string;
|
|
4768
|
-
/**
|
|
4769
|
-
* Must be defined if message is not defined
|
|
4770
|
-
*/
|
|
5560
|
+
message: string;
|
|
4771
5561
|
justification?: string;
|
|
4772
5562
|
signingSubnetId?: string;
|
|
4773
5563
|
quorumPercentage?: number;
|
|
@@ -4782,9 +5572,29 @@ declare class SignatureAggregatorService {
|
|
|
4782
5572
|
* @returns SignatureAggregationResponse Successful response
|
|
4783
5573
|
* @throws ApiError
|
|
4784
5574
|
*/
|
|
4785
|
-
aggregateSignatures({ requestBody, }: {
|
|
5575
|
+
aggregateSignatures({ network, requestBody, }: {
|
|
5576
|
+
/**
|
|
5577
|
+
* Either mainnet or testnet/fuji.
|
|
5578
|
+
*/
|
|
5579
|
+
network: Network;
|
|
4786
5580
|
requestBody: SignatureAggregatorRequest;
|
|
4787
5581
|
}): CancelablePromise<SignatureAggregationResponse>;
|
|
5582
|
+
/**
|
|
5583
|
+
* Get Aggregated Signatures
|
|
5584
|
+
* Get Aggregated Signatures for a P-Chain L1 related Warp Message.
|
|
5585
|
+
* @returns SignatureAggregationResponse Successful response
|
|
5586
|
+
* @throws ApiError
|
|
5587
|
+
*/
|
|
5588
|
+
getAggregatedSignatures({ network, txHash, }: {
|
|
5589
|
+
/**
|
|
5590
|
+
* Either mainnet or testnet/fuji.
|
|
5591
|
+
*/
|
|
5592
|
+
network: Network;
|
|
5593
|
+
/**
|
|
5594
|
+
* A primary network (P or X chain) transaction hash.
|
|
5595
|
+
*/
|
|
5596
|
+
txHash: string;
|
|
5597
|
+
}): CancelablePromise<SignatureAggregationResponse>;
|
|
4788
5598
|
}
|
|
4789
5599
|
|
|
4790
5600
|
type TeleporterDestinationTransaction = {
|
|
@@ -4925,8 +5735,10 @@ declare class TeleporterService {
|
|
|
4925
5735
|
readonly httpRequest: BaseHttpRequest;
|
|
4926
5736
|
constructor(httpRequest: BaseHttpRequest);
|
|
4927
5737
|
/**
|
|
4928
|
-
*
|
|
4929
|
-
* Gets a teleporter message by message ID.
|
|
5738
|
+
* @deprecated
|
|
5739
|
+
* **[Deprecated]** Gets a teleporter message by message ID.
|
|
5740
|
+
*
|
|
5741
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
|
|
4930
5742
|
* @returns any Successful response
|
|
4931
5743
|
* @throws ApiError
|
|
4932
5744
|
*/
|
|
@@ -4937,8 +5749,10 @@ declare class TeleporterService {
|
|
|
4937
5749
|
messageId: string;
|
|
4938
5750
|
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
4939
5751
|
/**
|
|
4940
|
-
*
|
|
4941
|
-
* Lists teleporter messages. Ordered by timestamp in
|
|
5752
|
+
* @deprecated
|
|
5753
|
+
* **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
|
|
5754
|
+
*
|
|
5755
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
|
|
4942
5756
|
* @returns ListTeleporterMessagesResponse Successful response
|
|
4943
5757
|
* @throws ApiError
|
|
4944
5758
|
*/
|
|
@@ -4977,8 +5791,10 @@ declare class TeleporterService {
|
|
|
4977
5791
|
network?: Network;
|
|
4978
5792
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4979
5793
|
/**
|
|
4980
|
-
*
|
|
4981
|
-
* Lists teleporter messages by address. Ordered by
|
|
5794
|
+
* @deprecated
|
|
5795
|
+
* **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
|
|
5796
|
+
*
|
|
5797
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
|
|
4982
5798
|
* @returns ListTeleporterMessagesResponse Successful response
|
|
4983
5799
|
* @throws ApiError
|
|
4984
5800
|
*/
|
|
@@ -5020,44 +5836,54 @@ type AddressActivityMetadata = {
|
|
|
5020
5836
|
eventSignatures?: Array<string>;
|
|
5021
5837
|
};
|
|
5022
5838
|
|
|
5023
|
-
declare enum
|
|
5024
|
-
|
|
5839
|
+
declare enum PrimaryNetworkType {
|
|
5840
|
+
MAINNET = "mainnet",
|
|
5841
|
+
FUJI = "fuji"
|
|
5025
5842
|
}
|
|
5026
5843
|
|
|
5027
|
-
type
|
|
5844
|
+
type EVMAddressActivityRequest = {
|
|
5845
|
+
eventType: EVMAddressActivityRequest.eventType;
|
|
5028
5846
|
url: string;
|
|
5029
5847
|
chainId: string;
|
|
5030
|
-
|
|
5031
|
-
metadata: AddressActivityMetadata;
|
|
5848
|
+
network?: PrimaryNetworkType;
|
|
5032
5849
|
name?: string;
|
|
5033
5850
|
description?: string;
|
|
5034
5851
|
/**
|
|
5035
|
-
* Whether to include traces in the webhook payload.
|
|
5852
|
+
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
5036
5853
|
*/
|
|
5037
5854
|
includeInternalTxs?: boolean;
|
|
5038
5855
|
/**
|
|
5039
5856
|
* Whether to include logs in the webhook payload.
|
|
5040
5857
|
*/
|
|
5041
5858
|
includeLogs?: boolean;
|
|
5859
|
+
metadata: AddressActivityMetadata;
|
|
5042
5860
|
};
|
|
5861
|
+
declare namespace EVMAddressActivityRequest {
|
|
5862
|
+
enum eventType {
|
|
5863
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
5864
|
+
}
|
|
5865
|
+
}
|
|
5043
5866
|
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
addresses: Array<string>;
|
|
5050
|
-
totalAddresses: number;
|
|
5051
|
-
};
|
|
5867
|
+
declare enum EventType {
|
|
5868
|
+
ADDRESS_ACTIVITY = "address_activity",
|
|
5869
|
+
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
5870
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
5871
|
+
}
|
|
5052
5872
|
|
|
5053
5873
|
declare enum WebhookStatusType {
|
|
5054
5874
|
ACTIVE = "active",
|
|
5055
5875
|
INACTIVE = "inactive"
|
|
5056
5876
|
}
|
|
5057
5877
|
|
|
5058
|
-
type
|
|
5878
|
+
type EVMAddressActivityResponse = {
|
|
5059
5879
|
id: string;
|
|
5060
5880
|
eventType: EventType;
|
|
5881
|
+
url: string;
|
|
5882
|
+
chainId: string;
|
|
5883
|
+
status: WebhookStatusType;
|
|
5884
|
+
createdAt: number;
|
|
5885
|
+
name: string;
|
|
5886
|
+
description: string;
|
|
5061
5887
|
metadata: AddressActivityMetadata;
|
|
5062
5888
|
/**
|
|
5063
5889
|
* Whether to include traces in the webhook payload.
|
|
@@ -5067,12 +5893,109 @@ type WebhookResponse = {
|
|
|
5067
5893
|
* Whether to include logs in the webhook payload.
|
|
5068
5894
|
*/
|
|
5069
5895
|
includeLogs?: boolean;
|
|
5896
|
+
};
|
|
5897
|
+
|
|
5898
|
+
type ListWebhookAddressesResponse = {
|
|
5899
|
+
/**
|
|
5900
|
+
* 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.
|
|
5901
|
+
*/
|
|
5902
|
+
nextPageToken?: string;
|
|
5903
|
+
addresses: Array<string>;
|
|
5904
|
+
totalAddresses: number;
|
|
5905
|
+
};
|
|
5906
|
+
|
|
5907
|
+
/**
|
|
5908
|
+
* The type of key for platform activity depending on the event type
|
|
5909
|
+
*/
|
|
5910
|
+
declare enum PlatformActivityKeyType {
|
|
5911
|
+
ADDRESSES = "addresses",
|
|
5912
|
+
NODE_ID = "nodeId",
|
|
5913
|
+
SUBNET_ID = "subnetId"
|
|
5914
|
+
}
|
|
5915
|
+
|
|
5916
|
+
/**
|
|
5917
|
+
* Array of address activity sub-event types
|
|
5918
|
+
*/
|
|
5919
|
+
declare enum PlatformAddressActivitySubEventType {
|
|
5920
|
+
BALANCE_CHANGE_PLATFORM = "balance_change_platform",
|
|
5921
|
+
BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
|
|
5922
|
+
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5923
|
+
}
|
|
5924
|
+
|
|
5925
|
+
type PlatformActivitySubEvents = {
|
|
5926
|
+
/**
|
|
5927
|
+
* Array of validator activity sub-event types
|
|
5928
|
+
*/
|
|
5929
|
+
validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
5930
|
+
addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
|
|
5931
|
+
};
|
|
5932
|
+
|
|
5933
|
+
/**
|
|
5934
|
+
* Type of balance to monitor
|
|
5935
|
+
*/
|
|
5936
|
+
declare enum CommonBalanceType {
|
|
5937
|
+
UNLOCKED_UNSTAKED = "unlockedUnstaked",
|
|
5938
|
+
UNLOCKED_STAKED = "unlockedStaked",
|
|
5939
|
+
LOCKED_PLATFORM = "lockedPlatform",
|
|
5940
|
+
LOCKED_STAKEABLE = "lockedStakeable",
|
|
5941
|
+
LOCKED_STAKED = "lockedStaked",
|
|
5942
|
+
PENDING_STAKED = "pendingStaked",
|
|
5943
|
+
UNLOCKED = "unlocked",
|
|
5944
|
+
LOCKED = "locked",
|
|
5945
|
+
ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
|
|
5946
|
+
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5947
|
+
}
|
|
5948
|
+
|
|
5949
|
+
type PlatformBalanceThresholdFilter = {
|
|
5950
|
+
balanceType: CommonBalanceType;
|
|
5951
|
+
/**
|
|
5952
|
+
* Threshold for balance corresponding to balanceType in nAVAX
|
|
5953
|
+
*/
|
|
5954
|
+
balanceThreshold: string;
|
|
5955
|
+
};
|
|
5956
|
+
|
|
5957
|
+
type PlatformActivityMetadata = {
|
|
5958
|
+
keyType: PlatformActivityKeyType;
|
|
5959
|
+
/**
|
|
5960
|
+
* Array of keys like addresses, NodeID or SubnetID corresponding to the keyType being monitored. For PlatformAddressActivity event, an array of multiple addresses can be provided. ValidatorActivity event will only accept a single key
|
|
5961
|
+
*/
|
|
5962
|
+
keys: Array<string>;
|
|
5963
|
+
/**
|
|
5964
|
+
* Sub-events to monitor
|
|
5965
|
+
*/
|
|
5966
|
+
subEvents?: PlatformActivitySubEvents;
|
|
5967
|
+
/**
|
|
5968
|
+
* Array of hexadecimal strings of the event signatures.
|
|
5969
|
+
*/
|
|
5970
|
+
eventSignatures?: Array<string>;
|
|
5971
|
+
/**
|
|
5972
|
+
* Array of node IDs to filter the events
|
|
5973
|
+
*/
|
|
5974
|
+
nodeIds?: Array<string>;
|
|
5975
|
+
/**
|
|
5976
|
+
* Array of subnet IDs to filter the events
|
|
5977
|
+
*/
|
|
5978
|
+
subnetIds?: Array<string>;
|
|
5979
|
+
/**
|
|
5980
|
+
* Balance threshold filter
|
|
5981
|
+
*/
|
|
5982
|
+
balanceThresholdFilter?: PlatformBalanceThresholdFilter;
|
|
5983
|
+
/**
|
|
5984
|
+
* L1 validator fee balance threshold in nAVAX
|
|
5985
|
+
*/
|
|
5986
|
+
l1ValidatorFeeBalanceThreshold?: string;
|
|
5987
|
+
};
|
|
5988
|
+
|
|
5989
|
+
type PlatformActivityResponse = {
|
|
5990
|
+
id: string;
|
|
5991
|
+
eventType: EventType;
|
|
5070
5992
|
url: string;
|
|
5071
5993
|
chainId: string;
|
|
5072
5994
|
status: WebhookStatusType;
|
|
5073
5995
|
createdAt: number;
|
|
5074
5996
|
name: string;
|
|
5075
5997
|
description: string;
|
|
5998
|
+
metadata: PlatformActivityMetadata;
|
|
5076
5999
|
};
|
|
5077
6000
|
|
|
5078
6001
|
type ListWebhooksResponse = {
|
|
@@ -5080,9 +6003,36 @@ type ListWebhooksResponse = {
|
|
|
5080
6003
|
* 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.
|
|
5081
6004
|
*/
|
|
5082
6005
|
nextPageToken?: string;
|
|
5083
|
-
webhooks: Array<
|
|
6006
|
+
webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5084
6007
|
};
|
|
5085
6008
|
|
|
6009
|
+
type PlatformActivityRequest = {
|
|
6010
|
+
eventType: PlatformActivityRequest.eventType;
|
|
6011
|
+
url: string;
|
|
6012
|
+
chainId: string;
|
|
6013
|
+
network?: PrimaryNetworkType;
|
|
6014
|
+
name?: string;
|
|
6015
|
+
description?: string;
|
|
6016
|
+
/**
|
|
6017
|
+
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
6018
|
+
*/
|
|
6019
|
+
includeInternalTxs?: boolean;
|
|
6020
|
+
/**
|
|
6021
|
+
* Whether to include logs in the webhook payload.
|
|
6022
|
+
*/
|
|
6023
|
+
includeLogs?: boolean;
|
|
6024
|
+
/**
|
|
6025
|
+
* Metadata for platform activity
|
|
6026
|
+
*/
|
|
6027
|
+
metadata: PlatformActivityMetadata;
|
|
6028
|
+
};
|
|
6029
|
+
declare namespace PlatformActivityRequest {
|
|
6030
|
+
enum eventType {
|
|
6031
|
+
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
6032
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6033
|
+
}
|
|
6034
|
+
}
|
|
6035
|
+
|
|
5086
6036
|
type SharedSecretsResponse = {
|
|
5087
6037
|
secret: string;
|
|
5088
6038
|
};
|
|
@@ -5092,6 +6042,9 @@ type UpdateWebhookRequest = {
|
|
|
5092
6042
|
description?: string;
|
|
5093
6043
|
url?: string;
|
|
5094
6044
|
status?: WebhookStatusType;
|
|
6045
|
+
/**
|
|
6046
|
+
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
6047
|
+
*/
|
|
5095
6048
|
includeInternalTxs?: boolean;
|
|
5096
6049
|
includeLogs?: boolean;
|
|
5097
6050
|
};
|
|
@@ -5107,12 +6060,12 @@ declare class WebhooksService {
|
|
|
5107
6060
|
/**
|
|
5108
6061
|
* Create a webhook
|
|
5109
6062
|
* Create a new webhook.
|
|
5110
|
-
* @returns
|
|
6063
|
+
* @returns any Successful response
|
|
5111
6064
|
* @throws ApiError
|
|
5112
6065
|
*/
|
|
5113
6066
|
createWebhook({ requestBody, }: {
|
|
5114
|
-
requestBody:
|
|
5115
|
-
}): CancelablePromise<
|
|
6067
|
+
requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
|
|
6068
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5116
6069
|
/**
|
|
5117
6070
|
* List webhooks
|
|
5118
6071
|
* Lists webhooks for the user.
|
|
@@ -5136,7 +6089,7 @@ declare class WebhooksService {
|
|
|
5136
6089
|
/**
|
|
5137
6090
|
* Get a webhook by ID
|
|
5138
6091
|
* Retrieves a webhook by ID.
|
|
5139
|
-
* @returns
|
|
6092
|
+
* @returns any Successful response
|
|
5140
6093
|
* @throws ApiError
|
|
5141
6094
|
*/
|
|
5142
6095
|
getWebhook({ id, }: {
|
|
@@ -5144,11 +6097,11 @@ declare class WebhooksService {
|
|
|
5144
6097
|
* The webhook identifier.
|
|
5145
6098
|
*/
|
|
5146
6099
|
id: string;
|
|
5147
|
-
}): CancelablePromise<
|
|
6100
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5148
6101
|
/**
|
|
5149
6102
|
* Deactivate a webhook
|
|
5150
6103
|
* Deactivates a webhook by ID.
|
|
5151
|
-
* @returns
|
|
6104
|
+
* @returns any Successful response
|
|
5152
6105
|
* @throws ApiError
|
|
5153
6106
|
*/
|
|
5154
6107
|
deactivateWebhook({ id, }: {
|
|
@@ -5156,11 +6109,11 @@ declare class WebhooksService {
|
|
|
5156
6109
|
* The webhook identifier.
|
|
5157
6110
|
*/
|
|
5158
6111
|
id: string;
|
|
5159
|
-
}): CancelablePromise<
|
|
6112
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5160
6113
|
/**
|
|
5161
6114
|
* Update a webhook
|
|
5162
6115
|
* Updates an existing webhook.
|
|
5163
|
-
* @returns
|
|
6116
|
+
* @returns any Successful response
|
|
5164
6117
|
* @throws ApiError
|
|
5165
6118
|
*/
|
|
5166
6119
|
updateWebhook({ id, requestBody, }: {
|
|
@@ -5169,14 +6122,14 @@ declare class WebhooksService {
|
|
|
5169
6122
|
*/
|
|
5170
6123
|
id: string;
|
|
5171
6124
|
requestBody: UpdateWebhookRequest;
|
|
5172
|
-
}): CancelablePromise<
|
|
6125
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5173
6126
|
/**
|
|
5174
|
-
* Generate a shared secret
|
|
5175
|
-
* Generates a new shared secret.
|
|
6127
|
+
* Generate or rotate a shared secret
|
|
6128
|
+
* Generates a new shared secret or rotate an existing one.
|
|
5176
6129
|
* @returns SharedSecretsResponse Successful response
|
|
5177
6130
|
* @throws ApiError
|
|
5178
6131
|
*/
|
|
5179
|
-
|
|
6132
|
+
generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
5180
6133
|
/**
|
|
5181
6134
|
* Get a shared secret
|
|
5182
6135
|
* Get a previously generated shared secret.
|
|
@@ -5185,9 +6138,9 @@ declare class WebhooksService {
|
|
|
5185
6138
|
*/
|
|
5186
6139
|
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
5187
6140
|
/**
|
|
5188
|
-
* Add addresses to webhook
|
|
5189
|
-
* Add addresses to webhook.
|
|
5190
|
-
* @returns
|
|
6141
|
+
* Add addresses to EVM activity webhook
|
|
6142
|
+
* Add addresses to webhook. Only valid for EVM activity webhooks.
|
|
6143
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
5191
6144
|
* @throws ApiError
|
|
5192
6145
|
*/
|
|
5193
6146
|
addAddressesToWebhook({ id, requestBody, }: {
|
|
@@ -5196,11 +6149,11 @@ declare class WebhooksService {
|
|
|
5196
6149
|
*/
|
|
5197
6150
|
id: string;
|
|
5198
6151
|
requestBody: AddressesChangeRequest;
|
|
5199
|
-
}): CancelablePromise<
|
|
6152
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
5200
6153
|
/**
|
|
5201
|
-
* Remove addresses from webhook
|
|
5202
|
-
* Remove addresses from webhook.
|
|
5203
|
-
* @returns
|
|
6154
|
+
* Remove addresses from EVM activity webhook
|
|
6155
|
+
* Remove addresses from webhook. Only valid for EVM activity webhooks.
|
|
6156
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
5204
6157
|
* @throws ApiError
|
|
5205
6158
|
*/
|
|
5206
6159
|
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
@@ -5209,10 +6162,10 @@ declare class WebhooksService {
|
|
|
5209
6162
|
*/
|
|
5210
6163
|
id: string;
|
|
5211
6164
|
requestBody: AddressesChangeRequest;
|
|
5212
|
-
}): CancelablePromise<
|
|
6165
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
5213
6166
|
/**
|
|
5214
|
-
* List adresses by
|
|
5215
|
-
* List adresses by webhook.
|
|
6167
|
+
* List adresses by EVM activity webhooks
|
|
6168
|
+
* List adresses by webhook. Only valid for EVM activity webhooks.
|
|
5216
6169
|
* @returns ListWebhookAddressesResponse Successful response
|
|
5217
6170
|
* @throws ApiError
|
|
5218
6171
|
*/
|
|
@@ -5242,7 +6195,9 @@ declare class Glacier {
|
|
|
5242
6195
|
readonly evmContracts: EvmContractsService;
|
|
5243
6196
|
readonly evmTransactions: EvmTransactionsService;
|
|
5244
6197
|
readonly healthCheck: HealthCheckService;
|
|
6198
|
+
readonly interchainMessaging: InterchainMessagingService;
|
|
5245
6199
|
readonly nfTs: NfTsService;
|
|
6200
|
+
readonly notifications: NotificationsService;
|
|
5246
6201
|
readonly operations: OperationsService;
|
|
5247
6202
|
readonly primaryNetwork: PrimaryNetworkService;
|
|
5248
6203
|
readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
|
|
@@ -5275,6 +6230,17 @@ declare class ApiError extends Error {
|
|
|
5275
6230
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
5276
6231
|
}
|
|
5277
6232
|
|
|
6233
|
+
type AccessListData = {
|
|
6234
|
+
/**
|
|
6235
|
+
* Access Address
|
|
6236
|
+
*/
|
|
6237
|
+
accessAddresses: string;
|
|
6238
|
+
/**
|
|
6239
|
+
* Storage keys
|
|
6240
|
+
*/
|
|
6241
|
+
storageKeys: Array<string>;
|
|
6242
|
+
};
|
|
6243
|
+
|
|
5278
6244
|
type BadGateway = {
|
|
5279
6245
|
/**
|
|
5280
6246
|
* The error message describing the reason for the exception
|
|
@@ -5309,6 +6275,76 @@ type DataListChainsResponse = {
|
|
|
5309
6275
|
chains: Array<ChainInfo>;
|
|
5310
6276
|
};
|
|
5311
6277
|
|
|
6278
|
+
type ERCToken = {
|
|
6279
|
+
/**
|
|
6280
|
+
* Token contract address
|
|
6281
|
+
*/
|
|
6282
|
+
address: string;
|
|
6283
|
+
/**
|
|
6284
|
+
* Token name
|
|
6285
|
+
*/
|
|
6286
|
+
name: string;
|
|
6287
|
+
/**
|
|
6288
|
+
* Token symbol
|
|
6289
|
+
*/
|
|
6290
|
+
symbol: string;
|
|
6291
|
+
/**
|
|
6292
|
+
* Token decimals
|
|
6293
|
+
*/
|
|
6294
|
+
decimals: number;
|
|
6295
|
+
/**
|
|
6296
|
+
* Value including decimals
|
|
6297
|
+
*/
|
|
6298
|
+
valueWithDecimals: string;
|
|
6299
|
+
};
|
|
6300
|
+
|
|
6301
|
+
type ERCTransfer = {
|
|
6302
|
+
/**
|
|
6303
|
+
* Transaction hash
|
|
6304
|
+
*/
|
|
6305
|
+
transactionHash: string;
|
|
6306
|
+
/**
|
|
6307
|
+
* Transfer type
|
|
6308
|
+
*/
|
|
6309
|
+
type: string;
|
|
6310
|
+
/**
|
|
6311
|
+
* Sender address
|
|
6312
|
+
*/
|
|
6313
|
+
from: string;
|
|
6314
|
+
/**
|
|
6315
|
+
* Recipient address
|
|
6316
|
+
*/
|
|
6317
|
+
to: string;
|
|
6318
|
+
/**
|
|
6319
|
+
* Amount transferred
|
|
6320
|
+
*/
|
|
6321
|
+
value: string;
|
|
6322
|
+
/**
|
|
6323
|
+
* Token Id
|
|
6324
|
+
*/
|
|
6325
|
+
tokenId?: string;
|
|
6326
|
+
/**
|
|
6327
|
+
* Block timestamp
|
|
6328
|
+
*/
|
|
6329
|
+
blockTimestamp: number;
|
|
6330
|
+
/**
|
|
6331
|
+
* Log index
|
|
6332
|
+
*/
|
|
6333
|
+
logIndex: number;
|
|
6334
|
+
/**
|
|
6335
|
+
* erc20 Token details
|
|
6336
|
+
*/
|
|
6337
|
+
erc20Token?: ERCToken;
|
|
6338
|
+
/**
|
|
6339
|
+
* erc721 Token details
|
|
6340
|
+
*/
|
|
6341
|
+
erc721Token?: ERCToken;
|
|
6342
|
+
/**
|
|
6343
|
+
* erc1155 Token details
|
|
6344
|
+
*/
|
|
6345
|
+
erc1155Token?: ERCToken;
|
|
6346
|
+
};
|
|
6347
|
+
|
|
5312
6348
|
type Forbidden = {
|
|
5313
6349
|
/**
|
|
5314
6350
|
* The error message describing the reason for the exception
|
|
@@ -5339,6 +6375,64 @@ type InternalServerError = {
|
|
|
5339
6375
|
error: string;
|
|
5340
6376
|
};
|
|
5341
6377
|
|
|
6378
|
+
type Log = {
|
|
6379
|
+
/**
|
|
6380
|
+
* Contract address
|
|
6381
|
+
*/
|
|
6382
|
+
address: string;
|
|
6383
|
+
/**
|
|
6384
|
+
* First topic
|
|
6385
|
+
*/
|
|
6386
|
+
topic0: string;
|
|
6387
|
+
/**
|
|
6388
|
+
* Second topic (optional)
|
|
6389
|
+
*/
|
|
6390
|
+
topic1?: string;
|
|
6391
|
+
/**
|
|
6392
|
+
* Third topic (optional)
|
|
6393
|
+
*/
|
|
6394
|
+
topic2?: string;
|
|
6395
|
+
/**
|
|
6396
|
+
* Fourth topic (optional)
|
|
6397
|
+
*/
|
|
6398
|
+
topic3?: string;
|
|
6399
|
+
/**
|
|
6400
|
+
* Event data
|
|
6401
|
+
*/
|
|
6402
|
+
data: string;
|
|
6403
|
+
/**
|
|
6404
|
+
* Transaction index
|
|
6405
|
+
*/
|
|
6406
|
+
transactionIndex: number;
|
|
6407
|
+
/**
|
|
6408
|
+
* Log index
|
|
6409
|
+
*/
|
|
6410
|
+
logIndex: number;
|
|
6411
|
+
/**
|
|
6412
|
+
* Indicates if the log was removed
|
|
6413
|
+
*/
|
|
6414
|
+
removed: boolean;
|
|
6415
|
+
};
|
|
6416
|
+
|
|
6417
|
+
type NetworkTokenInfo = {
|
|
6418
|
+
/**
|
|
6419
|
+
* Token name
|
|
6420
|
+
*/
|
|
6421
|
+
tokenName?: string;
|
|
6422
|
+
/**
|
|
6423
|
+
* Token symbol
|
|
6424
|
+
*/
|
|
6425
|
+
tokenSymbol?: string;
|
|
6426
|
+
/**
|
|
6427
|
+
* Token decimals
|
|
6428
|
+
*/
|
|
6429
|
+
tokenDecimals?: number;
|
|
6430
|
+
/**
|
|
6431
|
+
* Value including decimals
|
|
6432
|
+
*/
|
|
6433
|
+
valueWithDecimals?: string;
|
|
6434
|
+
};
|
|
6435
|
+
|
|
5342
6436
|
type NextPageToken = {
|
|
5343
6437
|
/**
|
|
5344
6438
|
* 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.
|
|
@@ -5391,6 +6485,132 @@ type TooManyRequests = {
|
|
|
5391
6485
|
error: string;
|
|
5392
6486
|
};
|
|
5393
6487
|
|
|
6488
|
+
type Transaction = {
|
|
6489
|
+
/**
|
|
6490
|
+
* Block hash of the transaction
|
|
6491
|
+
*/
|
|
6492
|
+
blockHash: string;
|
|
6493
|
+
/**
|
|
6494
|
+
* Block number of the transaction
|
|
6495
|
+
*/
|
|
6496
|
+
blockNumber: string;
|
|
6497
|
+
/**
|
|
6498
|
+
* Sender address
|
|
6499
|
+
*/
|
|
6500
|
+
from: string;
|
|
6501
|
+
/**
|
|
6502
|
+
* Gas limit for the transaction
|
|
6503
|
+
*/
|
|
6504
|
+
gas: string;
|
|
6505
|
+
/**
|
|
6506
|
+
* Gas price used
|
|
6507
|
+
*/
|
|
6508
|
+
gasPrice: string;
|
|
6509
|
+
/**
|
|
6510
|
+
* Maximum fee per gas
|
|
6511
|
+
*/
|
|
6512
|
+
maxFeePerGas: string;
|
|
6513
|
+
/**
|
|
6514
|
+
* Maximum priority fee per gas
|
|
6515
|
+
*/
|
|
6516
|
+
maxPriorityFeePerGas: string;
|
|
6517
|
+
/**
|
|
6518
|
+
* Transaction hash
|
|
6519
|
+
*/
|
|
6520
|
+
txHash: string;
|
|
6521
|
+
/**
|
|
6522
|
+
* Transaction status
|
|
6523
|
+
*/
|
|
6524
|
+
txStatus: string;
|
|
6525
|
+
/**
|
|
6526
|
+
* Input data
|
|
6527
|
+
*/
|
|
6528
|
+
input: string;
|
|
6529
|
+
/**
|
|
6530
|
+
* Nonce value
|
|
6531
|
+
*/
|
|
6532
|
+
nonce: string;
|
|
6533
|
+
/**
|
|
6534
|
+
* Recipient address
|
|
6535
|
+
*/
|
|
6536
|
+
to: string;
|
|
6537
|
+
/**
|
|
6538
|
+
* Transaction index
|
|
6539
|
+
*/
|
|
6540
|
+
transactionIndex: number;
|
|
6541
|
+
/**
|
|
6542
|
+
* Value transferred in the transaction
|
|
6543
|
+
*/
|
|
6544
|
+
value: string;
|
|
6545
|
+
/**
|
|
6546
|
+
* Transaction type
|
|
6547
|
+
*/
|
|
6548
|
+
type: number;
|
|
6549
|
+
/**
|
|
6550
|
+
* Chain ID of the network
|
|
6551
|
+
*/
|
|
6552
|
+
chainId: string;
|
|
6553
|
+
/**
|
|
6554
|
+
* Cumulative gas used
|
|
6555
|
+
*/
|
|
6556
|
+
receiptCumulativeGasUsed: string;
|
|
6557
|
+
/**
|
|
6558
|
+
* Gas used
|
|
6559
|
+
*/
|
|
6560
|
+
receiptGasUsed: string;
|
|
6561
|
+
/**
|
|
6562
|
+
* Effective gas price
|
|
6563
|
+
*/
|
|
6564
|
+
receiptEffectiveGasPrice: string;
|
|
6565
|
+
/**
|
|
6566
|
+
* Receipt root
|
|
6567
|
+
*/
|
|
6568
|
+
receiptRoot: string;
|
|
6569
|
+
/**
|
|
6570
|
+
* Block timestamp
|
|
6571
|
+
*/
|
|
6572
|
+
blockTimestamp: number;
|
|
6573
|
+
/**
|
|
6574
|
+
* Contract address (optional)
|
|
6575
|
+
*/
|
|
6576
|
+
contractAddress?: string;
|
|
6577
|
+
/**
|
|
6578
|
+
* ERC20 transfers
|
|
6579
|
+
*/
|
|
6580
|
+
erc20Transfers: Array<ERCTransfer>;
|
|
6581
|
+
/**
|
|
6582
|
+
* ERC721 transfers
|
|
6583
|
+
*/
|
|
6584
|
+
erc721Transfers: Array<ERCTransfer>;
|
|
6585
|
+
/**
|
|
6586
|
+
* ERC1155 transfers
|
|
6587
|
+
*/
|
|
6588
|
+
erc1155Transfers: Array<ERCTransfer>;
|
|
6589
|
+
/**
|
|
6590
|
+
* Internal transactions (optional)
|
|
6591
|
+
*/
|
|
6592
|
+
internalTransactions?: Array<InternalTransaction>;
|
|
6593
|
+
/**
|
|
6594
|
+
* Access list (optional)
|
|
6595
|
+
*/
|
|
6596
|
+
accessList?: Array<AccessListData>;
|
|
6597
|
+
/**
|
|
6598
|
+
* Network token info (optional)
|
|
6599
|
+
*/
|
|
6600
|
+
networkToken?: NetworkTokenInfo;
|
|
6601
|
+
};
|
|
6602
|
+
|
|
6603
|
+
type TransactionEvent = {
|
|
6604
|
+
/**
|
|
6605
|
+
* Transaction details
|
|
6606
|
+
*/
|
|
6607
|
+
transaction: Transaction;
|
|
6608
|
+
/**
|
|
6609
|
+
* Array of log events
|
|
6610
|
+
*/
|
|
6611
|
+
logs?: Array<Log>;
|
|
6612
|
+
};
|
|
6613
|
+
|
|
5394
6614
|
type Unauthorized = {
|
|
5395
6615
|
/**
|
|
5396
6616
|
* The error message describing the reason for the exception
|
|
@@ -5406,4 +6626,31 @@ type Unauthorized = {
|
|
|
5406
6626
|
error: string;
|
|
5407
6627
|
};
|
|
5408
6628
|
|
|
5409
|
-
|
|
6629
|
+
type WebhookAddressActivityResponse = {
|
|
6630
|
+
/**
|
|
6631
|
+
* Webhook ID
|
|
6632
|
+
*/
|
|
6633
|
+
webhookId: string;
|
|
6634
|
+
/**
|
|
6635
|
+
* Event type
|
|
6636
|
+
*/
|
|
6637
|
+
eventType: WebhookAddressActivityResponse.eventType;
|
|
6638
|
+
/**
|
|
6639
|
+
* Message ID
|
|
6640
|
+
*/
|
|
6641
|
+
messageId: string;
|
|
6642
|
+
/**
|
|
6643
|
+
* Event details
|
|
6644
|
+
*/
|
|
6645
|
+
event: TransactionEvent;
|
|
6646
|
+
};
|
|
6647
|
+
declare namespace WebhookAddressActivityResponse {
|
|
6648
|
+
/**
|
|
6649
|
+
* Event type
|
|
6650
|
+
*/
|
|
6651
|
+
enum eventType {
|
|
6652
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
6653
|
+
}
|
|
6654
|
+
}
|
|
6655
|
+
|
|
6656
|
+
export { AccessListData, AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, ERCToken, ERCTransfer, EVMAddressActivityRequest, EVMAddressActivityResponse, 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, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmRewardDetails, IcmSourceTransaction, ImageAsset, InterchainMessagingService, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PlatformActivityKeyType, PlatformActivityMetadata, PlatformActivityRequest, PlatformActivityResponse, PlatformActivitySubEvents, PlatformAddressActivitySubEventType, PlatformBalanceThresholdFilter, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, Transaction, TransactionDetails, TransactionDirectionType, TransactionEvent, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|