@avalabs/glacier-sdk 3.1.0-canary.5b3df0e.0 → 3.1.0-canary.682531.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 +666 -407
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +2 -2
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/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/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 +1 -1
- 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 +2 -2
- package/esm/generated/models/RequestType.js +1 -1
- package/esm/generated/models/ServiceUnavailable.d.ts +16 -0
- package/esm/generated/models/TeleporterMessageInfo.d.ts +16 -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 +2 -1
- package/esm/generated/models/UsageMetricsGroupByEnum.js +1 -1
- package/esm/generated/models/UsageMetricsResponseDTO.d.ts +3 -1
- package/esm/generated/models/UsageMetricsValueDTO.d.ts +53 -0
- package/esm/generated/models/UsageMetricsValueDTO.js +1 -0
- package/esm/generated/services/{GlacierApiUsageMetricsService.d.ts → DataApiUsageMetricsService.d.ts} +37 -13
- 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 +26 -2
- 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 +15 -2
- 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/services/GlacierApiUsageMetricsService.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, }: {
|
|
@@ -1743,377 +2055,176 @@ declare class EvmTransactionsService {
|
|
|
1743
2055
|
*/
|
|
1744
2056
|
address: string;
|
|
1745
2057
|
/**
|
|
1746
|
-
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
1747
|
-
*/
|
|
1748
|
-
startBlock?: number;
|
|
1749
|
-
/**
|
|
1750
|
-
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1751
|
-
*/
|
|
1752
|
-
endBlock?: number;
|
|
1753
|
-
/**
|
|
1754
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1755
|
-
*/
|
|
1756
|
-
pageToken?: string;
|
|
1757
|
-
/**
|
|
1758
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1759
|
-
*/
|
|
1760
|
-
pageSize?: number;
|
|
1761
|
-
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
1762
|
-
/**
|
|
1763
|
-
* List ERC-721 transfers
|
|
1764
|
-
* Lists ERC-721 transfers for an address. Filterable by block range.
|
|
1765
|
-
* @returns ListErc721TransactionsResponse
|
|
1766
|
-
* @throws ApiError
|
|
1767
|
-
*/
|
|
1768
|
-
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1769
|
-
/**
|
|
1770
|
-
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1771
|
-
*/
|
|
1772
|
-
chainId: string;
|
|
1773
|
-
/**
|
|
1774
|
-
* A wallet address.
|
|
1775
|
-
*/
|
|
1776
|
-
address: string;
|
|
1777
|
-
/**
|
|
1778
|
-
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
1779
|
-
*/
|
|
1780
|
-
startBlock?: number;
|
|
1781
|
-
/**
|
|
1782
|
-
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1783
|
-
*/
|
|
1784
|
-
endBlock?: number;
|
|
1785
|
-
/**
|
|
1786
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1787
|
-
*/
|
|
1788
|
-
pageToken?: string;
|
|
1789
|
-
/**
|
|
1790
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1791
|
-
*/
|
|
1792
|
-
pageSize?: number;
|
|
1793
|
-
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
1794
|
-
/**
|
|
1795
|
-
* List ERC-1155 transfers
|
|
1796
|
-
* Lists ERC-1155 transfers for an address. Filterable by block range.
|
|
1797
|
-
* @returns ListErc1155TransactionsResponse
|
|
1798
|
-
* @throws ApiError
|
|
1799
|
-
*/
|
|
1800
|
-
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1801
|
-
/**
|
|
1802
|
-
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1803
|
-
*/
|
|
1804
|
-
chainId: string;
|
|
1805
|
-
/**
|
|
1806
|
-
* A wallet address.
|
|
1807
|
-
*/
|
|
1808
|
-
address: string;
|
|
1809
|
-
/**
|
|
1810
|
-
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
1811
|
-
*/
|
|
1812
|
-
startBlock?: number;
|
|
1813
|
-
/**
|
|
1814
|
-
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1815
|
-
*/
|
|
1816
|
-
endBlock?: number;
|
|
1817
|
-
/**
|
|
1818
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1819
|
-
*/
|
|
1820
|
-
pageToken?: string;
|
|
1821
|
-
/**
|
|
1822
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1823
|
-
*/
|
|
1824
|
-
pageSize?: number;
|
|
1825
|
-
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
1826
|
-
/**
|
|
1827
|
-
* List internal transactions
|
|
1828
|
-
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
1829
|
-
*
|
|
1830
|
-
* 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
|
|
1832
|
-
* @throws ApiError
|
|
1833
|
-
*/
|
|
1834
|
-
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
1835
|
-
/**
|
|
1836
|
-
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1837
|
-
*/
|
|
1838
|
-
chainId: string;
|
|
1839
|
-
/**
|
|
1840
|
-
* A wallet address.
|
|
1841
|
-
*/
|
|
1842
|
-
address: string;
|
|
1843
|
-
/**
|
|
1844
|
-
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
1845
|
-
*/
|
|
1846
|
-
startBlock?: number;
|
|
1847
|
-
/**
|
|
1848
|
-
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
1849
|
-
*/
|
|
1850
|
-
endBlock?: number;
|
|
1851
|
-
/**
|
|
1852
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1853
|
-
*/
|
|
1854
|
-
pageToken?: string;
|
|
1855
|
-
/**
|
|
1856
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1857
|
-
*/
|
|
1858
|
-
pageSize?: number;
|
|
1859
|
-
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
1860
|
-
/**
|
|
1861
|
-
* Get transaction
|
|
1862
|
-
* Gets the details of a single transaction.
|
|
1863
|
-
* @returns GetTransactionResponse
|
|
1864
|
-
* @throws ApiError
|
|
1865
|
-
*/
|
|
1866
|
-
getTransaction({ chainId, txHash, }: {
|
|
1867
|
-
/**
|
|
1868
|
-
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1869
|
-
*/
|
|
1870
|
-
chainId: string;
|
|
1871
|
-
/**
|
|
1872
|
-
* A transaction hash.
|
|
1873
|
-
*/
|
|
1874
|
-
txHash: string;
|
|
1875
|
-
}): CancelablePromise<GetTransactionResponse>;
|
|
1876
|
-
/**
|
|
1877
|
-
* List transactions for a block
|
|
1878
|
-
* Lists the transactions that occured in a given block.
|
|
1879
|
-
* @returns ListNativeTransactionsResponse
|
|
1880
|
-
* @throws ApiError
|
|
1881
|
-
*/
|
|
1882
|
-
getTransactionsForBlock({ chainId, blockId, }: {
|
|
1883
|
-
/**
|
|
1884
|
-
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1885
|
-
*/
|
|
1886
|
-
chainId: string;
|
|
1887
|
-
/**
|
|
1888
|
-
* A block identifier which is either a block number or the block hash.
|
|
1889
|
-
*/
|
|
1890
|
-
blockId: string;
|
|
1891
|
-
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1892
|
-
/**
|
|
1893
|
-
* List latest transactions
|
|
1894
|
-
* Lists the latest transactions. Filterable by status.
|
|
1895
|
-
* @returns ListNativeTransactionsResponse
|
|
1896
|
-
* @throws ApiError
|
|
1897
|
-
*/
|
|
1898
|
-
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
1899
|
-
/**
|
|
1900
|
-
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1901
|
-
*/
|
|
1902
|
-
chainId: string;
|
|
1903
|
-
/**
|
|
1904
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1905
|
-
*/
|
|
1906
|
-
pageToken?: string;
|
|
1907
|
-
/**
|
|
1908
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1909
|
-
*/
|
|
1910
|
-
pageSize?: number;
|
|
1911
|
-
/**
|
|
1912
|
-
* A status filter for listed transactions.
|
|
1913
|
-
*/
|
|
1914
|
-
status?: TransactionStatus;
|
|
1915
|
-
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1916
|
-
}
|
|
1917
|
-
|
|
1918
|
-
type LogsFormatMetadata = {
|
|
1919
|
-
/**
|
|
1920
|
-
* The IP address of the client that made the request.
|
|
1921
|
-
*/
|
|
1922
|
-
ipAddress: string;
|
|
1923
|
-
/**
|
|
1924
|
-
* The host for the request made by the client.
|
|
1925
|
-
*/
|
|
1926
|
-
host: string;
|
|
1927
|
-
/**
|
|
1928
|
-
* The user agent of the client that made the request.
|
|
1929
|
-
*/
|
|
1930
|
-
userAgent: string;
|
|
1931
|
-
};
|
|
1932
|
-
|
|
1933
|
-
/**
|
|
1934
|
-
* The type of request made by the client.
|
|
1935
|
-
*/
|
|
1936
|
-
declare enum RequestType {
|
|
1937
|
-
GLACIER_API_REQUEST = "Glacier API Request",
|
|
1938
|
-
GLACIER_RPC_REQUEST = "Glacier RPC Request"
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
|
-
type LogsFormat = {
|
|
1942
|
-
/**
|
|
1943
|
-
* The organization id of the request.
|
|
1944
|
-
*/
|
|
1945
|
-
orgId: string;
|
|
1946
|
-
/**
|
|
1947
|
-
* The unique log id of the request.
|
|
1948
|
-
*/
|
|
1949
|
-
logId: string;
|
|
1950
|
-
/**
|
|
1951
|
-
* The timestamp of the request.
|
|
1952
|
-
*/
|
|
1953
|
-
eventTimestamp: number;
|
|
1954
|
-
/**
|
|
1955
|
-
* The apiKey used to make the request.
|
|
1956
|
-
*/
|
|
1957
|
-
apiKeyId: string;
|
|
1958
|
-
/**
|
|
1959
|
-
* The alias of the apiKey used to make the request.
|
|
1960
|
-
*/
|
|
1961
|
-
apiKeyAlias: string;
|
|
1962
|
-
/**
|
|
1963
|
-
* The region of the host for the request made by the client.
|
|
1964
|
-
*/
|
|
1965
|
-
hostRegion: string;
|
|
1966
|
-
requestType: RequestType;
|
|
1967
|
-
/**
|
|
1968
|
-
* The path of the request made by the client.
|
|
1969
|
-
*/
|
|
1970
|
-
requestPath: string;
|
|
1971
|
-
/**
|
|
1972
|
-
* The number of API credits consumed by the request.
|
|
1973
|
-
*/
|
|
1974
|
-
apiCreditsConsumed: number;
|
|
1975
|
-
/**
|
|
1976
|
-
* The duration of the request in milliseconds.
|
|
1977
|
-
*/
|
|
1978
|
-
requestDurationMsecs: number;
|
|
1979
|
-
/**
|
|
1980
|
-
* The response code of the request.
|
|
1981
|
-
*/
|
|
1982
|
-
responseCode: number;
|
|
1983
|
-
/**
|
|
1984
|
-
* The chain id of the request.
|
|
1985
|
-
*/
|
|
1986
|
-
chainId?: number;
|
|
1987
|
-
/**
|
|
1988
|
-
* The rpc method of the request.
|
|
1989
|
-
*/
|
|
1990
|
-
rpcMethod?: string;
|
|
1991
|
-
/**
|
|
1992
|
-
* The metadata of the request.
|
|
1993
|
-
*/
|
|
1994
|
-
metadata: LogsFormatMetadata;
|
|
1995
|
-
};
|
|
1996
|
-
|
|
1997
|
-
type LogsResponseDTO = {
|
|
1998
|
-
/**
|
|
1999
|
-
* 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.
|
|
2000
|
-
*/
|
|
2001
|
-
nextPageToken?: string;
|
|
2002
|
-
/**
|
|
2003
|
-
* The organization id of the request.
|
|
2004
|
-
*/
|
|
2005
|
-
orgId: string;
|
|
2006
|
-
/**
|
|
2007
|
-
* An array of logs representing the requests made by clients.
|
|
2008
|
-
*/
|
|
2009
|
-
logs: Array<LogsFormat>;
|
|
2010
|
-
};
|
|
2011
|
-
|
|
2012
|
-
declare enum TimeIntervalGranularityExtended {
|
|
2013
|
-
MINUTE = "minute",
|
|
2014
|
-
HOURLY = "hourly",
|
|
2015
|
-
DAILY = "daily",
|
|
2016
|
-
WEEKLY = "weekly",
|
|
2017
|
-
MONTHLY = "monthly"
|
|
2018
|
-
}
|
|
2019
|
-
|
|
2020
|
-
declare enum UsageMetricsGroupByEnum {
|
|
2021
|
-
REQUEST_PATH = "requestPath",
|
|
2022
|
-
RESPONSE_CODE = "responseCode",
|
|
2023
|
-
CHAIN_ID = "chainId",
|
|
2024
|
-
API_KEY_ID = "apiKeyId"
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2027
|
-
type UsageMetricsResponseDTO = {
|
|
2028
|
-
/**
|
|
2029
|
-
* Duration in which the metrics value is aggregated
|
|
2030
|
-
*/
|
|
2031
|
-
aggregateDuration: string;
|
|
2032
|
-
/**
|
|
2033
|
-
* Org ID for which the metrics are aggregated
|
|
2034
|
-
*/
|
|
2035
|
-
orgId: string;
|
|
2058
|
+
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
2059
|
+
*/
|
|
2060
|
+
startBlock?: number;
|
|
2061
|
+
/**
|
|
2062
|
+
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
2063
|
+
*/
|
|
2064
|
+
endBlock?: number;
|
|
2065
|
+
/**
|
|
2066
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2067
|
+
*/
|
|
2068
|
+
pageToken?: string;
|
|
2069
|
+
/**
|
|
2070
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2071
|
+
*/
|
|
2072
|
+
pageSize?: number;
|
|
2073
|
+
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
2036
2074
|
/**
|
|
2037
|
-
*
|
|
2075
|
+
* List ERC-721 transfers
|
|
2076
|
+
* Lists ERC-721 transfers for an address. Filterable by block range.
|
|
2077
|
+
* @returns ListErc721TransactionsResponse Successful response
|
|
2078
|
+
* @throws ApiError
|
|
2038
2079
|
*/
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2080
|
+
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2081
|
+
/**
|
|
2082
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2083
|
+
*/
|
|
2084
|
+
chainId: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* A wallet address.
|
|
2087
|
+
*/
|
|
2088
|
+
address: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
2091
|
+
*/
|
|
2092
|
+
startBlock?: number;
|
|
2093
|
+
/**
|
|
2094
|
+
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
2095
|
+
*/
|
|
2096
|
+
endBlock?: number;
|
|
2097
|
+
/**
|
|
2098
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2099
|
+
*/
|
|
2100
|
+
pageToken?: string;
|
|
2101
|
+
/**
|
|
2102
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2103
|
+
*/
|
|
2104
|
+
pageSize?: number;
|
|
2105
|
+
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
2045
2106
|
/**
|
|
2046
|
-
*
|
|
2047
|
-
*
|
|
2048
|
-
* @returns
|
|
2107
|
+
* List ERC-1155 transfers
|
|
2108
|
+
* Lists ERC-1155 transfers for an address. Filterable by block range.
|
|
2109
|
+
* @returns ListErc1155TransactionsResponse Successful response
|
|
2049
2110
|
* @throws ApiError
|
|
2050
2111
|
*/
|
|
2051
|
-
|
|
2112
|
+
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2052
2113
|
/**
|
|
2053
|
-
*
|
|
2114
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2054
2115
|
*/
|
|
2055
|
-
|
|
2116
|
+
chainId: string;
|
|
2056
2117
|
/**
|
|
2057
|
-
*
|
|
2118
|
+
* A wallet address.
|
|
2058
2119
|
*/
|
|
2059
|
-
|
|
2120
|
+
address: string;
|
|
2060
2121
|
/**
|
|
2061
|
-
*
|
|
2122
|
+
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
2062
2123
|
*/
|
|
2063
|
-
|
|
2124
|
+
startBlock?: number;
|
|
2064
2125
|
/**
|
|
2065
|
-
*
|
|
2126
|
+
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
2066
2127
|
*/
|
|
2067
|
-
|
|
2128
|
+
endBlock?: number;
|
|
2068
2129
|
/**
|
|
2069
|
-
*
|
|
2130
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2070
2131
|
*/
|
|
2071
|
-
|
|
2132
|
+
pageToken?: string;
|
|
2072
2133
|
/**
|
|
2073
|
-
*
|
|
2134
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2074
2135
|
*/
|
|
2075
|
-
|
|
2136
|
+
pageSize?: number;
|
|
2137
|
+
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
2138
|
+
/**
|
|
2139
|
+
* List internal transactions
|
|
2140
|
+
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
2141
|
+
*
|
|
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.
|
|
2143
|
+
* @returns ListInternalTransactionsResponse Successful response
|
|
2144
|
+
* @throws ApiError
|
|
2145
|
+
*/
|
|
2146
|
+
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
2076
2147
|
/**
|
|
2077
|
-
*
|
|
2148
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2078
2149
|
*/
|
|
2079
|
-
|
|
2150
|
+
chainId: string;
|
|
2080
2151
|
/**
|
|
2081
|
-
*
|
|
2152
|
+
* A wallet address.
|
|
2082
2153
|
*/
|
|
2083
|
-
|
|
2154
|
+
address: string;
|
|
2084
2155
|
/**
|
|
2085
|
-
*
|
|
2156
|
+
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
2086
2157
|
*/
|
|
2087
|
-
|
|
2088
|
-
|
|
2158
|
+
startBlock?: number;
|
|
2159
|
+
/**
|
|
2160
|
+
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
2161
|
+
*/
|
|
2162
|
+
endBlock?: number;
|
|
2163
|
+
/**
|
|
2164
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2165
|
+
*/
|
|
2166
|
+
pageToken?: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2169
|
+
*/
|
|
2170
|
+
pageSize?: number;
|
|
2171
|
+
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
2089
2172
|
/**
|
|
2090
|
-
* Get
|
|
2091
|
-
* Gets
|
|
2092
|
-
* @returns
|
|
2173
|
+
* Get transaction
|
|
2174
|
+
* Gets the details of a single transaction.
|
|
2175
|
+
* @returns GetTransactionResponse Successful response
|
|
2093
2176
|
* @throws ApiError
|
|
2094
2177
|
*/
|
|
2095
|
-
|
|
2178
|
+
getTransaction({ chainId, txHash, }: {
|
|
2096
2179
|
/**
|
|
2097
|
-
*
|
|
2180
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2098
2181
|
*/
|
|
2099
|
-
|
|
2182
|
+
chainId: string;
|
|
2100
2183
|
/**
|
|
2101
|
-
*
|
|
2184
|
+
* A transaction hash.
|
|
2102
2185
|
*/
|
|
2103
|
-
|
|
2186
|
+
txHash: string;
|
|
2187
|
+
}): CancelablePromise<GetTransactionResponse>;
|
|
2188
|
+
/**
|
|
2189
|
+
* List transactions for a block
|
|
2190
|
+
* Lists the transactions that occured in a given block.
|
|
2191
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
2192
|
+
* @throws ApiError
|
|
2193
|
+
*/
|
|
2194
|
+
getTransactionsForBlock({ chainId, blockId, }: {
|
|
2104
2195
|
/**
|
|
2105
|
-
*
|
|
2196
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2106
2197
|
*/
|
|
2107
|
-
|
|
2198
|
+
chainId: string;
|
|
2199
|
+
/**
|
|
2200
|
+
* A block identifier which is either a block number or the block hash.
|
|
2201
|
+
*/
|
|
2202
|
+
blockId: string;
|
|
2203
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2204
|
+
/**
|
|
2205
|
+
* List latest transactions
|
|
2206
|
+
* Lists the latest transactions. Filterable by status.
|
|
2207
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
2208
|
+
* @throws ApiError
|
|
2209
|
+
*/
|
|
2210
|
+
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
2211
|
+
/**
|
|
2212
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2213
|
+
*/
|
|
2214
|
+
chainId: string;
|
|
2108
2215
|
/**
|
|
2109
2216
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2110
2217
|
*/
|
|
2111
2218
|
pageToken?: string;
|
|
2112
2219
|
/**
|
|
2113
|
-
* The maximum number of items to return.
|
|
2220
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2114
2221
|
*/
|
|
2115
2222
|
pageSize?: number;
|
|
2116
|
-
|
|
2223
|
+
/**
|
|
2224
|
+
* A status filter for listed transactions.
|
|
2225
|
+
*/
|
|
2226
|
+
status?: TransactionStatus;
|
|
2227
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2117
2228
|
}
|
|
2118
2229
|
|
|
2119
2230
|
declare class HealthCheckService {
|
|
@@ -2124,7 +2235,7 @@ declare class HealthCheckService {
|
|
|
2124
2235
|
* @returns any The Health Check is successful
|
|
2125
2236
|
* @throws ApiError
|
|
2126
2237
|
*/
|
|
2127
|
-
|
|
2238
|
+
dataHealthCheck(): CancelablePromise<{
|
|
2128
2239
|
status?: string;
|
|
2129
2240
|
info?: Record<string, Record<string, string>> | null;
|
|
2130
2241
|
error?: Record<string, Record<string, string>> | null;
|
|
@@ -2146,7 +2257,7 @@ declare class NfTsService {
|
|
|
2146
2257
|
/**
|
|
2147
2258
|
* Reindex NFT metadata
|
|
2148
2259
|
* Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
|
|
2149
|
-
* @returns any
|
|
2260
|
+
* @returns any Successful response
|
|
2150
2261
|
* @throws ApiError
|
|
2151
2262
|
*/
|
|
2152
2263
|
reindexNft({ chainId, address, tokenId, }: {
|
|
@@ -2166,7 +2277,7 @@ declare class NfTsService {
|
|
|
2166
2277
|
/**
|
|
2167
2278
|
* List tokens
|
|
2168
2279
|
* Lists tokens for an NFT contract.
|
|
2169
|
-
* @returns ListNftTokens
|
|
2280
|
+
* @returns ListNftTokens Successful response
|
|
2170
2281
|
* @throws ApiError
|
|
2171
2282
|
*/
|
|
2172
2283
|
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
@@ -2190,7 +2301,7 @@ declare class NfTsService {
|
|
|
2190
2301
|
/**
|
|
2191
2302
|
* Get token details
|
|
2192
2303
|
* Gets token details for a specific token of an NFT contract.
|
|
2193
|
-
* @returns any
|
|
2304
|
+
* @returns any Successful response
|
|
2194
2305
|
* @throws ApiError
|
|
2195
2306
|
*/
|
|
2196
2307
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
@@ -2308,7 +2419,7 @@ declare class OperationsService {
|
|
|
2308
2419
|
/**
|
|
2309
2420
|
* Get operation
|
|
2310
2421
|
* Gets operation details for the given operation id.
|
|
2311
|
-
* @returns OperationStatusResponse
|
|
2422
|
+
* @returns OperationStatusResponse Successful response
|
|
2312
2423
|
* @throws ApiError
|
|
2313
2424
|
*/
|
|
2314
2425
|
getOperationResult({ operationId, }: {
|
|
@@ -2322,7 +2433,7 @@ declare class OperationsService {
|
|
|
2322
2433
|
* Trigger a transaction export operation with given parameters.
|
|
2323
2434
|
*
|
|
2324
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.
|
|
2325
|
-
* @returns OperationStatusResponse
|
|
2436
|
+
* @returns OperationStatusResponse Successful response
|
|
2326
2437
|
* @throws ApiError
|
|
2327
2438
|
*/
|
|
2328
2439
|
postTransactionExportJob({ requestBody, }: {
|
|
@@ -2719,7 +2830,7 @@ declare class PrimaryNetworkService {
|
|
|
2719
2830
|
/**
|
|
2720
2831
|
* Get asset details
|
|
2721
2832
|
* Gets asset details corresponding to the given asset id on the X-Chain.
|
|
2722
|
-
* @returns XChainAssetDetails
|
|
2833
|
+
* @returns XChainAssetDetails Successful response
|
|
2723
2834
|
* @throws ApiError
|
|
2724
2835
|
*/
|
|
2725
2836
|
getAssetDetails({ blockchainId, network, assetId, }: {
|
|
@@ -2739,7 +2850,7 @@ declare class PrimaryNetworkService {
|
|
|
2739
2850
|
/**
|
|
2740
2851
|
* Get chain interactions for addresses
|
|
2741
2852
|
* 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.
|
|
2742
|
-
* @returns ChainAddressChainIdMapListResponse
|
|
2853
|
+
* @returns ChainAddressChainIdMapListResponse Successful response
|
|
2743
2854
|
* @throws ApiError
|
|
2744
2855
|
*/
|
|
2745
2856
|
getChainIdsForAddresses({ addresses, network, }: {
|
|
@@ -2755,7 +2866,7 @@ declare class PrimaryNetworkService {
|
|
|
2755
2866
|
/**
|
|
2756
2867
|
* Get network details
|
|
2757
2868
|
* Gets network details such as validator and delegator stats.
|
|
2758
|
-
* @returns GetNetworkDetailsResponse
|
|
2869
|
+
* @returns GetNetworkDetailsResponse Successful response
|
|
2759
2870
|
* @throws ApiError
|
|
2760
2871
|
*/
|
|
2761
2872
|
getNetworkDetails({ network, }: {
|
|
@@ -2767,7 +2878,7 @@ declare class PrimaryNetworkService {
|
|
|
2767
2878
|
/**
|
|
2768
2879
|
* List blockchains
|
|
2769
2880
|
* Lists all blockchains registered on the network.
|
|
2770
|
-
* @returns ListBlockchainsResponse
|
|
2881
|
+
* @returns ListBlockchainsResponse Successful response
|
|
2771
2882
|
* @throws ApiError
|
|
2772
2883
|
*/
|
|
2773
2884
|
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
@@ -2791,7 +2902,7 @@ declare class PrimaryNetworkService {
|
|
|
2791
2902
|
/**
|
|
2792
2903
|
* List subnets
|
|
2793
2904
|
* Lists all subnets registered on the network.
|
|
2794
|
-
* @returns ListSubnetsResponse
|
|
2905
|
+
* @returns ListSubnetsResponse Successful response
|
|
2795
2906
|
* @throws ApiError
|
|
2796
2907
|
*/
|
|
2797
2908
|
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
@@ -2815,7 +2926,7 @@ declare class PrimaryNetworkService {
|
|
|
2815
2926
|
/**
|
|
2816
2927
|
* Get Subnet details by ID
|
|
2817
2928
|
* Get details of the Subnet registered on the network.
|
|
2818
|
-
* @returns Subnet
|
|
2929
|
+
* @returns Subnet Successful response
|
|
2819
2930
|
* @throws ApiError
|
|
2820
2931
|
*/
|
|
2821
2932
|
getSubnetById({ network, subnetId, }: {
|
|
@@ -2831,7 +2942,7 @@ declare class PrimaryNetworkService {
|
|
|
2831
2942
|
/**
|
|
2832
2943
|
* List validators
|
|
2833
2944
|
* Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
|
|
2834
|
-
* @returns ListValidatorDetailsResponse
|
|
2945
|
+
* @returns ListValidatorDetailsResponse Successful response
|
|
2835
2946
|
* @throws ApiError
|
|
2836
2947
|
*/
|
|
2837
2948
|
listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
|
|
@@ -2905,7 +3016,7 @@ declare class PrimaryNetworkService {
|
|
|
2905
3016
|
/**
|
|
2906
3017
|
* Get single validator details
|
|
2907
3018
|
* List validator details for a single validator. Filterable by validation status.
|
|
2908
|
-
* @returns ListValidatorDetailsResponse
|
|
3019
|
+
* @returns ListValidatorDetailsResponse Successful response
|
|
2909
3020
|
* @throws ApiError
|
|
2910
3021
|
*/
|
|
2911
3022
|
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
|
|
@@ -2937,7 +3048,7 @@ declare class PrimaryNetworkService {
|
|
|
2937
3048
|
/**
|
|
2938
3049
|
* List delegators
|
|
2939
3050
|
* Lists details for delegators.
|
|
2940
|
-
* @returns ListDelegatorDetailsResponse
|
|
3051
|
+
* @returns ListDelegatorDetailsResponse Successful response
|
|
2941
3052
|
* @throws ApiError
|
|
2942
3053
|
*/
|
|
2943
3054
|
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
@@ -3179,7 +3290,7 @@ declare class PrimaryNetworkBalancesService {
|
|
|
3179
3290
|
* Gets primary network balances for one of the Primary Network chains for the supplied addresses.
|
|
3180
3291
|
*
|
|
3181
3292
|
* C-Chain balances returned are only the shared atomic memory balance. For EVM balance, use the `/v1/chains/:chainId/addresses/:addressId/balances:getNative` endpoint.
|
|
3182
|
-
* @returns any
|
|
3293
|
+
* @returns any Successful response
|
|
3183
3294
|
* @throws ApiError
|
|
3184
3295
|
*/
|
|
3185
3296
|
getBalancesByAddresses({ blockchainId, network, blockTimestamp, addresses, }: {
|
|
@@ -3251,7 +3362,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3251
3362
|
/**
|
|
3252
3363
|
* Get block
|
|
3253
3364
|
* Gets a block by block height or block hash on one of the Primary Network chains.
|
|
3254
|
-
* @returns GetPrimaryNetworkBlockResponse
|
|
3365
|
+
* @returns GetPrimaryNetworkBlockResponse Successful response
|
|
3255
3366
|
* @throws ApiError
|
|
3256
3367
|
*/
|
|
3257
3368
|
getBlockById({ blockchainId, network, blockId, }: {
|
|
@@ -3271,7 +3382,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3271
3382
|
/**
|
|
3272
3383
|
* List blocks proposed by node
|
|
3273
3384
|
* Lists the latest blocks proposed by a given NodeID on one of the Primary Network chains.
|
|
3274
|
-
* @returns ListPrimaryNetworkBlocksResponse
|
|
3385
|
+
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3275
3386
|
* @throws ApiError
|
|
3276
3387
|
*/
|
|
3277
3388
|
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
@@ -3299,7 +3410,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3299
3410
|
/**
|
|
3300
3411
|
* List latest blocks
|
|
3301
3412
|
* Lists latest blocks on one of the Primary Network chains.
|
|
3302
|
-
* @returns ListPrimaryNetworkBlocksResponse
|
|
3413
|
+
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3303
3414
|
* @throws ApiError
|
|
3304
3415
|
*/
|
|
3305
3416
|
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
@@ -3437,7 +3548,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3437
3548
|
/**
|
|
3438
3549
|
* List pending rewards
|
|
3439
3550
|
* Lists pending rewards on the Primary Network for the supplied addresses.
|
|
3440
|
-
* @returns ListPendingRewardsResponse
|
|
3551
|
+
* @returns ListPendingRewardsResponse Successful response
|
|
3441
3552
|
* @throws ApiError
|
|
3442
3553
|
*/
|
|
3443
3554
|
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
@@ -3469,7 +3580,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
3469
3580
|
/**
|
|
3470
3581
|
* List historical rewards
|
|
3471
3582
|
* Lists historical rewards on the Primary Network for the supplied addresses.
|
|
3472
|
-
* @returns ListHistoricalRewardsResponse
|
|
3583
|
+
* @returns ListHistoricalRewardsResponse Successful response
|
|
3473
3584
|
* @throws ApiError
|
|
3474
3585
|
*/
|
|
3475
3586
|
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
@@ -4056,7 +4167,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4056
4167
|
/**
|
|
4057
4168
|
* Get transaction
|
|
4058
4169
|
* Gets the details of a single transaction on one of the Primary Network chains.
|
|
4059
|
-
* @returns any
|
|
4170
|
+
* @returns any Successful response
|
|
4060
4171
|
* @throws ApiError
|
|
4061
4172
|
*/
|
|
4062
4173
|
getTxByHash({ blockchainId, network, txHash, }: {
|
|
@@ -4080,10 +4191,14 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4080
4191
|
* 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.
|
|
4081
4192
|
*
|
|
4082
4193
|
* 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.
|
|
4083
|
-
* @returns any
|
|
4194
|
+
* @returns any Successful response
|
|
4084
4195
|
* @throws ApiError
|
|
4085
4196
|
*/
|
|
4086
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network,
|
|
4197
|
+
listLatestPrimaryNetworkTransactions({ addresses, blockchainId, network, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
4198
|
+
/**
|
|
4199
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
|
|
4200
|
+
*/
|
|
4201
|
+
addresses: string;
|
|
4087
4202
|
/**
|
|
4088
4203
|
* A primary network blockchain id or alias.
|
|
4089
4204
|
*/
|
|
@@ -4092,10 +4207,6 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4092
4207
|
* Either mainnet or a testnet.
|
|
4093
4208
|
*/
|
|
4094
4209
|
network: Network;
|
|
4095
|
-
/**
|
|
4096
|
-
* 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".
|
|
4097
|
-
*/
|
|
4098
|
-
addresses?: string;
|
|
4099
4210
|
/**
|
|
4100
4211
|
* Query param for filtering items based on transaction types.
|
|
4101
4212
|
*/
|
|
@@ -4124,7 +4235,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4124
4235
|
/**
|
|
4125
4236
|
* List staking transactions
|
|
4126
4237
|
* Lists active staking transactions on the P-Chain for the supplied addresses.
|
|
4127
|
-
* @returns ListPChainTransactionsResponse
|
|
4238
|
+
* @returns ListPChainTransactionsResponse Successful response
|
|
4128
4239
|
* @throws ApiError
|
|
4129
4240
|
*/
|
|
4130
4241
|
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
@@ -4168,7 +4279,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
4168
4279
|
/**
|
|
4169
4280
|
* List asset transactions
|
|
4170
4281
|
* Lists asset transactions corresponding to the given asset id on the X-Chain.
|
|
4171
|
-
* @returns ListXChainTransactionsResponse
|
|
4282
|
+
* @returns ListXChainTransactionsResponse Successful response
|
|
4172
4283
|
* @throws ApiError
|
|
4173
4284
|
*/
|
|
4174
4285
|
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
@@ -4231,7 +4342,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4231
4342
|
/**
|
|
4232
4343
|
* List UTXOs
|
|
4233
4344
|
* Lists UTXOs on one of the Primary Network chains for the supplied addresses.
|
|
4234
|
-
* @returns any
|
|
4345
|
+
* @returns any Successful response
|
|
4235
4346
|
* @throws ApiError
|
|
4236
4347
|
*/
|
|
4237
4348
|
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
@@ -4296,7 +4407,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4296
4407
|
/**
|
|
4297
4408
|
* List vertices
|
|
4298
4409
|
* Lists latest vertices on the X-Chain.
|
|
4299
|
-
* @returns ListXChainVerticesResponse
|
|
4410
|
+
* @returns ListXChainVerticesResponse Successful response
|
|
4300
4411
|
* @throws ApiError
|
|
4301
4412
|
*/
|
|
4302
4413
|
listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
|
|
@@ -4320,7 +4431,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4320
4431
|
/**
|
|
4321
4432
|
* Get vertex
|
|
4322
4433
|
* Gets a single vertex on the X-Chain.
|
|
4323
|
-
* @returns XChainVertex
|
|
4434
|
+
* @returns XChainVertex Successful response
|
|
4324
4435
|
* @throws ApiError
|
|
4325
4436
|
*/
|
|
4326
4437
|
getVertexByHash({ vertexHash, blockchainId, network, }: {
|
|
@@ -4340,7 +4451,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4340
4451
|
/**
|
|
4341
4452
|
* List vertices by height
|
|
4342
4453
|
* Lists vertices at the given vertex height on the X-Chain.
|
|
4343
|
-
* @returns ListXChainVerticesResponse
|
|
4454
|
+
* @returns ListXChainVerticesResponse Successful response
|
|
4344
4455
|
* @throws ApiError
|
|
4345
4456
|
*/
|
|
4346
4457
|
getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
|
|
@@ -4402,7 +4513,7 @@ declare class RpcService {
|
|
|
4402
4513
|
/**
|
|
4403
4514
|
* Calls JSON-RPC method
|
|
4404
4515
|
* Calls JSON-RPC method.
|
|
4405
|
-
* @returns any
|
|
4516
|
+
* @returns any Successful response
|
|
4406
4517
|
* @throws ApiError
|
|
4407
4518
|
*/
|
|
4408
4519
|
rpc({ chainId, requestBody, }: {
|
|
@@ -4554,7 +4665,7 @@ declare class TeleporterService {
|
|
|
4554
4665
|
/**
|
|
4555
4666
|
* Get a teleporter message
|
|
4556
4667
|
* Gets a teleporter message by message ID.
|
|
4557
|
-
* @returns any
|
|
4668
|
+
* @returns any Successful response
|
|
4558
4669
|
* @throws ApiError
|
|
4559
4670
|
*/
|
|
4560
4671
|
getTeleporterMessage({ messageId, }: {
|
|
@@ -4566,7 +4677,7 @@ declare class TeleporterService {
|
|
|
4566
4677
|
/**
|
|
4567
4678
|
* List teleporter messages
|
|
4568
4679
|
* Lists teleporter messages. Ordered by timestamp in descending order.
|
|
4569
|
-
* @returns ListTeleporterMessagesResponse
|
|
4680
|
+
* @returns ListTeleporterMessagesResponse Successful response
|
|
4570
4681
|
* @throws ApiError
|
|
4571
4682
|
*/
|
|
4572
4683
|
listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
|
|
@@ -4603,13 +4714,37 @@ declare class TeleporterService {
|
|
|
4603
4714
|
*/
|
|
4604
4715
|
network?: NetworkType;
|
|
4605
4716
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4717
|
+
/**
|
|
4718
|
+
* List teleporter messages by address
|
|
4719
|
+
* Lists teleporter messages by address. Ordered by timestamp in descending order.
|
|
4720
|
+
* @returns ListTeleporterMessagesResponse Successful response
|
|
4721
|
+
* @throws ApiError
|
|
4722
|
+
*/
|
|
4723
|
+
listTeleporterMessagesByAddress({ address, pageToken, pageSize, network, }: {
|
|
4724
|
+
/**
|
|
4725
|
+
* An EVM address.
|
|
4726
|
+
*/
|
|
4727
|
+
address: string;
|
|
4728
|
+
/**
|
|
4729
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4730
|
+
*/
|
|
4731
|
+
pageToken?: string;
|
|
4732
|
+
/**
|
|
4733
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4734
|
+
*/
|
|
4735
|
+
pageSize?: number;
|
|
4736
|
+
/**
|
|
4737
|
+
* mainnet or testnet.
|
|
4738
|
+
*/
|
|
4739
|
+
network?: NetworkType;
|
|
4740
|
+
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4606
4741
|
}
|
|
4607
4742
|
|
|
4608
4743
|
type AddressesChangeRequest = {
|
|
4609
4744
|
/**
|
|
4610
4745
|
* Ethereum address(es) for the address_activity event type
|
|
4611
4746
|
*/
|
|
4612
|
-
addresses: Array<
|
|
4747
|
+
addresses: Array<string>;
|
|
4613
4748
|
};
|
|
4614
4749
|
|
|
4615
4750
|
type AddressActivityMetadata = {
|
|
@@ -4710,7 +4845,7 @@ declare class WebhooksService {
|
|
|
4710
4845
|
/**
|
|
4711
4846
|
* Create a webhook
|
|
4712
4847
|
* Create a new webhook.
|
|
4713
|
-
* @returns WebhookResponse
|
|
4848
|
+
* @returns WebhookResponse Successful response
|
|
4714
4849
|
* @throws ApiError
|
|
4715
4850
|
*/
|
|
4716
4851
|
createWebhook({ requestBody, }: {
|
|
@@ -4719,7 +4854,7 @@ declare class WebhooksService {
|
|
|
4719
4854
|
/**
|
|
4720
4855
|
* List webhooks
|
|
4721
4856
|
* Lists webhooks for the user.
|
|
4722
|
-
* @returns ListWebhooksResponse
|
|
4857
|
+
* @returns ListWebhooksResponse Successful response
|
|
4723
4858
|
* @throws ApiError
|
|
4724
4859
|
*/
|
|
4725
4860
|
listWebhooks({ pageToken, pageSize, status, }: {
|
|
@@ -4739,7 +4874,7 @@ declare class WebhooksService {
|
|
|
4739
4874
|
/**
|
|
4740
4875
|
* Get a webhook by ID
|
|
4741
4876
|
* Retrieves a webhook by ID.
|
|
4742
|
-
* @returns WebhookResponse
|
|
4877
|
+
* @returns WebhookResponse Successful response
|
|
4743
4878
|
* @throws ApiError
|
|
4744
4879
|
*/
|
|
4745
4880
|
getWebhook({ id, }: {
|
|
@@ -4751,7 +4886,7 @@ declare class WebhooksService {
|
|
|
4751
4886
|
/**
|
|
4752
4887
|
* Deactivate a webhook
|
|
4753
4888
|
* Deactivates a webhook by ID.
|
|
4754
|
-
* @returns WebhookResponse
|
|
4889
|
+
* @returns WebhookResponse Successful response
|
|
4755
4890
|
* @throws ApiError
|
|
4756
4891
|
*/
|
|
4757
4892
|
deactivateWebhook({ id, }: {
|
|
@@ -4763,7 +4898,7 @@ declare class WebhooksService {
|
|
|
4763
4898
|
/**
|
|
4764
4899
|
* Update a webhook
|
|
4765
4900
|
* Updates an existing webhook.
|
|
4766
|
-
* @returns WebhookResponse
|
|
4901
|
+
* @returns WebhookResponse Successful response
|
|
4767
4902
|
* @throws ApiError
|
|
4768
4903
|
*/
|
|
4769
4904
|
updateWebhook({ id, requestBody, }: {
|
|
@@ -4776,21 +4911,21 @@ declare class WebhooksService {
|
|
|
4776
4911
|
/**
|
|
4777
4912
|
* Generate a shared secret
|
|
4778
4913
|
* Generates a new shared secret.
|
|
4779
|
-
* @returns SharedSecretsResponse
|
|
4914
|
+
* @returns SharedSecretsResponse Successful response
|
|
4780
4915
|
* @throws ApiError
|
|
4781
4916
|
*/
|
|
4782
4917
|
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4783
4918
|
/**
|
|
4784
4919
|
* Get a shared secret
|
|
4785
4920
|
* Get a previously generated shared secret.
|
|
4786
|
-
* @returns SharedSecretsResponse
|
|
4921
|
+
* @returns SharedSecretsResponse Successful response
|
|
4787
4922
|
* @throws ApiError
|
|
4788
4923
|
*/
|
|
4789
4924
|
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4790
4925
|
/**
|
|
4791
4926
|
* Add addresses to webhook
|
|
4792
4927
|
* Add addresses to webhook.
|
|
4793
|
-
* @returns WebhookResponse
|
|
4928
|
+
* @returns WebhookResponse Successful response
|
|
4794
4929
|
* @throws ApiError
|
|
4795
4930
|
*/
|
|
4796
4931
|
addAddressesToWebhook({ id, requestBody, }: {
|
|
@@ -4803,7 +4938,7 @@ declare class WebhooksService {
|
|
|
4803
4938
|
/**
|
|
4804
4939
|
* Remove addresses from webhook
|
|
4805
4940
|
* Remove addresses from webhook.
|
|
4806
|
-
* @returns WebhookResponse
|
|
4941
|
+
* @returns WebhookResponse Successful response
|
|
4807
4942
|
* @throws ApiError
|
|
4808
4943
|
*/
|
|
4809
4944
|
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
@@ -4816,7 +4951,7 @@ declare class WebhooksService {
|
|
|
4816
4951
|
/**
|
|
4817
4952
|
* List adresses by webhook
|
|
4818
4953
|
* List adresses by webhook.
|
|
4819
|
-
* @returns ListWebhookAddressesResponse
|
|
4954
|
+
* @returns ListWebhookAddressesResponse Successful response
|
|
4820
4955
|
* @throws ApiError
|
|
4821
4956
|
*/
|
|
4822
4957
|
getAddressesFromWebhook({ id, pageToken, pageSize, }: {
|
|
@@ -4837,13 +4972,13 @@ declare class WebhooksService {
|
|
|
4837
4972
|
|
|
4838
4973
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
4839
4974
|
declare class Glacier {
|
|
4975
|
+
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
4840
4976
|
readonly default: DefaultService;
|
|
4841
4977
|
readonly evmBalances: EvmBalancesService;
|
|
4842
4978
|
readonly evmBlocks: EvmBlocksService;
|
|
4843
4979
|
readonly evmChains: EvmChainsService;
|
|
4844
4980
|
readonly evmContracts: EvmContractsService;
|
|
4845
4981
|
readonly evmTransactions: EvmTransactionsService;
|
|
4846
|
-
readonly glacierApiUsageMetrics: GlacierApiUsageMetricsService;
|
|
4847
4982
|
readonly healthCheck: HealthCheckService;
|
|
4848
4983
|
readonly nfTs: NfTsService;
|
|
4849
4984
|
readonly operations: OperationsService;
|
|
@@ -4878,6 +5013,70 @@ declare class ApiError extends Error {
|
|
|
4878
5013
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4879
5014
|
}
|
|
4880
5015
|
|
|
5016
|
+
type BadGateway = {
|
|
5017
|
+
/**
|
|
5018
|
+
* The error message describing the reason for the exception
|
|
5019
|
+
*/
|
|
5020
|
+
message: (string | Array<string>);
|
|
5021
|
+
/**
|
|
5022
|
+
* The HTTP status code of the response
|
|
5023
|
+
*/
|
|
5024
|
+
statusCode: number;
|
|
5025
|
+
/**
|
|
5026
|
+
* The type of error
|
|
5027
|
+
*/
|
|
5028
|
+
error: string;
|
|
5029
|
+
};
|
|
5030
|
+
|
|
5031
|
+
type BadRequest = {
|
|
5032
|
+
/**
|
|
5033
|
+
* The error message describing the reason for the exception
|
|
5034
|
+
*/
|
|
5035
|
+
message: (string | Array<string>);
|
|
5036
|
+
/**
|
|
5037
|
+
* The HTTP status code of the response
|
|
5038
|
+
*/
|
|
5039
|
+
statusCode: number;
|
|
5040
|
+
/**
|
|
5041
|
+
* The type of error
|
|
5042
|
+
*/
|
|
5043
|
+
error: string;
|
|
5044
|
+
};
|
|
5045
|
+
|
|
5046
|
+
type DataListChainsResponse = {
|
|
5047
|
+
chains: Array<ChainInfo>;
|
|
5048
|
+
};
|
|
5049
|
+
|
|
5050
|
+
type Forbidden = {
|
|
5051
|
+
/**
|
|
5052
|
+
* The error message describing the reason for the exception
|
|
5053
|
+
*/
|
|
5054
|
+
message: (string | Array<string>);
|
|
5055
|
+
/**
|
|
5056
|
+
* The HTTP status code of the response
|
|
5057
|
+
*/
|
|
5058
|
+
statusCode: number;
|
|
5059
|
+
/**
|
|
5060
|
+
* The type of error
|
|
5061
|
+
*/
|
|
5062
|
+
error: string;
|
|
5063
|
+
};
|
|
5064
|
+
|
|
5065
|
+
type InternalServerError = {
|
|
5066
|
+
/**
|
|
5067
|
+
* The error message describing the reason for the exception
|
|
5068
|
+
*/
|
|
5069
|
+
message: (string | Array<string>);
|
|
5070
|
+
/**
|
|
5071
|
+
* The HTTP status code of the response
|
|
5072
|
+
*/
|
|
5073
|
+
statusCode: number;
|
|
5074
|
+
/**
|
|
5075
|
+
* The type of error
|
|
5076
|
+
*/
|
|
5077
|
+
error: string;
|
|
5078
|
+
};
|
|
5079
|
+
|
|
4881
5080
|
type NextPageToken = {
|
|
4882
5081
|
/**
|
|
4883
5082
|
* 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.
|
|
@@ -4885,4 +5084,64 @@ type NextPageToken = {
|
|
|
4885
5084
|
nextPageToken?: string;
|
|
4886
5085
|
};
|
|
4887
5086
|
|
|
4888
|
-
|
|
5087
|
+
type NotFound = {
|
|
5088
|
+
/**
|
|
5089
|
+
* The error message describing the reason for the exception
|
|
5090
|
+
*/
|
|
5091
|
+
message: (string | Array<string>);
|
|
5092
|
+
/**
|
|
5093
|
+
* The HTTP status code of the response
|
|
5094
|
+
*/
|
|
5095
|
+
statusCode: number;
|
|
5096
|
+
/**
|
|
5097
|
+
* The type of error
|
|
5098
|
+
*/
|
|
5099
|
+
error: string;
|
|
5100
|
+
};
|
|
5101
|
+
|
|
5102
|
+
type ServiceUnavailable = {
|
|
5103
|
+
/**
|
|
5104
|
+
* The error message describing the reason for the exception
|
|
5105
|
+
*/
|
|
5106
|
+
message: (string | Array<string>);
|
|
5107
|
+
/**
|
|
5108
|
+
* The HTTP status code of the response
|
|
5109
|
+
*/
|
|
5110
|
+
statusCode: number;
|
|
5111
|
+
/**
|
|
5112
|
+
* The type of error
|
|
5113
|
+
*/
|
|
5114
|
+
error: string;
|
|
5115
|
+
};
|
|
5116
|
+
|
|
5117
|
+
type TooManyRequests = {
|
|
5118
|
+
/**
|
|
5119
|
+
* The error message describing the reason for the exception
|
|
5120
|
+
*/
|
|
5121
|
+
message: (string | Array<string>);
|
|
5122
|
+
/**
|
|
5123
|
+
* The HTTP status code of the response
|
|
5124
|
+
*/
|
|
5125
|
+
statusCode: number;
|
|
5126
|
+
/**
|
|
5127
|
+
* The type of error
|
|
5128
|
+
*/
|
|
5129
|
+
error: string;
|
|
5130
|
+
};
|
|
5131
|
+
|
|
5132
|
+
type Unauthorized = {
|
|
5133
|
+
/**
|
|
5134
|
+
* The error message describing the reason for the exception
|
|
5135
|
+
*/
|
|
5136
|
+
message: (string | Array<string>);
|
|
5137
|
+
/**
|
|
5138
|
+
* The HTTP status code of the response
|
|
5139
|
+
*/
|
|
5140
|
+
statusCode: number;
|
|
5141
|
+
/**
|
|
5142
|
+
* The type of error
|
|
5143
|
+
*/
|
|
5144
|
+
error: string;
|
|
5145
|
+
};
|
|
5146
|
+
|
|
5147
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, 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 };
|