@avalabs/glacier-sdk 3.1.0-canary.d6c8ab8.0 → 3.1.0-canary.d7d0e50.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 +608 -160
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +2 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/AccessRequest.d.ts +12 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +21 -0
- package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
- 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/L1ValidatorDetailsTransaction.d.ts +1 -1
- 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/NativeTransaction.d.ts +4 -0
- package/esm/generated/models/NotificationsResponse.d.ts +5 -0
- package/esm/generated/models/PChainTransaction.d.ts +20 -8
- package/esm/generated/models/PChainUtxo.d.ts +27 -0
- package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +9 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.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/StakingDistribution.d.ts +9 -0
- package/esm/generated/models/Subnet.d.ts +4 -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/UnsubscribeRequest.d.ts +12 -0
- package/esm/generated/models/UtxoType.d.ts +3 -0
- package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +56 -4
- 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 +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/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/SignatureAggregatorService.d.ts +6 -1
- package/esm/generated/services/SignatureAggregatorService.js +1 -1
- package/esm/index.d.ts +10 -1
- package/esm/index.js +1 -1
- package/package.json +2 -2
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
|
|
@@ -209,28 +237,21 @@ type RpcMetrics = {
|
|
|
209
237
|
values: Array<RpcUsageMetricsValueAggregated>;
|
|
210
238
|
};
|
|
211
239
|
|
|
212
|
-
type
|
|
240
|
+
type SubnetRpcUsageMetricsResponseDTO = {
|
|
213
241
|
/**
|
|
214
242
|
* Duration in which the metrics value is aggregated
|
|
215
243
|
*/
|
|
216
244
|
aggregateDuration: string;
|
|
217
|
-
/**
|
|
218
|
-
* ChainId for which the metrics are aggregated
|
|
219
|
-
*/
|
|
220
|
-
chainId: string;
|
|
221
245
|
/**
|
|
222
246
|
* Metrics values
|
|
223
247
|
*/
|
|
224
248
|
metrics: Array<RpcMetrics>;
|
|
249
|
+
/**
|
|
250
|
+
* ChainId for which the metrics are aggregated
|
|
251
|
+
*/
|
|
252
|
+
chainId: string;
|
|
225
253
|
};
|
|
226
254
|
|
|
227
|
-
declare enum SubnetRpcTimeIntervalGranularity {
|
|
228
|
-
HOURLY = "hourly",
|
|
229
|
-
DAILY = "daily",
|
|
230
|
-
WEEKLY = "weekly",
|
|
231
|
-
MONTHLY = "monthly"
|
|
232
|
-
}
|
|
233
|
-
|
|
234
255
|
declare enum TimeIntervalGranularityExtended {
|
|
235
256
|
MINUTE = "minute",
|
|
236
257
|
HOURLY = "hourly",
|
|
@@ -427,7 +448,7 @@ declare class DataApiUsageMetricsService {
|
|
|
427
448
|
/**
|
|
428
449
|
* Get usage metrics for the Subnet RPC
|
|
429
450
|
* Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
430
|
-
* @returns
|
|
451
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
431
452
|
* @throws ApiError
|
|
432
453
|
*/
|
|
433
454
|
getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
@@ -447,7 +468,7 @@ declare class DataApiUsageMetricsService {
|
|
|
447
468
|
/**
|
|
448
469
|
* Query param for the criterion used for grouping metrics
|
|
449
470
|
*/
|
|
450
|
-
groupBy?:
|
|
471
|
+
groupBy?: RpcUsageMetricsGroupByEnum;
|
|
451
472
|
/**
|
|
452
473
|
* Filter data by chain ID.
|
|
453
474
|
*/
|
|
@@ -464,7 +485,56 @@ declare class DataApiUsageMetricsService {
|
|
|
464
485
|
* Filter data by Rl Bypass API Token.
|
|
465
486
|
*/
|
|
466
487
|
rlBypassApiToken?: string;
|
|
467
|
-
}): 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>;
|
|
468
538
|
}
|
|
469
539
|
|
|
470
540
|
declare class DefaultService {
|
|
@@ -663,6 +733,10 @@ type ListErc1155BalancesResponse = {
|
|
|
663
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.
|
|
664
734
|
*/
|
|
665
735
|
nextPageToken?: string;
|
|
736
|
+
/**
|
|
737
|
+
* The native token balance for the address.
|
|
738
|
+
*/
|
|
739
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
666
740
|
/**
|
|
667
741
|
* The list of ERC-1155 token balances for the address.
|
|
668
742
|
*/
|
|
@@ -707,11 +781,22 @@ type Erc20TokenBalance = {
|
|
|
707
781
|
* The monetary value of the balance, if a price is available for the token.
|
|
708
782
|
*/
|
|
709
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;
|
|
710
788
|
};
|
|
711
789
|
declare namespace Erc20TokenBalance {
|
|
712
790
|
enum ercType {
|
|
713
791
|
ERC_20 = "ERC-20"
|
|
714
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
|
+
}
|
|
715
800
|
}
|
|
716
801
|
|
|
717
802
|
type ListErc20BalancesResponse = {
|
|
@@ -719,6 +804,10 @@ type ListErc20BalancesResponse = {
|
|
|
719
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.
|
|
720
805
|
*/
|
|
721
806
|
nextPageToken?: string;
|
|
807
|
+
/**
|
|
808
|
+
* The native token balance for the address.
|
|
809
|
+
*/
|
|
810
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
722
811
|
/**
|
|
723
812
|
* The list of ERC-20 token balances for the address.
|
|
724
813
|
*/
|
|
@@ -730,6 +819,10 @@ type ListErc721BalancesResponse = {
|
|
|
730
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.
|
|
731
820
|
*/
|
|
732
821
|
nextPageToken?: string;
|
|
822
|
+
/**
|
|
823
|
+
* The native token balance for the address.
|
|
824
|
+
*/
|
|
825
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
733
826
|
/**
|
|
734
827
|
* The list of ERC-721 token balances for the address.
|
|
735
828
|
*/
|
|
@@ -908,6 +1001,10 @@ declare class EvmBalancesService {
|
|
|
908
1001
|
}
|
|
909
1002
|
|
|
910
1003
|
type GetEvmBlockResponse = {
|
|
1004
|
+
/**
|
|
1005
|
+
* The EVM chain ID on which the block was created.
|
|
1006
|
+
*/
|
|
1007
|
+
chainId: string;
|
|
911
1008
|
/**
|
|
912
1009
|
* The block number on the chain.
|
|
913
1010
|
*/
|
|
@@ -952,6 +1049,10 @@ type GetEvmBlockResponse = {
|
|
|
952
1049
|
};
|
|
953
1050
|
|
|
954
1051
|
type EvmBlock = {
|
|
1052
|
+
/**
|
|
1053
|
+
* The EVM chain ID on which the block was created.
|
|
1054
|
+
*/
|
|
1055
|
+
chainId: string;
|
|
955
1056
|
/**
|
|
956
1057
|
* The block number on the chain.
|
|
957
1058
|
*/
|
|
@@ -1006,6 +1107,26 @@ type ListEvmBlocksResponse = {
|
|
|
1006
1107
|
declare class EvmBlocksService {
|
|
1007
1108
|
readonly httpRequest: BaseHttpRequest;
|
|
1008
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>;
|
|
1009
1130
|
/**
|
|
1010
1131
|
* List latest blocks
|
|
1011
1132
|
* Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
|
|
@@ -1137,19 +1258,136 @@ type ListChainsResponse = {
|
|
|
1137
1258
|
chains: Array<ChainInfo>;
|
|
1138
1259
|
};
|
|
1139
1260
|
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
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"
|
|
1145
1371
|
}
|
|
1146
1372
|
|
|
1147
1373
|
declare class EvmChainsService {
|
|
1148
1374
|
readonly httpRequest: BaseHttpRequest;
|
|
1149
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>;
|
|
1150
1388
|
/**
|
|
1151
1389
|
* List chains
|
|
1152
|
-
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
1390
|
+
* Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
|
|
1153
1391
|
* @returns ListChainsResponse Successful response
|
|
1154
1392
|
* @throws ApiError
|
|
1155
1393
|
*/
|
|
@@ -1165,7 +1403,7 @@ declare class EvmChainsService {
|
|
|
1165
1403
|
}): CancelablePromise<ListChainsResponse>;
|
|
1166
1404
|
/**
|
|
1167
1405
|
* Get chain information
|
|
1168
|
-
* Gets chain information for the EVM-compatible chain if supported by
|
|
1406
|
+
* Gets chain information for the EVM-compatible chain if supported by AvaCloud.
|
|
1169
1407
|
* @returns GetChainResponse Successful response
|
|
1170
1408
|
* @throws ApiError
|
|
1171
1409
|
*/
|
|
@@ -1176,8 +1414,10 @@ declare class EvmChainsService {
|
|
|
1176
1414
|
chainId: string;
|
|
1177
1415
|
}): CancelablePromise<GetChainResponse>;
|
|
1178
1416
|
/**
|
|
1179
|
-
*
|
|
1180
|
-
* Gets
|
|
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** .
|
|
1181
1421
|
* @returns ListAddressChainsResponse Successful response
|
|
1182
1422
|
* @throws ApiError
|
|
1183
1423
|
*/
|
|
@@ -1187,6 +1427,54 @@ declare class EvmChainsService {
|
|
|
1187
1427
|
*/
|
|
1188
1428
|
address: string;
|
|
1189
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>;
|
|
1190
1478
|
}
|
|
1191
1479
|
|
|
1192
1480
|
type ImageAsset = {
|
|
@@ -1521,29 +1809,6 @@ declare namespace Erc1155Token {
|
|
|
1521
1809
|
}
|
|
1522
1810
|
}
|
|
1523
1811
|
|
|
1524
|
-
type RichAddress = {
|
|
1525
|
-
/**
|
|
1526
|
-
* The contract name.
|
|
1527
|
-
*/
|
|
1528
|
-
name?: string;
|
|
1529
|
-
/**
|
|
1530
|
-
* The contract symbol.
|
|
1531
|
-
*/
|
|
1532
|
-
symbol?: string;
|
|
1533
|
-
/**
|
|
1534
|
-
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
1535
|
-
*/
|
|
1536
|
-
decimals?: number;
|
|
1537
|
-
/**
|
|
1538
|
-
* The logo uri for the address.
|
|
1539
|
-
*/
|
|
1540
|
-
logoUri?: string;
|
|
1541
|
-
/**
|
|
1542
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
1543
|
-
*/
|
|
1544
|
-
address: string;
|
|
1545
|
-
};
|
|
1546
|
-
|
|
1547
1812
|
type Erc1155TransferDetails = {
|
|
1548
1813
|
from: RichAddress;
|
|
1549
1814
|
to: RichAddress;
|
|
@@ -1611,42 +1876,21 @@ type Erc721Token = {
|
|
|
1611
1876
|
tokenUri: string;
|
|
1612
1877
|
metadata: Erc721TokenMetadata;
|
|
1613
1878
|
/**
|
|
1614
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
1615
|
-
*/
|
|
1616
|
-
ownerAddress?: string;
|
|
1617
|
-
};
|
|
1618
|
-
declare namespace Erc721Token {
|
|
1619
|
-
enum ercType {
|
|
1620
|
-
ERC_721 = "ERC-721"
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
type Erc721TransferDetails = {
|
|
1625
|
-
from: RichAddress;
|
|
1626
|
-
to: RichAddress;
|
|
1627
|
-
logIndex: number;
|
|
1628
|
-
erc721Token: Erc721Token;
|
|
1629
|
-
};
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* 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.
|
|
1633
|
-
*/
|
|
1634
|
-
declare enum TransactionMethodType {
|
|
1635
|
-
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1636
|
-
CONTRACT_CALL = "CONTRACT_CALL",
|
|
1637
|
-
CONTRACT_CREATION = "CONTRACT_CREATION"
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
type Method = {
|
|
1641
|
-
callType: TransactionMethodType;
|
|
1642
|
-
/**
|
|
1643
|
-
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
1644
|
-
*/
|
|
1645
|
-
methodHash: string;
|
|
1646
|
-
/**
|
|
1647
|
-
* 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'.
|
|
1879
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
1648
1880
|
*/
|
|
1649
|
-
|
|
1881
|
+
ownerAddress?: string;
|
|
1882
|
+
};
|
|
1883
|
+
declare namespace Erc721Token {
|
|
1884
|
+
enum ercType {
|
|
1885
|
+
ERC_721 = "ERC-721"
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
type Erc721TransferDetails = {
|
|
1890
|
+
from: RichAddress;
|
|
1891
|
+
to: RichAddress;
|
|
1892
|
+
logIndex: number;
|
|
1893
|
+
erc721Token: Erc721Token;
|
|
1650
1894
|
};
|
|
1651
1895
|
|
|
1652
1896
|
type FullNativeTransactionDetails = {
|
|
@@ -1662,6 +1906,10 @@ type FullNativeTransactionDetails = {
|
|
|
1662
1906
|
* The block hash identifier.
|
|
1663
1907
|
*/
|
|
1664
1908
|
blockHash: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* The EVM chain ID on which the transaction occured.
|
|
1911
|
+
*/
|
|
1912
|
+
chainId: string;
|
|
1665
1913
|
/**
|
|
1666
1914
|
* The index at which the transaction occured in the block (0-indexed).
|
|
1667
1915
|
*/
|
|
@@ -1925,65 +2173,6 @@ type ListInternalTransactionsResponse = {
|
|
|
1925
2173
|
transactions: Array<InternalTransaction>;
|
|
1926
2174
|
};
|
|
1927
2175
|
|
|
1928
|
-
type NativeTransaction = {
|
|
1929
|
-
/**
|
|
1930
|
-
* The block number on the chain.
|
|
1931
|
-
*/
|
|
1932
|
-
blockNumber: string;
|
|
1933
|
-
/**
|
|
1934
|
-
* The block finality timestamp.
|
|
1935
|
-
*/
|
|
1936
|
-
blockTimestamp: number;
|
|
1937
|
-
/**
|
|
1938
|
-
* The block hash identifier.
|
|
1939
|
-
*/
|
|
1940
|
-
blockHash: string;
|
|
1941
|
-
/**
|
|
1942
|
-
* The index at which the transaction occured in the block (0-indexed).
|
|
1943
|
-
*/
|
|
1944
|
-
blockIndex: number;
|
|
1945
|
-
/**
|
|
1946
|
-
* The transaction hash identifier.
|
|
1947
|
-
*/
|
|
1948
|
-
txHash: string;
|
|
1949
|
-
/**
|
|
1950
|
-
* The transaction status, which is either 0 (failed) or 1 (successful).
|
|
1951
|
-
*/
|
|
1952
|
-
txStatus: string;
|
|
1953
|
-
/**
|
|
1954
|
-
* The transaction type.
|
|
1955
|
-
*/
|
|
1956
|
-
txType: number;
|
|
1957
|
-
/**
|
|
1958
|
-
* The gas limit set for the transaction.
|
|
1959
|
-
*/
|
|
1960
|
-
gasLimit: string;
|
|
1961
|
-
/**
|
|
1962
|
-
* The amount of gas used.
|
|
1963
|
-
*/
|
|
1964
|
-
gasUsed: string;
|
|
1965
|
-
/**
|
|
1966
|
-
* The gas price denominated by the number of decimals of the native token.
|
|
1967
|
-
*/
|
|
1968
|
-
gasPrice: string;
|
|
1969
|
-
/**
|
|
1970
|
-
* The nonce used by the sender of the transaction.
|
|
1971
|
-
*/
|
|
1972
|
-
nonce: string;
|
|
1973
|
-
from: RichAddress;
|
|
1974
|
-
to: RichAddress;
|
|
1975
|
-
method?: Method;
|
|
1976
|
-
value: string;
|
|
1977
|
-
};
|
|
1978
|
-
|
|
1979
|
-
type ListNativeTransactionsResponse = {
|
|
1980
|
-
/**
|
|
1981
|
-
* 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.
|
|
1982
|
-
*/
|
|
1983
|
-
nextPageToken?: string;
|
|
1984
|
-
transactions: Array<NativeTransaction>;
|
|
1985
|
-
};
|
|
1986
|
-
|
|
1987
2176
|
type TransactionDetails = {
|
|
1988
2177
|
/**
|
|
1989
2178
|
* The native (top-level) transaction details.
|
|
@@ -2028,14 +2217,33 @@ declare enum SortOrder {
|
|
|
2028
2217
|
DESC = "desc"
|
|
2029
2218
|
}
|
|
2030
2219
|
|
|
2031
|
-
declare enum TransactionStatus {
|
|
2032
|
-
FAILED = "failed",
|
|
2033
|
-
SUCCESS = "success"
|
|
2034
|
-
}
|
|
2035
|
-
|
|
2036
2220
|
declare class EvmTransactionsService {
|
|
2037
2221
|
readonly httpRequest: BaseHttpRequest;
|
|
2038
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>;
|
|
2039
2247
|
/**
|
|
2040
2248
|
* Get deployment transaction
|
|
2041
2249
|
* If the address is a smart contract, returns the transaction in which it was deployed.
|
|
@@ -2334,7 +2542,7 @@ declare class EvmTransactionsService {
|
|
|
2334
2542
|
* @returns ListNativeTransactionsResponse Successful response
|
|
2335
2543
|
* @throws ApiError
|
|
2336
2544
|
*/
|
|
2337
|
-
getTransactionsForBlock({ chainId, blockId, }: {
|
|
2545
|
+
getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
|
|
2338
2546
|
/**
|
|
2339
2547
|
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2340
2548
|
*/
|
|
@@ -2343,6 +2551,14 @@ declare class EvmTransactionsService {
|
|
|
2343
2551
|
* A block identifier which is either a block number or the block hash.
|
|
2344
2552
|
*/
|
|
2345
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;
|
|
2346
2562
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2347
2563
|
/**
|
|
2348
2564
|
* List latest transactions
|
|
@@ -2463,6 +2679,108 @@ declare class NfTsService {
|
|
|
2463
2679
|
}): CancelablePromise<(Erc721Token | Erc1155Token)>;
|
|
2464
2680
|
}
|
|
2465
2681
|
|
|
2682
|
+
type AccessRequest = {
|
|
2683
|
+
/**
|
|
2684
|
+
* The email address to send the access token to
|
|
2685
|
+
*/
|
|
2686
|
+
email: string;
|
|
2687
|
+
/**
|
|
2688
|
+
* The captcha to verify the user
|
|
2689
|
+
*/
|
|
2690
|
+
captcha: string;
|
|
2691
|
+
};
|
|
2692
|
+
|
|
2693
|
+
type NotificationsResponse = {
|
|
2694
|
+
message: string;
|
|
2695
|
+
};
|
|
2696
|
+
|
|
2697
|
+
type SubscribeRequest = {
|
|
2698
|
+
/**
|
|
2699
|
+
* The access token to use for authentication
|
|
2700
|
+
*/
|
|
2701
|
+
accessToken: string;
|
|
2702
|
+
/**
|
|
2703
|
+
* The node ID to subscribe to
|
|
2704
|
+
*/
|
|
2705
|
+
nodeId: string;
|
|
2706
|
+
/**
|
|
2707
|
+
* The notification types to subscribe to. If not provided, all notification types will be subscribed to
|
|
2708
|
+
*/
|
|
2709
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
2710
|
+
};
|
|
2711
|
+
|
|
2712
|
+
type SubscriptionsRequest = {
|
|
2713
|
+
/**
|
|
2714
|
+
* The access token to use for authentication
|
|
2715
|
+
*/
|
|
2716
|
+
accessToken: string;
|
|
2717
|
+
};
|
|
2718
|
+
|
|
2719
|
+
type SubscriptionsResponse = {
|
|
2720
|
+
/**
|
|
2721
|
+
* The email address of the user
|
|
2722
|
+
*/
|
|
2723
|
+
email: string;
|
|
2724
|
+
/**
|
|
2725
|
+
* The subscriptions of the user
|
|
2726
|
+
*/
|
|
2727
|
+
subscriptions: Record<string, {
|
|
2728
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
2729
|
+
}>;
|
|
2730
|
+
};
|
|
2731
|
+
|
|
2732
|
+
type UnsubscribeRequest = {
|
|
2733
|
+
/**
|
|
2734
|
+
* The access token to use for authentication
|
|
2735
|
+
*/
|
|
2736
|
+
accessToken: string;
|
|
2737
|
+
/**
|
|
2738
|
+
* The node ID to subscribe to
|
|
2739
|
+
*/
|
|
2740
|
+
nodeId: string;
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
declare class NotificationsService {
|
|
2744
|
+
readonly httpRequest: BaseHttpRequest;
|
|
2745
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
2746
|
+
/**
|
|
2747
|
+
* Access Notifications
|
|
2748
|
+
* Access notifications.
|
|
2749
|
+
* @returns NotificationsResponse Successful response
|
|
2750
|
+
* @throws ApiError
|
|
2751
|
+
*/
|
|
2752
|
+
access({ requestBody, }: {
|
|
2753
|
+
requestBody: AccessRequest;
|
|
2754
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
2755
|
+
/**
|
|
2756
|
+
* Subscribe to Notifications
|
|
2757
|
+
* Subscribe to receive notifications.
|
|
2758
|
+
* @returns NotificationsResponse Successful response
|
|
2759
|
+
* @throws ApiError
|
|
2760
|
+
*/
|
|
2761
|
+
subscribe({ requestBody, }: {
|
|
2762
|
+
requestBody: SubscribeRequest;
|
|
2763
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
2764
|
+
/**
|
|
2765
|
+
* Unsubscribe from Notifications
|
|
2766
|
+
* Unsubscribe from receiving notifications.
|
|
2767
|
+
* @returns NotificationsResponse Successful response
|
|
2768
|
+
* @throws ApiError
|
|
2769
|
+
*/
|
|
2770
|
+
unsubscribe({ requestBody, }: {
|
|
2771
|
+
requestBody: UnsubscribeRequest;
|
|
2772
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
2773
|
+
/**
|
|
2774
|
+
* Get Subscriptions
|
|
2775
|
+
* Get subscriptions.
|
|
2776
|
+
* @returns SubscriptionsResponse Successful response
|
|
2777
|
+
* @throws ApiError
|
|
2778
|
+
*/
|
|
2779
|
+
subscriptions({ requestBody, }: {
|
|
2780
|
+
requestBody: SubscriptionsRequest;
|
|
2781
|
+
}): CancelablePromise<SubscriptionsResponse>;
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2466
2784
|
type EvmNetworkOptions = {
|
|
2467
2785
|
addresses: Array<string>;
|
|
2468
2786
|
includeChains: Array<string>;
|
|
@@ -2615,16 +2933,31 @@ type DelegatorsDetails = {
|
|
|
2615
2933
|
};
|
|
2616
2934
|
|
|
2617
2935
|
type StakingDistribution = {
|
|
2936
|
+
/**
|
|
2937
|
+
* AvalancheGo version for the validator node.
|
|
2938
|
+
*/
|
|
2618
2939
|
version: string;
|
|
2940
|
+
/**
|
|
2941
|
+
* The total amount staked by validators using this version.
|
|
2942
|
+
*/
|
|
2619
2943
|
amountStaked: string;
|
|
2944
|
+
/**
|
|
2945
|
+
* The number of validators using this version.
|
|
2946
|
+
*/
|
|
2620
2947
|
validatorCount: number;
|
|
2621
2948
|
};
|
|
2622
2949
|
|
|
2623
2950
|
type ValidatorsDetails = {
|
|
2624
2951
|
validatorCount: number;
|
|
2625
2952
|
totalAmountStaked: string;
|
|
2953
|
+
/**
|
|
2954
|
+
* Total potential rewards from currently active validations and delegations.
|
|
2955
|
+
*/
|
|
2626
2956
|
estimatedAnnualStakingReward: string;
|
|
2627
2957
|
stakingDistributionByVersion: Array<StakingDistribution>;
|
|
2958
|
+
/**
|
|
2959
|
+
* Ratio of total active stake amount to the current supply.
|
|
2960
|
+
*/
|
|
2628
2961
|
stakingRatio: string;
|
|
2629
2962
|
};
|
|
2630
2963
|
|
|
@@ -2676,7 +3009,13 @@ type CompletedDelegatorDetails = {
|
|
|
2676
3009
|
delegationFee: string;
|
|
2677
3010
|
startTimestamp: number;
|
|
2678
3011
|
endTimestamp: number;
|
|
3012
|
+
/**
|
|
3013
|
+
* Total rewards distributed for the successful delegation.
|
|
3014
|
+
*/
|
|
2679
3015
|
grossReward: string;
|
|
3016
|
+
/**
|
|
3017
|
+
* Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
3018
|
+
*/
|
|
2680
3019
|
netReward: string;
|
|
2681
3020
|
delegationStatus: CompletedDelegatorDetails.delegationStatus;
|
|
2682
3021
|
};
|
|
@@ -2694,7 +3033,13 @@ type PendingDelegatorDetails = {
|
|
|
2694
3033
|
delegationFee: string;
|
|
2695
3034
|
startTimestamp: number;
|
|
2696
3035
|
endTimestamp: number;
|
|
3036
|
+
/**
|
|
3037
|
+
* Estimated total rewards that will be distributed for the successful delegation.
|
|
3038
|
+
*/
|
|
2697
3039
|
estimatedGrossReward: string;
|
|
3040
|
+
/**
|
|
3041
|
+
* Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
3042
|
+
*/
|
|
2698
3043
|
estimatedNetReward: string;
|
|
2699
3044
|
delegationStatus: PendingDelegatorDetails.delegationStatus;
|
|
2700
3045
|
};
|
|
@@ -2812,6 +3157,10 @@ type Subnet = {
|
|
|
2812
3157
|
* Whether the subnet is an L1 or not.
|
|
2813
3158
|
*/
|
|
2814
3159
|
isL1: boolean;
|
|
3160
|
+
/**
|
|
3161
|
+
* Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
|
|
3162
|
+
*/
|
|
3163
|
+
l1ConversionTransactionHash?: string;
|
|
2815
3164
|
/**
|
|
2816
3165
|
* L1 validator manager details.
|
|
2817
3166
|
*/
|
|
@@ -2863,6 +3212,9 @@ type ActiveValidatorDetails = {
|
|
|
2863
3212
|
nodeId: string;
|
|
2864
3213
|
subnetId: string;
|
|
2865
3214
|
amountStaked: string;
|
|
3215
|
+
/**
|
|
3216
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3217
|
+
*/
|
|
2866
3218
|
delegationFee?: string;
|
|
2867
3219
|
startTimestamp: number;
|
|
2868
3220
|
endTimestamp: number;
|
|
@@ -2870,12 +3222,30 @@ type ActiveValidatorDetails = {
|
|
|
2870
3222
|
* Present for AddPermissionlessValidatorTx
|
|
2871
3223
|
*/
|
|
2872
3224
|
blsCredentials?: BlsCredentials;
|
|
3225
|
+
/**
|
|
3226
|
+
* The percentage of this validator's stake amount to the total active stake.
|
|
3227
|
+
*/
|
|
2873
3228
|
stakePercentage: number;
|
|
3229
|
+
/**
|
|
3230
|
+
* The number of delegators linked to the validator.
|
|
3231
|
+
*/
|
|
2874
3232
|
delegatorCount: number;
|
|
3233
|
+
/**
|
|
3234
|
+
* The total amount in nAVAX delegated to the validator.
|
|
3235
|
+
*/
|
|
2875
3236
|
amountDelegated?: string;
|
|
3237
|
+
/**
|
|
3238
|
+
* The validator's uptime percentage, as observed by our internal node and measured over time.
|
|
3239
|
+
*/
|
|
2876
3240
|
uptimePerformance: number;
|
|
2877
3241
|
avalancheGoVersion?: string;
|
|
3242
|
+
/**
|
|
3243
|
+
* The amount of stake in nAVAX that can be delegated to this validator.
|
|
3244
|
+
*/
|
|
2878
3245
|
delegationCapacity?: string;
|
|
3246
|
+
/**
|
|
3247
|
+
* Estimated rewards for the validator if the validation is successful.
|
|
3248
|
+
*/
|
|
2879
3249
|
potentialRewards: Rewards;
|
|
2880
3250
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
2881
3251
|
validatorHealth: ValidatorHealthDetails;
|
|
@@ -2891,6 +3261,9 @@ type CompletedValidatorDetails = {
|
|
|
2891
3261
|
nodeId: string;
|
|
2892
3262
|
subnetId: string;
|
|
2893
3263
|
amountStaked: string;
|
|
3264
|
+
/**
|
|
3265
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3266
|
+
*/
|
|
2894
3267
|
delegationFee?: string;
|
|
2895
3268
|
startTimestamp: number;
|
|
2896
3269
|
endTimestamp: number;
|
|
@@ -2914,6 +3287,9 @@ type PendingValidatorDetails = {
|
|
|
2914
3287
|
nodeId: string;
|
|
2915
3288
|
subnetId: string;
|
|
2916
3289
|
amountStaked: string;
|
|
3290
|
+
/**
|
|
3291
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3292
|
+
*/
|
|
2917
3293
|
delegationFee?: string;
|
|
2918
3294
|
startTimestamp: number;
|
|
2919
3295
|
endTimestamp: number;
|
|
@@ -2934,6 +3310,9 @@ type RemovedValidatorDetails = {
|
|
|
2934
3310
|
nodeId: string;
|
|
2935
3311
|
subnetId: string;
|
|
2936
3312
|
amountStaked: string;
|
|
3313
|
+
/**
|
|
3314
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3315
|
+
*/
|
|
2937
3316
|
delegationFee?: string;
|
|
2938
3317
|
startTimestamp: number;
|
|
2939
3318
|
endTimestamp: number;
|
|
@@ -2941,7 +3320,13 @@ type RemovedValidatorDetails = {
|
|
|
2941
3320
|
* Present for AddPermissionlessValidatorTx
|
|
2942
3321
|
*/
|
|
2943
3322
|
blsCredentials?: BlsCredentials;
|
|
3323
|
+
/**
|
|
3324
|
+
* The transaction hash that removed the permissioned subnet validator.
|
|
3325
|
+
*/
|
|
2944
3326
|
removeTxHash: string;
|
|
3327
|
+
/**
|
|
3328
|
+
* The timestamp of the transaction that removed the permissioned subnet validator.
|
|
3329
|
+
*/
|
|
2945
3330
|
removeTimestamp: number;
|
|
2946
3331
|
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
2947
3332
|
};
|
|
@@ -3620,7 +4005,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3620
4005
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3621
4006
|
* @throws ApiError
|
|
3622
4007
|
*/
|
|
3623
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
4008
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3624
4009
|
/**
|
|
3625
4010
|
* A primary network blockchain id or alias.
|
|
3626
4011
|
*/
|
|
@@ -3633,6 +4018,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3633
4018
|
* A primary network (P or X chain) nodeId.
|
|
3634
4019
|
*/
|
|
3635
4020
|
nodeId: string;
|
|
4021
|
+
/**
|
|
4022
|
+
* Query param for retrieving items after a specific timestamp.
|
|
4023
|
+
*/
|
|
4024
|
+
startTimestamp?: number;
|
|
4025
|
+
/**
|
|
4026
|
+
* Query param for retrieving items before a specific timestamp.
|
|
4027
|
+
*/
|
|
4028
|
+
endTimestamp?: number;
|
|
3636
4029
|
/**
|
|
3637
4030
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3638
4031
|
*/
|
|
@@ -3648,7 +4041,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3648
4041
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3649
4042
|
* @throws ApiError
|
|
3650
4043
|
*/
|
|
3651
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
4044
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3652
4045
|
/**
|
|
3653
4046
|
* A primary network blockchain id or alias.
|
|
3654
4047
|
*/
|
|
@@ -3657,6 +4050,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3657
4050
|
* Either mainnet or testnet/fuji.
|
|
3658
4051
|
*/
|
|
3659
4052
|
network: Network;
|
|
4053
|
+
/**
|
|
4054
|
+
* Query param for retrieving items after a specific timestamp.
|
|
4055
|
+
*/
|
|
4056
|
+
startTimestamp?: number;
|
|
4057
|
+
/**
|
|
4058
|
+
* Query param for retrieving items before a specific timestamp.
|
|
4059
|
+
*/
|
|
4060
|
+
endTimestamp?: number;
|
|
3660
4061
|
/**
|
|
3661
4062
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3662
4063
|
*/
|
|
@@ -4082,7 +4483,7 @@ type L1ValidatorDetailsTransaction = {
|
|
|
4082
4483
|
*/
|
|
4083
4484
|
remainingBalance: number;
|
|
4084
4485
|
/**
|
|
4085
|
-
* 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
|
|
4486
|
+
* 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
|
|
4086
4487
|
*/
|
|
4087
4488
|
balanceChange?: number;
|
|
4088
4489
|
blsCredentials?: Record<string, any>;
|
|
@@ -4112,6 +4513,9 @@ declare enum PChainTransactionType {
|
|
|
4112
4513
|
UNKNOWN = "UNKNOWN"
|
|
4113
4514
|
}
|
|
4114
4515
|
|
|
4516
|
+
/**
|
|
4517
|
+
* Indicates whether the UTXO is staked or transferable
|
|
4518
|
+
*/
|
|
4115
4519
|
declare enum UtxoType {
|
|
4116
4520
|
STAKE = "STAKE",
|
|
4117
4521
|
TRANSFER = "TRANSFER"
|
|
@@ -4149,16 +4553,43 @@ type PChainUtxo = {
|
|
|
4149
4553
|
assetId: string;
|
|
4150
4554
|
blockNumber: string;
|
|
4151
4555
|
blockTimestamp: number;
|
|
4556
|
+
/**
|
|
4557
|
+
* Block height in which the transaction consuming this UTXO was included
|
|
4558
|
+
*/
|
|
4152
4559
|
consumingBlockNumber?: string;
|
|
4560
|
+
/**
|
|
4561
|
+
* Timestamp in seconds at which this UTXO is used in a consuming transaction
|
|
4562
|
+
*/
|
|
4153
4563
|
consumingBlockTimestamp?: number;
|
|
4564
|
+
/**
|
|
4565
|
+
* Timestamp in seconds after which this UTXO can be consumed
|
|
4566
|
+
*/
|
|
4154
4567
|
platformLocktime?: number;
|
|
4568
|
+
/**
|
|
4569
|
+
* The index of the UTXO in the transaction
|
|
4570
|
+
*/
|
|
4155
4571
|
outputIndex: number;
|
|
4156
4572
|
rewardType?: RewardType;
|
|
4573
|
+
/**
|
|
4574
|
+
* Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
|
|
4575
|
+
*/
|
|
4157
4576
|
stakeableLocktime?: number;
|
|
4158
4577
|
staked?: boolean;
|
|
4578
|
+
/**
|
|
4579
|
+
* The minimum number of signatures required to spend this UTXO
|
|
4580
|
+
*/
|
|
4159
4581
|
threshold?: number;
|
|
4582
|
+
/**
|
|
4583
|
+
* The hash of the transaction that created this UTXO
|
|
4584
|
+
*/
|
|
4160
4585
|
txHash: string;
|
|
4586
|
+
/**
|
|
4587
|
+
* Timestamp in seconds after which the staked UTXO will be unlocked.
|
|
4588
|
+
*/
|
|
4161
4589
|
utxoEndTimestamp?: number;
|
|
4590
|
+
/**
|
|
4591
|
+
* Timestamp in seconds at which the staked UTXO was locked.
|
|
4592
|
+
*/
|
|
4162
4593
|
utxoStartTimestamp?: number;
|
|
4163
4594
|
utxoType: UtxoType;
|
|
4164
4595
|
};
|
|
@@ -4173,9 +4604,18 @@ type PChainTransaction = {
|
|
|
4173
4604
|
* The block finality timestamp.
|
|
4174
4605
|
*/
|
|
4175
4606
|
blockTimestamp: number;
|
|
4607
|
+
/**
|
|
4608
|
+
* The height of the block in which the transaction was included
|
|
4609
|
+
*/
|
|
4176
4610
|
blockNumber: string;
|
|
4177
4611
|
blockHash: string;
|
|
4612
|
+
/**
|
|
4613
|
+
* The consumed UTXOs of the transaction
|
|
4614
|
+
*/
|
|
4178
4615
|
consumedUtxos: Array<PChainUtxo>;
|
|
4616
|
+
/**
|
|
4617
|
+
* The newly created UTXOs of the transaction
|
|
4618
|
+
*/
|
|
4179
4619
|
emittedUtxos: Array<PChainUtxo>;
|
|
4180
4620
|
/**
|
|
4181
4621
|
* Source chain for an atomic transaction.
|
|
@@ -4186,11 +4626,11 @@ type PChainTransaction = {
|
|
|
4186
4626
|
*/
|
|
4187
4627
|
destinationChain?: string;
|
|
4188
4628
|
/**
|
|
4189
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4629
|
+
* 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
|
|
4190
4630
|
*/
|
|
4191
4631
|
value: Array<AssetAmount>;
|
|
4192
4632
|
/**
|
|
4193
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4633
|
+
* 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
|
|
4194
4634
|
*/
|
|
4195
4635
|
amountBurned: Array<AssetAmount>;
|
|
4196
4636
|
/**
|
|
@@ -4198,7 +4638,7 @@ type PChainTransaction = {
|
|
|
4198
4638
|
*/
|
|
4199
4639
|
amountStaked: Array<AssetAmount>;
|
|
4200
4640
|
/**
|
|
4201
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4641
|
+
* 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.
|
|
4202
4642
|
*/
|
|
4203
4643
|
amountL1ValidatorBalanceBurned: Array<AssetAmount>;
|
|
4204
4644
|
/**
|
|
@@ -4210,11 +4650,11 @@ type PChainTransaction = {
|
|
|
4210
4650
|
*/
|
|
4211
4651
|
endTimestamp?: number;
|
|
4212
4652
|
/**
|
|
4213
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
4653
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
4214
4654
|
*/
|
|
4215
4655
|
delegationFeePercent?: string;
|
|
4216
4656
|
/**
|
|
4217
|
-
* Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4657
|
+
* The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4218
4658
|
*/
|
|
4219
4659
|
nodeId?: string;
|
|
4220
4660
|
/**
|
|
@@ -4230,14 +4670,17 @@ type PChainTransaction = {
|
|
|
4230
4670
|
*/
|
|
4231
4671
|
l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
|
|
4232
4672
|
/**
|
|
4233
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4673
|
+
* Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4234
4674
|
*/
|
|
4235
4675
|
estimatedReward?: string;
|
|
4676
|
+
/**
|
|
4677
|
+
* Reward transaction hash for the completed validations or delegations
|
|
4678
|
+
*/
|
|
4236
4679
|
rewardTxHash?: string;
|
|
4237
4680
|
rewardAddresses?: Array<string>;
|
|
4238
4681
|
memo?: string;
|
|
4239
4682
|
/**
|
|
4240
|
-
*
|
|
4683
|
+
* Staking transaction corresponding to the RewardValidatorTx
|
|
4241
4684
|
*/
|
|
4242
4685
|
stakingTxHash?: string;
|
|
4243
4686
|
/**
|
|
@@ -4245,7 +4688,7 @@ type PChainTransaction = {
|
|
|
4245
4688
|
*/
|
|
4246
4689
|
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
4247
4690
|
/**
|
|
4248
|
-
* Present for AddPermissionlessValidatorTx
|
|
4691
|
+
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
4249
4692
|
*/
|
|
4250
4693
|
blsCredentials?: BlsCredentials;
|
|
4251
4694
|
};
|
|
@@ -4784,7 +5227,11 @@ declare class SignatureAggregatorService {
|
|
|
4784
5227
|
* @returns SignatureAggregationResponse Successful response
|
|
4785
5228
|
* @throws ApiError
|
|
4786
5229
|
*/
|
|
4787
|
-
aggregateSignatures({ requestBody, }: {
|
|
5230
|
+
aggregateSignatures({ network, requestBody, }: {
|
|
5231
|
+
/**
|
|
5232
|
+
* Either mainnet or testnet/fuji.
|
|
5233
|
+
*/
|
|
5234
|
+
network: Network;
|
|
4788
5235
|
requestBody: SignatureAggregatorRequest;
|
|
4789
5236
|
}): CancelablePromise<SignatureAggregationResponse>;
|
|
4790
5237
|
}
|
|
@@ -5248,6 +5695,7 @@ declare class Glacier {
|
|
|
5248
5695
|
readonly evmTransactions: EvmTransactionsService;
|
|
5249
5696
|
readonly healthCheck: HealthCheckService;
|
|
5250
5697
|
readonly nfTs: NfTsService;
|
|
5698
|
+
readonly notifications: NotificationsService;
|
|
5251
5699
|
readonly operations: OperationsService;
|
|
5252
5700
|
readonly primaryNetwork: PrimaryNetworkService;
|
|
5253
5701
|
readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
|
|
@@ -5411,4 +5859,4 @@ type Unauthorized = {
|
|
|
5411
5859
|
error: string;
|
|
5412
5860
|
};
|
|
5413
5861
|
|
|
5414
|
-
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, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics,
|
|
5862
|
+
export { AccessRequest, 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, NotificationsResponse, NotificationsService, 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, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, 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 };
|