@avalabs/glacier-sdk 3.1.0-canary.682531.0 → 3.1.0-canary.6bcf31c.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 +396 -134
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +2 -2
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/BalanceOwner.d.ts +6 -0
- package/esm/generated/models/BlockchainId.d.ts +2 -0
- package/esm/generated/models/BlockchainId.js +1 -1
- package/esm/generated/models/BlockchainIds.d.ts +3 -1
- package/esm/generated/models/BlockchainIds.js +1 -1
- package/esm/generated/models/CompletedValidatorDetails.d.ts +1 -0
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +4 -4
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +4 -4
- package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
- package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
- package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
- package/esm/generated/models/ListSubnetOnlyValidatorsResponse.d.ts +14 -0
- package/esm/generated/models/Network.d.ts +3 -1
- package/esm/generated/models/Network.js +1 -1
- 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/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
- package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
- package/esm/generated/models/RpcMetrics.d.ts +14 -0
- package/esm/generated/models/RpcUsageMetricsResponseDTO.d.ts +18 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +47 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
- package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +14 -0
- package/esm/generated/models/SoVDetailsTransaction.d.ts +23 -0
- package/esm/generated/models/SovDetailsFull.d.ts +33 -0
- package/esm/generated/models/Subnet.d.ts +9 -0
- package/esm/generated/models/XChainId.d.ts +1 -0
- package/esm/generated/models/XChainId.js +1 -1
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +63 -18
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
- package/esm/generated/services/EvmBalancesService.d.ts +5 -5
- package/esm/generated/services/EvmBlocksService.d.ts +2 -2
- package/esm/generated/services/EvmChainsService.d.ts +17 -4
- package/esm/generated/services/EvmChainsService.js +1 -1
- package/esm/generated/services/EvmContractsService.d.ts +2 -2
- package/esm/generated/services/EvmTransactionsService.d.ts +12 -12
- package/esm/generated/services/NfTsService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +1 -1
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.d.ts +43 -9
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +12 -9
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +1 -1
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +3 -3
- package/esm/generated/services/SignatureAggregatorService.d.ts +20 -0
- package/esm/generated/services/SignatureAggregatorService.js +1 -0
- package/esm/generated/services/TeleporterService.d.ts +5 -5
- package/esm/index.d.ts +12 -7
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/NetworkType.d.ts +0 -6
- package/esm/generated/models/NetworkType.js +0 -1
- package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
- 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,78 @@ type LogsResponseDTO = {
|
|
|
148
148
|
logs: Array<LogsFormat>;
|
|
149
149
|
};
|
|
150
150
|
|
|
151
|
+
type RpcUsageMetricsValueAggregated = {
|
|
152
|
+
/**
|
|
153
|
+
* The total number of requests
|
|
154
|
+
*/
|
|
155
|
+
totalRequests: number;
|
|
156
|
+
/**
|
|
157
|
+
* The number of API credits used
|
|
158
|
+
*/
|
|
159
|
+
apiCreditsUsed: number;
|
|
160
|
+
/**
|
|
161
|
+
* The number of requests per second
|
|
162
|
+
*/
|
|
163
|
+
requestsPerSecond: number;
|
|
164
|
+
/**
|
|
165
|
+
* The success rate percentage
|
|
166
|
+
*/
|
|
167
|
+
successRatePercent: number;
|
|
168
|
+
/**
|
|
169
|
+
* The median response time in milliseconds
|
|
170
|
+
*/
|
|
171
|
+
medianResponseTimeMsecs: number;
|
|
172
|
+
/**
|
|
173
|
+
* The number of invalid requests
|
|
174
|
+
*/
|
|
175
|
+
invalidRequests: number;
|
|
176
|
+
/**
|
|
177
|
+
* Column name used for data aggregation
|
|
178
|
+
*/
|
|
179
|
+
groupedBy: RpcUsageMetricsValueAggregated.groupedBy;
|
|
180
|
+
/**
|
|
181
|
+
* The value of the column used for data aggregation
|
|
182
|
+
*/
|
|
183
|
+
groupValue?: (string | number);
|
|
184
|
+
};
|
|
185
|
+
declare namespace RpcUsageMetricsValueAggregated {
|
|
186
|
+
/**
|
|
187
|
+
* Column name used for data aggregation
|
|
188
|
+
*/
|
|
189
|
+
enum groupedBy {
|
|
190
|
+
RPC_METHOD = "rpcMethod",
|
|
191
|
+
RESPONSE_CODE = "responseCode",
|
|
192
|
+
RL_BYPASS_TOKEN = "rlBypassToken",
|
|
193
|
+
NONE = "None"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
type RpcMetrics = {
|
|
198
|
+
/**
|
|
199
|
+
* The timestamp of the metrics value
|
|
200
|
+
*/
|
|
201
|
+
timestamp: number;
|
|
202
|
+
/**
|
|
203
|
+
* The metrics values for the timestamp
|
|
204
|
+
*/
|
|
205
|
+
values: Array<RpcUsageMetricsValueAggregated>;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
type RpcUsageMetricsResponseDTO = {
|
|
209
|
+
/**
|
|
210
|
+
* Duration in which the metrics value is aggregated
|
|
211
|
+
*/
|
|
212
|
+
aggregateDuration: string;
|
|
213
|
+
/**
|
|
214
|
+
* ChainId for which the metrics are aggregated
|
|
215
|
+
*/
|
|
216
|
+
chainId: string;
|
|
217
|
+
/**
|
|
218
|
+
* Metrics values
|
|
219
|
+
*/
|
|
220
|
+
metrics: Array<RpcMetrics>;
|
|
221
|
+
};
|
|
222
|
+
|
|
151
223
|
declare enum TimeIntervalGranularityExtended {
|
|
152
224
|
MINUTE = "minute",
|
|
153
225
|
HOURLY = "hourly",
|
|
@@ -251,17 +323,17 @@ declare class DataApiUsageMetricsService {
|
|
|
251
323
|
* @returns UsageMetricsResponseDTO Successful response
|
|
252
324
|
* @throws ApiError
|
|
253
325
|
*/
|
|
254
|
-
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy,
|
|
326
|
+
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, requestPath, responseCode, requestType, apiKeyId, }: {
|
|
255
327
|
/**
|
|
256
328
|
* Organization ID to fetch usage metrics for
|
|
257
329
|
*/
|
|
258
330
|
orgId?: string;
|
|
259
331
|
/**
|
|
260
|
-
*
|
|
332
|
+
* 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.
|
|
261
333
|
*/
|
|
262
334
|
startTimestamp?: number;
|
|
263
335
|
/**
|
|
264
|
-
*
|
|
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.
|
|
265
337
|
*/
|
|
266
338
|
endTimestamp?: number;
|
|
267
339
|
/**
|
|
@@ -273,21 +345,21 @@ declare class DataApiUsageMetricsService {
|
|
|
273
345
|
*/
|
|
274
346
|
groupBy?: UsageMetricsGroupByEnum;
|
|
275
347
|
/**
|
|
276
|
-
* Filter data by
|
|
348
|
+
* Filter data by chain ID.
|
|
277
349
|
*/
|
|
278
|
-
|
|
350
|
+
chainId?: string;
|
|
279
351
|
/**
|
|
280
|
-
* Filter data by request
|
|
352
|
+
* Filter data by request path.
|
|
281
353
|
*/
|
|
282
|
-
|
|
354
|
+
requestPath?: string;
|
|
283
355
|
/**
|
|
284
356
|
* Filter data by response status code.
|
|
285
357
|
*/
|
|
286
358
|
responseCode?: string;
|
|
287
359
|
/**
|
|
288
|
-
* Filter data by
|
|
360
|
+
* Filter data by request type.
|
|
289
361
|
*/
|
|
290
|
-
|
|
362
|
+
requestType?: 'data' | 'rpc';
|
|
291
363
|
/**
|
|
292
364
|
* Filter data by API key ID.
|
|
293
365
|
*/
|
|
@@ -299,35 +371,35 @@ declare class DataApiUsageMetricsService {
|
|
|
299
371
|
* @returns LogsResponseDTO Successful response
|
|
300
372
|
* @throws ApiError
|
|
301
373
|
*/
|
|
302
|
-
getApiLogs({ orgId, startTimestamp, endTimestamp,
|
|
374
|
+
getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, requestPath, responseCode, requestType, apiKeyId, pageToken, pageSize, }: {
|
|
303
375
|
/**
|
|
304
376
|
* Organization ID to fetch usage metrics for
|
|
305
377
|
*/
|
|
306
378
|
orgId?: string;
|
|
307
379
|
/**
|
|
308
|
-
*
|
|
380
|
+
* 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.
|
|
309
381
|
*/
|
|
310
382
|
startTimestamp?: number;
|
|
311
383
|
/**
|
|
312
|
-
*
|
|
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.
|
|
313
385
|
*/
|
|
314
386
|
endTimestamp?: number;
|
|
315
387
|
/**
|
|
316
|
-
* Filter data by
|
|
388
|
+
* Filter data by chain ID.
|
|
317
389
|
*/
|
|
318
|
-
|
|
390
|
+
chainId?: string;
|
|
319
391
|
/**
|
|
320
|
-
* Filter data by request
|
|
392
|
+
* Filter data by request path.
|
|
321
393
|
*/
|
|
322
|
-
|
|
394
|
+
requestPath?: string;
|
|
323
395
|
/**
|
|
324
396
|
* Filter data by response status code.
|
|
325
397
|
*/
|
|
326
398
|
responseCode?: string;
|
|
327
399
|
/**
|
|
328
|
-
* Filter data by
|
|
400
|
+
* Filter data by request type.
|
|
329
401
|
*/
|
|
330
|
-
|
|
402
|
+
requestType?: 'data' | 'rpc';
|
|
331
403
|
/**
|
|
332
404
|
* Filter data by API key ID.
|
|
333
405
|
*/
|
|
@@ -341,6 +413,50 @@ declare class DataApiUsageMetricsService {
|
|
|
341
413
|
*/
|
|
342
414
|
pageSize?: number;
|
|
343
415
|
}): CancelablePromise<LogsResponseDTO>;
|
|
416
|
+
/**
|
|
417
|
+
* 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 RpcUsageMetricsResponseDTO Successful response
|
|
420
|
+
* @throws ApiError
|
|
421
|
+
*/
|
|
422
|
+
getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, requestPath, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
423
|
+
/**
|
|
424
|
+
* Query param for setting time interval of data aggregation.
|
|
425
|
+
*/
|
|
426
|
+
timeInterval?: string;
|
|
427
|
+
/**
|
|
428
|
+
* 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
|
+
*/
|
|
430
|
+
startTimestamp?: number;
|
|
431
|
+
/**
|
|
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.
|
|
433
|
+
*/
|
|
434
|
+
endTimestamp?: number;
|
|
435
|
+
/**
|
|
436
|
+
* Query param for the criterion used for grouping metrics
|
|
437
|
+
*/
|
|
438
|
+
groupBy?: UsageMetricsGroupByEnum;
|
|
439
|
+
/**
|
|
440
|
+
* Filter data by chain ID.
|
|
441
|
+
*/
|
|
442
|
+
chainId?: string;
|
|
443
|
+
/**
|
|
444
|
+
* Filter data by request path.
|
|
445
|
+
*/
|
|
446
|
+
requestPath?: string;
|
|
447
|
+
/**
|
|
448
|
+
* Filter data by response status code.
|
|
449
|
+
*/
|
|
450
|
+
responseCode?: string;
|
|
451
|
+
/**
|
|
452
|
+
* Filter data by RPC method.
|
|
453
|
+
*/
|
|
454
|
+
rpcMethod?: string;
|
|
455
|
+
/**
|
|
456
|
+
* Filter data by Rl Bypass API Token.
|
|
457
|
+
*/
|
|
458
|
+
rlBypassApiToken?: string;
|
|
459
|
+
}): CancelablePromise<RpcUsageMetricsResponseDTO>;
|
|
344
460
|
}
|
|
345
461
|
|
|
346
462
|
declare class DefaultService {
|
|
@@ -625,7 +741,7 @@ declare class EvmBalancesService {
|
|
|
625
741
|
*/
|
|
626
742
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
627
743
|
/**
|
|
628
|
-
* A supported evm chain id
|
|
744
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
629
745
|
*/
|
|
630
746
|
chainId: string;
|
|
631
747
|
/**
|
|
@@ -653,7 +769,7 @@ declare class EvmBalancesService {
|
|
|
653
769
|
*/
|
|
654
770
|
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, filterSpamTokens, contractAddresses, currency, }: {
|
|
655
771
|
/**
|
|
656
|
-
* A supported evm chain id
|
|
772
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
657
773
|
*/
|
|
658
774
|
chainId: string;
|
|
659
775
|
/**
|
|
@@ -695,7 +811,7 @@ declare class EvmBalancesService {
|
|
|
695
811
|
*/
|
|
696
812
|
listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
697
813
|
/**
|
|
698
|
-
* A supported evm chain id
|
|
814
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
699
815
|
*/
|
|
700
816
|
chainId: string;
|
|
701
817
|
/**
|
|
@@ -727,7 +843,7 @@ declare class EvmBalancesService {
|
|
|
727
843
|
*/
|
|
728
844
|
listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
|
|
729
845
|
/**
|
|
730
|
-
* A supported evm chain id
|
|
846
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
731
847
|
*/
|
|
732
848
|
chainId: string;
|
|
733
849
|
/**
|
|
@@ -761,7 +877,7 @@ declare class EvmBalancesService {
|
|
|
761
877
|
*/
|
|
762
878
|
listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
763
879
|
/**
|
|
764
|
-
* A supported evm chain id
|
|
880
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
765
881
|
*/
|
|
766
882
|
chainId: string;
|
|
767
883
|
/**
|
|
@@ -890,7 +1006,7 @@ declare class EvmBlocksService {
|
|
|
890
1006
|
*/
|
|
891
1007
|
getLatestBlocks({ chainId, pageToken, pageSize, }: {
|
|
892
1008
|
/**
|
|
893
|
-
* A supported evm chain id
|
|
1009
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
894
1010
|
*/
|
|
895
1011
|
chainId: string;
|
|
896
1012
|
/**
|
|
@@ -910,7 +1026,7 @@ declare class EvmBlocksService {
|
|
|
910
1026
|
*/
|
|
911
1027
|
getBlock({ chainId, blockId, }: {
|
|
912
1028
|
/**
|
|
913
|
-
* A supported evm chain id
|
|
1029
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
914
1030
|
*/
|
|
915
1031
|
chainId: string;
|
|
916
1032
|
/**
|
|
@@ -1004,13 +1120,20 @@ type ChainInfo = {
|
|
|
1004
1120
|
enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
|
|
1005
1121
|
};
|
|
1006
1122
|
|
|
1123
|
+
type ListAddressChainsResponse = {
|
|
1124
|
+
indexedChains?: Array<ChainInfo>;
|
|
1125
|
+
unindexedChains?: Array<string>;
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1007
1128
|
type ListChainsResponse = {
|
|
1008
1129
|
chains: Array<ChainInfo>;
|
|
1009
1130
|
};
|
|
1010
1131
|
|
|
1011
|
-
declare enum
|
|
1132
|
+
declare enum Network {
|
|
1012
1133
|
MAINNET = "mainnet",
|
|
1013
|
-
|
|
1134
|
+
FUJI = "fuji",
|
|
1135
|
+
TESTNET = "testnet",
|
|
1136
|
+
DEVNET = "devnet"
|
|
1014
1137
|
}
|
|
1015
1138
|
|
|
1016
1139
|
declare class EvmChainsService {
|
|
@@ -1024,9 +1147,9 @@ declare class EvmChainsService {
|
|
|
1024
1147
|
*/
|
|
1025
1148
|
supportedChains({ network, feature, }: {
|
|
1026
1149
|
/**
|
|
1027
|
-
* mainnet or testnet.
|
|
1150
|
+
* Either mainnet or testnet/fuji.
|
|
1028
1151
|
*/
|
|
1029
|
-
network?:
|
|
1152
|
+
network?: Network;
|
|
1030
1153
|
/**
|
|
1031
1154
|
* Filter by feature.
|
|
1032
1155
|
*/
|
|
@@ -1040,10 +1163,22 @@ declare class EvmChainsService {
|
|
|
1040
1163
|
*/
|
|
1041
1164
|
getChainInfo({ chainId, }: {
|
|
1042
1165
|
/**
|
|
1043
|
-
* A supported evm chain id
|
|
1166
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1044
1167
|
*/
|
|
1045
1168
|
chainId: string;
|
|
1046
1169
|
}): CancelablePromise<GetChainResponse>;
|
|
1170
|
+
/**
|
|
1171
|
+
* Get chains for address
|
|
1172
|
+
* Gets the list of chains an address has interacted with.
|
|
1173
|
+
* @returns ListAddressChainsResponse Successful response
|
|
1174
|
+
* @throws ApiError
|
|
1175
|
+
*/
|
|
1176
|
+
getAddressChains({ address, }: {
|
|
1177
|
+
/**
|
|
1178
|
+
* A wallet address.
|
|
1179
|
+
*/
|
|
1180
|
+
address: string;
|
|
1181
|
+
}): CancelablePromise<ListAddressChainsResponse>;
|
|
1047
1182
|
}
|
|
1048
1183
|
|
|
1049
1184
|
type ImageAsset = {
|
|
@@ -1335,7 +1470,7 @@ declare class EvmContractsService {
|
|
|
1335
1470
|
*/
|
|
1336
1471
|
getContractMetadata({ chainId, address, }: {
|
|
1337
1472
|
/**
|
|
1338
|
-
* A supported evm chain id
|
|
1473
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1339
1474
|
*/
|
|
1340
1475
|
chainId: string;
|
|
1341
1476
|
/**
|
|
@@ -1351,7 +1486,7 @@ declare class EvmContractsService {
|
|
|
1351
1486
|
*/
|
|
1352
1487
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1353
1488
|
/**
|
|
1354
|
-
* A supported evm chain id
|
|
1489
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1355
1490
|
*/
|
|
1356
1491
|
chainId: string;
|
|
1357
1492
|
/**
|
|
@@ -1901,7 +2036,7 @@ declare class EvmTransactionsService {
|
|
|
1901
2036
|
*/
|
|
1902
2037
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1903
2038
|
/**
|
|
1904
|
-
* A supported evm chain id
|
|
2039
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1905
2040
|
*/
|
|
1906
2041
|
chainId: string;
|
|
1907
2042
|
/**
|
|
@@ -1921,7 +2056,7 @@ declare class EvmTransactionsService {
|
|
|
1921
2056
|
*/
|
|
1922
2057
|
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
1923
2058
|
/**
|
|
1924
|
-
* A supported evm chain id
|
|
2059
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1925
2060
|
*/
|
|
1926
2061
|
chainId: string;
|
|
1927
2062
|
/**
|
|
@@ -1945,7 +2080,7 @@ declare class EvmTransactionsService {
|
|
|
1945
2080
|
*/
|
|
1946
2081
|
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1947
2082
|
/**
|
|
1948
|
-
* A supported evm chain id
|
|
2083
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1949
2084
|
*/
|
|
1950
2085
|
chainId: string;
|
|
1951
2086
|
/**
|
|
@@ -1979,7 +2114,7 @@ declare class EvmTransactionsService {
|
|
|
1979
2114
|
*/
|
|
1980
2115
|
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
1981
2116
|
/**
|
|
1982
|
-
* A supported evm chain id
|
|
2117
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1983
2118
|
*/
|
|
1984
2119
|
chainId: string;
|
|
1985
2120
|
/**
|
|
@@ -2015,7 +2150,7 @@ declare class EvmTransactionsService {
|
|
|
2015
2150
|
*/
|
|
2016
2151
|
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2017
2152
|
/**
|
|
2018
|
-
* A supported evm chain id
|
|
2153
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2019
2154
|
*/
|
|
2020
2155
|
chainId: string;
|
|
2021
2156
|
/**
|
|
@@ -2047,7 +2182,7 @@ declare class EvmTransactionsService {
|
|
|
2047
2182
|
*/
|
|
2048
2183
|
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2049
2184
|
/**
|
|
2050
|
-
* A supported evm chain id
|
|
2185
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2051
2186
|
*/
|
|
2052
2187
|
chainId: string;
|
|
2053
2188
|
/**
|
|
@@ -2079,7 +2214,7 @@ declare class EvmTransactionsService {
|
|
|
2079
2214
|
*/
|
|
2080
2215
|
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2081
2216
|
/**
|
|
2082
|
-
* A supported evm chain id
|
|
2217
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2083
2218
|
*/
|
|
2084
2219
|
chainId: string;
|
|
2085
2220
|
/**
|
|
@@ -2111,7 +2246,7 @@ declare class EvmTransactionsService {
|
|
|
2111
2246
|
*/
|
|
2112
2247
|
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2113
2248
|
/**
|
|
2114
|
-
* A supported evm chain id
|
|
2249
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2115
2250
|
*/
|
|
2116
2251
|
chainId: string;
|
|
2117
2252
|
/**
|
|
@@ -2145,7 +2280,7 @@ declare class EvmTransactionsService {
|
|
|
2145
2280
|
*/
|
|
2146
2281
|
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2147
2282
|
/**
|
|
2148
|
-
* A supported evm chain id
|
|
2283
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2149
2284
|
*/
|
|
2150
2285
|
chainId: string;
|
|
2151
2286
|
/**
|
|
@@ -2177,7 +2312,7 @@ declare class EvmTransactionsService {
|
|
|
2177
2312
|
*/
|
|
2178
2313
|
getTransaction({ chainId, txHash, }: {
|
|
2179
2314
|
/**
|
|
2180
|
-
* A supported evm chain id
|
|
2315
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2181
2316
|
*/
|
|
2182
2317
|
chainId: string;
|
|
2183
2318
|
/**
|
|
@@ -2193,7 +2328,7 @@ declare class EvmTransactionsService {
|
|
|
2193
2328
|
*/
|
|
2194
2329
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
2195
2330
|
/**
|
|
2196
|
-
* A supported evm chain id
|
|
2331
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2197
2332
|
*/
|
|
2198
2333
|
chainId: string;
|
|
2199
2334
|
/**
|
|
@@ -2209,7 +2344,7 @@ declare class EvmTransactionsService {
|
|
|
2209
2344
|
*/
|
|
2210
2345
|
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
2211
2346
|
/**
|
|
2212
|
-
* A supported evm chain id
|
|
2347
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2213
2348
|
*/
|
|
2214
2349
|
chainId: string;
|
|
2215
2350
|
/**
|
|
@@ -2262,7 +2397,7 @@ declare class NfTsService {
|
|
|
2262
2397
|
*/
|
|
2263
2398
|
reindexNft({ chainId, address, tokenId, }: {
|
|
2264
2399
|
/**
|
|
2265
|
-
* A supported evm chain id
|
|
2400
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2266
2401
|
*/
|
|
2267
2402
|
chainId: string;
|
|
2268
2403
|
/**
|
|
@@ -2282,7 +2417,7 @@ declare class NfTsService {
|
|
|
2282
2417
|
*/
|
|
2283
2418
|
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2284
2419
|
/**
|
|
2285
|
-
* A supported evm chain id
|
|
2420
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2286
2421
|
*/
|
|
2287
2422
|
chainId: string;
|
|
2288
2423
|
/**
|
|
@@ -2306,7 +2441,7 @@ declare class NfTsService {
|
|
|
2306
2441
|
*/
|
|
2307
2442
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
2308
2443
|
/**
|
|
2309
|
-
* A supported evm chain id
|
|
2444
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2310
2445
|
*/
|
|
2311
2446
|
chainId: string;
|
|
2312
2447
|
/**
|
|
@@ -2331,16 +2466,16 @@ declare enum EVMOperationType {
|
|
|
2331
2466
|
|
|
2332
2467
|
type CreateEvmTransactionExportRequest = {
|
|
2333
2468
|
type: EVMOperationType;
|
|
2334
|
-
firstDate
|
|
2335
|
-
lastDate
|
|
2469
|
+
firstDate?: string;
|
|
2470
|
+
lastDate?: string;
|
|
2336
2471
|
/**
|
|
2337
2472
|
* @deprecated
|
|
2338
2473
|
*/
|
|
2339
|
-
startDate
|
|
2474
|
+
startDate?: string;
|
|
2340
2475
|
/**
|
|
2341
2476
|
* @deprecated
|
|
2342
2477
|
*/
|
|
2343
|
-
endDate
|
|
2478
|
+
endDate?: string;
|
|
2344
2479
|
options: EvmNetworkOptions;
|
|
2345
2480
|
};
|
|
2346
2481
|
|
|
@@ -2353,21 +2488,21 @@ declare enum PrimaryNetworkOperationType {
|
|
|
2353
2488
|
type PrimaryNetworkOptions = {
|
|
2354
2489
|
addresses?: Array<string>;
|
|
2355
2490
|
cChainEvmAddresses?: Array<string>;
|
|
2356
|
-
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2491
|
+
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2357
2492
|
};
|
|
2358
2493
|
|
|
2359
2494
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
2360
2495
|
type: PrimaryNetworkOperationType;
|
|
2361
|
-
firstDate
|
|
2362
|
-
lastDate
|
|
2496
|
+
firstDate?: string;
|
|
2497
|
+
lastDate?: string;
|
|
2363
2498
|
/**
|
|
2364
2499
|
* @deprecated
|
|
2365
2500
|
*/
|
|
2366
|
-
startDate
|
|
2501
|
+
startDate?: string;
|
|
2367
2502
|
/**
|
|
2368
2503
|
* @deprecated
|
|
2369
2504
|
*/
|
|
2370
|
-
endDate
|
|
2505
|
+
endDate?: string;
|
|
2371
2506
|
options: PrimaryNetworkOptions;
|
|
2372
2507
|
};
|
|
2373
2508
|
|
|
@@ -2445,8 +2580,10 @@ declare enum BlockchainIds {
|
|
|
2445
2580
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
2446
2581
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
2447
2582
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
2583
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
2448
2584
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
2449
|
-
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
2585
|
+
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
2586
|
+
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
|
|
2450
2587
|
}
|
|
2451
2588
|
|
|
2452
2589
|
type ChainAddressChainIdMap = {
|
|
@@ -2570,10 +2707,61 @@ type ListDelegatorDetailsResponse = {
|
|
|
2570
2707
|
delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
|
|
2571
2708
|
};
|
|
2572
2709
|
|
|
2710
|
+
type BalanceOwner = {
|
|
2711
|
+
addresses: Array<string>;
|
|
2712
|
+
threshold: number;
|
|
2713
|
+
};
|
|
2714
|
+
|
|
2715
|
+
type SovDetailsFull = {
|
|
2716
|
+
/**
|
|
2717
|
+
* Unique SoV ID used network-wide to identify subnet-only validation until its weight is reduced to 0 i.e. removed.
|
|
2718
|
+
*/
|
|
2719
|
+
validationId: string;
|
|
2720
|
+
nodeId: string;
|
|
2721
|
+
subnetId: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* Weight of the SoV used while sampling validators within the L1. A zero-weight SoV means it has been removed from the L1, and the validationID is no longer valid
|
|
2724
|
+
*/
|
|
2725
|
+
weight: number;
|
|
2726
|
+
/**
|
|
2727
|
+
* Remaining SoV balance in nAVAX until inactive. It can rejoin subnet sampling by increasing balance with IncreaseBalanceTx
|
|
2728
|
+
*/
|
|
2729
|
+
remainingBalance: number;
|
|
2730
|
+
/**
|
|
2731
|
+
* The timestamp of the transaction which created this SoV
|
|
2732
|
+
*/
|
|
2733
|
+
creationTimestamp: number;
|
|
2734
|
+
blsCredentials: Record<string, any>;
|
|
2735
|
+
/**
|
|
2736
|
+
* The SoV owner's balance, returned after it's disabled or removed
|
|
2737
|
+
*/
|
|
2738
|
+
remainingBalanceOwner: BalanceOwner;
|
|
2739
|
+
/**
|
|
2740
|
+
* Owner ddresses details which can disable or remove the SoV
|
|
2741
|
+
*/
|
|
2742
|
+
deactivationOwner: BalanceOwner;
|
|
2743
|
+
};
|
|
2744
|
+
|
|
2745
|
+
type ListSubnetOnlyValidatorsResponse = {
|
|
2746
|
+
/**
|
|
2747
|
+
* A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
|
|
2748
|
+
*/
|
|
2749
|
+
nextPageToken?: string;
|
|
2750
|
+
/**
|
|
2751
|
+
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
2752
|
+
*/
|
|
2753
|
+
validators: Array<SovDetailsFull>;
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2573
2756
|
type BlockchainInfo = {
|
|
2574
2757
|
blockchainId: string;
|
|
2575
2758
|
};
|
|
2576
2759
|
|
|
2760
|
+
type L1ValidatorManagerDetails = {
|
|
2761
|
+
blockchainId: string;
|
|
2762
|
+
contractAddress: string;
|
|
2763
|
+
};
|
|
2764
|
+
|
|
2577
2765
|
type SubnetOwnershipInfo = {
|
|
2578
2766
|
/**
|
|
2579
2767
|
* Locktime in seconds after which Subnet owners can control this Subnet.
|
|
@@ -2612,6 +2800,14 @@ type Subnet = {
|
|
|
2612
2800
|
* Latest subnet owner details for this Subnet.
|
|
2613
2801
|
*/
|
|
2614
2802
|
subnetOwnershipInfo: SubnetOwnershipInfo;
|
|
2803
|
+
/**
|
|
2804
|
+
* Whether the subnet is an L1 or not.
|
|
2805
|
+
*/
|
|
2806
|
+
isL1: boolean;
|
|
2807
|
+
/**
|
|
2808
|
+
* L1 validator manager details.
|
|
2809
|
+
*/
|
|
2810
|
+
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
2615
2811
|
blockchains: Array<BlockchainInfo>;
|
|
2616
2812
|
};
|
|
2617
2813
|
|
|
@@ -2695,6 +2891,7 @@ type CompletedValidatorDetails = {
|
|
|
2695
2891
|
*/
|
|
2696
2892
|
blsCredentials?: BlsCredentials;
|
|
2697
2893
|
delegatorCount: number;
|
|
2894
|
+
amountDelegated?: string;
|
|
2698
2895
|
rewards: Rewards;
|
|
2699
2896
|
validationStatus: CompletedValidatorDetails.validationStatus;
|
|
2700
2897
|
};
|
|
@@ -2757,11 +2954,6 @@ type ListValidatorDetailsResponse = {
|
|
|
2757
2954
|
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
|
|
2758
2955
|
};
|
|
2759
2956
|
|
|
2760
|
-
declare enum Network {
|
|
2761
|
-
MAINNET = "mainnet",
|
|
2762
|
-
FUJI = "fuji"
|
|
2763
|
-
}
|
|
2764
|
-
|
|
2765
2957
|
declare enum SortByOption {
|
|
2766
2958
|
BLOCK_INDEX = "blockIndex",
|
|
2767
2959
|
DELEGATION_CAPACITY = "delegationCapacity",
|
|
@@ -2821,6 +3013,7 @@ type XChainAssetDetails = {
|
|
|
2821
3013
|
declare enum XChainId {
|
|
2822
3014
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
2823
3015
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3016
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
2824
3017
|
X_CHAIN = "x-chain"
|
|
2825
3018
|
}
|
|
2826
3019
|
|
|
@@ -2839,7 +3032,7 @@ declare class PrimaryNetworkService {
|
|
|
2839
3032
|
*/
|
|
2840
3033
|
blockchainId: XChainId;
|
|
2841
3034
|
/**
|
|
2842
|
-
* Either mainnet or
|
|
3035
|
+
* Either mainnet or testnet/fuji.
|
|
2843
3036
|
*/
|
|
2844
3037
|
network: Network;
|
|
2845
3038
|
/**
|
|
@@ -2859,7 +3052,7 @@ declare class PrimaryNetworkService {
|
|
|
2859
3052
|
*/
|
|
2860
3053
|
addresses: string;
|
|
2861
3054
|
/**
|
|
2862
|
-
* Either mainnet or
|
|
3055
|
+
* Either mainnet or testnet/fuji.
|
|
2863
3056
|
*/
|
|
2864
3057
|
network: Network;
|
|
2865
3058
|
}): CancelablePromise<ChainAddressChainIdMapListResponse>;
|
|
@@ -2871,7 +3064,7 @@ declare class PrimaryNetworkService {
|
|
|
2871
3064
|
*/
|
|
2872
3065
|
getNetworkDetails({ network, }: {
|
|
2873
3066
|
/**
|
|
2874
|
-
* Either mainnet or
|
|
3067
|
+
* Either mainnet or testnet/fuji.
|
|
2875
3068
|
*/
|
|
2876
3069
|
network: Network;
|
|
2877
3070
|
}): CancelablePromise<GetNetworkDetailsResponse>;
|
|
@@ -2883,7 +3076,7 @@ declare class PrimaryNetworkService {
|
|
|
2883
3076
|
*/
|
|
2884
3077
|
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
2885
3078
|
/**
|
|
2886
|
-
* Either mainnet or
|
|
3079
|
+
* Either mainnet or testnet/fuji.
|
|
2887
3080
|
*/
|
|
2888
3081
|
network: Network;
|
|
2889
3082
|
/**
|
|
@@ -2907,7 +3100,7 @@ declare class PrimaryNetworkService {
|
|
|
2907
3100
|
*/
|
|
2908
3101
|
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
2909
3102
|
/**
|
|
2910
|
-
* Either mainnet or
|
|
3103
|
+
* Either mainnet or testnet/fuji.
|
|
2911
3104
|
*/
|
|
2912
3105
|
network: Network;
|
|
2913
3106
|
/**
|
|
@@ -2931,7 +3124,7 @@ declare class PrimaryNetworkService {
|
|
|
2931
3124
|
*/
|
|
2932
3125
|
getSubnetById({ network, subnetId, }: {
|
|
2933
3126
|
/**
|
|
2934
|
-
* Either mainnet or
|
|
3127
|
+
* Either mainnet or testnet/fuji.
|
|
2935
3128
|
*/
|
|
2936
3129
|
network: Network;
|
|
2937
3130
|
/**
|
|
@@ -2947,7 +3140,7 @@ declare class PrimaryNetworkService {
|
|
|
2947
3140
|
*/
|
|
2948
3141
|
listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
|
|
2949
3142
|
/**
|
|
2950
|
-
* Either mainnet or
|
|
3143
|
+
* Either mainnet or testnet/fuji.
|
|
2951
3144
|
*/
|
|
2952
3145
|
network: Network;
|
|
2953
3146
|
/**
|
|
@@ -3021,7 +3214,7 @@ declare class PrimaryNetworkService {
|
|
|
3021
3214
|
*/
|
|
3022
3215
|
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
|
|
3023
3216
|
/**
|
|
3024
|
-
* Either mainnet or
|
|
3217
|
+
* Either mainnet or testnet/fuji.
|
|
3025
3218
|
*/
|
|
3026
3219
|
network: Network;
|
|
3027
3220
|
/**
|
|
@@ -3053,7 +3246,7 @@ declare class PrimaryNetworkService {
|
|
|
3053
3246
|
*/
|
|
3054
3247
|
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
3055
3248
|
/**
|
|
3056
|
-
* Either mainnet or
|
|
3249
|
+
* Either mainnet or testnet/fuji.
|
|
3057
3250
|
*/
|
|
3058
3251
|
network: Network;
|
|
3059
3252
|
/**
|
|
@@ -3081,14 +3274,49 @@ declare class PrimaryNetworkService {
|
|
|
3081
3274
|
*/
|
|
3082
3275
|
nodeIds?: string;
|
|
3083
3276
|
}): CancelablePromise<ListDelegatorDetailsResponse>;
|
|
3277
|
+
/**
|
|
3278
|
+
* List subnet-only validators
|
|
3279
|
+
* Lists details for subnet only validators. By default, returns details for all active subnet only validators. Filterable by validator node ids, subnet id, and validation id.
|
|
3280
|
+
* @returns ListSubnetOnlyValidatorsResponse Successful response
|
|
3281
|
+
* @throws ApiError
|
|
3282
|
+
*/
|
|
3283
|
+
listSubnetOnlyValidators({ network, pageToken, pageSize, sovValidationId, includeInactiveSovs, nodeId, subnetId, }: {
|
|
3284
|
+
/**
|
|
3285
|
+
* Either mainnet or testnet/fuji.
|
|
3286
|
+
*/
|
|
3287
|
+
network: Network;
|
|
3288
|
+
/**
|
|
3289
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3290
|
+
*/
|
|
3291
|
+
pageToken?: string;
|
|
3292
|
+
/**
|
|
3293
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3294
|
+
*/
|
|
3295
|
+
pageSize?: number;
|
|
3296
|
+
/**
|
|
3297
|
+
* The Subnet-only-Validator validation ID to filter by. If not provided, then all Subnet-only-Validators will be returned.
|
|
3298
|
+
*/
|
|
3299
|
+
sovValidationId?: any;
|
|
3300
|
+
includeInactiveSovs?: boolean;
|
|
3301
|
+
/**
|
|
3302
|
+
* A valid node ID in format 'NodeID-HASH'.
|
|
3303
|
+
*/
|
|
3304
|
+
nodeId?: string;
|
|
3305
|
+
/**
|
|
3306
|
+
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
3307
|
+
*/
|
|
3308
|
+
subnetId?: any;
|
|
3309
|
+
}): CancelablePromise<ListSubnetOnlyValidatorsResponse>;
|
|
3084
3310
|
}
|
|
3085
3311
|
|
|
3086
3312
|
declare enum BlockchainId {
|
|
3087
3313
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3088
3314
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3089
3315
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3316
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3090
3317
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
3091
3318
|
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
3319
|
+
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
|
|
3092
3320
|
P_CHAIN = "p-chain",
|
|
3093
3321
|
X_CHAIN = "x-chain",
|
|
3094
3322
|
C_CHAIN = "c-chain"
|
|
@@ -3125,11 +3353,6 @@ type CChainAtomicBalances = {
|
|
|
3125
3353
|
atomicMemoryLocked: Array<CChainSharedAssetBalance>;
|
|
3126
3354
|
};
|
|
3127
3355
|
|
|
3128
|
-
declare enum PrimaryNetwork {
|
|
3129
|
-
MAINNET = "mainnet",
|
|
3130
|
-
FUJI = "fuji"
|
|
3131
|
-
}
|
|
3132
|
-
|
|
3133
3356
|
declare enum PrimaryNetworkChainName {
|
|
3134
3357
|
P_CHAIN = "p-chain",
|
|
3135
3358
|
X_CHAIN = "x-chain",
|
|
@@ -3138,7 +3361,7 @@ declare enum PrimaryNetworkChainName {
|
|
|
3138
3361
|
|
|
3139
3362
|
type PrimaryNetworkChainInfo = {
|
|
3140
3363
|
chainName: PrimaryNetworkChainName;
|
|
3141
|
-
network:
|
|
3364
|
+
network: Network;
|
|
3142
3365
|
};
|
|
3143
3366
|
|
|
3144
3367
|
type ListCChainAtomicBalancesResponse = {
|
|
@@ -3299,7 +3522,7 @@ declare class PrimaryNetworkBalancesService {
|
|
|
3299
3522
|
*/
|
|
3300
3523
|
blockchainId: BlockchainId;
|
|
3301
3524
|
/**
|
|
3302
|
-
* Either mainnet or
|
|
3525
|
+
* Either mainnet or testnet/fuji.
|
|
3303
3526
|
*/
|
|
3304
3527
|
network: Network;
|
|
3305
3528
|
/**
|
|
@@ -3330,6 +3553,8 @@ type GetPrimaryNetworkBlockResponse = {
|
|
|
3330
3553
|
txCount: number;
|
|
3331
3554
|
transactions: Array<string>;
|
|
3332
3555
|
blockSizeBytes: number;
|
|
3556
|
+
subnetOnlyValidatorsAccruedFees?: number;
|
|
3557
|
+
activeSubnetOnlyValidators?: number;
|
|
3333
3558
|
currentSupply?: string;
|
|
3334
3559
|
proposerDetails?: ProposerDetails;
|
|
3335
3560
|
};
|
|
@@ -3343,6 +3568,8 @@ type PrimaryNetworkBlock = {
|
|
|
3343
3568
|
txCount: number;
|
|
3344
3569
|
transactions: Array<string>;
|
|
3345
3570
|
blockSizeBytes: number;
|
|
3571
|
+
subnetOnlyValidatorsAccruedFees?: number;
|
|
3572
|
+
activeSubnetOnlyValidators?: number;
|
|
3346
3573
|
currentSupply?: string;
|
|
3347
3574
|
proposerDetails?: ProposerDetails;
|
|
3348
3575
|
};
|
|
@@ -3371,7 +3598,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3371
3598
|
*/
|
|
3372
3599
|
blockchainId: BlockchainId;
|
|
3373
3600
|
/**
|
|
3374
|
-
* Either mainnet or
|
|
3601
|
+
* Either mainnet or testnet/fuji.
|
|
3375
3602
|
*/
|
|
3376
3603
|
network: Network;
|
|
3377
3604
|
/**
|
|
@@ -3391,7 +3618,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3391
3618
|
*/
|
|
3392
3619
|
blockchainId: BlockchainId;
|
|
3393
3620
|
/**
|
|
3394
|
-
* Either mainnet or
|
|
3621
|
+
* Either mainnet or testnet/fuji.
|
|
3395
3622
|
*/
|
|
3396
3623
|
network: Network;
|
|
3397
3624
|
/**
|
|
@@ -3419,7 +3646,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3419
3646
|
*/
|
|
3420
3647
|
blockchainId: BlockchainId;
|
|
3421
3648
|
/**
|
|
3422
|
-
* Either mainnet or
|
|
3649
|
+
* Either mainnet or testnet/fuji.
|
|
3423
3650
|
*/
|
|
3424
3651
|
network: Network;
|
|
3425
3652
|
/**
|
|
@@ -3553,7 +3780,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3553
3780
|
*/
|
|
3554
3781
|
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
3555
3782
|
/**
|
|
3556
|
-
* Either mainnet or
|
|
3783
|
+
* Either mainnet or testnet/fuji.
|
|
3557
3784
|
*/
|
|
3558
3785
|
network: Network;
|
|
3559
3786
|
/**
|
|
@@ -3585,7 +3812,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3585
3812
|
*/
|
|
3586
3813
|
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
3587
3814
|
/**
|
|
3588
|
-
* Either mainnet or
|
|
3815
|
+
* Either mainnet or testnet/fuji.
|
|
3589
3816
|
*/
|
|
3590
3817
|
network: Network;
|
|
3591
3818
|
/**
|
|
@@ -3847,6 +4074,11 @@ declare enum PChainTransactionType {
|
|
|
3847
4074
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3848
4075
|
BASE_TX = "BaseTx",
|
|
3849
4076
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
4077
|
+
CONVERT_SUBNET_TX = "ConvertSubnetTx",
|
|
4078
|
+
REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
|
|
4079
|
+
SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
|
|
4080
|
+
DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
|
|
4081
|
+
INCREASE_BALANCE_TX = "IncreaseBalanceTx",
|
|
3850
4082
|
UNKNOWN = "UNKNOWN"
|
|
3851
4083
|
}
|
|
3852
4084
|
|
|
@@ -3901,6 +4133,28 @@ type PChainUtxo = {
|
|
|
3901
4133
|
utxoType: UtxoType;
|
|
3902
4134
|
};
|
|
3903
4135
|
|
|
4136
|
+
type SoVDetailsTransaction = {
|
|
4137
|
+
/**
|
|
4138
|
+
* Unique SoV ID used network-wide to identify subnet-only validation until its weight is reduced to 0 i.e. removed.
|
|
4139
|
+
*/
|
|
4140
|
+
validationId: string;
|
|
4141
|
+
nodeId: string;
|
|
4142
|
+
subnetId: string;
|
|
4143
|
+
/**
|
|
4144
|
+
* Weight of the SoV used while sampling validators within the L1. A zero-weight SoV means it has been removed from the L1, and the validationID is no longer valid
|
|
4145
|
+
*/
|
|
4146
|
+
weight: number;
|
|
4147
|
+
/**
|
|
4148
|
+
* Remaining SoV balance in nAVAX until inactive. It can rejoin subnet sampling by increasing balance with IncreaseBalanceTx
|
|
4149
|
+
*/
|
|
4150
|
+
remainingBalance: number;
|
|
4151
|
+
/**
|
|
4152
|
+
* The increase in SoV balance in the current transaction. When the balance is returned after the SoV is disabled or removed, this value is negative
|
|
4153
|
+
*/
|
|
4154
|
+
balanceChange?: number;
|
|
4155
|
+
blsCredentials?: Record<string, any>;
|
|
4156
|
+
};
|
|
4157
|
+
|
|
3904
4158
|
type PChainTransaction = {
|
|
3905
4159
|
/**
|
|
3906
4160
|
* A P-Chain transaction hash.
|
|
@@ -3935,6 +4189,10 @@ type PChainTransaction = {
|
|
|
3935
4189
|
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3936
4190
|
*/
|
|
3937
4191
|
amountStaked: Array<AssetAmount>;
|
|
4192
|
+
/**
|
|
4193
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4194
|
+
*/
|
|
4195
|
+
amountSovBalanceBurned: Array<AssetAmount>;
|
|
3938
4196
|
/**
|
|
3939
4197
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3940
4198
|
*/
|
|
@@ -3955,6 +4213,14 @@ type PChainTransaction = {
|
|
|
3955
4213
|
* Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx
|
|
3956
4214
|
*/
|
|
3957
4215
|
subnetId?: string;
|
|
4216
|
+
/**
|
|
4217
|
+
* Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetTx which transforms a subnet into L1
|
|
4218
|
+
*/
|
|
4219
|
+
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
4220
|
+
/**
|
|
4221
|
+
* Details of Subnet-only-Validators registered or changed in the current transaction. The details reflect the state at the time of the transaction, not in real-time
|
|
4222
|
+
*/
|
|
4223
|
+
l1ValidatorDetails?: Array<SoVDetailsTransaction>;
|
|
3958
4224
|
/**
|
|
3959
4225
|
* Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3960
4226
|
*/
|
|
@@ -4156,6 +4422,11 @@ declare enum PrimaryNetworkTxType {
|
|
|
4156
4422
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
4157
4423
|
BASE_TX = "BaseTx",
|
|
4158
4424
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
4425
|
+
CONVERT_SUBNET_TX = "ConvertSubnetTx",
|
|
4426
|
+
REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
|
|
4427
|
+
SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
|
|
4428
|
+
DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
|
|
4429
|
+
INCREASE_BALANCE_TX = "IncreaseBalanceTx",
|
|
4159
4430
|
UNKNOWN = "UNKNOWN",
|
|
4160
4431
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
4161
4432
|
OPERATION_TX = "OperationTx"
|
|
@@ -4176,7 +4447,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4176
4447
|
*/
|
|
4177
4448
|
blockchainId: BlockchainId;
|
|
4178
4449
|
/**
|
|
4179
|
-
* Either mainnet or
|
|
4450
|
+
* Either mainnet or testnet/fuji.
|
|
4180
4451
|
*/
|
|
4181
4452
|
network: Network;
|
|
4182
4453
|
/**
|
|
@@ -4190,23 +4461,26 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4190
4461
|
*
|
|
4191
4462
|
* 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.
|
|
4192
4463
|
*
|
|
4464
|
+
* For P-Chain, you can fetch all the Subnet-only-Validator (SoV) related transactions like ConvertSubnetTx, IncreaseBalanceTx etc. using the unique SoV validation ID. These transactions are further filterable by txTypes and timestamps as well.
|
|
4465
|
+
*
|
|
4193
4466
|
* 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.
|
|
4194
4467
|
* @returns any Successful response
|
|
4195
4468
|
* @throws ApiError
|
|
4196
4469
|
*/
|
|
4197
|
-
listLatestPrimaryNetworkTransactions({
|
|
4198
|
-
/**
|
|
4199
|
-
* 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.
|
|
4200
|
-
*/
|
|
4201
|
-
addresses: string;
|
|
4470
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, sovValidationId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
4202
4471
|
/**
|
|
4203
4472
|
* A primary network blockchain id or alias.
|
|
4204
4473
|
*/
|
|
4205
4474
|
blockchainId: BlockchainId;
|
|
4206
4475
|
/**
|
|
4207
|
-
* Either mainnet or
|
|
4476
|
+
* Either mainnet or testnet/fuji.
|
|
4208
4477
|
*/
|
|
4209
4478
|
network: Network;
|
|
4479
|
+
/**
|
|
4480
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
|
|
4481
|
+
*/
|
|
4482
|
+
addresses?: string;
|
|
4483
|
+
sovValidationId?: string;
|
|
4210
4484
|
/**
|
|
4211
4485
|
* Query param for filtering items based on transaction types.
|
|
4212
4486
|
*/
|
|
@@ -4244,7 +4518,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4244
4518
|
*/
|
|
4245
4519
|
blockchainId: PChainId;
|
|
4246
4520
|
/**
|
|
4247
|
-
* Either mainnet or
|
|
4521
|
+
* Either mainnet or testnet/fuji.
|
|
4248
4522
|
*/
|
|
4249
4523
|
network: Network;
|
|
4250
4524
|
/**
|
|
@@ -4288,7 +4562,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4288
4562
|
*/
|
|
4289
4563
|
blockchainId: XChainId;
|
|
4290
4564
|
/**
|
|
4291
|
-
* Either mainnet or
|
|
4565
|
+
* Either mainnet or testnet/fuji.
|
|
4292
4566
|
*/
|
|
4293
4567
|
network: Network;
|
|
4294
4568
|
/**
|
|
@@ -4351,7 +4625,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4351
4625
|
*/
|
|
4352
4626
|
blockchainId: BlockchainId;
|
|
4353
4627
|
/**
|
|
4354
|
-
* Either mainnet or
|
|
4628
|
+
* Either mainnet or testnet/fuji.
|
|
4355
4629
|
*/
|
|
4356
4630
|
network: Network;
|
|
4357
4631
|
/**
|
|
@@ -4416,7 +4690,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4416
4690
|
*/
|
|
4417
4691
|
blockchainId: XChainId;
|
|
4418
4692
|
/**
|
|
4419
|
-
* Either mainnet or
|
|
4693
|
+
* Either mainnet or testnet/fuji.
|
|
4420
4694
|
*/
|
|
4421
4695
|
network: Network;
|
|
4422
4696
|
/**
|
|
@@ -4444,7 +4718,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4444
4718
|
*/
|
|
4445
4719
|
blockchainId: XChainId;
|
|
4446
4720
|
/**
|
|
4447
|
-
* Either mainnet or
|
|
4721
|
+
* Either mainnet or testnet/fuji.
|
|
4448
4722
|
*/
|
|
4449
4723
|
network: Network;
|
|
4450
4724
|
}): CancelablePromise<XChainVertex>;
|
|
@@ -4464,7 +4738,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4464
4738
|
*/
|
|
4465
4739
|
blockchainId: XChainId;
|
|
4466
4740
|
/**
|
|
4467
|
-
* Either mainnet or
|
|
4741
|
+
* Either mainnet or testnet/fuji.
|
|
4468
4742
|
*/
|
|
4469
4743
|
network: Network;
|
|
4470
4744
|
/**
|
|
@@ -4482,47 +4756,35 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4482
4756
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4483
4757
|
}
|
|
4484
4758
|
|
|
4485
|
-
type
|
|
4486
|
-
|
|
4487
|
-
message: string;
|
|
4488
|
-
data?: Record<string, any>;
|
|
4489
|
-
};
|
|
4490
|
-
|
|
4491
|
-
type RpcErrorResponseDto = {
|
|
4492
|
-
jsonrpc: string;
|
|
4493
|
-
id?: (string | number);
|
|
4494
|
-
error: RpcErrorDto;
|
|
4759
|
+
type SignatureAggregationResponse = {
|
|
4760
|
+
signedMessage: string;
|
|
4495
4761
|
};
|
|
4496
4762
|
|
|
4497
|
-
type
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4763
|
+
type SignatureAggregatorRequest = {
|
|
4764
|
+
/**
|
|
4765
|
+
* Must be defined if justification is not defined
|
|
4766
|
+
*/
|
|
4767
|
+
message?: string;
|
|
4768
|
+
/**
|
|
4769
|
+
* Must be defined if message is not defined
|
|
4770
|
+
*/
|
|
4771
|
+
justification?: string;
|
|
4772
|
+
signingSubnetId?: string;
|
|
4773
|
+
quorumPercentage?: number;
|
|
4508
4774
|
};
|
|
4509
4775
|
|
|
4510
|
-
declare class
|
|
4776
|
+
declare class SignatureAggregatorService {
|
|
4511
4777
|
readonly httpRequest: BaseHttpRequest;
|
|
4512
4778
|
constructor(httpRequest: BaseHttpRequest);
|
|
4513
4779
|
/**
|
|
4514
|
-
*
|
|
4515
|
-
*
|
|
4516
|
-
* @returns
|
|
4780
|
+
* Aggregate Signatures
|
|
4781
|
+
* Aggregates Signatures for a Warp message from Subnet validators.
|
|
4782
|
+
* @returns SignatureAggregationResponse Successful response
|
|
4517
4783
|
* @throws ApiError
|
|
4518
4784
|
*/
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
*/
|
|
4523
|
-
chainId: string;
|
|
4524
|
-
requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
|
|
4525
|
-
}): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
|
|
4785
|
+
aggregateSignatures({ requestBody, }: {
|
|
4786
|
+
requestBody: SignatureAggregatorRequest;
|
|
4787
|
+
}): CancelablePromise<SignatureAggregationResponse>;
|
|
4526
4788
|
}
|
|
4527
4789
|
|
|
4528
4790
|
type TeleporterDestinationTransaction = {
|
|
@@ -4710,9 +4972,9 @@ declare class TeleporterService {
|
|
|
4710
4972
|
*/
|
|
4711
4973
|
from?: string;
|
|
4712
4974
|
/**
|
|
4713
|
-
* mainnet or testnet.
|
|
4975
|
+
* Either mainnet or testnet/fuji.
|
|
4714
4976
|
*/
|
|
4715
|
-
network?:
|
|
4977
|
+
network?: Network;
|
|
4716
4978
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4717
4979
|
/**
|
|
4718
4980
|
* List teleporter messages by address
|
|
@@ -4734,9 +4996,9 @@ declare class TeleporterService {
|
|
|
4734
4996
|
*/
|
|
4735
4997
|
pageSize?: number;
|
|
4736
4998
|
/**
|
|
4737
|
-
* mainnet or testnet.
|
|
4999
|
+
* Either mainnet or testnet/fuji.
|
|
4738
5000
|
*/
|
|
4739
|
-
network?:
|
|
5001
|
+
network?: Network;
|
|
4740
5002
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4741
5003
|
}
|
|
4742
5004
|
|
|
@@ -4989,7 +5251,7 @@ declare class Glacier {
|
|
|
4989
5251
|
readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
|
|
4990
5252
|
readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
|
|
4991
5253
|
readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
|
|
4992
|
-
readonly
|
|
5254
|
+
readonly signatureAggregator: SignatureAggregatorService;
|
|
4993
5255
|
readonly teleporter: TeleporterService;
|
|
4994
5256
|
readonly webhooks: WebhooksService;
|
|
4995
5257
|
readonly request: BaseHttpRequest;
|
|
@@ -5144,4 +5406,4 @@ type Unauthorized = {
|
|
|
5144
5406
|
error: string;
|
|
5145
5407
|
};
|
|
5146
5408
|
|
|
5147
|
-
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,
|
|
5409
|
+
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, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetOnlyValidatorsResponse, 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, RpcUsageMetricsResponseDTO, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SoVDetailsTransaction, SortByOption, SortOrder, SovDetailsFull, StakingDistribution, Subnet, SubnetOwnershipInfo, 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 };
|