@avalabs/glacier-sdk 3.1.0-canary.c11d301.0 → 3.1.0-canary.c3683ee.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 +559 -216
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +0 -2
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/BalanceOwner.d.ts +6 -0
- package/esm/generated/models/CreateWebhookRequest.d.ts +1 -1
- package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
- package/esm/generated/models/Erc20TokenBalance.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 -0
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +33 -0
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +23 -0
- package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
- package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -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/ListL1ValidatorsResponse.d.ts +14 -0
- package/esm/generated/models/NativeTransaction.d.ts +4 -0
- package/esm/generated/models/PChainTransaction.d.ts +14 -0
- package/esm/generated/models/PChainTransactionType.d.ts +5 -0
- package/esm/generated/models/PChainTransactionType.js +1 -1
- package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -0
- package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +2 -2
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +9 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
- package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -7
- package/esm/generated/models/Subnet.d.ts +13 -0
- 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/UpdateWebhookRequest.d.ts +3 -0
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +75 -25
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
- package/esm/generated/services/EvmBlocksService.d.ts +21 -0
- package/esm/generated/services/EvmBlocksService.js +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +70 -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/PrimaryNetworkBlocksService.d.ts +18 -2
- package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
- package/esm/generated/services/PrimaryNetworkService.d.ts +34 -0
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +4 -1
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
- package/esm/generated/services/SignatureAggregatorService.d.ts +6 -1
- package/esm/generated/services/SignatureAggregatorService.js +1 -1
- package/esm/index.d.ts +10 -7
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/PrimaryNetwork.d.ts +0 -7
- package/esm/generated/models/PrimaryNetwork.js +0 -1
- package/esm/generated/models/RpcErrorDto.d.ts +0 -7
- package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
- package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
- package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
- package/esm/generated/services/RpcService.d.ts +0 -25
- package/esm/generated/services/RpcService.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -148,6 +148,34 @@ 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
|
+
DEVNET = "devnet"
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
declare enum PrimaryNetworkRpcMetricsGroupByEnum {
|
|
159
|
+
REQUEST_PATH = "requestPath",
|
|
160
|
+
RESPONSE_CODE = "responseCode",
|
|
161
|
+
COUNTRY = "country",
|
|
162
|
+
CONTINENT = "continent",
|
|
163
|
+
USER_AGENT = "userAgent"
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare enum RpcUsageMetricsGroupByEnum {
|
|
167
|
+
RPC_METHOD = "rpcMethod",
|
|
168
|
+
RESPONSE_CODE = "responseCode",
|
|
169
|
+
RL_BYPASS_TOKEN = "rlBypassToken"
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
declare enum SubnetRpcTimeIntervalGranularity {
|
|
173
|
+
HOURLY = "hourly",
|
|
174
|
+
DAILY = "daily",
|
|
175
|
+
WEEKLY = "weekly",
|
|
176
|
+
MONTHLY = "monthly"
|
|
177
|
+
}
|
|
178
|
+
|
|
151
179
|
type RpcUsageMetricsValueAggregated = {
|
|
152
180
|
/**
|
|
153
181
|
* The total number of requests
|
|
@@ -173,6 +201,10 @@ type RpcUsageMetricsValueAggregated = {
|
|
|
173
201
|
* The number of invalid requests
|
|
174
202
|
*/
|
|
175
203
|
invalidRequests: number;
|
|
204
|
+
/**
|
|
205
|
+
* The number of API credits wasted on invalid requests
|
|
206
|
+
*/
|
|
207
|
+
apiCreditsWasted: number;
|
|
176
208
|
/**
|
|
177
209
|
* Column name used for data aggregation
|
|
178
210
|
*/
|
|
@@ -205,19 +237,19 @@ type RpcMetrics = {
|
|
|
205
237
|
values: Array<RpcUsageMetricsValueAggregated>;
|
|
206
238
|
};
|
|
207
239
|
|
|
208
|
-
type
|
|
240
|
+
type SubnetRpcUsageMetricsResponseDTO = {
|
|
209
241
|
/**
|
|
210
242
|
* Duration in which the metrics value is aggregated
|
|
211
243
|
*/
|
|
212
244
|
aggregateDuration: string;
|
|
213
|
-
/**
|
|
214
|
-
* ChainId for which the metrics are aggregated
|
|
215
|
-
*/
|
|
216
|
-
chainId: string;
|
|
217
245
|
/**
|
|
218
246
|
* Metrics values
|
|
219
247
|
*/
|
|
220
248
|
metrics: Array<RpcMetrics>;
|
|
249
|
+
/**
|
|
250
|
+
* ChainId for which the metrics are aggregated
|
|
251
|
+
*/
|
|
252
|
+
chainId: string;
|
|
221
253
|
};
|
|
222
254
|
|
|
223
255
|
declare enum TimeIntervalGranularityExtended {
|
|
@@ -323,7 +355,7 @@ declare class DataApiUsageMetricsService {
|
|
|
323
355
|
* @returns UsageMetricsResponseDTO Successful response
|
|
324
356
|
* @throws ApiError
|
|
325
357
|
*/
|
|
326
|
-
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId,
|
|
358
|
+
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, responseCode, requestType, apiKeyId, requestPath, }: {
|
|
327
359
|
/**
|
|
328
360
|
* Organization ID to fetch usage metrics for
|
|
329
361
|
*/
|
|
@@ -333,7 +365,7 @@ declare class DataApiUsageMetricsService {
|
|
|
333
365
|
*/
|
|
334
366
|
startTimestamp?: number;
|
|
335
367
|
/**
|
|
336
|
-
* 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.
|
|
368
|
+
* 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.
|
|
337
369
|
*/
|
|
338
370
|
endTimestamp?: number;
|
|
339
371
|
/**
|
|
@@ -348,10 +380,6 @@ declare class DataApiUsageMetricsService {
|
|
|
348
380
|
* Filter data by chain ID.
|
|
349
381
|
*/
|
|
350
382
|
chainId?: string;
|
|
351
|
-
/**
|
|
352
|
-
* Filter data by request path.
|
|
353
|
-
*/
|
|
354
|
-
requestPath?: string;
|
|
355
383
|
/**
|
|
356
384
|
* Filter data by response status code.
|
|
357
385
|
*/
|
|
@@ -364,6 +392,10 @@ declare class DataApiUsageMetricsService {
|
|
|
364
392
|
* Filter data by API key ID.
|
|
365
393
|
*/
|
|
366
394
|
apiKeyId?: string;
|
|
395
|
+
/**
|
|
396
|
+
* Filter data by request path.
|
|
397
|
+
*/
|
|
398
|
+
requestPath?: string;
|
|
367
399
|
}): CancelablePromise<UsageMetricsResponseDTO>;
|
|
368
400
|
/**
|
|
369
401
|
* Get logs for requests made by client
|
|
@@ -371,7 +403,7 @@ declare class DataApiUsageMetricsService {
|
|
|
371
403
|
* @returns LogsResponseDTO Successful response
|
|
372
404
|
* @throws ApiError
|
|
373
405
|
*/
|
|
374
|
-
getApiLogs({ orgId, startTimestamp, endTimestamp, chainId,
|
|
406
|
+
getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, responseCode, requestType, apiKeyId, requestPath, pageToken, pageSize, }: {
|
|
375
407
|
/**
|
|
376
408
|
* Organization ID to fetch usage metrics for
|
|
377
409
|
*/
|
|
@@ -381,17 +413,13 @@ declare class DataApiUsageMetricsService {
|
|
|
381
413
|
*/
|
|
382
414
|
startTimestamp?: number;
|
|
383
415
|
/**
|
|
384
|
-
* 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.
|
|
416
|
+
* 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.
|
|
385
417
|
*/
|
|
386
418
|
endTimestamp?: number;
|
|
387
419
|
/**
|
|
388
420
|
* Filter data by chain ID.
|
|
389
421
|
*/
|
|
390
422
|
chainId?: string;
|
|
391
|
-
/**
|
|
392
|
-
* Filter data by request path.
|
|
393
|
-
*/
|
|
394
|
-
requestPath?: string;
|
|
395
423
|
/**
|
|
396
424
|
* Filter data by response status code.
|
|
397
425
|
*/
|
|
@@ -404,6 +432,10 @@ declare class DataApiUsageMetricsService {
|
|
|
404
432
|
* Filter data by API key ID.
|
|
405
433
|
*/
|
|
406
434
|
apiKeyId?: string;
|
|
435
|
+
/**
|
|
436
|
+
* Filter data by request path.
|
|
437
|
+
*/
|
|
438
|
+
requestPath?: string;
|
|
407
439
|
/**
|
|
408
440
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
409
441
|
*/
|
|
@@ -415,35 +447,32 @@ declare class DataApiUsageMetricsService {
|
|
|
415
447
|
}): CancelablePromise<LogsResponseDTO>;
|
|
416
448
|
/**
|
|
417
449
|
* 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
|
|
450
|
+
* Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
451
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
420
452
|
* @throws ApiError
|
|
421
453
|
*/
|
|
422
|
-
getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId,
|
|
454
|
+
getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
423
455
|
/**
|
|
424
|
-
*
|
|
456
|
+
* Time interval granularity for data aggregation for subnet
|
|
457
|
+
* rpc metrics
|
|
425
458
|
*/
|
|
426
|
-
timeInterval?:
|
|
459
|
+
timeInterval?: SubnetRpcTimeIntervalGranularity;
|
|
427
460
|
/**
|
|
428
461
|
* 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
462
|
*/
|
|
430
463
|
startTimestamp?: number;
|
|
431
464
|
/**
|
|
432
|
-
* 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.
|
|
465
|
+
* 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.
|
|
433
466
|
*/
|
|
434
467
|
endTimestamp?: number;
|
|
435
468
|
/**
|
|
436
469
|
* Query param for the criterion used for grouping metrics
|
|
437
470
|
*/
|
|
438
|
-
groupBy?:
|
|
471
|
+
groupBy?: RpcUsageMetricsGroupByEnum;
|
|
439
472
|
/**
|
|
440
473
|
* Filter data by chain ID.
|
|
441
474
|
*/
|
|
442
475
|
chainId?: string;
|
|
443
|
-
/**
|
|
444
|
-
* Filter data by request path.
|
|
445
|
-
*/
|
|
446
|
-
requestPath?: string;
|
|
447
476
|
/**
|
|
448
477
|
* Filter data by response status code.
|
|
449
478
|
*/
|
|
@@ -456,7 +485,56 @@ declare class DataApiUsageMetricsService {
|
|
|
456
485
|
* Filter data by Rl Bypass API Token.
|
|
457
486
|
*/
|
|
458
487
|
rlBypassApiToken?: string;
|
|
459
|
-
}): CancelablePromise<
|
|
488
|
+
}): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
|
|
489
|
+
/**
|
|
490
|
+
* Get usage metrics for the Primary Network RPC
|
|
491
|
+
* Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
492
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
493
|
+
* @throws ApiError
|
|
494
|
+
*/
|
|
495
|
+
getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, }: {
|
|
496
|
+
/**
|
|
497
|
+
* Either mainnet or testnet/fuji.
|
|
498
|
+
*/
|
|
499
|
+
network: Network;
|
|
500
|
+
/**
|
|
501
|
+
* Time interval granularity for data aggregation for subnet
|
|
502
|
+
* rpc metrics
|
|
503
|
+
*/
|
|
504
|
+
timeInterval?: SubnetRpcTimeIntervalGranularity;
|
|
505
|
+
/**
|
|
506
|
+
* 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.
|
|
507
|
+
*/
|
|
508
|
+
startTimestamp?: number;
|
|
509
|
+
/**
|
|
510
|
+
* 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.
|
|
511
|
+
*/
|
|
512
|
+
endTimestamp?: number;
|
|
513
|
+
/**
|
|
514
|
+
* Query param for the criterion used for grouping metrics
|
|
515
|
+
*/
|
|
516
|
+
groupBy?: PrimaryNetworkRpcMetricsGroupByEnum;
|
|
517
|
+
/**
|
|
518
|
+
* Filter data by response status code.
|
|
519
|
+
*/
|
|
520
|
+
responseCode?: string;
|
|
521
|
+
/**
|
|
522
|
+
* Filter data by request path.
|
|
523
|
+
*/
|
|
524
|
+
requestPath?: string;
|
|
525
|
+
/**
|
|
526
|
+
* Filter data by Country.
|
|
527
|
+
*/
|
|
528
|
+
country?: string;
|
|
529
|
+
/**
|
|
530
|
+
* Filter data by Continent.
|
|
531
|
+
*/
|
|
532
|
+
continent?: string;
|
|
533
|
+
/**
|
|
534
|
+
* Filter data by User Agent.
|
|
535
|
+
*/
|
|
536
|
+
userAgent?: string;
|
|
537
|
+
}): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
|
|
460
538
|
}
|
|
461
539
|
|
|
462
540
|
declare class DefaultService {
|
|
@@ -655,6 +733,10 @@ type ListErc1155BalancesResponse = {
|
|
|
655
733
|
* 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
734
|
*/
|
|
657
735
|
nextPageToken?: string;
|
|
736
|
+
/**
|
|
737
|
+
* The native token balance for the address.
|
|
738
|
+
*/
|
|
739
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
658
740
|
/**
|
|
659
741
|
* The list of ERC-1155 token balances for the address.
|
|
660
742
|
*/
|
|
@@ -699,11 +781,22 @@ type Erc20TokenBalance = {
|
|
|
699
781
|
* The monetary value of the balance, if a price is available for the token.
|
|
700
782
|
*/
|
|
701
783
|
balanceValue?: Money;
|
|
784
|
+
/**
|
|
785
|
+
* 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.
|
|
786
|
+
*/
|
|
787
|
+
tokenReputation: Erc20TokenBalance.tokenReputation | null;
|
|
702
788
|
};
|
|
703
789
|
declare namespace Erc20TokenBalance {
|
|
704
790
|
enum ercType {
|
|
705
791
|
ERC_20 = "ERC-20"
|
|
706
792
|
}
|
|
793
|
+
/**
|
|
794
|
+
* 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.
|
|
795
|
+
*/
|
|
796
|
+
enum tokenReputation {
|
|
797
|
+
MALICIOUS = "Malicious",
|
|
798
|
+
BENIGN = "Benign"
|
|
799
|
+
}
|
|
707
800
|
}
|
|
708
801
|
|
|
709
802
|
type ListErc20BalancesResponse = {
|
|
@@ -711,6 +804,10 @@ type ListErc20BalancesResponse = {
|
|
|
711
804
|
* 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
805
|
*/
|
|
713
806
|
nextPageToken?: string;
|
|
807
|
+
/**
|
|
808
|
+
* The native token balance for the address.
|
|
809
|
+
*/
|
|
810
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
714
811
|
/**
|
|
715
812
|
* The list of ERC-20 token balances for the address.
|
|
716
813
|
*/
|
|
@@ -722,6 +819,10 @@ type ListErc721BalancesResponse = {
|
|
|
722
819
|
* 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
820
|
*/
|
|
724
821
|
nextPageToken?: string;
|
|
822
|
+
/**
|
|
823
|
+
* The native token balance for the address.
|
|
824
|
+
*/
|
|
825
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
725
826
|
/**
|
|
726
827
|
* The list of ERC-721 token balances for the address.
|
|
727
828
|
*/
|
|
@@ -900,6 +1001,10 @@ declare class EvmBalancesService {
|
|
|
900
1001
|
}
|
|
901
1002
|
|
|
902
1003
|
type GetEvmBlockResponse = {
|
|
1004
|
+
/**
|
|
1005
|
+
* The EVM chain ID on which the block was created.
|
|
1006
|
+
*/
|
|
1007
|
+
chainId: string;
|
|
903
1008
|
/**
|
|
904
1009
|
* The block number on the chain.
|
|
905
1010
|
*/
|
|
@@ -944,6 +1049,10 @@ type GetEvmBlockResponse = {
|
|
|
944
1049
|
};
|
|
945
1050
|
|
|
946
1051
|
type EvmBlock = {
|
|
1052
|
+
/**
|
|
1053
|
+
* The EVM chain ID on which the block was created.
|
|
1054
|
+
*/
|
|
1055
|
+
chainId: string;
|
|
947
1056
|
/**
|
|
948
1057
|
* The block number on the chain.
|
|
949
1058
|
*/
|
|
@@ -998,6 +1107,26 @@ type ListEvmBlocksResponse = {
|
|
|
998
1107
|
declare class EvmBlocksService {
|
|
999
1108
|
readonly httpRequest: BaseHttpRequest;
|
|
1000
1109
|
constructor(httpRequest: BaseHttpRequest);
|
|
1110
|
+
/**
|
|
1111
|
+
* List latest blocks across all supported EVM chains
|
|
1112
|
+
* Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
|
|
1113
|
+
* @returns ListEvmBlocksResponse Successful response
|
|
1114
|
+
* @throws ApiError
|
|
1115
|
+
*/
|
|
1116
|
+
listLatestBlocksAllChains({ pageToken, pageSize, network, }: {
|
|
1117
|
+
/**
|
|
1118
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1119
|
+
*/
|
|
1120
|
+
pageToken?: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1123
|
+
*/
|
|
1124
|
+
pageSize?: number;
|
|
1125
|
+
/**
|
|
1126
|
+
* Either mainnet or testnet/fuji.
|
|
1127
|
+
*/
|
|
1128
|
+
network?: Network;
|
|
1129
|
+
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
1001
1130
|
/**
|
|
1002
1131
|
* List latest blocks
|
|
1003
1132
|
* Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
|
|
@@ -1120,20 +1249,142 @@ type ChainInfo = {
|
|
|
1120
1249
|
enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
|
|
1121
1250
|
};
|
|
1122
1251
|
|
|
1252
|
+
type ListAddressChainsResponse = {
|
|
1253
|
+
indexedChains?: Array<ChainInfo>;
|
|
1254
|
+
unindexedChains?: Array<string>;
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1123
1257
|
type ListChainsResponse = {
|
|
1124
1258
|
chains: Array<ChainInfo>;
|
|
1125
1259
|
};
|
|
1126
1260
|
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1261
|
+
/**
|
|
1262
|
+
* 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.
|
|
1263
|
+
*/
|
|
1264
|
+
declare enum TransactionMethodType {
|
|
1265
|
+
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1266
|
+
CONTRACT_CALL = "CONTRACT_CALL",
|
|
1267
|
+
CONTRACT_CREATION = "CONTRACT_CREATION"
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
type Method = {
|
|
1271
|
+
callType: TransactionMethodType;
|
|
1272
|
+
/**
|
|
1273
|
+
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
1274
|
+
*/
|
|
1275
|
+
methodHash: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* 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'.
|
|
1278
|
+
*/
|
|
1279
|
+
methodName?: string;
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1282
|
+
type RichAddress = {
|
|
1283
|
+
/**
|
|
1284
|
+
* The contract name.
|
|
1285
|
+
*/
|
|
1286
|
+
name?: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* The contract symbol.
|
|
1289
|
+
*/
|
|
1290
|
+
symbol?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
1293
|
+
*/
|
|
1294
|
+
decimals?: number;
|
|
1295
|
+
/**
|
|
1296
|
+
* The logo uri for the address.
|
|
1297
|
+
*/
|
|
1298
|
+
logoUri?: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
1301
|
+
*/
|
|
1302
|
+
address: string;
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
type NativeTransaction = {
|
|
1306
|
+
/**
|
|
1307
|
+
* The block number on the chain.
|
|
1308
|
+
*/
|
|
1309
|
+
blockNumber: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* The block finality timestamp.
|
|
1312
|
+
*/
|
|
1313
|
+
blockTimestamp: number;
|
|
1314
|
+
/**
|
|
1315
|
+
* The block hash identifier.
|
|
1316
|
+
*/
|
|
1317
|
+
blockHash: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* The EVM chain ID on which the transaction occured.
|
|
1320
|
+
*/
|
|
1321
|
+
chainId: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* The index at which the transaction occured in the block (0-indexed).
|
|
1324
|
+
*/
|
|
1325
|
+
blockIndex: number;
|
|
1326
|
+
/**
|
|
1327
|
+
* The transaction hash identifier.
|
|
1328
|
+
*/
|
|
1329
|
+
txHash: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* The transaction status, which is either 0 (failed) or 1 (successful).
|
|
1332
|
+
*/
|
|
1333
|
+
txStatus: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* The transaction type.
|
|
1336
|
+
*/
|
|
1337
|
+
txType: number;
|
|
1338
|
+
/**
|
|
1339
|
+
* The gas limit set for the transaction.
|
|
1340
|
+
*/
|
|
1341
|
+
gasLimit: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* The amount of gas used.
|
|
1344
|
+
*/
|
|
1345
|
+
gasUsed: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* The gas price denominated by the number of decimals of the native token.
|
|
1348
|
+
*/
|
|
1349
|
+
gasPrice: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* The nonce used by the sender of the transaction.
|
|
1352
|
+
*/
|
|
1353
|
+
nonce: string;
|
|
1354
|
+
from: RichAddress;
|
|
1355
|
+
to: RichAddress;
|
|
1356
|
+
method?: Method;
|
|
1357
|
+
value: string;
|
|
1358
|
+
};
|
|
1359
|
+
|
|
1360
|
+
type ListNativeTransactionsResponse = {
|
|
1361
|
+
/**
|
|
1362
|
+
* 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.
|
|
1363
|
+
*/
|
|
1364
|
+
nextPageToken?: string;
|
|
1365
|
+
transactions: Array<NativeTransaction>;
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
declare enum TransactionStatus {
|
|
1369
|
+
FAILED = "failed",
|
|
1370
|
+
SUCCESS = "success"
|
|
1132
1371
|
}
|
|
1133
1372
|
|
|
1134
1373
|
declare class EvmChainsService {
|
|
1135
1374
|
readonly httpRequest: BaseHttpRequest;
|
|
1136
1375
|
constructor(httpRequest: BaseHttpRequest);
|
|
1376
|
+
/**
|
|
1377
|
+
* List all chains associated with a given address
|
|
1378
|
+
* 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.
|
|
1379
|
+
* @returns ListAddressChainsResponse Successful response
|
|
1380
|
+
* @throws ApiError
|
|
1381
|
+
*/
|
|
1382
|
+
listAddressChains({ address, }: {
|
|
1383
|
+
/**
|
|
1384
|
+
* A wallet address.
|
|
1385
|
+
*/
|
|
1386
|
+
address: string;
|
|
1387
|
+
}): CancelablePromise<ListAddressChainsResponse>;
|
|
1137
1388
|
/**
|
|
1138
1389
|
* List chains
|
|
1139
1390
|
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
@@ -1163,9 +1414,11 @@ declare class EvmChainsService {
|
|
|
1163
1414
|
chainId: string;
|
|
1164
1415
|
}): CancelablePromise<GetChainResponse>;
|
|
1165
1416
|
/**
|
|
1166
|
-
*
|
|
1167
|
-
* Gets
|
|
1168
|
-
*
|
|
1417
|
+
* @deprecated
|
|
1418
|
+
* **[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.
|
|
1419
|
+
*
|
|
1420
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/address/:address/chains endpoint instead** .
|
|
1421
|
+
* @returns ListAddressChainsResponse Successful response
|
|
1169
1422
|
* @throws ApiError
|
|
1170
1423
|
*/
|
|
1171
1424
|
getAddressChains({ address, }: {
|
|
@@ -1173,7 +1426,55 @@ declare class EvmChainsService {
|
|
|
1173
1426
|
* A wallet address.
|
|
1174
1427
|
*/
|
|
1175
1428
|
address: string;
|
|
1176
|
-
}): CancelablePromise<
|
|
1429
|
+
}): CancelablePromise<ListAddressChainsResponse>;
|
|
1430
|
+
/**
|
|
1431
|
+
* @deprecated
|
|
1432
|
+
* **[Deprecated]** Lists the latest transactions for all supported EVM chains. Filterable by status.
|
|
1433
|
+
*
|
|
1434
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/transactions endpoint instead** .
|
|
1435
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
1436
|
+
* @throws ApiError
|
|
1437
|
+
*/
|
|
1438
|
+
listAllLatestTransactions({ pageToken, pageSize, network, status, }: {
|
|
1439
|
+
/**
|
|
1440
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1441
|
+
*/
|
|
1442
|
+
pageToken?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1445
|
+
*/
|
|
1446
|
+
pageSize?: number;
|
|
1447
|
+
/**
|
|
1448
|
+
* Either mainnet or testnet/fuji.
|
|
1449
|
+
*/
|
|
1450
|
+
network?: Network;
|
|
1451
|
+
/**
|
|
1452
|
+
* A status filter for listed transactions.
|
|
1453
|
+
*/
|
|
1454
|
+
status?: TransactionStatus;
|
|
1455
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1456
|
+
/**
|
|
1457
|
+
* @deprecated
|
|
1458
|
+
* **[Deprecated]** Lists the latest blocks for all supported EVM chains. Filterable by network.
|
|
1459
|
+
*
|
|
1460
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/blocks endpoint instead** .
|
|
1461
|
+
* @returns ListEvmBlocksResponse Successful response
|
|
1462
|
+
* @throws ApiError
|
|
1463
|
+
*/
|
|
1464
|
+
listAllLatestBlocks({ pageToken, pageSize, network, }: {
|
|
1465
|
+
/**
|
|
1466
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1467
|
+
*/
|
|
1468
|
+
pageToken?: string;
|
|
1469
|
+
/**
|
|
1470
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1471
|
+
*/
|
|
1472
|
+
pageSize?: number;
|
|
1473
|
+
/**
|
|
1474
|
+
* Either mainnet or testnet/fuji.
|
|
1475
|
+
*/
|
|
1476
|
+
network?: Network;
|
|
1477
|
+
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
1177
1478
|
}
|
|
1178
1479
|
|
|
1179
1480
|
type ImageAsset = {
|
|
@@ -1502,34 +1803,11 @@ type Erc1155Token = {
|
|
|
1502
1803
|
tokenUri: string;
|
|
1503
1804
|
metadata: Erc1155TokenMetadata;
|
|
1504
1805
|
};
|
|
1505
|
-
declare namespace Erc1155Token {
|
|
1506
|
-
enum ercType {
|
|
1507
|
-
ERC_1155 = "ERC-1155"
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
type RichAddress = {
|
|
1512
|
-
/**
|
|
1513
|
-
* The contract name.
|
|
1514
|
-
*/
|
|
1515
|
-
name?: string;
|
|
1516
|
-
/**
|
|
1517
|
-
* The contract symbol.
|
|
1518
|
-
*/
|
|
1519
|
-
symbol?: string;
|
|
1520
|
-
/**
|
|
1521
|
-
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
1522
|
-
*/
|
|
1523
|
-
decimals?: number;
|
|
1524
|
-
/**
|
|
1525
|
-
* The logo uri for the address.
|
|
1526
|
-
*/
|
|
1527
|
-
logoUri?: string;
|
|
1528
|
-
/**
|
|
1529
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
1530
|
-
*/
|
|
1531
|
-
address: string;
|
|
1532
|
-
};
|
|
1806
|
+
declare namespace Erc1155Token {
|
|
1807
|
+
enum ercType {
|
|
1808
|
+
ERC_1155 = "ERC-1155"
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1533
1811
|
|
|
1534
1812
|
type Erc1155TransferDetails = {
|
|
1535
1813
|
from: RichAddress;
|
|
@@ -1615,27 +1893,6 @@ type Erc721TransferDetails = {
|
|
|
1615
1893
|
erc721Token: Erc721Token;
|
|
1616
1894
|
};
|
|
1617
1895
|
|
|
1618
|
-
/**
|
|
1619
|
-
* 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.
|
|
1620
|
-
*/
|
|
1621
|
-
declare enum TransactionMethodType {
|
|
1622
|
-
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1623
|
-
CONTRACT_CALL = "CONTRACT_CALL",
|
|
1624
|
-
CONTRACT_CREATION = "CONTRACT_CREATION"
|
|
1625
|
-
}
|
|
1626
|
-
|
|
1627
|
-
type Method = {
|
|
1628
|
-
callType: TransactionMethodType;
|
|
1629
|
-
/**
|
|
1630
|
-
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
1631
|
-
*/
|
|
1632
|
-
methodHash: string;
|
|
1633
|
-
/**
|
|
1634
|
-
* 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'.
|
|
1635
|
-
*/
|
|
1636
|
-
methodName?: string;
|
|
1637
|
-
};
|
|
1638
|
-
|
|
1639
1896
|
type FullNativeTransactionDetails = {
|
|
1640
1897
|
/**
|
|
1641
1898
|
* The block number on the chain.
|
|
@@ -1649,6 +1906,10 @@ type FullNativeTransactionDetails = {
|
|
|
1649
1906
|
* The block hash identifier.
|
|
1650
1907
|
*/
|
|
1651
1908
|
blockHash: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* The EVM chain ID on which the transaction occured.
|
|
1911
|
+
*/
|
|
1912
|
+
chainId: string;
|
|
1652
1913
|
/**
|
|
1653
1914
|
* The index at which the transaction occured in the block (0-indexed).
|
|
1654
1915
|
*/
|
|
@@ -1912,65 +2173,6 @@ type ListInternalTransactionsResponse = {
|
|
|
1912
2173
|
transactions: Array<InternalTransaction>;
|
|
1913
2174
|
};
|
|
1914
2175
|
|
|
1915
|
-
type NativeTransaction = {
|
|
1916
|
-
/**
|
|
1917
|
-
* The block number on the chain.
|
|
1918
|
-
*/
|
|
1919
|
-
blockNumber: string;
|
|
1920
|
-
/**
|
|
1921
|
-
* The block finality timestamp.
|
|
1922
|
-
*/
|
|
1923
|
-
blockTimestamp: number;
|
|
1924
|
-
/**
|
|
1925
|
-
* The block hash identifier.
|
|
1926
|
-
*/
|
|
1927
|
-
blockHash: string;
|
|
1928
|
-
/**
|
|
1929
|
-
* The index at which the transaction occured in the block (0-indexed).
|
|
1930
|
-
*/
|
|
1931
|
-
blockIndex: number;
|
|
1932
|
-
/**
|
|
1933
|
-
* The transaction hash identifier.
|
|
1934
|
-
*/
|
|
1935
|
-
txHash: string;
|
|
1936
|
-
/**
|
|
1937
|
-
* The transaction status, which is either 0 (failed) or 1 (successful).
|
|
1938
|
-
*/
|
|
1939
|
-
txStatus: string;
|
|
1940
|
-
/**
|
|
1941
|
-
* The transaction type.
|
|
1942
|
-
*/
|
|
1943
|
-
txType: number;
|
|
1944
|
-
/**
|
|
1945
|
-
* The gas limit set for the transaction.
|
|
1946
|
-
*/
|
|
1947
|
-
gasLimit: string;
|
|
1948
|
-
/**
|
|
1949
|
-
* The amount of gas used.
|
|
1950
|
-
*/
|
|
1951
|
-
gasUsed: string;
|
|
1952
|
-
/**
|
|
1953
|
-
* The gas price denominated by the number of decimals of the native token.
|
|
1954
|
-
*/
|
|
1955
|
-
gasPrice: string;
|
|
1956
|
-
/**
|
|
1957
|
-
* The nonce used by the sender of the transaction.
|
|
1958
|
-
*/
|
|
1959
|
-
nonce: string;
|
|
1960
|
-
from: RichAddress;
|
|
1961
|
-
to: RichAddress;
|
|
1962
|
-
method?: Method;
|
|
1963
|
-
value: string;
|
|
1964
|
-
};
|
|
1965
|
-
|
|
1966
|
-
type ListNativeTransactionsResponse = {
|
|
1967
|
-
/**
|
|
1968
|
-
* 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.
|
|
1969
|
-
*/
|
|
1970
|
-
nextPageToken?: string;
|
|
1971
|
-
transactions: Array<NativeTransaction>;
|
|
1972
|
-
};
|
|
1973
|
-
|
|
1974
2176
|
type TransactionDetails = {
|
|
1975
2177
|
/**
|
|
1976
2178
|
* The native (top-level) transaction details.
|
|
@@ -2015,14 +2217,33 @@ declare enum SortOrder {
|
|
|
2015
2217
|
DESC = "desc"
|
|
2016
2218
|
}
|
|
2017
2219
|
|
|
2018
|
-
declare enum TransactionStatus {
|
|
2019
|
-
FAILED = "failed",
|
|
2020
|
-
SUCCESS = "success"
|
|
2021
|
-
}
|
|
2022
|
-
|
|
2023
2220
|
declare class EvmTransactionsService {
|
|
2024
2221
|
readonly httpRequest: BaseHttpRequest;
|
|
2025
2222
|
constructor(httpRequest: BaseHttpRequest);
|
|
2223
|
+
/**
|
|
2224
|
+
* List the latest transactions across all supported EVM chains
|
|
2225
|
+
* Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
|
|
2226
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
2227
|
+
* @throws ApiError
|
|
2228
|
+
*/
|
|
2229
|
+
listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
|
|
2230
|
+
/**
|
|
2231
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2232
|
+
*/
|
|
2233
|
+
pageToken?: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2236
|
+
*/
|
|
2237
|
+
pageSize?: number;
|
|
2238
|
+
/**
|
|
2239
|
+
* Either mainnet or testnet/fuji.
|
|
2240
|
+
*/
|
|
2241
|
+
network?: Network;
|
|
2242
|
+
/**
|
|
2243
|
+
* A status filter for listed transactions.
|
|
2244
|
+
*/
|
|
2245
|
+
status?: TransactionStatus;
|
|
2246
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2026
2247
|
/**
|
|
2027
2248
|
* Get deployment transaction
|
|
2028
2249
|
* If the address is a smart contract, returns the transaction in which it was deployed.
|
|
@@ -2321,7 +2542,7 @@ declare class EvmTransactionsService {
|
|
|
2321
2542
|
* @returns ListNativeTransactionsResponse Successful response
|
|
2322
2543
|
* @throws ApiError
|
|
2323
2544
|
*/
|
|
2324
|
-
getTransactionsForBlock({ chainId, blockId, }: {
|
|
2545
|
+
getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
|
|
2325
2546
|
/**
|
|
2326
2547
|
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2327
2548
|
*/
|
|
@@ -2330,6 +2551,14 @@ declare class EvmTransactionsService {
|
|
|
2330
2551
|
* A block identifier which is either a block number or the block hash.
|
|
2331
2552
|
*/
|
|
2332
2553
|
blockId: string;
|
|
2554
|
+
/**
|
|
2555
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2556
|
+
*/
|
|
2557
|
+
pageToken?: string;
|
|
2558
|
+
/**
|
|
2559
|
+
* The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
|
|
2560
|
+
*/
|
|
2561
|
+
pageSize?: number;
|
|
2333
2562
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2334
2563
|
/**
|
|
2335
2564
|
* List latest transactions
|
|
@@ -2702,10 +2931,61 @@ type ListDelegatorDetailsResponse = {
|
|
|
2702
2931
|
delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
|
|
2703
2932
|
};
|
|
2704
2933
|
|
|
2934
|
+
type BalanceOwner = {
|
|
2935
|
+
addresses: Array<string>;
|
|
2936
|
+
threshold: number;
|
|
2937
|
+
};
|
|
2938
|
+
|
|
2939
|
+
type L1ValidatorDetailsFull = {
|
|
2940
|
+
/**
|
|
2941
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
2942
|
+
*/
|
|
2943
|
+
validationId: string;
|
|
2944
|
+
nodeId: string;
|
|
2945
|
+
subnetId: string;
|
|
2946
|
+
/**
|
|
2947
|
+
* 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
|
|
2948
|
+
*/
|
|
2949
|
+
weight: number;
|
|
2950
|
+
/**
|
|
2951
|
+
* Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
|
|
2952
|
+
*/
|
|
2953
|
+
remainingBalance: number;
|
|
2954
|
+
/**
|
|
2955
|
+
* The timestamp of the transaction which created this L1 validator
|
|
2956
|
+
*/
|
|
2957
|
+
creationTimestamp: number;
|
|
2958
|
+
blsCredentials: Record<string, any>;
|
|
2959
|
+
/**
|
|
2960
|
+
* The L1 validator owner's balance, returned after it's disabled or removed
|
|
2961
|
+
*/
|
|
2962
|
+
remainingBalanceOwner: BalanceOwner;
|
|
2963
|
+
/**
|
|
2964
|
+
* Owner ddresses details which can disable or remove the L1 validator
|
|
2965
|
+
*/
|
|
2966
|
+
deactivationOwner: BalanceOwner;
|
|
2967
|
+
};
|
|
2968
|
+
|
|
2969
|
+
type ListL1ValidatorsResponse = {
|
|
2970
|
+
/**
|
|
2971
|
+
* 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.
|
|
2972
|
+
*/
|
|
2973
|
+
nextPageToken?: string;
|
|
2974
|
+
/**
|
|
2975
|
+
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
2976
|
+
*/
|
|
2977
|
+
validators: Array<L1ValidatorDetailsFull>;
|
|
2978
|
+
};
|
|
2979
|
+
|
|
2705
2980
|
type BlockchainInfo = {
|
|
2706
2981
|
blockchainId: string;
|
|
2707
2982
|
};
|
|
2708
2983
|
|
|
2984
|
+
type L1ValidatorManagerDetails = {
|
|
2985
|
+
blockchainId: string;
|
|
2986
|
+
contractAddress: string;
|
|
2987
|
+
};
|
|
2988
|
+
|
|
2709
2989
|
type SubnetOwnershipInfo = {
|
|
2710
2990
|
/**
|
|
2711
2991
|
* Locktime in seconds after which Subnet owners can control this Subnet.
|
|
@@ -2744,6 +3024,18 @@ type Subnet = {
|
|
|
2744
3024
|
* Latest subnet owner details for this Subnet.
|
|
2745
3025
|
*/
|
|
2746
3026
|
subnetOwnershipInfo: SubnetOwnershipInfo;
|
|
3027
|
+
/**
|
|
3028
|
+
* Whether the subnet is an L1 or not.
|
|
3029
|
+
*/
|
|
3030
|
+
isL1: boolean;
|
|
3031
|
+
/**
|
|
3032
|
+
* Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
|
|
3033
|
+
*/
|
|
3034
|
+
l1ConversionTransactionHash?: string;
|
|
3035
|
+
/**
|
|
3036
|
+
* L1 validator manager details.
|
|
3037
|
+
*/
|
|
3038
|
+
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
2747
3039
|
blockchains: Array<BlockchainInfo>;
|
|
2748
3040
|
};
|
|
2749
3041
|
|
|
@@ -3210,6 +3502,39 @@ declare class PrimaryNetworkService {
|
|
|
3210
3502
|
*/
|
|
3211
3503
|
nodeIds?: string;
|
|
3212
3504
|
}): CancelablePromise<ListDelegatorDetailsResponse>;
|
|
3505
|
+
/**
|
|
3506
|
+
* List L1 validators
|
|
3507
|
+
* Lists details for L1 validators. By default, returns details for all active L1 validators. Filterable by validator node ids, subnet id, and validation id.
|
|
3508
|
+
* @returns ListL1ValidatorsResponse Successful response
|
|
3509
|
+
* @throws ApiError
|
|
3510
|
+
*/
|
|
3511
|
+
listL1Validators({ network, pageToken, pageSize, l1ValidationId, includeInactiveL1Validators, nodeId, subnetId, }: {
|
|
3512
|
+
/**
|
|
3513
|
+
* Either mainnet or testnet/fuji.
|
|
3514
|
+
*/
|
|
3515
|
+
network: Network;
|
|
3516
|
+
/**
|
|
3517
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3518
|
+
*/
|
|
3519
|
+
pageToken?: string;
|
|
3520
|
+
/**
|
|
3521
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3522
|
+
*/
|
|
3523
|
+
pageSize?: number;
|
|
3524
|
+
/**
|
|
3525
|
+
* The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
|
|
3526
|
+
*/
|
|
3527
|
+
l1ValidationId?: any;
|
|
3528
|
+
includeInactiveL1Validators?: boolean;
|
|
3529
|
+
/**
|
|
3530
|
+
* A valid node ID in format 'NodeID-HASH'.
|
|
3531
|
+
*/
|
|
3532
|
+
nodeId?: string;
|
|
3533
|
+
/**
|
|
3534
|
+
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
3535
|
+
*/
|
|
3536
|
+
subnetId?: any;
|
|
3537
|
+
}): CancelablePromise<ListL1ValidatorsResponse>;
|
|
3213
3538
|
}
|
|
3214
3539
|
|
|
3215
3540
|
declare enum BlockchainId {
|
|
@@ -3256,12 +3581,6 @@ type CChainAtomicBalances = {
|
|
|
3256
3581
|
atomicMemoryLocked: Array<CChainSharedAssetBalance>;
|
|
3257
3582
|
};
|
|
3258
3583
|
|
|
3259
|
-
declare enum PrimaryNetwork {
|
|
3260
|
-
MAINNET = "mainnet",
|
|
3261
|
-
FUJI = "fuji",
|
|
3262
|
-
DEVNET = "devnet"
|
|
3263
|
-
}
|
|
3264
|
-
|
|
3265
3584
|
declare enum PrimaryNetworkChainName {
|
|
3266
3585
|
P_CHAIN = "p-chain",
|
|
3267
3586
|
X_CHAIN = "x-chain",
|
|
@@ -3270,7 +3589,7 @@ declare enum PrimaryNetworkChainName {
|
|
|
3270
3589
|
|
|
3271
3590
|
type PrimaryNetworkChainInfo = {
|
|
3272
3591
|
chainName: PrimaryNetworkChainName;
|
|
3273
|
-
network:
|
|
3592
|
+
network: Network;
|
|
3274
3593
|
};
|
|
3275
3594
|
|
|
3276
3595
|
type ListCChainAtomicBalancesResponse = {
|
|
@@ -3462,6 +3781,8 @@ type GetPrimaryNetworkBlockResponse = {
|
|
|
3462
3781
|
txCount: number;
|
|
3463
3782
|
transactions: Array<string>;
|
|
3464
3783
|
blockSizeBytes: number;
|
|
3784
|
+
l1ValidatorsAccruedFees?: number;
|
|
3785
|
+
activeL1Validators?: number;
|
|
3465
3786
|
currentSupply?: string;
|
|
3466
3787
|
proposerDetails?: ProposerDetails;
|
|
3467
3788
|
};
|
|
@@ -3475,6 +3796,8 @@ type PrimaryNetworkBlock = {
|
|
|
3475
3796
|
txCount: number;
|
|
3476
3797
|
transactions: Array<string>;
|
|
3477
3798
|
blockSizeBytes: number;
|
|
3799
|
+
l1ValidatorsAccruedFees?: number;
|
|
3800
|
+
activeL1Validators?: number;
|
|
3478
3801
|
currentSupply?: string;
|
|
3479
3802
|
proposerDetails?: ProposerDetails;
|
|
3480
3803
|
};
|
|
@@ -3517,7 +3840,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3517
3840
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3518
3841
|
* @throws ApiError
|
|
3519
3842
|
*/
|
|
3520
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
3843
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3521
3844
|
/**
|
|
3522
3845
|
* A primary network blockchain id or alias.
|
|
3523
3846
|
*/
|
|
@@ -3530,6 +3853,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3530
3853
|
* A primary network (P or X chain) nodeId.
|
|
3531
3854
|
*/
|
|
3532
3855
|
nodeId: string;
|
|
3856
|
+
/**
|
|
3857
|
+
* Query param for retrieving items after a specific timestamp.
|
|
3858
|
+
*/
|
|
3859
|
+
startTimestamp?: number;
|
|
3860
|
+
/**
|
|
3861
|
+
* Query param for retrieving items before a specific timestamp.
|
|
3862
|
+
*/
|
|
3863
|
+
endTimestamp?: number;
|
|
3533
3864
|
/**
|
|
3534
3865
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3535
3866
|
*/
|
|
@@ -3545,7 +3876,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3545
3876
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3546
3877
|
* @throws ApiError
|
|
3547
3878
|
*/
|
|
3548
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
3879
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3549
3880
|
/**
|
|
3550
3881
|
* A primary network blockchain id or alias.
|
|
3551
3882
|
*/
|
|
@@ -3554,6 +3885,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3554
3885
|
* Either mainnet or testnet/fuji.
|
|
3555
3886
|
*/
|
|
3556
3887
|
network: Network;
|
|
3888
|
+
/**
|
|
3889
|
+
* Query param for retrieving items after a specific timestamp.
|
|
3890
|
+
*/
|
|
3891
|
+
startTimestamp?: number;
|
|
3892
|
+
/**
|
|
3893
|
+
* Query param for retrieving items before a specific timestamp.
|
|
3894
|
+
*/
|
|
3895
|
+
endTimestamp?: number;
|
|
3557
3896
|
/**
|
|
3558
3897
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3559
3898
|
*/
|
|
@@ -3963,6 +4302,28 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
3963
4302
|
chainInfo: PrimaryNetworkChainInfo;
|
|
3964
4303
|
};
|
|
3965
4304
|
|
|
4305
|
+
type L1ValidatorDetailsTransaction = {
|
|
4306
|
+
/**
|
|
4307
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
4308
|
+
*/
|
|
4309
|
+
validationId: string;
|
|
4310
|
+
nodeId: string;
|
|
4311
|
+
subnetId: string;
|
|
4312
|
+
/**
|
|
4313
|
+
* 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
|
|
4314
|
+
*/
|
|
4315
|
+
weight: number;
|
|
4316
|
+
/**
|
|
4317
|
+
* Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
|
|
4318
|
+
*/
|
|
4319
|
+
remainingBalance: number;
|
|
4320
|
+
/**
|
|
4321
|
+
* The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
|
|
4322
|
+
*/
|
|
4323
|
+
balanceChange?: number;
|
|
4324
|
+
blsCredentials?: Record<string, any>;
|
|
4325
|
+
};
|
|
4326
|
+
|
|
3966
4327
|
declare enum PChainTransactionType {
|
|
3967
4328
|
ADD_VALIDATOR_TX = "AddValidatorTx",
|
|
3968
4329
|
ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
|
|
@@ -3979,6 +4340,11 @@ declare enum PChainTransactionType {
|
|
|
3979
4340
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3980
4341
|
BASE_TX = "BaseTx",
|
|
3981
4342
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
4343
|
+
CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
|
|
4344
|
+
REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
|
|
4345
|
+
SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
|
|
4346
|
+
DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
|
|
4347
|
+
INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
|
|
3982
4348
|
UNKNOWN = "UNKNOWN"
|
|
3983
4349
|
}
|
|
3984
4350
|
|
|
@@ -4067,6 +4433,10 @@ type PChainTransaction = {
|
|
|
4067
4433
|
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4068
4434
|
*/
|
|
4069
4435
|
amountStaked: Array<AssetAmount>;
|
|
4436
|
+
/**
|
|
4437
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4438
|
+
*/
|
|
4439
|
+
amountL1ValidatorBalanceBurned: Array<AssetAmount>;
|
|
4070
4440
|
/**
|
|
4071
4441
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4072
4442
|
*/
|
|
@@ -4087,6 +4457,14 @@ type PChainTransaction = {
|
|
|
4087
4457
|
* Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx
|
|
4088
4458
|
*/
|
|
4089
4459
|
subnetId?: string;
|
|
4460
|
+
/**
|
|
4461
|
+
* Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1
|
|
4462
|
+
*/
|
|
4463
|
+
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
4464
|
+
/**
|
|
4465
|
+
* 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
|
|
4466
|
+
*/
|
|
4467
|
+
l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
|
|
4090
4468
|
/**
|
|
4091
4469
|
* Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4092
4470
|
*/
|
|
@@ -4288,6 +4666,11 @@ declare enum PrimaryNetworkTxType {
|
|
|
4288
4666
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
4289
4667
|
BASE_TX = "BaseTx",
|
|
4290
4668
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
4669
|
+
CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
|
|
4670
|
+
REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
|
|
4671
|
+
SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
|
|
4672
|
+
DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
|
|
4673
|
+
INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
|
|
4291
4674
|
UNKNOWN = "UNKNOWN",
|
|
4292
4675
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
4293
4676
|
OPERATION_TX = "OperationTx"
|
|
@@ -4322,11 +4705,13 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4322
4705
|
*
|
|
4323
4706
|
* 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.
|
|
4324
4707
|
*
|
|
4708
|
+
* 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.
|
|
4709
|
+
*
|
|
4325
4710
|
* 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.
|
|
4326
4711
|
* @returns any Successful response
|
|
4327
4712
|
* @throws ApiError
|
|
4328
4713
|
*/
|
|
4329
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
4714
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, l1ValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
4330
4715
|
/**
|
|
4331
4716
|
* A primary network blockchain id or alias.
|
|
4332
4717
|
*/
|
|
@@ -4339,6 +4724,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4339
4724
|
* 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.
|
|
4340
4725
|
*/
|
|
4341
4726
|
addresses?: string;
|
|
4727
|
+
l1ValidationId?: string;
|
|
4342
4728
|
/**
|
|
4343
4729
|
* Query param for filtering items based on transaction types.
|
|
4344
4730
|
*/
|
|
@@ -4614,61 +5000,12 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4614
5000
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4615
5001
|
}
|
|
4616
5002
|
|
|
4617
|
-
type RpcErrorDto = {
|
|
4618
|
-
code: number;
|
|
4619
|
-
message: string;
|
|
4620
|
-
data?: Record<string, any>;
|
|
4621
|
-
};
|
|
4622
|
-
|
|
4623
|
-
type RpcErrorResponseDto = {
|
|
4624
|
-
jsonrpc: string;
|
|
4625
|
-
id?: (string | number);
|
|
4626
|
-
error: RpcErrorDto;
|
|
4627
|
-
};
|
|
4628
|
-
|
|
4629
|
-
type RpcRequestBodyDto = {
|
|
4630
|
-
method: string;
|
|
4631
|
-
params?: Record<string, any>;
|
|
4632
|
-
id?: (string | number);
|
|
4633
|
-
jsonrpc?: string;
|
|
4634
|
-
};
|
|
4635
|
-
|
|
4636
|
-
type RpcSuccessResponseDto = {
|
|
4637
|
-
jsonrpc: string;
|
|
4638
|
-
id?: (string | number);
|
|
4639
|
-
result: Record<string, any>;
|
|
4640
|
-
};
|
|
4641
|
-
|
|
4642
|
-
declare class RpcService {
|
|
4643
|
-
readonly httpRequest: BaseHttpRequest;
|
|
4644
|
-
constructor(httpRequest: BaseHttpRequest);
|
|
4645
|
-
/**
|
|
4646
|
-
* Calls JSON-RPC method
|
|
4647
|
-
* Calls JSON-RPC method.
|
|
4648
|
-
* @returns any Successful response
|
|
4649
|
-
* @throws ApiError
|
|
4650
|
-
*/
|
|
4651
|
-
rpc({ chainId, requestBody, }: {
|
|
4652
|
-
/**
|
|
4653
|
-
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
4654
|
-
*/
|
|
4655
|
-
chainId: string;
|
|
4656
|
-
requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
|
|
4657
|
-
}): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
|
|
4658
|
-
}
|
|
4659
|
-
|
|
4660
5003
|
type SignatureAggregationResponse = {
|
|
4661
5004
|
signedMessage: string;
|
|
4662
5005
|
};
|
|
4663
5006
|
|
|
4664
5007
|
type SignatureAggregatorRequest = {
|
|
4665
|
-
|
|
4666
|
-
* Must be defined if justification is not defined
|
|
4667
|
-
*/
|
|
4668
|
-
message?: string;
|
|
4669
|
-
/**
|
|
4670
|
-
* Must be defined if message is not defined
|
|
4671
|
-
*/
|
|
5008
|
+
message: string;
|
|
4672
5009
|
justification?: string;
|
|
4673
5010
|
signingSubnetId?: string;
|
|
4674
5011
|
quorumPercentage?: number;
|
|
@@ -4683,7 +5020,11 @@ declare class SignatureAggregatorService {
|
|
|
4683
5020
|
* @returns SignatureAggregationResponse Successful response
|
|
4684
5021
|
* @throws ApiError
|
|
4685
5022
|
*/
|
|
4686
|
-
aggregateSignatures({ requestBody, }: {
|
|
5023
|
+
aggregateSignatures({ network, requestBody, }: {
|
|
5024
|
+
/**
|
|
5025
|
+
* Either mainnet or testnet/fuji.
|
|
5026
|
+
*/
|
|
5027
|
+
network: Network;
|
|
4687
5028
|
requestBody: SignatureAggregatorRequest;
|
|
4688
5029
|
}): CancelablePromise<SignatureAggregationResponse>;
|
|
4689
5030
|
}
|
|
@@ -4933,7 +5274,7 @@ type CreateWebhookRequest = {
|
|
|
4933
5274
|
name?: string;
|
|
4934
5275
|
description?: string;
|
|
4935
5276
|
/**
|
|
4936
|
-
* Whether to include traces in the webhook payload.
|
|
5277
|
+
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
4937
5278
|
*/
|
|
4938
5279
|
includeInternalTxs?: boolean;
|
|
4939
5280
|
/**
|
|
@@ -4993,6 +5334,9 @@ type UpdateWebhookRequest = {
|
|
|
4993
5334
|
description?: string;
|
|
4994
5335
|
url?: string;
|
|
4995
5336
|
status?: WebhookStatusType;
|
|
5337
|
+
/**
|
|
5338
|
+
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
5339
|
+
*/
|
|
4996
5340
|
includeInternalTxs?: boolean;
|
|
4997
5341
|
includeLogs?: boolean;
|
|
4998
5342
|
};
|
|
@@ -5152,7 +5496,6 @@ declare class Glacier {
|
|
|
5152
5496
|
readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
|
|
5153
5497
|
readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
|
|
5154
5498
|
readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
|
|
5155
|
-
readonly rpc: RpcService;
|
|
5156
5499
|
readonly signatureAggregator: SignatureAggregatorService;
|
|
5157
5500
|
readonly teleporter: TeleporterService;
|
|
5158
5501
|
readonly webhooks: WebhooksService;
|
|
@@ -5308,4 +5651,4 @@ type Unauthorized = {
|
|
|
5308
5651
|
error: string;
|
|
5309
5652
|
};
|
|
5310
5653
|
|
|
5311
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders,
|
|
5654
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, 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, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|