@avalabs/glacier-sdk 3.1.0-canary.9fc81c6.0 → 3.1.0-canary.ad98ed7.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 +790 -184
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +4 -2
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
- package/esm/generated/models/ApiFeature.d.ts +7 -0
- package/esm/generated/models/ApiFeature.js +1 -0
- package/esm/generated/models/BadGateway.d.ts +16 -0
- package/esm/generated/models/BadRequest.d.ts +16 -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/ChainInfo.d.ts +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/DataListChainsResponse.d.ts +7 -0
- package/esm/generated/models/Forbidden.d.ts +16 -0
- package/esm/generated/models/GetChainResponse.d.ts +1 -1
- package/esm/generated/models/GetTransactionResponse.d.ts +5 -0
- package/esm/generated/models/InternalServerError.d.ts +16 -0
- package/esm/generated/models/LogsFormat.d.ts +60 -0
- package/esm/generated/models/LogsFormatMetadata.d.ts +16 -0
- package/esm/generated/models/LogsResponseDTO.d.ts +18 -0
- package/esm/generated/models/Metric.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/NotFound.d.ts +16 -0
- 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/RequestType.d.ts +9 -0
- package/esm/generated/models/RequestType.js +1 -0
- 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/ServiceUnavailable.d.ts +16 -0
- package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +14 -0
- package/esm/generated/models/SubnetValidatorManagerDetails.d.ts +6 -0
- package/esm/generated/models/TeleporterMessageInfo.d.ts +16 -0
- package/esm/generated/models/TimeIntervalGranularityExtended.d.ts +9 -0
- package/esm/generated/models/TimeIntervalGranularityExtended.js +1 -0
- package/esm/generated/models/TooManyRequests.d.ts +16 -0
- package/esm/generated/models/TransactionDirectionType.d.ts +6 -0
- package/esm/generated/models/TransactionDirectionType.js +1 -0
- package/esm/generated/models/Unauthorized.d.ts +16 -0
- package/esm/generated/models/UsageMetricsGroupByEnum.d.ts +9 -0
- package/esm/generated/models/UsageMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/UsageMetricsResponseDTO.d.ts +18 -0
- package/esm/generated/models/UsageMetricsValueDTO.d.ts +53 -0
- package/esm/generated/models/UsageMetricsValueDTO.js +1 -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 +154 -0
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
- package/esm/generated/services/EvmBalancesService.d.ts +10 -10
- package/esm/generated/services/EvmBalancesService.js +1 -1
- package/esm/generated/services/EvmBlocksService.d.ts +4 -4
- package/esm/generated/services/EvmBlocksService.js +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +20 -8
- package/esm/generated/services/EvmChainsService.js +1 -1
- package/esm/generated/services/EvmContractsService.d.ts +4 -4
- package/esm/generated/services/EvmContractsService.js +1 -1
- package/esm/generated/services/EvmTransactionsService.d.ts +24 -24
- package/esm/generated/services/EvmTransactionsService.js +1 -1
- package/esm/generated/services/HealthCheckService.d.ts +1 -1
- package/esm/generated/services/HealthCheckService.js +1 -1
- package/esm/generated/services/NfTsService.d.ts +6 -6
- package/esm/generated/services/NfTsService.js +1 -1
- package/esm/generated/services/OperationsService.d.ts +2 -2
- package/esm/generated/services/OperationsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkBalancesService.js +1 -1
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +6 -6
- package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +4 -4
- package/esm/generated/services/PrimaryNetworkRewardsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkService.d.ts +18 -18
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +9 -9
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +6 -6
- package/esm/generated/services/PrimaryNetworkVerticesService.js +1 -1
- package/esm/generated/services/SignatureAggregatorService.d.ts +20 -0
- package/esm/generated/services/SignatureAggregatorService.js +1 -0
- package/esm/generated/services/TeleporterService.d.ts +34 -6
- package/esm/generated/services/TeleporterService.js +1 -1
- package/esm/generated/services/WebhooksService.d.ts +10 -10
- package/esm/generated/services/WebhooksService.js +1 -1
- package/esm/index.d.ts +29 -8
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/GlacierApiFeature.d.ts +0 -6
- package/esm/generated/models/GlacierApiFeature.js +0 -1
- 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
|
@@ -54,6 +54,411 @@ declare abstract class BaseHttpRequest {
|
|
|
54
54
|
abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
type LogsFormatMetadata = {
|
|
58
|
+
/**
|
|
59
|
+
* The IP address of the client that made the request.
|
|
60
|
+
*/
|
|
61
|
+
ipAddress: string;
|
|
62
|
+
/**
|
|
63
|
+
* The host for the request made by the client.
|
|
64
|
+
*/
|
|
65
|
+
host: string;
|
|
66
|
+
/**
|
|
67
|
+
* The user agent of the client that made the request.
|
|
68
|
+
*/
|
|
69
|
+
userAgent: string;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* The type of request made by the client.
|
|
74
|
+
*/
|
|
75
|
+
declare enum RequestType {
|
|
76
|
+
DATA = "data",
|
|
77
|
+
RPC = "rpc"
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
type LogsFormat = {
|
|
81
|
+
/**
|
|
82
|
+
* The organization id of the request.
|
|
83
|
+
*/
|
|
84
|
+
orgId: string;
|
|
85
|
+
/**
|
|
86
|
+
* The unique log id of the request.
|
|
87
|
+
*/
|
|
88
|
+
logId: string;
|
|
89
|
+
/**
|
|
90
|
+
* The timestamp of the request.
|
|
91
|
+
*/
|
|
92
|
+
eventTimestamp: number;
|
|
93
|
+
/**
|
|
94
|
+
* The apiKey used to make the request.
|
|
95
|
+
*/
|
|
96
|
+
apiKeyId: string;
|
|
97
|
+
/**
|
|
98
|
+
* The alias of the apiKey used to make the request.
|
|
99
|
+
*/
|
|
100
|
+
apiKeyAlias: string;
|
|
101
|
+
/**
|
|
102
|
+
* The region of the host for the request made by the client.
|
|
103
|
+
*/
|
|
104
|
+
hostRegion: string;
|
|
105
|
+
requestType: RequestType;
|
|
106
|
+
/**
|
|
107
|
+
* The path of the request made by the client.
|
|
108
|
+
*/
|
|
109
|
+
requestPath: string;
|
|
110
|
+
/**
|
|
111
|
+
* The number of API credits consumed by the request.
|
|
112
|
+
*/
|
|
113
|
+
apiCreditsConsumed: number;
|
|
114
|
+
/**
|
|
115
|
+
* The duration of the request in milliseconds.
|
|
116
|
+
*/
|
|
117
|
+
requestDurationMsecs: number;
|
|
118
|
+
/**
|
|
119
|
+
* The response code of the request.
|
|
120
|
+
*/
|
|
121
|
+
responseCode: number;
|
|
122
|
+
/**
|
|
123
|
+
* The chain id of the request.
|
|
124
|
+
*/
|
|
125
|
+
chainId?: string;
|
|
126
|
+
/**
|
|
127
|
+
* The rpc method of the request.
|
|
128
|
+
*/
|
|
129
|
+
rpcMethod?: string;
|
|
130
|
+
/**
|
|
131
|
+
* The metadata of the request.
|
|
132
|
+
*/
|
|
133
|
+
metadata: LogsFormatMetadata;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
type LogsResponseDTO = {
|
|
137
|
+
/**
|
|
138
|
+
* 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.
|
|
139
|
+
*/
|
|
140
|
+
nextPageToken?: string;
|
|
141
|
+
/**
|
|
142
|
+
* The organization id of the request.
|
|
143
|
+
*/
|
|
144
|
+
orgId: string;
|
|
145
|
+
/**
|
|
146
|
+
* An array of logs representing the requests made by clients.
|
|
147
|
+
*/
|
|
148
|
+
logs: Array<LogsFormat>;
|
|
149
|
+
};
|
|
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
|
+
|
|
223
|
+
declare enum TimeIntervalGranularityExtended {
|
|
224
|
+
MINUTE = "minute",
|
|
225
|
+
HOURLY = "hourly",
|
|
226
|
+
DAILY = "daily",
|
|
227
|
+
WEEKLY = "weekly",
|
|
228
|
+
MONTHLY = "monthly"
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
declare enum UsageMetricsGroupByEnum {
|
|
232
|
+
REQUEST_PATH = "requestPath",
|
|
233
|
+
RESPONSE_CODE = "responseCode",
|
|
234
|
+
CHAIN_ID = "chainId",
|
|
235
|
+
API_KEY_ID = "apiKeyId",
|
|
236
|
+
REQUEST_TYPE = "requestType"
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
type UsageMetricsValueDTO = {
|
|
240
|
+
/**
|
|
241
|
+
* Column name used for data aggregation
|
|
242
|
+
*/
|
|
243
|
+
groupedBy: UsageMetricsValueDTO.groupedBy;
|
|
244
|
+
/**
|
|
245
|
+
* The value of the column used for data aggregation
|
|
246
|
+
*/
|
|
247
|
+
groupValue?: (string | number);
|
|
248
|
+
/**
|
|
249
|
+
* The total number of requests
|
|
250
|
+
*/
|
|
251
|
+
totalRequests: number;
|
|
252
|
+
/**
|
|
253
|
+
* The number of requests per second
|
|
254
|
+
*/
|
|
255
|
+
requestsPerSecond: number;
|
|
256
|
+
/**
|
|
257
|
+
* The success rate percentage
|
|
258
|
+
*/
|
|
259
|
+
successRatePercent: number;
|
|
260
|
+
/**
|
|
261
|
+
* The median response time in milliseconds
|
|
262
|
+
*/
|
|
263
|
+
medianResponseTimeMsecs: number;
|
|
264
|
+
/**
|
|
265
|
+
* The number of invalid requests
|
|
266
|
+
*/
|
|
267
|
+
invalidRequests: number;
|
|
268
|
+
/**
|
|
269
|
+
* The number of API credits used
|
|
270
|
+
*/
|
|
271
|
+
apiCreditsUsed: number;
|
|
272
|
+
/**
|
|
273
|
+
* The number of API credits wasted on invalid requests
|
|
274
|
+
*/
|
|
275
|
+
apiCreditsWasted: number;
|
|
276
|
+
};
|
|
277
|
+
declare namespace UsageMetricsValueDTO {
|
|
278
|
+
/**
|
|
279
|
+
* Column name used for data aggregation
|
|
280
|
+
*/
|
|
281
|
+
enum groupedBy {
|
|
282
|
+
REQUEST_PATH = "requestPath",
|
|
283
|
+
RESPONSE_CODE = "responseCode",
|
|
284
|
+
CHAIN_ID = "chainId",
|
|
285
|
+
API_KEY_ID = "apiKeyId",
|
|
286
|
+
REQUEST_TYPE = "requestType",
|
|
287
|
+
NONE = "None"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
type Metric = {
|
|
292
|
+
/**
|
|
293
|
+
* The timestamp of the metrics value
|
|
294
|
+
*/
|
|
295
|
+
timestamp: number;
|
|
296
|
+
/**
|
|
297
|
+
* The metrics values for the timestamp
|
|
298
|
+
*/
|
|
299
|
+
values: Array<UsageMetricsValueDTO>;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
type UsageMetricsResponseDTO = {
|
|
303
|
+
/**
|
|
304
|
+
* Duration in which the metrics value is aggregated
|
|
305
|
+
*/
|
|
306
|
+
aggregateDuration: string;
|
|
307
|
+
/**
|
|
308
|
+
* Org ID for which the metrics are aggregated
|
|
309
|
+
*/
|
|
310
|
+
orgId: string;
|
|
311
|
+
/**
|
|
312
|
+
* Metrics values
|
|
313
|
+
*/
|
|
314
|
+
metrics: Array<Metric>;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
declare class DataApiUsageMetricsService {
|
|
318
|
+
readonly httpRequest: BaseHttpRequest;
|
|
319
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
320
|
+
/**
|
|
321
|
+
* Get usage metrics for the Data API
|
|
322
|
+
* Gets metrics for Data API usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
323
|
+
* @returns UsageMetricsResponseDTO Successful response
|
|
324
|
+
* @throws ApiError
|
|
325
|
+
*/
|
|
326
|
+
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, requestPath, responseCode, requestType, apiKeyId, }: {
|
|
327
|
+
/**
|
|
328
|
+
* Organization ID to fetch usage metrics for
|
|
329
|
+
*/
|
|
330
|
+
orgId?: string;
|
|
331
|
+
/**
|
|
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.
|
|
333
|
+
*/
|
|
334
|
+
startTimestamp?: number;
|
|
335
|
+
/**
|
|
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.
|
|
337
|
+
*/
|
|
338
|
+
endTimestamp?: number;
|
|
339
|
+
/**
|
|
340
|
+
* Time interval granularity for data aggregation
|
|
341
|
+
*/
|
|
342
|
+
timeInterval?: TimeIntervalGranularityExtended;
|
|
343
|
+
/**
|
|
344
|
+
* Query param for the criterion used for grouping metrics
|
|
345
|
+
*/
|
|
346
|
+
groupBy?: UsageMetricsGroupByEnum;
|
|
347
|
+
/**
|
|
348
|
+
* Filter data by chain ID.
|
|
349
|
+
*/
|
|
350
|
+
chainId?: string;
|
|
351
|
+
/**
|
|
352
|
+
* Filter data by request path.
|
|
353
|
+
*/
|
|
354
|
+
requestPath?: string;
|
|
355
|
+
/**
|
|
356
|
+
* Filter data by response status code.
|
|
357
|
+
*/
|
|
358
|
+
responseCode?: string;
|
|
359
|
+
/**
|
|
360
|
+
* Filter data by request type.
|
|
361
|
+
*/
|
|
362
|
+
requestType?: 'data' | 'rpc';
|
|
363
|
+
/**
|
|
364
|
+
* Filter data by API key ID.
|
|
365
|
+
*/
|
|
366
|
+
apiKeyId?: string;
|
|
367
|
+
}): CancelablePromise<UsageMetricsResponseDTO>;
|
|
368
|
+
/**
|
|
369
|
+
* Get logs for requests made by client
|
|
370
|
+
* Gets logs for requests made by client over a specified time interval for a specific organization.
|
|
371
|
+
* @returns LogsResponseDTO Successful response
|
|
372
|
+
* @throws ApiError
|
|
373
|
+
*/
|
|
374
|
+
getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, requestPath, responseCode, requestType, apiKeyId, pageToken, pageSize, }: {
|
|
375
|
+
/**
|
|
376
|
+
* Organization ID to fetch usage metrics for
|
|
377
|
+
*/
|
|
378
|
+
orgId?: string;
|
|
379
|
+
/**
|
|
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.
|
|
381
|
+
*/
|
|
382
|
+
startTimestamp?: number;
|
|
383
|
+
/**
|
|
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.
|
|
385
|
+
*/
|
|
386
|
+
endTimestamp?: number;
|
|
387
|
+
/**
|
|
388
|
+
* Filter data by chain ID.
|
|
389
|
+
*/
|
|
390
|
+
chainId?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Filter data by request path.
|
|
393
|
+
*/
|
|
394
|
+
requestPath?: string;
|
|
395
|
+
/**
|
|
396
|
+
* Filter data by response status code.
|
|
397
|
+
*/
|
|
398
|
+
responseCode?: string;
|
|
399
|
+
/**
|
|
400
|
+
* Filter data by request type.
|
|
401
|
+
*/
|
|
402
|
+
requestType?: 'data' | 'rpc';
|
|
403
|
+
/**
|
|
404
|
+
* Filter data by API key ID.
|
|
405
|
+
*/
|
|
406
|
+
apiKeyId?: string;
|
|
407
|
+
/**
|
|
408
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
409
|
+
*/
|
|
410
|
+
pageToken?: string;
|
|
411
|
+
/**
|
|
412
|
+
* The maximum number of items to return.
|
|
413
|
+
*/
|
|
414
|
+
pageSize?: number;
|
|
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>;
|
|
460
|
+
}
|
|
461
|
+
|
|
57
462
|
declare class DefaultService {
|
|
58
463
|
readonly httpRequest: BaseHttpRequest;
|
|
59
464
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -331,12 +736,12 @@ declare class EvmBalancesService {
|
|
|
331
736
|
* Gets native token balance of a wallet address.
|
|
332
737
|
*
|
|
333
738
|
* Balance at a given block can be retrieved with the `blockNumber` parameter.
|
|
334
|
-
* @returns GetNativeBalanceResponse
|
|
739
|
+
* @returns GetNativeBalanceResponse Successful response
|
|
335
740
|
* @throws ApiError
|
|
336
741
|
*/
|
|
337
742
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
338
743
|
/**
|
|
339
|
-
* 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.
|
|
340
745
|
*/
|
|
341
746
|
chainId: string;
|
|
342
747
|
/**
|
|
@@ -359,12 +764,12 @@ declare class EvmBalancesService {
|
|
|
359
764
|
* Balance at a given block can be retrieved with the `blockNumber` parameter.
|
|
360
765
|
*
|
|
361
766
|
* Balance for specific contracts can be retrieved with the `contractAddresses` parameter.
|
|
362
|
-
* @returns ListErc20BalancesResponse
|
|
767
|
+
* @returns ListErc20BalancesResponse Successful response
|
|
363
768
|
* @throws ApiError
|
|
364
769
|
*/
|
|
365
770
|
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, filterSpamTokens, contractAddresses, currency, }: {
|
|
366
771
|
/**
|
|
367
|
-
* 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.
|
|
368
773
|
*/
|
|
369
774
|
chainId: string;
|
|
370
775
|
/**
|
|
@@ -401,12 +806,12 @@ declare class EvmBalancesService {
|
|
|
401
806
|
* Lists ERC-721 token balances of a wallet address.
|
|
402
807
|
*
|
|
403
808
|
* Balance for a specific contract can be retrieved with the `contractAddress` parameter.
|
|
404
|
-
* @returns ListErc721BalancesResponse
|
|
809
|
+
* @returns ListErc721BalancesResponse Successful response
|
|
405
810
|
* @throws ApiError
|
|
406
811
|
*/
|
|
407
812
|
listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
408
813
|
/**
|
|
409
|
-
* 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.
|
|
410
815
|
*/
|
|
411
816
|
chainId: string;
|
|
412
817
|
/**
|
|
@@ -433,12 +838,12 @@ declare class EvmBalancesService {
|
|
|
433
838
|
* Balance at a given block can be retrieved with the `blockNumber` parameter.
|
|
434
839
|
*
|
|
435
840
|
* Balance for a specific contract can be retrieved with the `contractAddress` parameter.
|
|
436
|
-
* @returns ListErc1155BalancesResponse
|
|
841
|
+
* @returns ListErc1155BalancesResponse Successful response
|
|
437
842
|
* @throws ApiError
|
|
438
843
|
*/
|
|
439
844
|
listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
|
|
440
845
|
/**
|
|
441
|
-
* 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.
|
|
442
847
|
*/
|
|
443
848
|
chainId: string;
|
|
444
849
|
/**
|
|
@@ -467,12 +872,12 @@ declare class EvmBalancesService {
|
|
|
467
872
|
* Lists ERC-721 and ERC-1155 token balances of a wallet address.
|
|
468
873
|
*
|
|
469
874
|
* Balance for a specific contract can be retrieved with the `contractAddress` parameter.
|
|
470
|
-
* @returns ListCollectibleBalancesResponse
|
|
875
|
+
* @returns ListCollectibleBalancesResponse Successful response
|
|
471
876
|
* @throws ApiError
|
|
472
877
|
*/
|
|
473
878
|
listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
474
879
|
/**
|
|
475
|
-
* 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.
|
|
476
881
|
*/
|
|
477
882
|
chainId: string;
|
|
478
883
|
/**
|
|
@@ -596,12 +1001,12 @@ declare class EvmBlocksService {
|
|
|
596
1001
|
/**
|
|
597
1002
|
* List latest blocks
|
|
598
1003
|
* Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
|
|
599
|
-
* @returns ListEvmBlocksResponse
|
|
1004
|
+
* @returns ListEvmBlocksResponse Successful response
|
|
600
1005
|
* @throws ApiError
|
|
601
1006
|
*/
|
|
602
1007
|
getLatestBlocks({ chainId, pageToken, pageSize, }: {
|
|
603
1008
|
/**
|
|
604
|
-
* 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.
|
|
605
1010
|
*/
|
|
606
1011
|
chainId: string;
|
|
607
1012
|
/**
|
|
@@ -616,12 +1021,12 @@ declare class EvmBlocksService {
|
|
|
616
1021
|
/**
|
|
617
1022
|
* Get block
|
|
618
1023
|
* Gets the details of an individual block on the EVM-compatible chain.
|
|
619
|
-
* @returns GetEvmBlockResponse
|
|
1024
|
+
* @returns GetEvmBlockResponse Successful response
|
|
620
1025
|
* @throws ApiError
|
|
621
1026
|
*/
|
|
622
1027
|
getBlock({ chainId, blockId, }: {
|
|
623
1028
|
/**
|
|
624
|
-
* 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.
|
|
625
1030
|
*/
|
|
626
1031
|
chainId: string;
|
|
627
1032
|
/**
|
|
@@ -631,6 +1036,12 @@ declare class EvmBlocksService {
|
|
|
631
1036
|
}): CancelablePromise<GetEvmBlockResponse>;
|
|
632
1037
|
}
|
|
633
1038
|
|
|
1039
|
+
declare enum ApiFeature {
|
|
1040
|
+
NFT_INDEXING = "nftIndexing",
|
|
1041
|
+
WEBHOOKS = "webhooks",
|
|
1042
|
+
TELEPORTER = "teleporter"
|
|
1043
|
+
}
|
|
1044
|
+
|
|
634
1045
|
/**
|
|
635
1046
|
* Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
|
|
636
1047
|
*/
|
|
@@ -686,14 +1097,9 @@ type GetChainResponse = {
|
|
|
686
1097
|
networkToken: NetworkToken;
|
|
687
1098
|
chainLogoUri?: string;
|
|
688
1099
|
private?: boolean;
|
|
689
|
-
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
1100
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
|
|
690
1101
|
};
|
|
691
1102
|
|
|
692
|
-
declare enum GlacierApiFeature {
|
|
693
|
-
NFT_INDEXING = "nftIndexing",
|
|
694
|
-
WEBHOOKS = "webhooks"
|
|
695
|
-
}
|
|
696
|
-
|
|
697
1103
|
type ChainInfo = {
|
|
698
1104
|
chainId: string;
|
|
699
1105
|
status: ChainStatus;
|
|
@@ -711,16 +1117,18 @@ type ChainInfo = {
|
|
|
711
1117
|
networkToken: NetworkToken;
|
|
712
1118
|
chainLogoUri?: string;
|
|
713
1119
|
private?: boolean;
|
|
714
|
-
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
1120
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
|
|
715
1121
|
};
|
|
716
1122
|
|
|
717
1123
|
type ListChainsResponse = {
|
|
718
1124
|
chains: Array<ChainInfo>;
|
|
719
1125
|
};
|
|
720
1126
|
|
|
721
|
-
declare enum
|
|
1127
|
+
declare enum Network {
|
|
722
1128
|
MAINNET = "mainnet",
|
|
723
|
-
|
|
1129
|
+
FUJI = "fuji",
|
|
1130
|
+
TESTNET = "testnet",
|
|
1131
|
+
DEVNET = "devnet"
|
|
724
1132
|
}
|
|
725
1133
|
|
|
726
1134
|
declare class EvmChainsService {
|
|
@@ -729,31 +1137,43 @@ declare class EvmChainsService {
|
|
|
729
1137
|
/**
|
|
730
1138
|
* List chains
|
|
731
1139
|
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
732
|
-
* @returns ListChainsResponse
|
|
1140
|
+
* @returns ListChainsResponse Successful response
|
|
733
1141
|
* @throws ApiError
|
|
734
1142
|
*/
|
|
735
1143
|
supportedChains({ network, feature, }: {
|
|
736
1144
|
/**
|
|
737
|
-
* mainnet or testnet.
|
|
1145
|
+
* Either mainnet or testnet/fuji.
|
|
738
1146
|
*/
|
|
739
|
-
network?:
|
|
1147
|
+
network?: Network;
|
|
740
1148
|
/**
|
|
741
1149
|
* Filter by feature.
|
|
742
1150
|
*/
|
|
743
|
-
feature?:
|
|
1151
|
+
feature?: ApiFeature;
|
|
744
1152
|
}): CancelablePromise<ListChainsResponse>;
|
|
745
1153
|
/**
|
|
746
1154
|
* Get chain information
|
|
747
1155
|
* Gets chain information for the EVM-compatible chain if supported by the api.
|
|
748
|
-
* @returns GetChainResponse
|
|
1156
|
+
* @returns GetChainResponse Successful response
|
|
749
1157
|
* @throws ApiError
|
|
750
1158
|
*/
|
|
751
1159
|
getChainInfo({ chainId, }: {
|
|
752
1160
|
/**
|
|
753
|
-
* A supported evm chain id
|
|
1161
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
754
1162
|
*/
|
|
755
1163
|
chainId: string;
|
|
756
1164
|
}): CancelablePromise<GetChainResponse>;
|
|
1165
|
+
/**
|
|
1166
|
+
* Get chains for address
|
|
1167
|
+
* Gets the list of chains an address has interacted with.
|
|
1168
|
+
* @returns ListChainsResponse Successful response
|
|
1169
|
+
* @throws ApiError
|
|
1170
|
+
*/
|
|
1171
|
+
getAddressChains({ address, }: {
|
|
1172
|
+
/**
|
|
1173
|
+
* A wallet address.
|
|
1174
|
+
*/
|
|
1175
|
+
address: string;
|
|
1176
|
+
}): CancelablePromise<ListChainsResponse>;
|
|
757
1177
|
}
|
|
758
1178
|
|
|
759
1179
|
type ImageAsset = {
|
|
@@ -1040,12 +1460,12 @@ declare class EvmContractsService {
|
|
|
1040
1460
|
/**
|
|
1041
1461
|
* Get contract metadata
|
|
1042
1462
|
* Gets metadata about the contract at the given address.
|
|
1043
|
-
* @returns any
|
|
1463
|
+
* @returns any Successful response
|
|
1044
1464
|
* @throws ApiError
|
|
1045
1465
|
*/
|
|
1046
1466
|
getContractMetadata({ chainId, address, }: {
|
|
1047
1467
|
/**
|
|
1048
|
-
* A supported evm chain id
|
|
1468
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1049
1469
|
*/
|
|
1050
1470
|
chainId: string;
|
|
1051
1471
|
/**
|
|
@@ -1056,12 +1476,12 @@ declare class EvmContractsService {
|
|
|
1056
1476
|
/**
|
|
1057
1477
|
* Update contract information
|
|
1058
1478
|
* Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
|
|
1059
|
-
* @returns UpdateContractResponse
|
|
1479
|
+
* @returns UpdateContractResponse Successful response
|
|
1060
1480
|
* @throws ApiError
|
|
1061
1481
|
*/
|
|
1062
1482
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1063
1483
|
/**
|
|
1064
|
-
* A supported evm chain id
|
|
1484
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1065
1485
|
*/
|
|
1066
1486
|
chainId: string;
|
|
1067
1487
|
/**
|
|
@@ -1309,6 +1729,24 @@ type NetworkTokenDetails = {
|
|
|
1309
1729
|
historicalPrice?: Money;
|
|
1310
1730
|
};
|
|
1311
1731
|
|
|
1732
|
+
declare enum TransactionDirectionType {
|
|
1733
|
+
SOURCE_TRANSACTION = "SOURCE_TRANSACTION",
|
|
1734
|
+
DESTINATION_TRANSACTION = "DESTINATION_TRANSACTION"
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
type TeleporterMessageInfo = {
|
|
1738
|
+
teleporterMessageId: string;
|
|
1739
|
+
direction: TransactionDirectionType;
|
|
1740
|
+
/**
|
|
1741
|
+
* chain id of the source chain. valid only for destination transactions
|
|
1742
|
+
*/
|
|
1743
|
+
sourceChainId?: Record<string, any>;
|
|
1744
|
+
/**
|
|
1745
|
+
* chain id of the destination chain. valid only for source transactions
|
|
1746
|
+
*/
|
|
1747
|
+
destinationChainId?: Record<string, any>;
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1312
1750
|
type GetTransactionResponse = {
|
|
1313
1751
|
/**
|
|
1314
1752
|
* The list of ERC-20 transfers.
|
|
@@ -1328,6 +1766,10 @@ type GetTransactionResponse = {
|
|
|
1328
1766
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
1329
1767
|
networkTokenDetails: NetworkTokenDetails;
|
|
1330
1768
|
nativeTransaction: FullNativeTransactionDetails;
|
|
1769
|
+
/**
|
|
1770
|
+
* Corresponding teleporter message info if available.
|
|
1771
|
+
*/
|
|
1772
|
+
teleporterMessageInfo?: TeleporterMessageInfo;
|
|
1331
1773
|
};
|
|
1332
1774
|
|
|
1333
1775
|
type ListContractsResponse = {
|
|
@@ -1584,12 +2026,12 @@ declare class EvmTransactionsService {
|
|
|
1584
2026
|
/**
|
|
1585
2027
|
* Get deployment transaction
|
|
1586
2028
|
* If the address is a smart contract, returns the transaction in which it was deployed.
|
|
1587
|
-
* @returns GetTransactionResponse
|
|
2029
|
+
* @returns GetTransactionResponse Successful response
|
|
1588
2030
|
* @throws ApiError
|
|
1589
2031
|
*/
|
|
1590
2032
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1591
2033
|
/**
|
|
1592
|
-
* A supported evm chain id
|
|
2034
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1593
2035
|
*/
|
|
1594
2036
|
chainId: string;
|
|
1595
2037
|
/**
|
|
@@ -1604,12 +2046,12 @@ declare class EvmTransactionsService {
|
|
|
1604
2046
|
/**
|
|
1605
2047
|
* List deployed contracts
|
|
1606
2048
|
* Lists all contracts deployed by the given address.
|
|
1607
|
-
* @returns ListContractsResponse
|
|
2049
|
+
* @returns ListContractsResponse Successful response
|
|
1608
2050
|
* @throws ApiError
|
|
1609
2051
|
*/
|
|
1610
2052
|
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
1611
2053
|
/**
|
|
1612
|
-
* A supported evm chain id
|
|
2054
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1613
2055
|
*/
|
|
1614
2056
|
chainId: string;
|
|
1615
2057
|
/**
|
|
@@ -1628,12 +2070,12 @@ declare class EvmTransactionsService {
|
|
|
1628
2070
|
/**
|
|
1629
2071
|
* List ERC transfers
|
|
1630
2072
|
* Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address.
|
|
1631
|
-
* @returns ListTransfersResponse
|
|
2073
|
+
* @returns ListTransfersResponse Successful response
|
|
1632
2074
|
* @throws ApiError
|
|
1633
2075
|
*/
|
|
1634
2076
|
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1635
2077
|
/**
|
|
1636
|
-
* A supported evm chain id
|
|
2078
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1637
2079
|
*/
|
|
1638
2080
|
chainId: string;
|
|
1639
2081
|
/**
|
|
@@ -1662,12 +2104,12 @@ declare class EvmTransactionsService {
|
|
|
1662
2104
|
* Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers, ERC-721 transfers, ERC-1155, and internal transactions returned are only those where the input address had an interaction. Specifically, those lists only inlcude entries where the input address was the sender (`from` field) or the receiver (`to` field) for the sub-transaction. Therefore the transactions returned from this list may not be complete representations of the on-chain data. For a complete view of a transaction use the `/chains/:chainId/transactions/:txHash` endpoint.
|
|
1663
2105
|
*
|
|
1664
2106
|
* Filterable by block ranges.
|
|
1665
|
-
* @returns ListTransactionDetailsResponse
|
|
2107
|
+
* @returns ListTransactionDetailsResponse Successful response
|
|
1666
2108
|
* @throws ApiError
|
|
1667
2109
|
*/
|
|
1668
2110
|
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
1669
2111
|
/**
|
|
1670
|
-
* A supported evm chain id
|
|
2112
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1671
2113
|
*/
|
|
1672
2114
|
chainId: string;
|
|
1673
2115
|
/**
|
|
@@ -1698,12 +2140,12 @@ declare class EvmTransactionsService {
|
|
|
1698
2140
|
/**
|
|
1699
2141
|
* List native transactions
|
|
1700
2142
|
* Lists native transactions for an address. Filterable by block range.
|
|
1701
|
-
* @returns ListNativeTransactionsResponse
|
|
2143
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
1702
2144
|
* @throws ApiError
|
|
1703
2145
|
*/
|
|
1704
2146
|
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1705
2147
|
/**
|
|
1706
|
-
* A supported evm chain id
|
|
2148
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1707
2149
|
*/
|
|
1708
2150
|
chainId: string;
|
|
1709
2151
|
/**
|
|
@@ -1730,12 +2172,12 @@ declare class EvmTransactionsService {
|
|
|
1730
2172
|
/**
|
|
1731
2173
|
* List ERC-20 transfers
|
|
1732
2174
|
* Lists ERC-20 transfers for an address. Filterable by block range.
|
|
1733
|
-
* @returns ListErc20TransactionsResponse
|
|
2175
|
+
* @returns ListErc20TransactionsResponse Successful response
|
|
1734
2176
|
* @throws ApiError
|
|
1735
2177
|
*/
|
|
1736
2178
|
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1737
2179
|
/**
|
|
1738
|
-
* A supported evm chain id
|
|
2180
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1739
2181
|
*/
|
|
1740
2182
|
chainId: string;
|
|
1741
2183
|
/**
|
|
@@ -1762,12 +2204,12 @@ declare class EvmTransactionsService {
|
|
|
1762
2204
|
/**
|
|
1763
2205
|
* List ERC-721 transfers
|
|
1764
2206
|
* Lists ERC-721 transfers for an address. Filterable by block range.
|
|
1765
|
-
* @returns ListErc721TransactionsResponse
|
|
2207
|
+
* @returns ListErc721TransactionsResponse Successful response
|
|
1766
2208
|
* @throws ApiError
|
|
1767
2209
|
*/
|
|
1768
2210
|
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1769
2211
|
/**
|
|
1770
|
-
* A supported evm chain id
|
|
2212
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1771
2213
|
*/
|
|
1772
2214
|
chainId: string;
|
|
1773
2215
|
/**
|
|
@@ -1794,12 +2236,12 @@ declare class EvmTransactionsService {
|
|
|
1794
2236
|
/**
|
|
1795
2237
|
* List ERC-1155 transfers
|
|
1796
2238
|
* Lists ERC-1155 transfers for an address. Filterable by block range.
|
|
1797
|
-
* @returns ListErc1155TransactionsResponse
|
|
2239
|
+
* @returns ListErc1155TransactionsResponse Successful response
|
|
1798
2240
|
* @throws ApiError
|
|
1799
2241
|
*/
|
|
1800
2242
|
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1801
2243
|
/**
|
|
1802
|
-
* A supported evm chain id
|
|
2244
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1803
2245
|
*/
|
|
1804
2246
|
chainId: string;
|
|
1805
2247
|
/**
|
|
@@ -1828,12 +2270,12 @@ declare class EvmTransactionsService {
|
|
|
1828
2270
|
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
1829
2271
|
*
|
|
1830
2272
|
* Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
|
|
1831
|
-
* @returns ListInternalTransactionsResponse
|
|
2273
|
+
* @returns ListInternalTransactionsResponse Successful response
|
|
1832
2274
|
* @throws ApiError
|
|
1833
2275
|
*/
|
|
1834
2276
|
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1835
2277
|
/**
|
|
1836
|
-
* A supported evm chain id
|
|
2278
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1837
2279
|
*/
|
|
1838
2280
|
chainId: string;
|
|
1839
2281
|
/**
|
|
@@ -1860,12 +2302,12 @@ declare class EvmTransactionsService {
|
|
|
1860
2302
|
/**
|
|
1861
2303
|
* Get transaction
|
|
1862
2304
|
* Gets the details of a single transaction.
|
|
1863
|
-
* @returns GetTransactionResponse
|
|
2305
|
+
* @returns GetTransactionResponse Successful response
|
|
1864
2306
|
* @throws ApiError
|
|
1865
2307
|
*/
|
|
1866
2308
|
getTransaction({ chainId, txHash, }: {
|
|
1867
2309
|
/**
|
|
1868
|
-
* A supported evm chain id
|
|
2310
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1869
2311
|
*/
|
|
1870
2312
|
chainId: string;
|
|
1871
2313
|
/**
|
|
@@ -1876,12 +2318,12 @@ declare class EvmTransactionsService {
|
|
|
1876
2318
|
/**
|
|
1877
2319
|
* List transactions for a block
|
|
1878
2320
|
* Lists the transactions that occured in a given block.
|
|
1879
|
-
* @returns ListNativeTransactionsResponse
|
|
2321
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
1880
2322
|
* @throws ApiError
|
|
1881
2323
|
*/
|
|
1882
2324
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
1883
2325
|
/**
|
|
1884
|
-
* A supported evm chain id
|
|
2326
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1885
2327
|
*/
|
|
1886
2328
|
chainId: string;
|
|
1887
2329
|
/**
|
|
@@ -1892,12 +2334,12 @@ declare class EvmTransactionsService {
|
|
|
1892
2334
|
/**
|
|
1893
2335
|
* List latest transactions
|
|
1894
2336
|
* Lists the latest transactions. Filterable by status.
|
|
1895
|
-
* @returns ListNativeTransactionsResponse
|
|
2337
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
1896
2338
|
* @throws ApiError
|
|
1897
2339
|
*/
|
|
1898
2340
|
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
1899
2341
|
/**
|
|
1900
|
-
* A supported evm chain id
|
|
2342
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1901
2343
|
*/
|
|
1902
2344
|
chainId: string;
|
|
1903
2345
|
/**
|
|
@@ -1923,7 +2365,7 @@ declare class HealthCheckService {
|
|
|
1923
2365
|
* @returns any The Health Check is successful
|
|
1924
2366
|
* @throws ApiError
|
|
1925
2367
|
*/
|
|
1926
|
-
|
|
2368
|
+
dataHealthCheck(): CancelablePromise<{
|
|
1927
2369
|
status?: string;
|
|
1928
2370
|
info?: Record<string, Record<string, string>> | null;
|
|
1929
2371
|
error?: Record<string, Record<string, string>> | null;
|
|
@@ -1945,12 +2387,12 @@ declare class NfTsService {
|
|
|
1945
2387
|
/**
|
|
1946
2388
|
* Reindex NFT metadata
|
|
1947
2389
|
* Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
|
|
1948
|
-
* @returns any
|
|
2390
|
+
* @returns any Successful response
|
|
1949
2391
|
* @throws ApiError
|
|
1950
2392
|
*/
|
|
1951
2393
|
reindexNft({ chainId, address, tokenId, }: {
|
|
1952
2394
|
/**
|
|
1953
|
-
* A supported evm chain id
|
|
2395
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1954
2396
|
*/
|
|
1955
2397
|
chainId: string;
|
|
1956
2398
|
/**
|
|
@@ -1965,12 +2407,12 @@ declare class NfTsService {
|
|
|
1965
2407
|
/**
|
|
1966
2408
|
* List tokens
|
|
1967
2409
|
* Lists tokens for an NFT contract.
|
|
1968
|
-
* @returns ListNftTokens
|
|
2410
|
+
* @returns ListNftTokens Successful response
|
|
1969
2411
|
* @throws ApiError
|
|
1970
2412
|
*/
|
|
1971
2413
|
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
1972
2414
|
/**
|
|
1973
|
-
* A supported evm chain id
|
|
2415
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1974
2416
|
*/
|
|
1975
2417
|
chainId: string;
|
|
1976
2418
|
/**
|
|
@@ -1989,12 +2431,12 @@ declare class NfTsService {
|
|
|
1989
2431
|
/**
|
|
1990
2432
|
* Get token details
|
|
1991
2433
|
* Gets token details for a specific token of an NFT contract.
|
|
1992
|
-
* @returns any
|
|
2434
|
+
* @returns any Successful response
|
|
1993
2435
|
* @throws ApiError
|
|
1994
2436
|
*/
|
|
1995
2437
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
1996
2438
|
/**
|
|
1997
|
-
* A supported evm chain id
|
|
2439
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1998
2440
|
*/
|
|
1999
2441
|
chainId: string;
|
|
2000
2442
|
/**
|
|
@@ -2019,16 +2461,16 @@ declare enum EVMOperationType {
|
|
|
2019
2461
|
|
|
2020
2462
|
type CreateEvmTransactionExportRequest = {
|
|
2021
2463
|
type: EVMOperationType;
|
|
2022
|
-
firstDate
|
|
2023
|
-
lastDate
|
|
2464
|
+
firstDate?: string;
|
|
2465
|
+
lastDate?: string;
|
|
2024
2466
|
/**
|
|
2025
2467
|
* @deprecated
|
|
2026
2468
|
*/
|
|
2027
|
-
startDate
|
|
2469
|
+
startDate?: string;
|
|
2028
2470
|
/**
|
|
2029
2471
|
* @deprecated
|
|
2030
2472
|
*/
|
|
2031
|
-
endDate
|
|
2473
|
+
endDate?: string;
|
|
2032
2474
|
options: EvmNetworkOptions;
|
|
2033
2475
|
};
|
|
2034
2476
|
|
|
@@ -2041,21 +2483,21 @@ declare enum PrimaryNetworkOperationType {
|
|
|
2041
2483
|
type PrimaryNetworkOptions = {
|
|
2042
2484
|
addresses?: Array<string>;
|
|
2043
2485
|
cChainEvmAddresses?: Array<string>;
|
|
2044
|
-
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2486
|
+
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2045
2487
|
};
|
|
2046
2488
|
|
|
2047
2489
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
2048
2490
|
type: PrimaryNetworkOperationType;
|
|
2049
|
-
firstDate
|
|
2050
|
-
lastDate
|
|
2491
|
+
firstDate?: string;
|
|
2492
|
+
lastDate?: string;
|
|
2051
2493
|
/**
|
|
2052
2494
|
* @deprecated
|
|
2053
2495
|
*/
|
|
2054
|
-
startDate
|
|
2496
|
+
startDate?: string;
|
|
2055
2497
|
/**
|
|
2056
2498
|
* @deprecated
|
|
2057
2499
|
*/
|
|
2058
|
-
endDate
|
|
2500
|
+
endDate?: string;
|
|
2059
2501
|
options: PrimaryNetworkOptions;
|
|
2060
2502
|
};
|
|
2061
2503
|
|
|
@@ -2107,7 +2549,7 @@ declare class OperationsService {
|
|
|
2107
2549
|
/**
|
|
2108
2550
|
* Get operation
|
|
2109
2551
|
* Gets operation details for the given operation id.
|
|
2110
|
-
* @returns OperationStatusResponse
|
|
2552
|
+
* @returns OperationStatusResponse Successful response
|
|
2111
2553
|
* @throws ApiError
|
|
2112
2554
|
*/
|
|
2113
2555
|
getOperationResult({ operationId, }: {
|
|
@@ -2121,7 +2563,7 @@ declare class OperationsService {
|
|
|
2121
2563
|
* Trigger a transaction export operation with given parameters.
|
|
2122
2564
|
*
|
|
2123
2565
|
* The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
|
|
2124
|
-
* @returns OperationStatusResponse
|
|
2566
|
+
* @returns OperationStatusResponse Successful response
|
|
2125
2567
|
* @throws ApiError
|
|
2126
2568
|
*/
|
|
2127
2569
|
postTransactionExportJob({ requestBody, }: {
|
|
@@ -2133,8 +2575,10 @@ declare enum BlockchainIds {
|
|
|
2133
2575
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
2134
2576
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
2135
2577
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
2578
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
2136
2579
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
2137
|
-
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
2580
|
+
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
2581
|
+
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
|
|
2138
2582
|
}
|
|
2139
2583
|
|
|
2140
2584
|
type ChainAddressChainIdMap = {
|
|
@@ -2383,6 +2827,7 @@ type CompletedValidatorDetails = {
|
|
|
2383
2827
|
*/
|
|
2384
2828
|
blsCredentials?: BlsCredentials;
|
|
2385
2829
|
delegatorCount: number;
|
|
2830
|
+
amountDelegated?: string;
|
|
2386
2831
|
rewards: Rewards;
|
|
2387
2832
|
validationStatus: CompletedValidatorDetails.validationStatus;
|
|
2388
2833
|
};
|
|
@@ -2445,11 +2890,6 @@ type ListValidatorDetailsResponse = {
|
|
|
2445
2890
|
validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
|
|
2446
2891
|
};
|
|
2447
2892
|
|
|
2448
|
-
declare enum Network {
|
|
2449
|
-
MAINNET = "mainnet",
|
|
2450
|
-
FUJI = "fuji"
|
|
2451
|
-
}
|
|
2452
|
-
|
|
2453
2893
|
declare enum SortByOption {
|
|
2454
2894
|
BLOCK_INDEX = "blockIndex",
|
|
2455
2895
|
DELEGATION_CAPACITY = "delegationCapacity",
|
|
@@ -2509,6 +2949,7 @@ type XChainAssetDetails = {
|
|
|
2509
2949
|
declare enum XChainId {
|
|
2510
2950
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
2511
2951
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
2952
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
2512
2953
|
X_CHAIN = "x-chain"
|
|
2513
2954
|
}
|
|
2514
2955
|
|
|
@@ -2518,7 +2959,7 @@ declare class PrimaryNetworkService {
|
|
|
2518
2959
|
/**
|
|
2519
2960
|
* Get asset details
|
|
2520
2961
|
* Gets asset details corresponding to the given asset id on the X-Chain.
|
|
2521
|
-
* @returns XChainAssetDetails
|
|
2962
|
+
* @returns XChainAssetDetails Successful response
|
|
2522
2963
|
* @throws ApiError
|
|
2523
2964
|
*/
|
|
2524
2965
|
getAssetDetails({ blockchainId, network, assetId, }: {
|
|
@@ -2527,7 +2968,7 @@ declare class PrimaryNetworkService {
|
|
|
2527
2968
|
*/
|
|
2528
2969
|
blockchainId: XChainId;
|
|
2529
2970
|
/**
|
|
2530
|
-
* Either mainnet or
|
|
2971
|
+
* Either mainnet or testnet/fuji.
|
|
2531
2972
|
*/
|
|
2532
2973
|
network: Network;
|
|
2533
2974
|
/**
|
|
@@ -2538,7 +2979,7 @@ declare class PrimaryNetworkService {
|
|
|
2538
2979
|
/**
|
|
2539
2980
|
* Get chain interactions for addresses
|
|
2540
2981
|
* Returns Primary Network chains that each address has touched in the form of an address mapped array. If an address has had any on-chain interaction for a chain, that chain's chain id will be returned.
|
|
2541
|
-
* @returns ChainAddressChainIdMapListResponse
|
|
2982
|
+
* @returns ChainAddressChainIdMapListResponse Successful response
|
|
2542
2983
|
* @throws ApiError
|
|
2543
2984
|
*/
|
|
2544
2985
|
getChainIdsForAddresses({ addresses, network, }: {
|
|
@@ -2547,31 +2988,31 @@ declare class PrimaryNetworkService {
|
|
|
2547
2988
|
*/
|
|
2548
2989
|
addresses: string;
|
|
2549
2990
|
/**
|
|
2550
|
-
* Either mainnet or
|
|
2991
|
+
* Either mainnet or testnet/fuji.
|
|
2551
2992
|
*/
|
|
2552
2993
|
network: Network;
|
|
2553
2994
|
}): CancelablePromise<ChainAddressChainIdMapListResponse>;
|
|
2554
2995
|
/**
|
|
2555
2996
|
* Get network details
|
|
2556
2997
|
* Gets network details such as validator and delegator stats.
|
|
2557
|
-
* @returns GetNetworkDetailsResponse
|
|
2998
|
+
* @returns GetNetworkDetailsResponse Successful response
|
|
2558
2999
|
* @throws ApiError
|
|
2559
3000
|
*/
|
|
2560
3001
|
getNetworkDetails({ network, }: {
|
|
2561
3002
|
/**
|
|
2562
|
-
* Either mainnet or
|
|
3003
|
+
* Either mainnet or testnet/fuji.
|
|
2563
3004
|
*/
|
|
2564
3005
|
network: Network;
|
|
2565
3006
|
}): CancelablePromise<GetNetworkDetailsResponse>;
|
|
2566
3007
|
/**
|
|
2567
3008
|
* List blockchains
|
|
2568
3009
|
* Lists all blockchains registered on the network.
|
|
2569
|
-
* @returns ListBlockchainsResponse
|
|
3010
|
+
* @returns ListBlockchainsResponse Successful response
|
|
2570
3011
|
* @throws ApiError
|
|
2571
3012
|
*/
|
|
2572
3013
|
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
2573
3014
|
/**
|
|
2574
|
-
* Either mainnet or
|
|
3015
|
+
* Either mainnet or testnet/fuji.
|
|
2575
3016
|
*/
|
|
2576
3017
|
network: Network;
|
|
2577
3018
|
/**
|
|
@@ -2590,12 +3031,12 @@ declare class PrimaryNetworkService {
|
|
|
2590
3031
|
/**
|
|
2591
3032
|
* List subnets
|
|
2592
3033
|
* Lists all subnets registered on the network.
|
|
2593
|
-
* @returns ListSubnetsResponse
|
|
3034
|
+
* @returns ListSubnetsResponse Successful response
|
|
2594
3035
|
* @throws ApiError
|
|
2595
3036
|
*/
|
|
2596
3037
|
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
2597
3038
|
/**
|
|
2598
|
-
* Either mainnet or
|
|
3039
|
+
* Either mainnet or testnet/fuji.
|
|
2599
3040
|
*/
|
|
2600
3041
|
network: Network;
|
|
2601
3042
|
/**
|
|
@@ -2614,12 +3055,12 @@ declare class PrimaryNetworkService {
|
|
|
2614
3055
|
/**
|
|
2615
3056
|
* Get Subnet details by ID
|
|
2616
3057
|
* Get details of the Subnet registered on the network.
|
|
2617
|
-
* @returns Subnet
|
|
3058
|
+
* @returns Subnet Successful response
|
|
2618
3059
|
* @throws ApiError
|
|
2619
3060
|
*/
|
|
2620
3061
|
getSubnetById({ network, subnetId, }: {
|
|
2621
3062
|
/**
|
|
2622
|
-
* Either mainnet or
|
|
3063
|
+
* Either mainnet or testnet/fuji.
|
|
2623
3064
|
*/
|
|
2624
3065
|
network: Network;
|
|
2625
3066
|
/**
|
|
@@ -2630,12 +3071,12 @@ declare class PrimaryNetworkService {
|
|
|
2630
3071
|
/**
|
|
2631
3072
|
* List validators
|
|
2632
3073
|
* Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
|
|
2633
|
-
* @returns ListValidatorDetailsResponse
|
|
3074
|
+
* @returns ListValidatorDetailsResponse Successful response
|
|
2634
3075
|
* @throws ApiError
|
|
2635
3076
|
*/
|
|
2636
3077
|
listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
|
|
2637
3078
|
/**
|
|
2638
|
-
* Either mainnet or
|
|
3079
|
+
* Either mainnet or testnet/fuji.
|
|
2639
3080
|
*/
|
|
2640
3081
|
network: Network;
|
|
2641
3082
|
/**
|
|
@@ -2704,12 +3145,12 @@ declare class PrimaryNetworkService {
|
|
|
2704
3145
|
/**
|
|
2705
3146
|
* Get single validator details
|
|
2706
3147
|
* List validator details for a single validator. Filterable by validation status.
|
|
2707
|
-
* @returns ListValidatorDetailsResponse
|
|
3148
|
+
* @returns ListValidatorDetailsResponse Successful response
|
|
2708
3149
|
* @throws ApiError
|
|
2709
3150
|
*/
|
|
2710
3151
|
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
|
|
2711
3152
|
/**
|
|
2712
|
-
* Either mainnet or
|
|
3153
|
+
* Either mainnet or testnet/fuji.
|
|
2713
3154
|
*/
|
|
2714
3155
|
network: Network;
|
|
2715
3156
|
/**
|
|
@@ -2736,12 +3177,12 @@ declare class PrimaryNetworkService {
|
|
|
2736
3177
|
/**
|
|
2737
3178
|
* List delegators
|
|
2738
3179
|
* Lists details for delegators.
|
|
2739
|
-
* @returns ListDelegatorDetailsResponse
|
|
3180
|
+
* @returns ListDelegatorDetailsResponse Successful response
|
|
2740
3181
|
* @throws ApiError
|
|
2741
3182
|
*/
|
|
2742
3183
|
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
2743
3184
|
/**
|
|
2744
|
-
* Either mainnet or
|
|
3185
|
+
* Either mainnet or testnet/fuji.
|
|
2745
3186
|
*/
|
|
2746
3187
|
network: Network;
|
|
2747
3188
|
/**
|
|
@@ -2775,8 +3216,10 @@ declare enum BlockchainId {
|
|
|
2775
3216
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
2776
3217
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
2777
3218
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3219
|
+
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
2778
3220
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
2779
3221
|
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
3222
|
+
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
|
|
2780
3223
|
P_CHAIN = "p-chain",
|
|
2781
3224
|
X_CHAIN = "x-chain",
|
|
2782
3225
|
C_CHAIN = "c-chain"
|
|
@@ -2813,11 +3256,6 @@ type CChainAtomicBalances = {
|
|
|
2813
3256
|
atomicMemoryLocked: Array<CChainSharedAssetBalance>;
|
|
2814
3257
|
};
|
|
2815
3258
|
|
|
2816
|
-
declare enum PrimaryNetwork {
|
|
2817
|
-
MAINNET = "mainnet",
|
|
2818
|
-
FUJI = "fuji"
|
|
2819
|
-
}
|
|
2820
|
-
|
|
2821
3259
|
declare enum PrimaryNetworkChainName {
|
|
2822
3260
|
P_CHAIN = "p-chain",
|
|
2823
3261
|
X_CHAIN = "x-chain",
|
|
@@ -2826,7 +3264,7 @@ declare enum PrimaryNetworkChainName {
|
|
|
2826
3264
|
|
|
2827
3265
|
type PrimaryNetworkChainInfo = {
|
|
2828
3266
|
chainName: PrimaryNetworkChainName;
|
|
2829
|
-
network:
|
|
3267
|
+
network: Network;
|
|
2830
3268
|
};
|
|
2831
3269
|
|
|
2832
3270
|
type ListCChainAtomicBalancesResponse = {
|
|
@@ -2978,7 +3416,7 @@ declare class PrimaryNetworkBalancesService {
|
|
|
2978
3416
|
* Gets primary network balances for one of the Primary Network chains for the supplied addresses.
|
|
2979
3417
|
*
|
|
2980
3418
|
* C-Chain balances returned are only the shared atomic memory balance. For EVM balance, use the `/v1/chains/:chainId/addresses/:addressId/balances:getNative` endpoint.
|
|
2981
|
-
* @returns any
|
|
3419
|
+
* @returns any Successful response
|
|
2982
3420
|
* @throws ApiError
|
|
2983
3421
|
*/
|
|
2984
3422
|
getBalancesByAddresses({ blockchainId, network, blockTimestamp, addresses, }: {
|
|
@@ -2987,7 +3425,7 @@ declare class PrimaryNetworkBalancesService {
|
|
|
2987
3425
|
*/
|
|
2988
3426
|
blockchainId: BlockchainId;
|
|
2989
3427
|
/**
|
|
2990
|
-
* Either mainnet or
|
|
3428
|
+
* Either mainnet or testnet/fuji.
|
|
2991
3429
|
*/
|
|
2992
3430
|
network: Network;
|
|
2993
3431
|
/**
|
|
@@ -3050,7 +3488,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3050
3488
|
/**
|
|
3051
3489
|
* Get block
|
|
3052
3490
|
* Gets a block by block height or block hash on one of the Primary Network chains.
|
|
3053
|
-
* @returns GetPrimaryNetworkBlockResponse
|
|
3491
|
+
* @returns GetPrimaryNetworkBlockResponse Successful response
|
|
3054
3492
|
* @throws ApiError
|
|
3055
3493
|
*/
|
|
3056
3494
|
getBlockById({ blockchainId, network, blockId, }: {
|
|
@@ -3059,7 +3497,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3059
3497
|
*/
|
|
3060
3498
|
blockchainId: BlockchainId;
|
|
3061
3499
|
/**
|
|
3062
|
-
* Either mainnet or
|
|
3500
|
+
* Either mainnet or testnet/fuji.
|
|
3063
3501
|
*/
|
|
3064
3502
|
network: Network;
|
|
3065
3503
|
/**
|
|
@@ -3070,7 +3508,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3070
3508
|
/**
|
|
3071
3509
|
* List blocks proposed by node
|
|
3072
3510
|
* Lists the latest blocks proposed by a given NodeID on one of the Primary Network chains.
|
|
3073
|
-
* @returns ListPrimaryNetworkBlocksResponse
|
|
3511
|
+
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3074
3512
|
* @throws ApiError
|
|
3075
3513
|
*/
|
|
3076
3514
|
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
@@ -3079,7 +3517,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3079
3517
|
*/
|
|
3080
3518
|
blockchainId: BlockchainId;
|
|
3081
3519
|
/**
|
|
3082
|
-
* Either mainnet or
|
|
3520
|
+
* Either mainnet or testnet/fuji.
|
|
3083
3521
|
*/
|
|
3084
3522
|
network: Network;
|
|
3085
3523
|
/**
|
|
@@ -3098,7 +3536,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3098
3536
|
/**
|
|
3099
3537
|
* List latest blocks
|
|
3100
3538
|
* Lists latest blocks on one of the Primary Network chains.
|
|
3101
|
-
* @returns ListPrimaryNetworkBlocksResponse
|
|
3539
|
+
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3102
3540
|
* @throws ApiError
|
|
3103
3541
|
*/
|
|
3104
3542
|
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
@@ -3107,7 +3545,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3107
3545
|
*/
|
|
3108
3546
|
blockchainId: BlockchainId;
|
|
3109
3547
|
/**
|
|
3110
|
-
* Either mainnet or
|
|
3548
|
+
* Either mainnet or testnet/fuji.
|
|
3111
3549
|
*/
|
|
3112
3550
|
network: Network;
|
|
3113
3551
|
/**
|
|
@@ -3236,12 +3674,12 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3236
3674
|
/**
|
|
3237
3675
|
* List pending rewards
|
|
3238
3676
|
* Lists pending rewards on the Primary Network for the supplied addresses.
|
|
3239
|
-
* @returns ListPendingRewardsResponse
|
|
3677
|
+
* @returns ListPendingRewardsResponse Successful response
|
|
3240
3678
|
* @throws ApiError
|
|
3241
3679
|
*/
|
|
3242
3680
|
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
3243
3681
|
/**
|
|
3244
|
-
* Either mainnet or
|
|
3682
|
+
* Either mainnet or testnet/fuji.
|
|
3245
3683
|
*/
|
|
3246
3684
|
network: Network;
|
|
3247
3685
|
/**
|
|
@@ -3268,12 +3706,12 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3268
3706
|
/**
|
|
3269
3707
|
* List historical rewards
|
|
3270
3708
|
* Lists historical rewards on the Primary Network for the supplied addresses.
|
|
3271
|
-
* @returns ListHistoricalRewardsResponse
|
|
3709
|
+
* @returns ListHistoricalRewardsResponse Successful response
|
|
3272
3710
|
* @throws ApiError
|
|
3273
3711
|
*/
|
|
3274
3712
|
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
3275
3713
|
/**
|
|
3276
|
-
* Either mainnet or
|
|
3714
|
+
* Either mainnet or testnet/fuji.
|
|
3277
3715
|
*/
|
|
3278
3716
|
network: Network;
|
|
3279
3717
|
/**
|
|
@@ -3535,6 +3973,11 @@ declare enum PChainTransactionType {
|
|
|
3535
3973
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3536
3974
|
BASE_TX = "BaseTx",
|
|
3537
3975
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
3976
|
+
CONVERT_SUBNET_TX = "ConvertSubnetTx",
|
|
3977
|
+
REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
|
|
3978
|
+
SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
|
|
3979
|
+
DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
|
|
3980
|
+
INCREASE_BALANCE_TX = "IncreaseBalanceTx",
|
|
3538
3981
|
UNKNOWN = "UNKNOWN"
|
|
3539
3982
|
}
|
|
3540
3983
|
|
|
@@ -3589,6 +4032,11 @@ type PChainUtxo = {
|
|
|
3589
4032
|
utxoType: UtxoType;
|
|
3590
4033
|
};
|
|
3591
4034
|
|
|
4035
|
+
type SubnetValidatorManagerDetails = {
|
|
4036
|
+
blockchainId: string;
|
|
4037
|
+
evmContractAddress: string;
|
|
4038
|
+
};
|
|
4039
|
+
|
|
3592
4040
|
type PChainTransaction = {
|
|
3593
4041
|
/**
|
|
3594
4042
|
* A P-Chain transaction hash.
|
|
@@ -3623,6 +4071,10 @@ type PChainTransaction = {
|
|
|
3623
4071
|
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3624
4072
|
*/
|
|
3625
4073
|
amountStaked: Array<AssetAmount>;
|
|
4074
|
+
/**
|
|
4075
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
4076
|
+
*/
|
|
4077
|
+
amountSovBalanceBurned: Array<AssetAmount>;
|
|
3626
4078
|
/**
|
|
3627
4079
|
* Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3628
4080
|
*/
|
|
@@ -3643,6 +4095,14 @@ type PChainTransaction = {
|
|
|
3643
4095
|
* Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx
|
|
3644
4096
|
*/
|
|
3645
4097
|
subnetId?: string;
|
|
4098
|
+
/**
|
|
4099
|
+
* Present for ConvertSubnetTx
|
|
4100
|
+
*/
|
|
4101
|
+
subnetValidatorManagerDetails?: SubnetValidatorManagerDetails;
|
|
4102
|
+
/**
|
|
4103
|
+
* Present for ConvertSubnetTx, RegisterSubnetValidatorTx
|
|
4104
|
+
*/
|
|
4105
|
+
subnetOnlyValidatorDetails?: Array<string>;
|
|
3646
4106
|
/**
|
|
3647
4107
|
* Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
3648
4108
|
*/
|
|
@@ -3844,6 +4304,11 @@ declare enum PrimaryNetworkTxType {
|
|
|
3844
4304
|
ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
|
|
3845
4305
|
BASE_TX = "BaseTx",
|
|
3846
4306
|
TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
|
|
4307
|
+
CONVERT_SUBNET_TX = "ConvertSubnetTx",
|
|
4308
|
+
REGISTER_SUBNET_VALIDATOR_TX = "RegisterSubnetValidatorTx",
|
|
4309
|
+
SET_SUBNET_VALIDATOR_WEIGHT_TX = "SetSubnetValidatorWeightTx",
|
|
4310
|
+
DISABLE_SUBNET_VALIDATOR_TX = "DisableSubnetValidatorTx",
|
|
4311
|
+
INCREASE_BALANCE_TX = "IncreaseBalanceTx",
|
|
3847
4312
|
UNKNOWN = "UNKNOWN",
|
|
3848
4313
|
CREATE_ASSET_TX = "CreateAssetTx",
|
|
3849
4314
|
OPERATION_TX = "OperationTx"
|
|
@@ -3855,7 +4320,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3855
4320
|
/**
|
|
3856
4321
|
* Get transaction
|
|
3857
4322
|
* Gets the details of a single transaction on one of the Primary Network chains.
|
|
3858
|
-
* @returns any
|
|
4323
|
+
* @returns any Successful response
|
|
3859
4324
|
* @throws ApiError
|
|
3860
4325
|
*/
|
|
3861
4326
|
getTxByHash({ blockchainId, network, txHash, }: {
|
|
@@ -3864,7 +4329,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3864
4329
|
*/
|
|
3865
4330
|
blockchainId: BlockchainId;
|
|
3866
4331
|
/**
|
|
3867
|
-
* Either mainnet or
|
|
4332
|
+
* Either mainnet or testnet/fuji.
|
|
3868
4333
|
*/
|
|
3869
4334
|
network: Network;
|
|
3870
4335
|
/**
|
|
@@ -3879,7 +4344,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3879
4344
|
* 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.
|
|
3880
4345
|
*
|
|
3881
4346
|
* 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.
|
|
3882
|
-
* @returns any
|
|
4347
|
+
* @returns any Successful response
|
|
3883
4348
|
* @throws ApiError
|
|
3884
4349
|
*/
|
|
3885
4350
|
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
@@ -3888,11 +4353,11 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3888
4353
|
*/
|
|
3889
4354
|
blockchainId: BlockchainId;
|
|
3890
4355
|
/**
|
|
3891
|
-
* Either mainnet or
|
|
4356
|
+
* Either mainnet or testnet/fuji.
|
|
3892
4357
|
*/
|
|
3893
4358
|
network: Network;
|
|
3894
4359
|
/**
|
|
3895
|
-
* 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".
|
|
4360
|
+
* 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.
|
|
3896
4361
|
*/
|
|
3897
4362
|
addresses?: string;
|
|
3898
4363
|
/**
|
|
@@ -3923,7 +4388,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3923
4388
|
/**
|
|
3924
4389
|
* List staking transactions
|
|
3925
4390
|
* Lists active staking transactions on the P-Chain for the supplied addresses.
|
|
3926
|
-
* @returns ListPChainTransactionsResponse
|
|
4391
|
+
* @returns ListPChainTransactionsResponse Successful response
|
|
3927
4392
|
* @throws ApiError
|
|
3928
4393
|
*/
|
|
3929
4394
|
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
@@ -3932,7 +4397,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3932
4397
|
*/
|
|
3933
4398
|
blockchainId: PChainId;
|
|
3934
4399
|
/**
|
|
3935
|
-
* Either mainnet or
|
|
4400
|
+
* Either mainnet or testnet/fuji.
|
|
3936
4401
|
*/
|
|
3937
4402
|
network: Network;
|
|
3938
4403
|
/**
|
|
@@ -3967,7 +4432,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3967
4432
|
/**
|
|
3968
4433
|
* List asset transactions
|
|
3969
4434
|
* Lists asset transactions corresponding to the given asset id on the X-Chain.
|
|
3970
|
-
* @returns ListXChainTransactionsResponse
|
|
4435
|
+
* @returns ListXChainTransactionsResponse Successful response
|
|
3971
4436
|
* @throws ApiError
|
|
3972
4437
|
*/
|
|
3973
4438
|
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
@@ -3976,7 +4441,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3976
4441
|
*/
|
|
3977
4442
|
blockchainId: XChainId;
|
|
3978
4443
|
/**
|
|
3979
|
-
* Either mainnet or
|
|
4444
|
+
* Either mainnet or testnet/fuji.
|
|
3980
4445
|
*/
|
|
3981
4446
|
network: Network;
|
|
3982
4447
|
/**
|
|
@@ -4030,7 +4495,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4030
4495
|
/**
|
|
4031
4496
|
* List UTXOs
|
|
4032
4497
|
* Lists UTXOs on one of the Primary Network chains for the supplied addresses.
|
|
4033
|
-
* @returns any
|
|
4498
|
+
* @returns any Successful response
|
|
4034
4499
|
* @throws ApiError
|
|
4035
4500
|
*/
|
|
4036
4501
|
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
@@ -4039,7 +4504,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4039
4504
|
*/
|
|
4040
4505
|
blockchainId: BlockchainId;
|
|
4041
4506
|
/**
|
|
4042
|
-
* Either mainnet or
|
|
4507
|
+
* Either mainnet or testnet/fuji.
|
|
4043
4508
|
*/
|
|
4044
4509
|
network: Network;
|
|
4045
4510
|
/**
|
|
@@ -4095,7 +4560,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4095
4560
|
/**
|
|
4096
4561
|
* List vertices
|
|
4097
4562
|
* Lists latest vertices on the X-Chain.
|
|
4098
|
-
* @returns ListXChainVerticesResponse
|
|
4563
|
+
* @returns ListXChainVerticesResponse Successful response
|
|
4099
4564
|
* @throws ApiError
|
|
4100
4565
|
*/
|
|
4101
4566
|
listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
|
|
@@ -4104,7 +4569,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4104
4569
|
*/
|
|
4105
4570
|
blockchainId: XChainId;
|
|
4106
4571
|
/**
|
|
4107
|
-
* Either mainnet or
|
|
4572
|
+
* Either mainnet or testnet/fuji.
|
|
4108
4573
|
*/
|
|
4109
4574
|
network: Network;
|
|
4110
4575
|
/**
|
|
@@ -4119,7 +4584,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4119
4584
|
/**
|
|
4120
4585
|
* Get vertex
|
|
4121
4586
|
* Gets a single vertex on the X-Chain.
|
|
4122
|
-
* @returns XChainVertex
|
|
4587
|
+
* @returns XChainVertex Successful response
|
|
4123
4588
|
* @throws ApiError
|
|
4124
4589
|
*/
|
|
4125
4590
|
getVertexByHash({ vertexHash, blockchainId, network, }: {
|
|
@@ -4132,14 +4597,14 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4132
4597
|
*/
|
|
4133
4598
|
blockchainId: XChainId;
|
|
4134
4599
|
/**
|
|
4135
|
-
* Either mainnet or
|
|
4600
|
+
* Either mainnet or testnet/fuji.
|
|
4136
4601
|
*/
|
|
4137
4602
|
network: Network;
|
|
4138
4603
|
}): CancelablePromise<XChainVertex>;
|
|
4139
4604
|
/**
|
|
4140
4605
|
* List vertices by height
|
|
4141
4606
|
* Lists vertices at the given vertex height on the X-Chain.
|
|
4142
|
-
* @returns ListXChainVerticesResponse
|
|
4607
|
+
* @returns ListXChainVerticesResponse Successful response
|
|
4143
4608
|
* @throws ApiError
|
|
4144
4609
|
*/
|
|
4145
4610
|
getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
|
|
@@ -4152,7 +4617,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4152
4617
|
*/
|
|
4153
4618
|
blockchainId: XChainId;
|
|
4154
4619
|
/**
|
|
4155
|
-
* Either mainnet or
|
|
4620
|
+
* Either mainnet or testnet/fuji.
|
|
4156
4621
|
*/
|
|
4157
4622
|
network: Network;
|
|
4158
4623
|
/**
|
|
@@ -4170,47 +4635,35 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4170
4635
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4171
4636
|
}
|
|
4172
4637
|
|
|
4173
|
-
type
|
|
4174
|
-
|
|
4175
|
-
message: string;
|
|
4176
|
-
data?: Record<string, any>;
|
|
4177
|
-
};
|
|
4178
|
-
|
|
4179
|
-
type RpcErrorResponseDto = {
|
|
4180
|
-
jsonrpc: string;
|
|
4181
|
-
id?: (string | number);
|
|
4182
|
-
error: RpcErrorDto;
|
|
4638
|
+
type SignatureAggregationResponse = {
|
|
4639
|
+
signedMessage: string;
|
|
4183
4640
|
};
|
|
4184
4641
|
|
|
4185
|
-
type
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4642
|
+
type SignatureAggregatorRequest = {
|
|
4643
|
+
/**
|
|
4644
|
+
* Must be defined if justification is not defined
|
|
4645
|
+
*/
|
|
4646
|
+
message?: string;
|
|
4647
|
+
/**
|
|
4648
|
+
* Must be defined if message is not defined
|
|
4649
|
+
*/
|
|
4650
|
+
justification?: string;
|
|
4651
|
+
signingSubnetId?: string;
|
|
4652
|
+
quorumPercentage?: number;
|
|
4196
4653
|
};
|
|
4197
4654
|
|
|
4198
|
-
declare class
|
|
4655
|
+
declare class SignatureAggregatorService {
|
|
4199
4656
|
readonly httpRequest: BaseHttpRequest;
|
|
4200
4657
|
constructor(httpRequest: BaseHttpRequest);
|
|
4201
4658
|
/**
|
|
4202
|
-
*
|
|
4203
|
-
*
|
|
4204
|
-
* @returns
|
|
4659
|
+
* Aggregate Signatures
|
|
4660
|
+
* Aggregates Signatures for a Warp message from Subnet validators.
|
|
4661
|
+
* @returns SignatureAggregationResponse Successful response
|
|
4205
4662
|
* @throws ApiError
|
|
4206
4663
|
*/
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
*/
|
|
4211
|
-
chainId: string;
|
|
4212
|
-
requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
|
|
4213
|
-
}): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
|
|
4664
|
+
aggregateSignatures({ requestBody, }: {
|
|
4665
|
+
requestBody: SignatureAggregatorRequest;
|
|
4666
|
+
}): CancelablePromise<SignatureAggregationResponse>;
|
|
4214
4667
|
}
|
|
4215
4668
|
|
|
4216
4669
|
type TeleporterDestinationTransaction = {
|
|
@@ -4353,7 +4806,7 @@ declare class TeleporterService {
|
|
|
4353
4806
|
/**
|
|
4354
4807
|
* Get a teleporter message
|
|
4355
4808
|
* Gets a teleporter message by message ID.
|
|
4356
|
-
* @returns any
|
|
4809
|
+
* @returns any Successful response
|
|
4357
4810
|
* @throws ApiError
|
|
4358
4811
|
*/
|
|
4359
4812
|
getTeleporterMessage({ messageId, }: {
|
|
@@ -4365,10 +4818,10 @@ declare class TeleporterService {
|
|
|
4365
4818
|
/**
|
|
4366
4819
|
* List teleporter messages
|
|
4367
4820
|
* Lists teleporter messages. Ordered by timestamp in descending order.
|
|
4368
|
-
* @returns ListTeleporterMessagesResponse
|
|
4821
|
+
* @returns ListTeleporterMessagesResponse Successful response
|
|
4369
4822
|
* @throws ApiError
|
|
4370
4823
|
*/
|
|
4371
|
-
listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, network, }: {
|
|
4824
|
+
listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
|
|
4372
4825
|
/**
|
|
4373
4826
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4374
4827
|
*/
|
|
@@ -4385,6 +4838,10 @@ declare class TeleporterService {
|
|
|
4385
4838
|
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
|
|
4386
4839
|
*/
|
|
4387
4840
|
destinationBlockchainId?: string;
|
|
4841
|
+
/**
|
|
4842
|
+
* The base58 encoded blockchain ID of either source or destination chain that one teleporter message interacts with.
|
|
4843
|
+
*/
|
|
4844
|
+
blockchainId?: string;
|
|
4388
4845
|
/**
|
|
4389
4846
|
* The address of the recipient of the teleporter message.
|
|
4390
4847
|
*/
|
|
@@ -4394,9 +4851,33 @@ declare class TeleporterService {
|
|
|
4394
4851
|
*/
|
|
4395
4852
|
from?: string;
|
|
4396
4853
|
/**
|
|
4397
|
-
* mainnet or testnet.
|
|
4854
|
+
* Either mainnet or testnet/fuji.
|
|
4855
|
+
*/
|
|
4856
|
+
network?: Network;
|
|
4857
|
+
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4858
|
+
/**
|
|
4859
|
+
* List teleporter messages by address
|
|
4860
|
+
* Lists teleporter messages by address. Ordered by timestamp in descending order.
|
|
4861
|
+
* @returns ListTeleporterMessagesResponse Successful response
|
|
4862
|
+
* @throws ApiError
|
|
4863
|
+
*/
|
|
4864
|
+
listTeleporterMessagesByAddress({ address, pageToken, pageSize, network, }: {
|
|
4865
|
+
/**
|
|
4866
|
+
* An EVM address.
|
|
4867
|
+
*/
|
|
4868
|
+
address: string;
|
|
4869
|
+
/**
|
|
4870
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4871
|
+
*/
|
|
4872
|
+
pageToken?: string;
|
|
4873
|
+
/**
|
|
4874
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4875
|
+
*/
|
|
4876
|
+
pageSize?: number;
|
|
4877
|
+
/**
|
|
4878
|
+
* Either mainnet or testnet/fuji.
|
|
4398
4879
|
*/
|
|
4399
|
-
network?:
|
|
4880
|
+
network?: Network;
|
|
4400
4881
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4401
4882
|
}
|
|
4402
4883
|
|
|
@@ -4404,7 +4885,7 @@ type AddressesChangeRequest = {
|
|
|
4404
4885
|
/**
|
|
4405
4886
|
* Ethereum address(es) for the address_activity event type
|
|
4406
4887
|
*/
|
|
4407
|
-
addresses: Array<
|
|
4888
|
+
addresses: Array<string>;
|
|
4408
4889
|
};
|
|
4409
4890
|
|
|
4410
4891
|
type AddressActivityMetadata = {
|
|
@@ -4505,7 +4986,7 @@ declare class WebhooksService {
|
|
|
4505
4986
|
/**
|
|
4506
4987
|
* Create a webhook
|
|
4507
4988
|
* Create a new webhook.
|
|
4508
|
-
* @returns WebhookResponse
|
|
4989
|
+
* @returns WebhookResponse Successful response
|
|
4509
4990
|
* @throws ApiError
|
|
4510
4991
|
*/
|
|
4511
4992
|
createWebhook({ requestBody, }: {
|
|
@@ -4514,7 +4995,7 @@ declare class WebhooksService {
|
|
|
4514
4995
|
/**
|
|
4515
4996
|
* List webhooks
|
|
4516
4997
|
* Lists webhooks for the user.
|
|
4517
|
-
* @returns ListWebhooksResponse
|
|
4998
|
+
* @returns ListWebhooksResponse Successful response
|
|
4518
4999
|
* @throws ApiError
|
|
4519
5000
|
*/
|
|
4520
5001
|
listWebhooks({ pageToken, pageSize, status, }: {
|
|
@@ -4534,7 +5015,7 @@ declare class WebhooksService {
|
|
|
4534
5015
|
/**
|
|
4535
5016
|
* Get a webhook by ID
|
|
4536
5017
|
* Retrieves a webhook by ID.
|
|
4537
|
-
* @returns WebhookResponse
|
|
5018
|
+
* @returns WebhookResponse Successful response
|
|
4538
5019
|
* @throws ApiError
|
|
4539
5020
|
*/
|
|
4540
5021
|
getWebhook({ id, }: {
|
|
@@ -4546,7 +5027,7 @@ declare class WebhooksService {
|
|
|
4546
5027
|
/**
|
|
4547
5028
|
* Deactivate a webhook
|
|
4548
5029
|
* Deactivates a webhook by ID.
|
|
4549
|
-
* @returns WebhookResponse
|
|
5030
|
+
* @returns WebhookResponse Successful response
|
|
4550
5031
|
* @throws ApiError
|
|
4551
5032
|
*/
|
|
4552
5033
|
deactivateWebhook({ id, }: {
|
|
@@ -4558,7 +5039,7 @@ declare class WebhooksService {
|
|
|
4558
5039
|
/**
|
|
4559
5040
|
* Update a webhook
|
|
4560
5041
|
* Updates an existing webhook.
|
|
4561
|
-
* @returns WebhookResponse
|
|
5042
|
+
* @returns WebhookResponse Successful response
|
|
4562
5043
|
* @throws ApiError
|
|
4563
5044
|
*/
|
|
4564
5045
|
updateWebhook({ id, requestBody, }: {
|
|
@@ -4571,21 +5052,21 @@ declare class WebhooksService {
|
|
|
4571
5052
|
/**
|
|
4572
5053
|
* Generate a shared secret
|
|
4573
5054
|
* Generates a new shared secret.
|
|
4574
|
-
* @returns SharedSecretsResponse
|
|
5055
|
+
* @returns SharedSecretsResponse Successful response
|
|
4575
5056
|
* @throws ApiError
|
|
4576
5057
|
*/
|
|
4577
5058
|
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4578
5059
|
/**
|
|
4579
5060
|
* Get a shared secret
|
|
4580
5061
|
* Get a previously generated shared secret.
|
|
4581
|
-
* @returns SharedSecretsResponse
|
|
5062
|
+
* @returns SharedSecretsResponse Successful response
|
|
4582
5063
|
* @throws ApiError
|
|
4583
5064
|
*/
|
|
4584
5065
|
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4585
5066
|
/**
|
|
4586
5067
|
* Add addresses to webhook
|
|
4587
5068
|
* Add addresses to webhook.
|
|
4588
|
-
* @returns WebhookResponse
|
|
5069
|
+
* @returns WebhookResponse Successful response
|
|
4589
5070
|
* @throws ApiError
|
|
4590
5071
|
*/
|
|
4591
5072
|
addAddressesToWebhook({ id, requestBody, }: {
|
|
@@ -4598,7 +5079,7 @@ declare class WebhooksService {
|
|
|
4598
5079
|
/**
|
|
4599
5080
|
* Remove addresses from webhook
|
|
4600
5081
|
* Remove addresses from webhook.
|
|
4601
|
-
* @returns WebhookResponse
|
|
5082
|
+
* @returns WebhookResponse Successful response
|
|
4602
5083
|
* @throws ApiError
|
|
4603
5084
|
*/
|
|
4604
5085
|
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
@@ -4611,7 +5092,7 @@ declare class WebhooksService {
|
|
|
4611
5092
|
/**
|
|
4612
5093
|
* List adresses by webhook
|
|
4613
5094
|
* List adresses by webhook.
|
|
4614
|
-
* @returns ListWebhookAddressesResponse
|
|
5095
|
+
* @returns ListWebhookAddressesResponse Successful response
|
|
4615
5096
|
* @throws ApiError
|
|
4616
5097
|
*/
|
|
4617
5098
|
getAddressesFromWebhook({ id, pageToken, pageSize, }: {
|
|
@@ -4632,6 +5113,7 @@ declare class WebhooksService {
|
|
|
4632
5113
|
|
|
4633
5114
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
4634
5115
|
declare class Glacier {
|
|
5116
|
+
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
4635
5117
|
readonly default: DefaultService;
|
|
4636
5118
|
readonly evmBalances: EvmBalancesService;
|
|
4637
5119
|
readonly evmBlocks: EvmBlocksService;
|
|
@@ -4648,7 +5130,7 @@ declare class Glacier {
|
|
|
4648
5130
|
readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
|
|
4649
5131
|
readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
|
|
4650
5132
|
readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
|
|
4651
|
-
readonly
|
|
5133
|
+
readonly signatureAggregator: SignatureAggregatorService;
|
|
4652
5134
|
readonly teleporter: TeleporterService;
|
|
4653
5135
|
readonly webhooks: WebhooksService;
|
|
4654
5136
|
readonly request: BaseHttpRequest;
|
|
@@ -4672,6 +5154,70 @@ declare class ApiError extends Error {
|
|
|
4672
5154
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4673
5155
|
}
|
|
4674
5156
|
|
|
5157
|
+
type BadGateway = {
|
|
5158
|
+
/**
|
|
5159
|
+
* The error message describing the reason for the exception
|
|
5160
|
+
*/
|
|
5161
|
+
message: (string | Array<string>);
|
|
5162
|
+
/**
|
|
5163
|
+
* The HTTP status code of the response
|
|
5164
|
+
*/
|
|
5165
|
+
statusCode: number;
|
|
5166
|
+
/**
|
|
5167
|
+
* The type of error
|
|
5168
|
+
*/
|
|
5169
|
+
error: string;
|
|
5170
|
+
};
|
|
5171
|
+
|
|
5172
|
+
type BadRequest = {
|
|
5173
|
+
/**
|
|
5174
|
+
* The error message describing the reason for the exception
|
|
5175
|
+
*/
|
|
5176
|
+
message: (string | Array<string>);
|
|
5177
|
+
/**
|
|
5178
|
+
* The HTTP status code of the response
|
|
5179
|
+
*/
|
|
5180
|
+
statusCode: number;
|
|
5181
|
+
/**
|
|
5182
|
+
* The type of error
|
|
5183
|
+
*/
|
|
5184
|
+
error: string;
|
|
5185
|
+
};
|
|
5186
|
+
|
|
5187
|
+
type DataListChainsResponse = {
|
|
5188
|
+
chains: Array<ChainInfo>;
|
|
5189
|
+
};
|
|
5190
|
+
|
|
5191
|
+
type Forbidden = {
|
|
5192
|
+
/**
|
|
5193
|
+
* The error message describing the reason for the exception
|
|
5194
|
+
*/
|
|
5195
|
+
message: (string | Array<string>);
|
|
5196
|
+
/**
|
|
5197
|
+
* The HTTP status code of the response
|
|
5198
|
+
*/
|
|
5199
|
+
statusCode: number;
|
|
5200
|
+
/**
|
|
5201
|
+
* The type of error
|
|
5202
|
+
*/
|
|
5203
|
+
error: string;
|
|
5204
|
+
};
|
|
5205
|
+
|
|
5206
|
+
type InternalServerError = {
|
|
5207
|
+
/**
|
|
5208
|
+
* The error message describing the reason for the exception
|
|
5209
|
+
*/
|
|
5210
|
+
message: (string | Array<string>);
|
|
5211
|
+
/**
|
|
5212
|
+
* The HTTP status code of the response
|
|
5213
|
+
*/
|
|
5214
|
+
statusCode: number;
|
|
5215
|
+
/**
|
|
5216
|
+
* The type of error
|
|
5217
|
+
*/
|
|
5218
|
+
error: string;
|
|
5219
|
+
};
|
|
5220
|
+
|
|
4675
5221
|
type NextPageToken = {
|
|
4676
5222
|
/**
|
|
4677
5223
|
* 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.
|
|
@@ -4679,4 +5225,64 @@ type NextPageToken = {
|
|
|
4679
5225
|
nextPageToken?: string;
|
|
4680
5226
|
};
|
|
4681
5227
|
|
|
4682
|
-
|
|
5228
|
+
type NotFound = {
|
|
5229
|
+
/**
|
|
5230
|
+
* The error message describing the reason for the exception
|
|
5231
|
+
*/
|
|
5232
|
+
message: (string | Array<string>);
|
|
5233
|
+
/**
|
|
5234
|
+
* The HTTP status code of the response
|
|
5235
|
+
*/
|
|
5236
|
+
statusCode: number;
|
|
5237
|
+
/**
|
|
5238
|
+
* The type of error
|
|
5239
|
+
*/
|
|
5240
|
+
error: string;
|
|
5241
|
+
};
|
|
5242
|
+
|
|
5243
|
+
type ServiceUnavailable = {
|
|
5244
|
+
/**
|
|
5245
|
+
* The error message describing the reason for the exception
|
|
5246
|
+
*/
|
|
5247
|
+
message: (string | Array<string>);
|
|
5248
|
+
/**
|
|
5249
|
+
* The HTTP status code of the response
|
|
5250
|
+
*/
|
|
5251
|
+
statusCode: number;
|
|
5252
|
+
/**
|
|
5253
|
+
* The type of error
|
|
5254
|
+
*/
|
|
5255
|
+
error: string;
|
|
5256
|
+
};
|
|
5257
|
+
|
|
5258
|
+
type TooManyRequests = {
|
|
5259
|
+
/**
|
|
5260
|
+
* The error message describing the reason for the exception
|
|
5261
|
+
*/
|
|
5262
|
+
message: (string | Array<string>);
|
|
5263
|
+
/**
|
|
5264
|
+
* The HTTP status code of the response
|
|
5265
|
+
*/
|
|
5266
|
+
statusCode: number;
|
|
5267
|
+
/**
|
|
5268
|
+
* The type of error
|
|
5269
|
+
*/
|
|
5270
|
+
error: string;
|
|
5271
|
+
};
|
|
5272
|
+
|
|
5273
|
+
type Unauthorized = {
|
|
5274
|
+
/**
|
|
5275
|
+
* The error message describing the reason for the exception
|
|
5276
|
+
*/
|
|
5277
|
+
message: (string | Array<string>);
|
|
5278
|
+
/**
|
|
5279
|
+
* The HTTP status code of the response
|
|
5280
|
+
*/
|
|
5281
|
+
statusCode: number;
|
|
5282
|
+
/**
|
|
5283
|
+
* The type of error
|
|
5284
|
+
*/
|
|
5285
|
+
error: string;
|
|
5286
|
+
};
|
|
5287
|
+
|
|
5288
|
+
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, 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 };
|