@avalabs/glacier-sdk 3.1.0-canary.9fc81c6.0 → 3.1.0-canary.b1108b2.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 +547 -81
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +2 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/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/ChainInfo.d.ts +1 -1
- package/esm/generated/models/CompletedValidatorDetails.d.ts +1 -0
- 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/NotFound.d.ts +16 -0
- package/esm/generated/models/RequestType.d.ts +9 -0
- package/esm/generated/models/RequestType.js +1 -0
- package/esm/generated/models/ServiceUnavailable.d.ts +16 -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/services/DataApiUsageMetricsService.d.ts +109 -0
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
- package/esm/generated/services/EvmBalancesService.d.ts +5 -5
- package/esm/generated/services/EvmBalancesService.js +1 -1
- package/esm/generated/services/EvmBlocksService.d.ts +2 -2
- package/esm/generated/services/EvmBlocksService.js +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +4 -4
- package/esm/generated/services/EvmChainsService.js +1 -1
- package/esm/generated/services/EvmContractsService.d.ts +2 -2
- package/esm/generated/services/EvmContractsService.js +1 -1
- package/esm/generated/services/EvmTransactionsService.d.ts +12 -12
- 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 +3 -3
- 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 +1 -1
- package/esm/generated/services/PrimaryNetworkBalancesService.js +1 -1
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkRewardsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkService.d.ts +9 -9
- 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 +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkVerticesService.js +1 -1
- package/esm/generated/services/RpcService.d.ts +1 -1
- package/esm/generated/services/RpcService.js +1 -1
- package/esm/generated/services/TeleporterService.d.ts +31 -3
- 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 +22 -1
- 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/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,295 @@ 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
|
+
declare enum TimeIntervalGranularityExtended {
|
|
152
|
+
MINUTE = "minute",
|
|
153
|
+
HOURLY = "hourly",
|
|
154
|
+
DAILY = "daily",
|
|
155
|
+
WEEKLY = "weekly",
|
|
156
|
+
MONTHLY = "monthly"
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
declare enum UsageMetricsGroupByEnum {
|
|
160
|
+
REQUEST_PATH = "requestPath",
|
|
161
|
+
RESPONSE_CODE = "responseCode",
|
|
162
|
+
CHAIN_ID = "chainId",
|
|
163
|
+
API_KEY_ID = "apiKeyId",
|
|
164
|
+
REQUEST_TYPE = "requestType"
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
type UsageMetricsValueDTO = {
|
|
168
|
+
/**
|
|
169
|
+
* Column name used for data aggregation
|
|
170
|
+
*/
|
|
171
|
+
groupedBy: UsageMetricsValueDTO.groupedBy;
|
|
172
|
+
/**
|
|
173
|
+
* The value of the column used for data aggregation
|
|
174
|
+
*/
|
|
175
|
+
groupValue?: (string | number);
|
|
176
|
+
/**
|
|
177
|
+
* The total number of requests
|
|
178
|
+
*/
|
|
179
|
+
totalRequests: number;
|
|
180
|
+
/**
|
|
181
|
+
* The number of requests per second
|
|
182
|
+
*/
|
|
183
|
+
requestsPerSecond: number;
|
|
184
|
+
/**
|
|
185
|
+
* The success rate percentage
|
|
186
|
+
*/
|
|
187
|
+
successRatePercent: number;
|
|
188
|
+
/**
|
|
189
|
+
* The median response time in milliseconds
|
|
190
|
+
*/
|
|
191
|
+
medianResponseTimeMsecs: number;
|
|
192
|
+
/**
|
|
193
|
+
* The number of invalid requests
|
|
194
|
+
*/
|
|
195
|
+
invalidRequests: number;
|
|
196
|
+
/**
|
|
197
|
+
* The number of API credits used
|
|
198
|
+
*/
|
|
199
|
+
apiCreditsUsed: number;
|
|
200
|
+
/**
|
|
201
|
+
* The number of API credits wasted on invalid requests
|
|
202
|
+
*/
|
|
203
|
+
apiCreditsWasted: number;
|
|
204
|
+
};
|
|
205
|
+
declare namespace UsageMetricsValueDTO {
|
|
206
|
+
/**
|
|
207
|
+
* Column name used for data aggregation
|
|
208
|
+
*/
|
|
209
|
+
enum groupedBy {
|
|
210
|
+
REQUEST_PATH = "requestPath",
|
|
211
|
+
RESPONSE_CODE = "responseCode",
|
|
212
|
+
CHAIN_ID = "chainId",
|
|
213
|
+
API_KEY_ID = "apiKeyId",
|
|
214
|
+
REQUEST_TYPE = "requestType",
|
|
215
|
+
NONE = "None"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
type Metric = {
|
|
220
|
+
/**
|
|
221
|
+
* The timestamp of the metrics value
|
|
222
|
+
*/
|
|
223
|
+
timestamp: number;
|
|
224
|
+
/**
|
|
225
|
+
* The metrics values for the timestamp
|
|
226
|
+
*/
|
|
227
|
+
values: Array<UsageMetricsValueDTO>;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
type UsageMetricsResponseDTO = {
|
|
231
|
+
/**
|
|
232
|
+
* Duration in which the metrics value is aggregated
|
|
233
|
+
*/
|
|
234
|
+
aggregateDuration: string;
|
|
235
|
+
/**
|
|
236
|
+
* Org ID for which the metrics are aggregated
|
|
237
|
+
*/
|
|
238
|
+
orgId: string;
|
|
239
|
+
/**
|
|
240
|
+
* Metrics values
|
|
241
|
+
*/
|
|
242
|
+
metrics: Array<Metric>;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
declare class DataApiUsageMetricsService {
|
|
246
|
+
readonly httpRequest: BaseHttpRequest;
|
|
247
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
248
|
+
/**
|
|
249
|
+
* Get usage metrics for the Data API
|
|
250
|
+
* Gets metrics for Data API usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
251
|
+
* @returns UsageMetricsResponseDTO Successful response
|
|
252
|
+
* @throws ApiError
|
|
253
|
+
*/
|
|
254
|
+
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, requestPath, requestType, responseCode, chainId, apiKeyId, }: {
|
|
255
|
+
/**
|
|
256
|
+
* Organization ID to fetch usage metrics for
|
|
257
|
+
*/
|
|
258
|
+
orgId?: string;
|
|
259
|
+
/**
|
|
260
|
+
* Query param for retrieving items after a specific timestamp.
|
|
261
|
+
*/
|
|
262
|
+
startTimestamp?: number;
|
|
263
|
+
/**
|
|
264
|
+
* Query param for retrieving items before a specific timestamp.
|
|
265
|
+
*/
|
|
266
|
+
endTimestamp?: number;
|
|
267
|
+
/**
|
|
268
|
+
* Time interval granularity for data aggregation
|
|
269
|
+
*/
|
|
270
|
+
timeInterval?: TimeIntervalGranularityExtended;
|
|
271
|
+
/**
|
|
272
|
+
* Query param for the criterion used for grouping metrics
|
|
273
|
+
*/
|
|
274
|
+
groupBy?: UsageMetricsGroupByEnum;
|
|
275
|
+
/**
|
|
276
|
+
* Filter data by request path.
|
|
277
|
+
*/
|
|
278
|
+
requestPath?: string;
|
|
279
|
+
/**
|
|
280
|
+
* Filter data by request type.
|
|
281
|
+
*/
|
|
282
|
+
requestType?: 'data' | 'rpc';
|
|
283
|
+
/**
|
|
284
|
+
* Filter data by response status code.
|
|
285
|
+
*/
|
|
286
|
+
responseCode?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Filter data by chain ID.
|
|
289
|
+
*/
|
|
290
|
+
chainId?: string;
|
|
291
|
+
/**
|
|
292
|
+
* Filter data by API key ID.
|
|
293
|
+
*/
|
|
294
|
+
apiKeyId?: string;
|
|
295
|
+
}): CancelablePromise<UsageMetricsResponseDTO>;
|
|
296
|
+
/**
|
|
297
|
+
* Get logs for requests made by client
|
|
298
|
+
* Gets logs for requests made by client over a specified time interval for a specific organization.
|
|
299
|
+
* @returns LogsResponseDTO Successful response
|
|
300
|
+
* @throws ApiError
|
|
301
|
+
*/
|
|
302
|
+
getApiLogs({ orgId, startTimestamp, endTimestamp, requestPath, requestType, responseCode, chainId, apiKeyId, pageToken, pageSize, }: {
|
|
303
|
+
/**
|
|
304
|
+
* Organization ID to fetch usage metrics for
|
|
305
|
+
*/
|
|
306
|
+
orgId?: string;
|
|
307
|
+
/**
|
|
308
|
+
* Query param for retrieving items after a specific timestamp.
|
|
309
|
+
*/
|
|
310
|
+
startTimestamp?: number;
|
|
311
|
+
/**
|
|
312
|
+
* Query param for retrieving items before a specific timestamp.
|
|
313
|
+
*/
|
|
314
|
+
endTimestamp?: number;
|
|
315
|
+
/**
|
|
316
|
+
* Filter data by request path.
|
|
317
|
+
*/
|
|
318
|
+
requestPath?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Filter data by request type.
|
|
321
|
+
*/
|
|
322
|
+
requestType?: 'data' | 'rpc';
|
|
323
|
+
/**
|
|
324
|
+
* Filter data by response status code.
|
|
325
|
+
*/
|
|
326
|
+
responseCode?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Filter data by chain ID.
|
|
329
|
+
*/
|
|
330
|
+
chainId?: string;
|
|
331
|
+
/**
|
|
332
|
+
* Filter data by API key ID.
|
|
333
|
+
*/
|
|
334
|
+
apiKeyId?: string;
|
|
335
|
+
/**
|
|
336
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
337
|
+
*/
|
|
338
|
+
pageToken?: string;
|
|
339
|
+
/**
|
|
340
|
+
* The maximum number of items to return.
|
|
341
|
+
*/
|
|
342
|
+
pageSize?: number;
|
|
343
|
+
}): CancelablePromise<LogsResponseDTO>;
|
|
344
|
+
}
|
|
345
|
+
|
|
57
346
|
declare class DefaultService {
|
|
58
347
|
readonly httpRequest: BaseHttpRequest;
|
|
59
348
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -331,7 +620,7 @@ declare class EvmBalancesService {
|
|
|
331
620
|
* Gets native token balance of a wallet address.
|
|
332
621
|
*
|
|
333
622
|
* Balance at a given block can be retrieved with the `blockNumber` parameter.
|
|
334
|
-
* @returns GetNativeBalanceResponse
|
|
623
|
+
* @returns GetNativeBalanceResponse Successful response
|
|
335
624
|
* @throws ApiError
|
|
336
625
|
*/
|
|
337
626
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
@@ -359,7 +648,7 @@ declare class EvmBalancesService {
|
|
|
359
648
|
* Balance at a given block can be retrieved with the `blockNumber` parameter.
|
|
360
649
|
*
|
|
361
650
|
* Balance for specific contracts can be retrieved with the `contractAddresses` parameter.
|
|
362
|
-
* @returns ListErc20BalancesResponse
|
|
651
|
+
* @returns ListErc20BalancesResponse Successful response
|
|
363
652
|
* @throws ApiError
|
|
364
653
|
*/
|
|
365
654
|
listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, filterSpamTokens, contractAddresses, currency, }: {
|
|
@@ -401,7 +690,7 @@ declare class EvmBalancesService {
|
|
|
401
690
|
* Lists ERC-721 token balances of a wallet address.
|
|
402
691
|
*
|
|
403
692
|
* Balance for a specific contract can be retrieved with the `contractAddress` parameter.
|
|
404
|
-
* @returns ListErc721BalancesResponse
|
|
693
|
+
* @returns ListErc721BalancesResponse Successful response
|
|
405
694
|
* @throws ApiError
|
|
406
695
|
*/
|
|
407
696
|
listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
@@ -433,7 +722,7 @@ declare class EvmBalancesService {
|
|
|
433
722
|
* Balance at a given block can be retrieved with the `blockNumber` parameter.
|
|
434
723
|
*
|
|
435
724
|
* Balance for a specific contract can be retrieved with the `contractAddress` parameter.
|
|
436
|
-
* @returns ListErc1155BalancesResponse
|
|
725
|
+
* @returns ListErc1155BalancesResponse Successful response
|
|
437
726
|
* @throws ApiError
|
|
438
727
|
*/
|
|
439
728
|
listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
|
|
@@ -467,7 +756,7 @@ declare class EvmBalancesService {
|
|
|
467
756
|
* Lists ERC-721 and ERC-1155 token balances of a wallet address.
|
|
468
757
|
*
|
|
469
758
|
* Balance for a specific contract can be retrieved with the `contractAddress` parameter.
|
|
470
|
-
* @returns ListCollectibleBalancesResponse
|
|
759
|
+
* @returns ListCollectibleBalancesResponse Successful response
|
|
471
760
|
* @throws ApiError
|
|
472
761
|
*/
|
|
473
762
|
listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
|
|
@@ -596,7 +885,7 @@ declare class EvmBlocksService {
|
|
|
596
885
|
/**
|
|
597
886
|
* List latest blocks
|
|
598
887
|
* Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
|
|
599
|
-
* @returns ListEvmBlocksResponse
|
|
888
|
+
* @returns ListEvmBlocksResponse Successful response
|
|
600
889
|
* @throws ApiError
|
|
601
890
|
*/
|
|
602
891
|
getLatestBlocks({ chainId, pageToken, pageSize, }: {
|
|
@@ -616,7 +905,7 @@ declare class EvmBlocksService {
|
|
|
616
905
|
/**
|
|
617
906
|
* Get block
|
|
618
907
|
* Gets the details of an individual block on the EVM-compatible chain.
|
|
619
|
-
* @returns GetEvmBlockResponse
|
|
908
|
+
* @returns GetEvmBlockResponse Successful response
|
|
620
909
|
* @throws ApiError
|
|
621
910
|
*/
|
|
622
911
|
getBlock({ chainId, blockId, }: {
|
|
@@ -631,6 +920,12 @@ declare class EvmBlocksService {
|
|
|
631
920
|
}): CancelablePromise<GetEvmBlockResponse>;
|
|
632
921
|
}
|
|
633
922
|
|
|
923
|
+
declare enum ApiFeature {
|
|
924
|
+
NFT_INDEXING = "nftIndexing",
|
|
925
|
+
WEBHOOKS = "webhooks",
|
|
926
|
+
TELEPORTER = "teleporter"
|
|
927
|
+
}
|
|
928
|
+
|
|
634
929
|
/**
|
|
635
930
|
* 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
931
|
*/
|
|
@@ -686,14 +981,9 @@ type GetChainResponse = {
|
|
|
686
981
|
networkToken: NetworkToken;
|
|
687
982
|
chainLogoUri?: string;
|
|
688
983
|
private?: boolean;
|
|
689
|
-
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
984
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
|
|
690
985
|
};
|
|
691
986
|
|
|
692
|
-
declare enum GlacierApiFeature {
|
|
693
|
-
NFT_INDEXING = "nftIndexing",
|
|
694
|
-
WEBHOOKS = "webhooks"
|
|
695
|
-
}
|
|
696
|
-
|
|
697
987
|
type ChainInfo = {
|
|
698
988
|
chainId: string;
|
|
699
989
|
status: ChainStatus;
|
|
@@ -711,7 +1001,7 @@ type ChainInfo = {
|
|
|
711
1001
|
networkToken: NetworkToken;
|
|
712
1002
|
chainLogoUri?: string;
|
|
713
1003
|
private?: boolean;
|
|
714
|
-
enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
|
|
1004
|
+
enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
|
|
715
1005
|
};
|
|
716
1006
|
|
|
717
1007
|
type ListChainsResponse = {
|
|
@@ -729,7 +1019,7 @@ declare class EvmChainsService {
|
|
|
729
1019
|
/**
|
|
730
1020
|
* List chains
|
|
731
1021
|
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
732
|
-
* @returns ListChainsResponse
|
|
1022
|
+
* @returns ListChainsResponse Successful response
|
|
733
1023
|
* @throws ApiError
|
|
734
1024
|
*/
|
|
735
1025
|
supportedChains({ network, feature, }: {
|
|
@@ -740,12 +1030,12 @@ declare class EvmChainsService {
|
|
|
740
1030
|
/**
|
|
741
1031
|
* Filter by feature.
|
|
742
1032
|
*/
|
|
743
|
-
feature?:
|
|
1033
|
+
feature?: ApiFeature;
|
|
744
1034
|
}): CancelablePromise<ListChainsResponse>;
|
|
745
1035
|
/**
|
|
746
1036
|
* Get chain information
|
|
747
1037
|
* Gets chain information for the EVM-compatible chain if supported by the api.
|
|
748
|
-
* @returns GetChainResponse
|
|
1038
|
+
* @returns GetChainResponse Successful response
|
|
749
1039
|
* @throws ApiError
|
|
750
1040
|
*/
|
|
751
1041
|
getChainInfo({ chainId, }: {
|
|
@@ -1040,7 +1330,7 @@ declare class EvmContractsService {
|
|
|
1040
1330
|
/**
|
|
1041
1331
|
* Get contract metadata
|
|
1042
1332
|
* Gets metadata about the contract at the given address.
|
|
1043
|
-
* @returns any
|
|
1333
|
+
* @returns any Successful response
|
|
1044
1334
|
* @throws ApiError
|
|
1045
1335
|
*/
|
|
1046
1336
|
getContractMetadata({ chainId, address, }: {
|
|
@@ -1056,7 +1346,7 @@ declare class EvmContractsService {
|
|
|
1056
1346
|
/**
|
|
1057
1347
|
* Update contract information
|
|
1058
1348
|
* Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
|
|
1059
|
-
* @returns UpdateContractResponse
|
|
1349
|
+
* @returns UpdateContractResponse Successful response
|
|
1060
1350
|
* @throws ApiError
|
|
1061
1351
|
*/
|
|
1062
1352
|
updateContractInfo({ chainId, address, requestBody, }: {
|
|
@@ -1309,6 +1599,24 @@ type NetworkTokenDetails = {
|
|
|
1309
1599
|
historicalPrice?: Money;
|
|
1310
1600
|
};
|
|
1311
1601
|
|
|
1602
|
+
declare enum TransactionDirectionType {
|
|
1603
|
+
SOURCE_TRANSACTION = "SOURCE_TRANSACTION",
|
|
1604
|
+
DESTINATION_TRANSACTION = "DESTINATION_TRANSACTION"
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
type TeleporterMessageInfo = {
|
|
1608
|
+
teleporterMessageId: string;
|
|
1609
|
+
direction: TransactionDirectionType;
|
|
1610
|
+
/**
|
|
1611
|
+
* chain id of the source chain. valid only for destination transactions
|
|
1612
|
+
*/
|
|
1613
|
+
sourceChainId?: Record<string, any>;
|
|
1614
|
+
/**
|
|
1615
|
+
* chain id of the destination chain. valid only for source transactions
|
|
1616
|
+
*/
|
|
1617
|
+
destinationChainId?: Record<string, any>;
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1312
1620
|
type GetTransactionResponse = {
|
|
1313
1621
|
/**
|
|
1314
1622
|
* The list of ERC-20 transfers.
|
|
@@ -1328,6 +1636,10 @@ type GetTransactionResponse = {
|
|
|
1328
1636
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
1329
1637
|
networkTokenDetails: NetworkTokenDetails;
|
|
1330
1638
|
nativeTransaction: FullNativeTransactionDetails;
|
|
1639
|
+
/**
|
|
1640
|
+
* Corresponding teleporter message info if available.
|
|
1641
|
+
*/
|
|
1642
|
+
teleporterMessageInfo?: TeleporterMessageInfo;
|
|
1331
1643
|
};
|
|
1332
1644
|
|
|
1333
1645
|
type ListContractsResponse = {
|
|
@@ -1584,7 +1896,7 @@ declare class EvmTransactionsService {
|
|
|
1584
1896
|
/**
|
|
1585
1897
|
* Get deployment transaction
|
|
1586
1898
|
* If the address is a smart contract, returns the transaction in which it was deployed.
|
|
1587
|
-
* @returns GetTransactionResponse
|
|
1899
|
+
* @returns GetTransactionResponse Successful response
|
|
1588
1900
|
* @throws ApiError
|
|
1589
1901
|
*/
|
|
1590
1902
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
@@ -1604,7 +1916,7 @@ declare class EvmTransactionsService {
|
|
|
1604
1916
|
/**
|
|
1605
1917
|
* List deployed contracts
|
|
1606
1918
|
* Lists all contracts deployed by the given address.
|
|
1607
|
-
* @returns ListContractsResponse
|
|
1919
|
+
* @returns ListContractsResponse Successful response
|
|
1608
1920
|
* @throws ApiError
|
|
1609
1921
|
*/
|
|
1610
1922
|
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
@@ -1628,7 +1940,7 @@ declare class EvmTransactionsService {
|
|
|
1628
1940
|
/**
|
|
1629
1941
|
* List ERC transfers
|
|
1630
1942
|
* Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address.
|
|
1631
|
-
* @returns ListTransfersResponse
|
|
1943
|
+
* @returns ListTransfersResponse Successful response
|
|
1632
1944
|
* @throws ApiError
|
|
1633
1945
|
*/
|
|
1634
1946
|
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
@@ -1662,7 +1974,7 @@ declare class EvmTransactionsService {
|
|
|
1662
1974
|
* 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
1975
|
*
|
|
1664
1976
|
* Filterable by block ranges.
|
|
1665
|
-
* @returns ListTransactionDetailsResponse
|
|
1977
|
+
* @returns ListTransactionDetailsResponse Successful response
|
|
1666
1978
|
* @throws ApiError
|
|
1667
1979
|
*/
|
|
1668
1980
|
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
@@ -1698,7 +2010,7 @@ declare class EvmTransactionsService {
|
|
|
1698
2010
|
/**
|
|
1699
2011
|
* List native transactions
|
|
1700
2012
|
* Lists native transactions for an address. Filterable by block range.
|
|
1701
|
-
* @returns ListNativeTransactionsResponse
|
|
2013
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
1702
2014
|
* @throws ApiError
|
|
1703
2015
|
*/
|
|
1704
2016
|
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
@@ -1730,7 +2042,7 @@ declare class EvmTransactionsService {
|
|
|
1730
2042
|
/**
|
|
1731
2043
|
* List ERC-20 transfers
|
|
1732
2044
|
* Lists ERC-20 transfers for an address. Filterable by block range.
|
|
1733
|
-
* @returns ListErc20TransactionsResponse
|
|
2045
|
+
* @returns ListErc20TransactionsResponse Successful response
|
|
1734
2046
|
* @throws ApiError
|
|
1735
2047
|
*/
|
|
1736
2048
|
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
@@ -1762,7 +2074,7 @@ declare class EvmTransactionsService {
|
|
|
1762
2074
|
/**
|
|
1763
2075
|
* List ERC-721 transfers
|
|
1764
2076
|
* Lists ERC-721 transfers for an address. Filterable by block range.
|
|
1765
|
-
* @returns ListErc721TransactionsResponse
|
|
2077
|
+
* @returns ListErc721TransactionsResponse Successful response
|
|
1766
2078
|
* @throws ApiError
|
|
1767
2079
|
*/
|
|
1768
2080
|
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
@@ -1794,7 +2106,7 @@ declare class EvmTransactionsService {
|
|
|
1794
2106
|
/**
|
|
1795
2107
|
* List ERC-1155 transfers
|
|
1796
2108
|
* Lists ERC-1155 transfers for an address. Filterable by block range.
|
|
1797
|
-
* @returns ListErc1155TransactionsResponse
|
|
2109
|
+
* @returns ListErc1155TransactionsResponse Successful response
|
|
1798
2110
|
* @throws ApiError
|
|
1799
2111
|
*/
|
|
1800
2112
|
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
@@ -1828,7 +2140,7 @@ declare class EvmTransactionsService {
|
|
|
1828
2140
|
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
1829
2141
|
*
|
|
1830
2142
|
* 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
|
|
2143
|
+
* @returns ListInternalTransactionsResponse Successful response
|
|
1832
2144
|
* @throws ApiError
|
|
1833
2145
|
*/
|
|
1834
2146
|
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
@@ -1860,7 +2172,7 @@ declare class EvmTransactionsService {
|
|
|
1860
2172
|
/**
|
|
1861
2173
|
* Get transaction
|
|
1862
2174
|
* Gets the details of a single transaction.
|
|
1863
|
-
* @returns GetTransactionResponse
|
|
2175
|
+
* @returns GetTransactionResponse Successful response
|
|
1864
2176
|
* @throws ApiError
|
|
1865
2177
|
*/
|
|
1866
2178
|
getTransaction({ chainId, txHash, }: {
|
|
@@ -1876,7 +2188,7 @@ declare class EvmTransactionsService {
|
|
|
1876
2188
|
/**
|
|
1877
2189
|
* List transactions for a block
|
|
1878
2190
|
* Lists the transactions that occured in a given block.
|
|
1879
|
-
* @returns ListNativeTransactionsResponse
|
|
2191
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
1880
2192
|
* @throws ApiError
|
|
1881
2193
|
*/
|
|
1882
2194
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
@@ -1892,7 +2204,7 @@ declare class EvmTransactionsService {
|
|
|
1892
2204
|
/**
|
|
1893
2205
|
* List latest transactions
|
|
1894
2206
|
* Lists the latest transactions. Filterable by status.
|
|
1895
|
-
* @returns ListNativeTransactionsResponse
|
|
2207
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
1896
2208
|
* @throws ApiError
|
|
1897
2209
|
*/
|
|
1898
2210
|
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
@@ -1923,7 +2235,7 @@ declare class HealthCheckService {
|
|
|
1923
2235
|
* @returns any The Health Check is successful
|
|
1924
2236
|
* @throws ApiError
|
|
1925
2237
|
*/
|
|
1926
|
-
|
|
2238
|
+
dataHealthCheck(): CancelablePromise<{
|
|
1927
2239
|
status?: string;
|
|
1928
2240
|
info?: Record<string, Record<string, string>> | null;
|
|
1929
2241
|
error?: Record<string, Record<string, string>> | null;
|
|
@@ -1945,7 +2257,7 @@ declare class NfTsService {
|
|
|
1945
2257
|
/**
|
|
1946
2258
|
* Reindex NFT metadata
|
|
1947
2259
|
* Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
|
|
1948
|
-
* @returns any
|
|
2260
|
+
* @returns any Successful response
|
|
1949
2261
|
* @throws ApiError
|
|
1950
2262
|
*/
|
|
1951
2263
|
reindexNft({ chainId, address, tokenId, }: {
|
|
@@ -1965,7 +2277,7 @@ declare class NfTsService {
|
|
|
1965
2277
|
/**
|
|
1966
2278
|
* List tokens
|
|
1967
2279
|
* Lists tokens for an NFT contract.
|
|
1968
|
-
* @returns ListNftTokens
|
|
2280
|
+
* @returns ListNftTokens Successful response
|
|
1969
2281
|
* @throws ApiError
|
|
1970
2282
|
*/
|
|
1971
2283
|
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
@@ -1989,7 +2301,7 @@ declare class NfTsService {
|
|
|
1989
2301
|
/**
|
|
1990
2302
|
* Get token details
|
|
1991
2303
|
* Gets token details for a specific token of an NFT contract.
|
|
1992
|
-
* @returns any
|
|
2304
|
+
* @returns any Successful response
|
|
1993
2305
|
* @throws ApiError
|
|
1994
2306
|
*/
|
|
1995
2307
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
@@ -2107,7 +2419,7 @@ declare class OperationsService {
|
|
|
2107
2419
|
/**
|
|
2108
2420
|
* Get operation
|
|
2109
2421
|
* Gets operation details for the given operation id.
|
|
2110
|
-
* @returns OperationStatusResponse
|
|
2422
|
+
* @returns OperationStatusResponse Successful response
|
|
2111
2423
|
* @throws ApiError
|
|
2112
2424
|
*/
|
|
2113
2425
|
getOperationResult({ operationId, }: {
|
|
@@ -2121,7 +2433,7 @@ declare class OperationsService {
|
|
|
2121
2433
|
* Trigger a transaction export operation with given parameters.
|
|
2122
2434
|
*
|
|
2123
2435
|
* 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
|
|
2436
|
+
* @returns OperationStatusResponse Successful response
|
|
2125
2437
|
* @throws ApiError
|
|
2126
2438
|
*/
|
|
2127
2439
|
postTransactionExportJob({ requestBody, }: {
|
|
@@ -2383,6 +2695,7 @@ type CompletedValidatorDetails = {
|
|
|
2383
2695
|
*/
|
|
2384
2696
|
blsCredentials?: BlsCredentials;
|
|
2385
2697
|
delegatorCount: number;
|
|
2698
|
+
amountDelegated?: string;
|
|
2386
2699
|
rewards: Rewards;
|
|
2387
2700
|
validationStatus: CompletedValidatorDetails.validationStatus;
|
|
2388
2701
|
};
|
|
@@ -2518,7 +2831,7 @@ declare class PrimaryNetworkService {
|
|
|
2518
2831
|
/**
|
|
2519
2832
|
* Get asset details
|
|
2520
2833
|
* Gets asset details corresponding to the given asset id on the X-Chain.
|
|
2521
|
-
* @returns XChainAssetDetails
|
|
2834
|
+
* @returns XChainAssetDetails Successful response
|
|
2522
2835
|
* @throws ApiError
|
|
2523
2836
|
*/
|
|
2524
2837
|
getAssetDetails({ blockchainId, network, assetId, }: {
|
|
@@ -2538,7 +2851,7 @@ declare class PrimaryNetworkService {
|
|
|
2538
2851
|
/**
|
|
2539
2852
|
* Get chain interactions for addresses
|
|
2540
2853
|
* 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
|
|
2854
|
+
* @returns ChainAddressChainIdMapListResponse Successful response
|
|
2542
2855
|
* @throws ApiError
|
|
2543
2856
|
*/
|
|
2544
2857
|
getChainIdsForAddresses({ addresses, network, }: {
|
|
@@ -2554,7 +2867,7 @@ declare class PrimaryNetworkService {
|
|
|
2554
2867
|
/**
|
|
2555
2868
|
* Get network details
|
|
2556
2869
|
* Gets network details such as validator and delegator stats.
|
|
2557
|
-
* @returns GetNetworkDetailsResponse
|
|
2870
|
+
* @returns GetNetworkDetailsResponse Successful response
|
|
2558
2871
|
* @throws ApiError
|
|
2559
2872
|
*/
|
|
2560
2873
|
getNetworkDetails({ network, }: {
|
|
@@ -2566,7 +2879,7 @@ declare class PrimaryNetworkService {
|
|
|
2566
2879
|
/**
|
|
2567
2880
|
* List blockchains
|
|
2568
2881
|
* Lists all blockchains registered on the network.
|
|
2569
|
-
* @returns ListBlockchainsResponse
|
|
2882
|
+
* @returns ListBlockchainsResponse Successful response
|
|
2570
2883
|
* @throws ApiError
|
|
2571
2884
|
*/
|
|
2572
2885
|
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
@@ -2590,7 +2903,7 @@ declare class PrimaryNetworkService {
|
|
|
2590
2903
|
/**
|
|
2591
2904
|
* List subnets
|
|
2592
2905
|
* Lists all subnets registered on the network.
|
|
2593
|
-
* @returns ListSubnetsResponse
|
|
2906
|
+
* @returns ListSubnetsResponse Successful response
|
|
2594
2907
|
* @throws ApiError
|
|
2595
2908
|
*/
|
|
2596
2909
|
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
@@ -2614,7 +2927,7 @@ declare class PrimaryNetworkService {
|
|
|
2614
2927
|
/**
|
|
2615
2928
|
* Get Subnet details by ID
|
|
2616
2929
|
* Get details of the Subnet registered on the network.
|
|
2617
|
-
* @returns Subnet
|
|
2930
|
+
* @returns Subnet Successful response
|
|
2618
2931
|
* @throws ApiError
|
|
2619
2932
|
*/
|
|
2620
2933
|
getSubnetById({ network, subnetId, }: {
|
|
@@ -2630,7 +2943,7 @@ declare class PrimaryNetworkService {
|
|
|
2630
2943
|
/**
|
|
2631
2944
|
* List validators
|
|
2632
2945
|
* Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
|
|
2633
|
-
* @returns ListValidatorDetailsResponse
|
|
2946
|
+
* @returns ListValidatorDetailsResponse Successful response
|
|
2634
2947
|
* @throws ApiError
|
|
2635
2948
|
*/
|
|
2636
2949
|
listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
|
|
@@ -2704,7 +3017,7 @@ declare class PrimaryNetworkService {
|
|
|
2704
3017
|
/**
|
|
2705
3018
|
* Get single validator details
|
|
2706
3019
|
* List validator details for a single validator. Filterable by validation status.
|
|
2707
|
-
* @returns ListValidatorDetailsResponse
|
|
3020
|
+
* @returns ListValidatorDetailsResponse Successful response
|
|
2708
3021
|
* @throws ApiError
|
|
2709
3022
|
*/
|
|
2710
3023
|
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
|
|
@@ -2736,7 +3049,7 @@ declare class PrimaryNetworkService {
|
|
|
2736
3049
|
/**
|
|
2737
3050
|
* List delegators
|
|
2738
3051
|
* Lists details for delegators.
|
|
2739
|
-
* @returns ListDelegatorDetailsResponse
|
|
3052
|
+
* @returns ListDelegatorDetailsResponse Successful response
|
|
2740
3053
|
* @throws ApiError
|
|
2741
3054
|
*/
|
|
2742
3055
|
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
@@ -2978,7 +3291,7 @@ declare class PrimaryNetworkBalancesService {
|
|
|
2978
3291
|
* Gets primary network balances for one of the Primary Network chains for the supplied addresses.
|
|
2979
3292
|
*
|
|
2980
3293
|
* 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
|
|
3294
|
+
* @returns any Successful response
|
|
2982
3295
|
* @throws ApiError
|
|
2983
3296
|
*/
|
|
2984
3297
|
getBalancesByAddresses({ blockchainId, network, blockTimestamp, addresses, }: {
|
|
@@ -3050,7 +3363,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3050
3363
|
/**
|
|
3051
3364
|
* Get block
|
|
3052
3365
|
* Gets a block by block height or block hash on one of the Primary Network chains.
|
|
3053
|
-
* @returns GetPrimaryNetworkBlockResponse
|
|
3366
|
+
* @returns GetPrimaryNetworkBlockResponse Successful response
|
|
3054
3367
|
* @throws ApiError
|
|
3055
3368
|
*/
|
|
3056
3369
|
getBlockById({ blockchainId, network, blockId, }: {
|
|
@@ -3070,7 +3383,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3070
3383
|
/**
|
|
3071
3384
|
* List blocks proposed by node
|
|
3072
3385
|
* Lists the latest blocks proposed by a given NodeID on one of the Primary Network chains.
|
|
3073
|
-
* @returns ListPrimaryNetworkBlocksResponse
|
|
3386
|
+
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3074
3387
|
* @throws ApiError
|
|
3075
3388
|
*/
|
|
3076
3389
|
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
@@ -3098,7 +3411,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3098
3411
|
/**
|
|
3099
3412
|
* List latest blocks
|
|
3100
3413
|
* Lists latest blocks on one of the Primary Network chains.
|
|
3101
|
-
* @returns ListPrimaryNetworkBlocksResponse
|
|
3414
|
+
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3102
3415
|
* @throws ApiError
|
|
3103
3416
|
*/
|
|
3104
3417
|
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
@@ -3236,7 +3549,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3236
3549
|
/**
|
|
3237
3550
|
* List pending rewards
|
|
3238
3551
|
* Lists pending rewards on the Primary Network for the supplied addresses.
|
|
3239
|
-
* @returns ListPendingRewardsResponse
|
|
3552
|
+
* @returns ListPendingRewardsResponse Successful response
|
|
3240
3553
|
* @throws ApiError
|
|
3241
3554
|
*/
|
|
3242
3555
|
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
@@ -3268,7 +3581,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3268
3581
|
/**
|
|
3269
3582
|
* List historical rewards
|
|
3270
3583
|
* Lists historical rewards on the Primary Network for the supplied addresses.
|
|
3271
|
-
* @returns ListHistoricalRewardsResponse
|
|
3584
|
+
* @returns ListHistoricalRewardsResponse Successful response
|
|
3272
3585
|
* @throws ApiError
|
|
3273
3586
|
*/
|
|
3274
3587
|
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
@@ -3855,7 +4168,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3855
4168
|
/**
|
|
3856
4169
|
* Get transaction
|
|
3857
4170
|
* Gets the details of a single transaction on one of the Primary Network chains.
|
|
3858
|
-
* @returns any
|
|
4171
|
+
* @returns any Successful response
|
|
3859
4172
|
* @throws ApiError
|
|
3860
4173
|
*/
|
|
3861
4174
|
getTxByHash({ blockchainId, network, txHash, }: {
|
|
@@ -3879,10 +4192,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3879
4192
|
* 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
4193
|
*
|
|
3881
4194
|
* 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
|
|
4195
|
+
* @returns any Successful response
|
|
3883
4196
|
* @throws ApiError
|
|
3884
4197
|
*/
|
|
3885
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network,
|
|
4198
|
+
listLatestPrimaryNetworkTransactions({ addresses, blockchainId, network, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
4199
|
+
/**
|
|
4200
|
+
* 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.
|
|
4201
|
+
*/
|
|
4202
|
+
addresses: string;
|
|
3886
4203
|
/**
|
|
3887
4204
|
* A primary network blockchain id or alias.
|
|
3888
4205
|
*/
|
|
@@ -3891,10 +4208,6 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3891
4208
|
* Either mainnet or a testnet.
|
|
3892
4209
|
*/
|
|
3893
4210
|
network: Network;
|
|
3894
|
-
/**
|
|
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".
|
|
3896
|
-
*/
|
|
3897
|
-
addresses?: string;
|
|
3898
4211
|
/**
|
|
3899
4212
|
* Query param for filtering items based on transaction types.
|
|
3900
4213
|
*/
|
|
@@ -3923,7 +4236,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3923
4236
|
/**
|
|
3924
4237
|
* List staking transactions
|
|
3925
4238
|
* Lists active staking transactions on the P-Chain for the supplied addresses.
|
|
3926
|
-
* @returns ListPChainTransactionsResponse
|
|
4239
|
+
* @returns ListPChainTransactionsResponse Successful response
|
|
3927
4240
|
* @throws ApiError
|
|
3928
4241
|
*/
|
|
3929
4242
|
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
@@ -3967,7 +4280,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
3967
4280
|
/**
|
|
3968
4281
|
* List asset transactions
|
|
3969
4282
|
* Lists asset transactions corresponding to the given asset id on the X-Chain.
|
|
3970
|
-
* @returns ListXChainTransactionsResponse
|
|
4283
|
+
* @returns ListXChainTransactionsResponse Successful response
|
|
3971
4284
|
* @throws ApiError
|
|
3972
4285
|
*/
|
|
3973
4286
|
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
@@ -4030,7 +4343,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4030
4343
|
/**
|
|
4031
4344
|
* List UTXOs
|
|
4032
4345
|
* Lists UTXOs on one of the Primary Network chains for the supplied addresses.
|
|
4033
|
-
* @returns any
|
|
4346
|
+
* @returns any Successful response
|
|
4034
4347
|
* @throws ApiError
|
|
4035
4348
|
*/
|
|
4036
4349
|
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
@@ -4095,7 +4408,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4095
4408
|
/**
|
|
4096
4409
|
* List vertices
|
|
4097
4410
|
* Lists latest vertices on the X-Chain.
|
|
4098
|
-
* @returns ListXChainVerticesResponse
|
|
4411
|
+
* @returns ListXChainVerticesResponse Successful response
|
|
4099
4412
|
* @throws ApiError
|
|
4100
4413
|
*/
|
|
4101
4414
|
listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
|
|
@@ -4119,7 +4432,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4119
4432
|
/**
|
|
4120
4433
|
* Get vertex
|
|
4121
4434
|
* Gets a single vertex on the X-Chain.
|
|
4122
|
-
* @returns XChainVertex
|
|
4435
|
+
* @returns XChainVertex Successful response
|
|
4123
4436
|
* @throws ApiError
|
|
4124
4437
|
*/
|
|
4125
4438
|
getVertexByHash({ vertexHash, blockchainId, network, }: {
|
|
@@ -4139,7 +4452,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4139
4452
|
/**
|
|
4140
4453
|
* List vertices by height
|
|
4141
4454
|
* Lists vertices at the given vertex height on the X-Chain.
|
|
4142
|
-
* @returns ListXChainVerticesResponse
|
|
4455
|
+
* @returns ListXChainVerticesResponse Successful response
|
|
4143
4456
|
* @throws ApiError
|
|
4144
4457
|
*/
|
|
4145
4458
|
getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
|
|
@@ -4201,7 +4514,7 @@ declare class RpcService {
|
|
|
4201
4514
|
/**
|
|
4202
4515
|
* Calls JSON-RPC method
|
|
4203
4516
|
* Calls JSON-RPC method.
|
|
4204
|
-
* @returns any
|
|
4517
|
+
* @returns any Successful response
|
|
4205
4518
|
* @throws ApiError
|
|
4206
4519
|
*/
|
|
4207
4520
|
rpc({ chainId, requestBody, }: {
|
|
@@ -4353,7 +4666,7 @@ declare class TeleporterService {
|
|
|
4353
4666
|
/**
|
|
4354
4667
|
* Get a teleporter message
|
|
4355
4668
|
* Gets a teleporter message by message ID.
|
|
4356
|
-
* @returns any
|
|
4669
|
+
* @returns any Successful response
|
|
4357
4670
|
* @throws ApiError
|
|
4358
4671
|
*/
|
|
4359
4672
|
getTeleporterMessage({ messageId, }: {
|
|
@@ -4365,10 +4678,10 @@ declare class TeleporterService {
|
|
|
4365
4678
|
/**
|
|
4366
4679
|
* List teleporter messages
|
|
4367
4680
|
* Lists teleporter messages. Ordered by timestamp in descending order.
|
|
4368
|
-
* @returns ListTeleporterMessagesResponse
|
|
4681
|
+
* @returns ListTeleporterMessagesResponse Successful response
|
|
4369
4682
|
* @throws ApiError
|
|
4370
4683
|
*/
|
|
4371
|
-
listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, network, }: {
|
|
4684
|
+
listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
|
|
4372
4685
|
/**
|
|
4373
4686
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4374
4687
|
*/
|
|
@@ -4385,6 +4698,10 @@ declare class TeleporterService {
|
|
|
4385
4698
|
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
|
|
4386
4699
|
*/
|
|
4387
4700
|
destinationBlockchainId?: string;
|
|
4701
|
+
/**
|
|
4702
|
+
* The base58 encoded blockchain ID of either source or destination chain that one teleporter message interacts with.
|
|
4703
|
+
*/
|
|
4704
|
+
blockchainId?: string;
|
|
4388
4705
|
/**
|
|
4389
4706
|
* The address of the recipient of the teleporter message.
|
|
4390
4707
|
*/
|
|
@@ -4398,13 +4715,37 @@ declare class TeleporterService {
|
|
|
4398
4715
|
*/
|
|
4399
4716
|
network?: NetworkType;
|
|
4400
4717
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4718
|
+
/**
|
|
4719
|
+
* List teleporter messages by address
|
|
4720
|
+
* Lists teleporter messages by address. Ordered by timestamp in descending order.
|
|
4721
|
+
* @returns ListTeleporterMessagesResponse Successful response
|
|
4722
|
+
* @throws ApiError
|
|
4723
|
+
*/
|
|
4724
|
+
listTeleporterMessagesByAddress({ address, pageToken, pageSize, network, }: {
|
|
4725
|
+
/**
|
|
4726
|
+
* An EVM address.
|
|
4727
|
+
*/
|
|
4728
|
+
address: string;
|
|
4729
|
+
/**
|
|
4730
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4731
|
+
*/
|
|
4732
|
+
pageToken?: string;
|
|
4733
|
+
/**
|
|
4734
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4735
|
+
*/
|
|
4736
|
+
pageSize?: number;
|
|
4737
|
+
/**
|
|
4738
|
+
* mainnet or testnet.
|
|
4739
|
+
*/
|
|
4740
|
+
network?: NetworkType;
|
|
4741
|
+
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4401
4742
|
}
|
|
4402
4743
|
|
|
4403
4744
|
type AddressesChangeRequest = {
|
|
4404
4745
|
/**
|
|
4405
4746
|
* Ethereum address(es) for the address_activity event type
|
|
4406
4747
|
*/
|
|
4407
|
-
addresses: Array<
|
|
4748
|
+
addresses: Array<string>;
|
|
4408
4749
|
};
|
|
4409
4750
|
|
|
4410
4751
|
type AddressActivityMetadata = {
|
|
@@ -4505,7 +4846,7 @@ declare class WebhooksService {
|
|
|
4505
4846
|
/**
|
|
4506
4847
|
* Create a webhook
|
|
4507
4848
|
* Create a new webhook.
|
|
4508
|
-
* @returns WebhookResponse
|
|
4849
|
+
* @returns WebhookResponse Successful response
|
|
4509
4850
|
* @throws ApiError
|
|
4510
4851
|
*/
|
|
4511
4852
|
createWebhook({ requestBody, }: {
|
|
@@ -4514,7 +4855,7 @@ declare class WebhooksService {
|
|
|
4514
4855
|
/**
|
|
4515
4856
|
* List webhooks
|
|
4516
4857
|
* Lists webhooks for the user.
|
|
4517
|
-
* @returns ListWebhooksResponse
|
|
4858
|
+
* @returns ListWebhooksResponse Successful response
|
|
4518
4859
|
* @throws ApiError
|
|
4519
4860
|
*/
|
|
4520
4861
|
listWebhooks({ pageToken, pageSize, status, }: {
|
|
@@ -4534,7 +4875,7 @@ declare class WebhooksService {
|
|
|
4534
4875
|
/**
|
|
4535
4876
|
* Get a webhook by ID
|
|
4536
4877
|
* Retrieves a webhook by ID.
|
|
4537
|
-
* @returns WebhookResponse
|
|
4878
|
+
* @returns WebhookResponse Successful response
|
|
4538
4879
|
* @throws ApiError
|
|
4539
4880
|
*/
|
|
4540
4881
|
getWebhook({ id, }: {
|
|
@@ -4546,7 +4887,7 @@ declare class WebhooksService {
|
|
|
4546
4887
|
/**
|
|
4547
4888
|
* Deactivate a webhook
|
|
4548
4889
|
* Deactivates a webhook by ID.
|
|
4549
|
-
* @returns WebhookResponse
|
|
4890
|
+
* @returns WebhookResponse Successful response
|
|
4550
4891
|
* @throws ApiError
|
|
4551
4892
|
*/
|
|
4552
4893
|
deactivateWebhook({ id, }: {
|
|
@@ -4558,7 +4899,7 @@ declare class WebhooksService {
|
|
|
4558
4899
|
/**
|
|
4559
4900
|
* Update a webhook
|
|
4560
4901
|
* Updates an existing webhook.
|
|
4561
|
-
* @returns WebhookResponse
|
|
4902
|
+
* @returns WebhookResponse Successful response
|
|
4562
4903
|
* @throws ApiError
|
|
4563
4904
|
*/
|
|
4564
4905
|
updateWebhook({ id, requestBody, }: {
|
|
@@ -4571,21 +4912,21 @@ declare class WebhooksService {
|
|
|
4571
4912
|
/**
|
|
4572
4913
|
* Generate a shared secret
|
|
4573
4914
|
* Generates a new shared secret.
|
|
4574
|
-
* @returns SharedSecretsResponse
|
|
4915
|
+
* @returns SharedSecretsResponse Successful response
|
|
4575
4916
|
* @throws ApiError
|
|
4576
4917
|
*/
|
|
4577
4918
|
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4578
4919
|
/**
|
|
4579
4920
|
* Get a shared secret
|
|
4580
4921
|
* Get a previously generated shared secret.
|
|
4581
|
-
* @returns SharedSecretsResponse
|
|
4922
|
+
* @returns SharedSecretsResponse Successful response
|
|
4582
4923
|
* @throws ApiError
|
|
4583
4924
|
*/
|
|
4584
4925
|
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4585
4926
|
/**
|
|
4586
4927
|
* Add addresses to webhook
|
|
4587
4928
|
* Add addresses to webhook.
|
|
4588
|
-
* @returns WebhookResponse
|
|
4929
|
+
* @returns WebhookResponse Successful response
|
|
4589
4930
|
* @throws ApiError
|
|
4590
4931
|
*/
|
|
4591
4932
|
addAddressesToWebhook({ id, requestBody, }: {
|
|
@@ -4598,7 +4939,7 @@ declare class WebhooksService {
|
|
|
4598
4939
|
/**
|
|
4599
4940
|
* Remove addresses from webhook
|
|
4600
4941
|
* Remove addresses from webhook.
|
|
4601
|
-
* @returns WebhookResponse
|
|
4942
|
+
* @returns WebhookResponse Successful response
|
|
4602
4943
|
* @throws ApiError
|
|
4603
4944
|
*/
|
|
4604
4945
|
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
@@ -4611,7 +4952,7 @@ declare class WebhooksService {
|
|
|
4611
4952
|
/**
|
|
4612
4953
|
* List adresses by webhook
|
|
4613
4954
|
* List adresses by webhook.
|
|
4614
|
-
* @returns ListWebhookAddressesResponse
|
|
4955
|
+
* @returns ListWebhookAddressesResponse Successful response
|
|
4615
4956
|
* @throws ApiError
|
|
4616
4957
|
*/
|
|
4617
4958
|
getAddressesFromWebhook({ id, pageToken, pageSize, }: {
|
|
@@ -4632,6 +4973,7 @@ declare class WebhooksService {
|
|
|
4632
4973
|
|
|
4633
4974
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
4634
4975
|
declare class Glacier {
|
|
4976
|
+
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
4635
4977
|
readonly default: DefaultService;
|
|
4636
4978
|
readonly evmBalances: EvmBalancesService;
|
|
4637
4979
|
readonly evmBlocks: EvmBlocksService;
|
|
@@ -4672,6 +5014,70 @@ declare class ApiError extends Error {
|
|
|
4672
5014
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4673
5015
|
}
|
|
4674
5016
|
|
|
5017
|
+
type BadGateway = {
|
|
5018
|
+
/**
|
|
5019
|
+
* The error message describing the reason for the exception
|
|
5020
|
+
*/
|
|
5021
|
+
message: (string | Array<string>);
|
|
5022
|
+
/**
|
|
5023
|
+
* The HTTP status code of the response
|
|
5024
|
+
*/
|
|
5025
|
+
statusCode: number;
|
|
5026
|
+
/**
|
|
5027
|
+
* The type of error
|
|
5028
|
+
*/
|
|
5029
|
+
error: string;
|
|
5030
|
+
};
|
|
5031
|
+
|
|
5032
|
+
type BadRequest = {
|
|
5033
|
+
/**
|
|
5034
|
+
* The error message describing the reason for the exception
|
|
5035
|
+
*/
|
|
5036
|
+
message: (string | Array<string>);
|
|
5037
|
+
/**
|
|
5038
|
+
* The HTTP status code of the response
|
|
5039
|
+
*/
|
|
5040
|
+
statusCode: number;
|
|
5041
|
+
/**
|
|
5042
|
+
* The type of error
|
|
5043
|
+
*/
|
|
5044
|
+
error: string;
|
|
5045
|
+
};
|
|
5046
|
+
|
|
5047
|
+
type DataListChainsResponse = {
|
|
5048
|
+
chains: Array<ChainInfo>;
|
|
5049
|
+
};
|
|
5050
|
+
|
|
5051
|
+
type Forbidden = {
|
|
5052
|
+
/**
|
|
5053
|
+
* The error message describing the reason for the exception
|
|
5054
|
+
*/
|
|
5055
|
+
message: (string | Array<string>);
|
|
5056
|
+
/**
|
|
5057
|
+
* The HTTP status code of the response
|
|
5058
|
+
*/
|
|
5059
|
+
statusCode: number;
|
|
5060
|
+
/**
|
|
5061
|
+
* The type of error
|
|
5062
|
+
*/
|
|
5063
|
+
error: string;
|
|
5064
|
+
};
|
|
5065
|
+
|
|
5066
|
+
type InternalServerError = {
|
|
5067
|
+
/**
|
|
5068
|
+
* The error message describing the reason for the exception
|
|
5069
|
+
*/
|
|
5070
|
+
message: (string | Array<string>);
|
|
5071
|
+
/**
|
|
5072
|
+
* The HTTP status code of the response
|
|
5073
|
+
*/
|
|
5074
|
+
statusCode: number;
|
|
5075
|
+
/**
|
|
5076
|
+
* The type of error
|
|
5077
|
+
*/
|
|
5078
|
+
error: string;
|
|
5079
|
+
};
|
|
5080
|
+
|
|
4675
5081
|
type NextPageToken = {
|
|
4676
5082
|
/**
|
|
4677
5083
|
* 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 +5085,64 @@ type NextPageToken = {
|
|
|
4679
5085
|
nextPageToken?: string;
|
|
4680
5086
|
};
|
|
4681
5087
|
|
|
4682
|
-
|
|
5088
|
+
type NotFound = {
|
|
5089
|
+
/**
|
|
5090
|
+
* The error message describing the reason for the exception
|
|
5091
|
+
*/
|
|
5092
|
+
message: (string | Array<string>);
|
|
5093
|
+
/**
|
|
5094
|
+
* The HTTP status code of the response
|
|
5095
|
+
*/
|
|
5096
|
+
statusCode: number;
|
|
5097
|
+
/**
|
|
5098
|
+
* The type of error
|
|
5099
|
+
*/
|
|
5100
|
+
error: string;
|
|
5101
|
+
};
|
|
5102
|
+
|
|
5103
|
+
type ServiceUnavailable = {
|
|
5104
|
+
/**
|
|
5105
|
+
* The error message describing the reason for the exception
|
|
5106
|
+
*/
|
|
5107
|
+
message: (string | Array<string>);
|
|
5108
|
+
/**
|
|
5109
|
+
* The HTTP status code of the response
|
|
5110
|
+
*/
|
|
5111
|
+
statusCode: number;
|
|
5112
|
+
/**
|
|
5113
|
+
* The type of error
|
|
5114
|
+
*/
|
|
5115
|
+
error: string;
|
|
5116
|
+
};
|
|
5117
|
+
|
|
5118
|
+
type TooManyRequests = {
|
|
5119
|
+
/**
|
|
5120
|
+
* The error message describing the reason for the exception
|
|
5121
|
+
*/
|
|
5122
|
+
message: (string | Array<string>);
|
|
5123
|
+
/**
|
|
5124
|
+
* The HTTP status code of the response
|
|
5125
|
+
*/
|
|
5126
|
+
statusCode: number;
|
|
5127
|
+
/**
|
|
5128
|
+
* The type of error
|
|
5129
|
+
*/
|
|
5130
|
+
error: string;
|
|
5131
|
+
};
|
|
5132
|
+
|
|
5133
|
+
type Unauthorized = {
|
|
5134
|
+
/**
|
|
5135
|
+
* The error message describing the reason for the exception
|
|
5136
|
+
*/
|
|
5137
|
+
message: (string | Array<string>);
|
|
5138
|
+
/**
|
|
5139
|
+
* The HTTP status code of the response
|
|
5140
|
+
*/
|
|
5141
|
+
statusCode: number;
|
|
5142
|
+
/**
|
|
5143
|
+
* The type of error
|
|
5144
|
+
*/
|
|
5145
|
+
error: string;
|
|
5146
|
+
};
|
|
5147
|
+
|
|
5148
|
+
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, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, ServiceUnavailable, SharedSecretsResponse, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|