@avalabs/glacier-sdk 3.1.0-canary.ca038e3.0 → 3.1.0-canary.d762cf9.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 +223 -106
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +0 -2
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/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/CreateEvmTransactionExportRequest.d.ts +2 -2
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +2 -2
- package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
- package/esm/generated/models/Network.d.ts +2 -1
- package/esm/generated/models/Network.js +1 -1
- package/esm/generated/models/PChainTransaction.d.ts +13 -0
- package/esm/generated/models/PChainTransactionType.d.ts +5 -0
- package/esm/generated/models/PChainTransactionType.js +1 -1
- 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/SubnetValidatorManagerDetails.d.ts +6 -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 +14 -1
- 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/PrimaryNetworkTransactionsService.d.ts +5 -5
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
- package/esm/index.d.ts +5 -6
- package/esm/index.js +1 -1
- package/package.json +2 -2
- 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,6 +1120,11 @@ 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
|
};
|
|
@@ -1011,7 +1132,8 @@ type ListChainsResponse = {
|
|
|
1011
1132
|
declare enum Network {
|
|
1012
1133
|
MAINNET = "mainnet",
|
|
1013
1134
|
FUJI = "fuji",
|
|
1014
|
-
TESTNET = "testnet"
|
|
1135
|
+
TESTNET = "testnet",
|
|
1136
|
+
DEVNET = "devnet"
|
|
1015
1137
|
}
|
|
1016
1138
|
|
|
1017
1139
|
declare class EvmChainsService {
|
|
@@ -1041,10 +1163,22 @@ declare class EvmChainsService {
|
|
|
1041
1163
|
*/
|
|
1042
1164
|
getChainInfo({ chainId, }: {
|
|
1043
1165
|
/**
|
|
1044
|
-
* 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.
|
|
1045
1167
|
*/
|
|
1046
1168
|
chainId: string;
|
|
1047
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>;
|
|
1048
1182
|
}
|
|
1049
1183
|
|
|
1050
1184
|
type ImageAsset = {
|
|
@@ -1336,7 +1470,7 @@ declare class EvmContractsService {
|
|
|
1336
1470
|
*/
|
|
1337
1471
|
getContractMetadata({ chainId, address, }: {
|
|
1338
1472
|
/**
|
|
1339
|
-
* 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.
|
|
1340
1474
|
*/
|
|
1341
1475
|
chainId: string;
|
|
1342
1476
|
/**
|
|
@@ -1352,7 +1486,7 @@ declare class EvmContractsService {
|
|
|
1352
1486
|
*/
|
|
1353
1487
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1354
1488
|
/**
|
|
1355
|
-
* 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.
|
|
1356
1490
|
*/
|
|
1357
1491
|
chainId: string;
|
|
1358
1492
|
/**
|
|
@@ -1902,7 +2036,7 @@ declare class EvmTransactionsService {
|
|
|
1902
2036
|
*/
|
|
1903
2037
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1904
2038
|
/**
|
|
1905
|
-
* 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.
|
|
1906
2040
|
*/
|
|
1907
2041
|
chainId: string;
|
|
1908
2042
|
/**
|
|
@@ -1922,7 +2056,7 @@ declare class EvmTransactionsService {
|
|
|
1922
2056
|
*/
|
|
1923
2057
|
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
1924
2058
|
/**
|
|
1925
|
-
* 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.
|
|
1926
2060
|
*/
|
|
1927
2061
|
chainId: string;
|
|
1928
2062
|
/**
|
|
@@ -1946,7 +2080,7 @@ declare class EvmTransactionsService {
|
|
|
1946
2080
|
*/
|
|
1947
2081
|
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1948
2082
|
/**
|
|
1949
|
-
* 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.
|
|
1950
2084
|
*/
|
|
1951
2085
|
chainId: string;
|
|
1952
2086
|
/**
|
|
@@ -1980,7 +2114,7 @@ declare class EvmTransactionsService {
|
|
|
1980
2114
|
*/
|
|
1981
2115
|
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
1982
2116
|
/**
|
|
1983
|
-
* 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.
|
|
1984
2118
|
*/
|
|
1985
2119
|
chainId: string;
|
|
1986
2120
|
/**
|
|
@@ -2016,7 +2150,7 @@ declare class EvmTransactionsService {
|
|
|
2016
2150
|
*/
|
|
2017
2151
|
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2018
2152
|
/**
|
|
2019
|
-
* 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.
|
|
2020
2154
|
*/
|
|
2021
2155
|
chainId: string;
|
|
2022
2156
|
/**
|
|
@@ -2048,7 +2182,7 @@ declare class EvmTransactionsService {
|
|
|
2048
2182
|
*/
|
|
2049
2183
|
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2050
2184
|
/**
|
|
2051
|
-
* 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.
|
|
2052
2186
|
*/
|
|
2053
2187
|
chainId: string;
|
|
2054
2188
|
/**
|
|
@@ -2080,7 +2214,7 @@ declare class EvmTransactionsService {
|
|
|
2080
2214
|
*/
|
|
2081
2215
|
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2082
2216
|
/**
|
|
2083
|
-
* 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.
|
|
2084
2218
|
*/
|
|
2085
2219
|
chainId: string;
|
|
2086
2220
|
/**
|
|
@@ -2112,7 +2246,7 @@ declare class EvmTransactionsService {
|
|
|
2112
2246
|
*/
|
|
2113
2247
|
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2114
2248
|
/**
|
|
2115
|
-
* 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.
|
|
2116
2250
|
*/
|
|
2117
2251
|
chainId: string;
|
|
2118
2252
|
/**
|
|
@@ -2146,7 +2280,7 @@ declare class EvmTransactionsService {
|
|
|
2146
2280
|
*/
|
|
2147
2281
|
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2148
2282
|
/**
|
|
2149
|
-
* 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.
|
|
2150
2284
|
*/
|
|
2151
2285
|
chainId: string;
|
|
2152
2286
|
/**
|
|
@@ -2178,7 +2312,7 @@ declare class EvmTransactionsService {
|
|
|
2178
2312
|
*/
|
|
2179
2313
|
getTransaction({ chainId, txHash, }: {
|
|
2180
2314
|
/**
|
|
2181
|
-
* 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.
|
|
2182
2316
|
*/
|
|
2183
2317
|
chainId: string;
|
|
2184
2318
|
/**
|
|
@@ -2194,7 +2328,7 @@ declare class EvmTransactionsService {
|
|
|
2194
2328
|
*/
|
|
2195
2329
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
2196
2330
|
/**
|
|
2197
|
-
* 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.
|
|
2198
2332
|
*/
|
|
2199
2333
|
chainId: string;
|
|
2200
2334
|
/**
|
|
@@ -2210,7 +2344,7 @@ declare class EvmTransactionsService {
|
|
|
2210
2344
|
*/
|
|
2211
2345
|
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
2212
2346
|
/**
|
|
2213
|
-
* 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.
|
|
2214
2348
|
*/
|
|
2215
2349
|
chainId: string;
|
|
2216
2350
|
/**
|
|
@@ -2263,7 +2397,7 @@ declare class NfTsService {
|
|
|
2263
2397
|
*/
|
|
2264
2398
|
reindexNft({ chainId, address, tokenId, }: {
|
|
2265
2399
|
/**
|
|
2266
|
-
* 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.
|
|
2267
2401
|
*/
|
|
2268
2402
|
chainId: string;
|
|
2269
2403
|
/**
|
|
@@ -2283,7 +2417,7 @@ declare class NfTsService {
|
|
|
2283
2417
|
*/
|
|
2284
2418
|
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2285
2419
|
/**
|
|
2286
|
-
* 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.
|
|
2287
2421
|
*/
|
|
2288
2422
|
chainId: string;
|
|
2289
2423
|
/**
|
|
@@ -2307,7 +2441,7 @@ declare class NfTsService {
|
|
|
2307
2441
|
*/
|
|
2308
2442
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
2309
2443
|
/**
|
|
2310
|
-
* 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.
|
|
2311
2445
|
*/
|
|
2312
2446
|
chainId: string;
|
|
2313
2447
|
/**
|
|
@@ -2337,11 +2471,11 @@ type CreateEvmTransactionExportRequest = {
|
|
|
2337
2471
|
/**
|
|
2338
2472
|
* @deprecated
|
|
2339
2473
|
*/
|
|
2340
|
-
startDate
|
|
2474
|
+
startDate?: string;
|
|
2341
2475
|
/**
|
|
2342
2476
|
* @deprecated
|
|
2343
2477
|
*/
|
|
2344
|
-
endDate
|
|
2478
|
+
endDate?: string;
|
|
2345
2479
|
options: EvmNetworkOptions;
|
|
2346
2480
|
};
|
|
2347
2481
|
|
|
@@ -2354,7 +2488,7 @@ declare enum PrimaryNetworkOperationType {
|
|
|
2354
2488
|
type PrimaryNetworkOptions = {
|
|
2355
2489
|
addresses?: Array<string>;
|
|
2356
2490
|
cChainEvmAddresses?: Array<string>;
|
|
2357
|
-
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'>;
|
|
2358
2492
|
};
|
|
2359
2493
|
|
|
2360
2494
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
@@ -2364,11 +2498,11 @@ type CreatePrimaryNetworkTransactionExportRequest = {
|
|
|
2364
2498
|
/**
|
|
2365
2499
|
* @deprecated
|
|
2366
2500
|
*/
|
|
2367
|
-
startDate
|
|
2501
|
+
startDate?: string;
|
|
2368
2502
|
/**
|
|
2369
2503
|
* @deprecated
|
|
2370
2504
|
*/
|
|
2371
|
-
endDate
|
|
2505
|
+
endDate?: string;
|
|
2372
2506
|
options: PrimaryNetworkOptions;
|
|
2373
2507
|
};
|
|
2374
2508
|
|
|
@@ -2446,8 +2580,10 @@ declare enum BlockchainIds {
|
|
|
2446
2580
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
2447
2581
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
2448
2582
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
2583
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
2449
2584
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
2450
|
-
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"
|
|
2451
2587
|
}
|
|
2452
2588
|
|
|
2453
2589
|
type ChainAddressChainIdMap = {
|
|
@@ -2818,6 +2954,7 @@ type XChainAssetDetails = {
|
|
|
2818
2954
|
declare enum XChainId {
|
|
2819
2955
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
2820
2956
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
2957
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
2821
2958
|
X_CHAIN = "x-chain"
|
|
2822
2959
|
}
|
|
2823
2960
|
|
|
@@ -3084,8 +3221,10 @@ declare enum BlockchainId {
|
|
|
3084
3221
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3085
3222
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3086
3223
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3224
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3087
3225
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
3088
3226
|
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
3227
|
+
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
|
|
3089
3228
|
P_CHAIN = "p-chain",
|
|
3090
3229
|
X_CHAIN = "x-chain",
|
|
3091
3230
|
C_CHAIN = "c-chain"
|
|
@@ -3122,11 +3261,6 @@ type CChainAtomicBalances = {
|
|
|
3122
3261
|
atomicMemoryLocked: Array<CChainSharedAssetBalance>;
|
|
3123
3262
|
};
|
|
3124
3263
|
|
|
3125
|
-
declare enum PrimaryNetwork {
|
|
3126
|
-
MAINNET = "mainnet",
|
|
3127
|
-
FUJI = "fuji"
|
|
3128
|
-
}
|
|
3129
|
-
|
|
3130
3264
|
declare enum PrimaryNetworkChainName {
|
|
3131
3265
|
P_CHAIN = "p-chain",
|
|
3132
3266
|
X_CHAIN = "x-chain",
|
|
@@ -3135,7 +3269,7 @@ declare enum PrimaryNetworkChainName {
|
|
|
3135
3269
|
|
|
3136
3270
|
type PrimaryNetworkChainInfo = {
|
|
3137
3271
|
chainName: PrimaryNetworkChainName;
|
|
3138
|
-
network:
|
|
3272
|
+
network: Network;
|
|
3139
3273
|
};
|
|
3140
3274
|
|
|
3141
3275
|
type ListCChainAtomicBalancesResponse = {
|
|
@@ -3844,6 +3978,11 @@ declare enum PChainTransactionType {
|
|
|
3844
3978
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3845
3979
|
BASE_TX = "BaseTx",
|
|
3846
3980
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3981
|
+
CONVERT_SUBNET_TX = "ConvertSubnetTx",
|
|
3982
|
+
REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
|
|
3983
|
+
SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
|
|
3984
|
+
DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
|
|
3985
|
+
INCREASE_BALANCE_TX = "IncreaseBalanceTx",
|
|
3847
3986
|
UNKNOWN = "UNKNOWN"
|
|
3848
3987
|
}
|
|
3849
3988
|
|
|
@@ -3898,6 +4037,11 @@ type PChainUtxo = {
|
|
|
3898
4037
|
utxoType: UtxoType;
|
|
3899
4038
|
};
|
|
3900
4039
|
|
|
4040
|
+
type SubnetValidatorManagerDetails = {
|
|
4041
|
+
blockchainId: string;
|
|
4042
|
+
evmContractAddress: string;
|
|
4043
|
+
};
|
|
4044
|
+
|
|
3901
4045
|
type PChainTransaction = {
|
|
3902
4046
|
/**
|
|
3903
4047
|
* A P-Chain transaction hash.
|
|
@@ -3932,6 +4076,10 @@ type PChainTransaction = {
|
|
|
3932
4076
|
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3933
4077
|
*/
|
|
3934
4078
|
amountStaked: Array<AssetAmount>;
|
|
4079
|
+
/**
|
|
4080
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4081
|
+
*/
|
|
4082
|
+
amountSovBalanceBurned: Array<AssetAmount>;
|
|
3935
4083
|
/**
|
|
3936
4084
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3937
4085
|
*/
|
|
@@ -3952,6 +4100,14 @@ type PChainTransaction = {
|
|
|
3952
4100
|
* Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx
|
|
3953
4101
|
*/
|
|
3954
4102
|
subnetId?: string;
|
|
4103
|
+
/**
|
|
4104
|
+
* Present for ConvertSubnetTx
|
|
4105
|
+
*/
|
|
4106
|
+
subnetValidatorManagerDetails?: SubnetValidatorManagerDetails;
|
|
4107
|
+
/**
|
|
4108
|
+
* Present for ConvertSubnetTx, RegisterSubnetValidatorTx
|
|
4109
|
+
*/
|
|
4110
|
+
subnetOnlyValidatorDetails?: Array<string>;
|
|
3955
4111
|
/**
|
|
3956
4112
|
* Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3957
4113
|
*/
|
|
@@ -4153,6 +4309,11 @@ declare enum PrimaryNetworkTxType {
|
|
|
4153
4309
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
4154
4310
|
BASE_TX = "BaseTx",
|
|
4155
4311
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
4312
|
+
CONVERT_SUBNET_TX = "ConvertSubnetTx",
|
|
4313
|
+
REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
|
|
4314
|
+
SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
|
|
4315
|
+
DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
|
|
4316
|
+
INCREASE_BALANCE_TX = "IncreaseBalanceTx",
|
|
4156
4317
|
UNKNOWN = "UNKNOWN",
|
|
4157
4318
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
4158
4319
|
OPERATION_TX = "OperationTx"
|
|
@@ -4191,11 +4352,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4191
4352
|
* @returns any Successful response
|
|
4192
4353
|
* @throws ApiError
|
|
4193
4354
|
*/
|
|
4194
|
-
listLatestPrimaryNetworkTransactions({
|
|
4195
|
-
/**
|
|
4196
|
-
* 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.
|
|
4197
|
-
*/
|
|
4198
|
-
addresses: string;
|
|
4355
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
4199
4356
|
/**
|
|
4200
4357
|
* A primary network blockchain id or alias.
|
|
4201
4358
|
*/
|
|
@@ -4204,6 +4361,10 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4204
4361
|
* Either mainnet or testnet/fuji.
|
|
4205
4362
|
*/
|
|
4206
4363
|
network: Network;
|
|
4364
|
+
/**
|
|
4365
|
+
* 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.
|
|
4366
|
+
*/
|
|
4367
|
+
addresses?: string;
|
|
4207
4368
|
/**
|
|
4208
4369
|
* Query param for filtering items based on transaction types.
|
|
4209
4370
|
*/
|
|
@@ -4479,49 +4640,6 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4479
4640
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4480
4641
|
}
|
|
4481
4642
|
|
|
4482
|
-
type RpcErrorDto = {
|
|
4483
|
-
code: number;
|
|
4484
|
-
message: string;
|
|
4485
|
-
data?: Record<string, any>;
|
|
4486
|
-
};
|
|
4487
|
-
|
|
4488
|
-
type RpcErrorResponseDto = {
|
|
4489
|
-
jsonrpc: string;
|
|
4490
|
-
id?: (string | number);
|
|
4491
|
-
error: RpcErrorDto;
|
|
4492
|
-
};
|
|
4493
|
-
|
|
4494
|
-
type RpcRequestBodyDto = {
|
|
4495
|
-
method: string;
|
|
4496
|
-
params?: Record<string, any>;
|
|
4497
|
-
id?: (string | number);
|
|
4498
|
-
jsonrpc?: string;
|
|
4499
|
-
};
|
|
4500
|
-
|
|
4501
|
-
type RpcSuccessResponseDto = {
|
|
4502
|
-
jsonrpc: string;
|
|
4503
|
-
id?: (string | number);
|
|
4504
|
-
result: Record<string, any>;
|
|
4505
|
-
};
|
|
4506
|
-
|
|
4507
|
-
declare class RpcService {
|
|
4508
|
-
readonly httpRequest: BaseHttpRequest;
|
|
4509
|
-
constructor(httpRequest: BaseHttpRequest);
|
|
4510
|
-
/**
|
|
4511
|
-
* Calls JSON-RPC method
|
|
4512
|
-
* Calls JSON-RPC method.
|
|
4513
|
-
* @returns any Successful response
|
|
4514
|
-
* @throws ApiError
|
|
4515
|
-
*/
|
|
4516
|
-
rpc({ chainId, requestBody, }: {
|
|
4517
|
-
/**
|
|
4518
|
-
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
4519
|
-
*/
|
|
4520
|
-
chainId: string;
|
|
4521
|
-
requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
|
|
4522
|
-
}): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
|
|
4523
|
-
}
|
|
4524
|
-
|
|
4525
4643
|
type SignatureAggregationResponse = {
|
|
4526
4644
|
signedMessage: string;
|
|
4527
4645
|
};
|
|
@@ -5017,7 +5135,6 @@ declare class Glacier {
|
|
|
5017
5135
|
readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
|
|
5018
5136
|
readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
|
|
5019
5137
|
readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
|
|
5020
|
-
readonly rpc: RpcService;
|
|
5021
5138
|
readonly signatureAggregator: SignatureAggregatorService;
|
|
5022
5139
|
readonly teleporter: TeleporterService;
|
|
5023
5140
|
readonly webhooks: WebhooksService;
|
|
@@ -5173,4 +5290,4 @@ type Unauthorized = {
|
|
|
5173
5290
|
error: string;
|
|
5174
5291
|
};
|
|
5175
5292
|
|
|
5176
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders,
|
|
5293
|
+
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, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, 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, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetValidatorManagerDetails, 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 };
|