@avalabs/glacier-sdk 2.8.0-alpha.174 → 2.8.0-alpha.176
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 +216 -164
- package/dist/index.js +149 -111
- package/esm/generated/Glacier.d.ts +4 -0
- package/esm/generated/Glacier.js +6 -0
- package/esm/generated/core/CancelablePromise.d.ts +2 -8
- package/esm/generated/core/CancelablePromise.js +38 -36
- package/esm/generated/core/request.js +3 -2
- package/esm/generated/models/AddressActivityMetadata.d.ts +0 -8
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/RegisterWebhookRequest.d.ts +8 -0
- package/esm/generated/models/RpcErrorDto.d.ts +7 -0
- package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
- package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
- package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
- package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
- package/esm/generated/models/WebhookResponse.d.ts +8 -0
- package/esm/generated/services/DefaultService.d.ts +0 -86
- package/esm/generated/services/DefaultService.js +0 -73
- package/esm/generated/services/PrimaryNetworkService.d.ts +1 -1
- package/esm/generated/services/RpcService.d.ts +25 -0
- package/esm/generated/services/RpcService.js +24 -0
- package/esm/generated/services/WebhooksService.d.ts +95 -0
- package/esm/generated/services/WebhooksService.js +80 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.js +2 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -23,15 +23,9 @@ interface OnCancel {
|
|
|
23
23
|
(cancelHandler: () => void): void;
|
|
24
24
|
}
|
|
25
25
|
declare class CancelablePromise<T> implements Promise<T> {
|
|
26
|
-
|
|
27
|
-
private _isResolved;
|
|
28
|
-
private _isRejected;
|
|
29
|
-
private _isCancelled;
|
|
30
|
-
private readonly _cancelHandlers;
|
|
31
|
-
private readonly _promise;
|
|
32
|
-
private _resolve?;
|
|
33
|
-
private _reject?;
|
|
26
|
+
#private;
|
|
34
27
|
constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: OnCancel) => void);
|
|
28
|
+
get [Symbol.toStringTag](): string;
|
|
35
29
|
then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
36
30
|
catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
|
|
37
31
|
finally(onFinally?: (() => void) | null): Promise<T>;
|
|
@@ -60,79 +54,6 @@ declare abstract class BaseHttpRequest {
|
|
|
60
54
|
abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
61
55
|
}
|
|
62
56
|
|
|
63
|
-
type AddressActivityMetadata = {
|
|
64
|
-
/**
|
|
65
|
-
* Ethereum address for the address_activity event type
|
|
66
|
-
*/
|
|
67
|
-
address: string;
|
|
68
|
-
/**
|
|
69
|
-
* Array of hexadecimal strings of the event signatures.
|
|
70
|
-
*/
|
|
71
|
-
eventSignatures?: Array<string>;
|
|
72
|
-
/**
|
|
73
|
-
* Whether to include traces in the webhook payload.
|
|
74
|
-
*/
|
|
75
|
-
includeTraces?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Whether to include logs in the webhook payload.
|
|
78
|
-
*/
|
|
79
|
-
includeLogs?: boolean;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
declare enum EventType {
|
|
83
|
-
ADDRESS_ACTIVITY = "address_activity"
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
declare enum WebhookStatusType {
|
|
87
|
-
ACTIVE = "active",
|
|
88
|
-
INACTIVE = "inactive"
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
type WebhookResponse = {
|
|
92
|
-
id: string;
|
|
93
|
-
eventType: EventType;
|
|
94
|
-
metadata: AddressActivityMetadata;
|
|
95
|
-
url: string;
|
|
96
|
-
chainId: string;
|
|
97
|
-
status: WebhookStatusType;
|
|
98
|
-
createdAt: number;
|
|
99
|
-
name: string;
|
|
100
|
-
description: string;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
type ListWebhooksResponse = {
|
|
104
|
-
/**
|
|
105
|
-
* 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.
|
|
106
|
-
*/
|
|
107
|
-
nextPageToken?: string;
|
|
108
|
-
webhooks: Array<WebhookResponse>;
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
type RegisterWebhookRequest = {
|
|
112
|
-
url: string;
|
|
113
|
-
chainId: string;
|
|
114
|
-
eventType: EventType;
|
|
115
|
-
metadata: AddressActivityMetadata;
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
type SharedSecretsResponse = {
|
|
119
|
-
secret: string;
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
type UpdateWebhookRequest = {
|
|
123
|
-
name?: string;
|
|
124
|
-
description?: string;
|
|
125
|
-
url?: string;
|
|
126
|
-
status?: WebhookStatusType;
|
|
127
|
-
includeTraces?: boolean;
|
|
128
|
-
includeLogs?: boolean;
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
declare enum WebhookStatus {
|
|
132
|
-
ACTIVE = "active",
|
|
133
|
-
INACTIVE = "inactive"
|
|
134
|
-
}
|
|
135
|
-
|
|
136
57
|
declare class DefaultService {
|
|
137
58
|
readonly httpRequest: BaseHttpRequest;
|
|
138
59
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -141,86 +62,6 @@ declare class DefaultService {
|
|
|
141
62
|
* @throws ApiError
|
|
142
63
|
*/
|
|
143
64
|
mediaControllerUploadImage(): CancelablePromise<any>;
|
|
144
|
-
/**
|
|
145
|
-
* Register a webhook
|
|
146
|
-
* Registers a new webhook.
|
|
147
|
-
* @returns WebhookResponse
|
|
148
|
-
* @throws ApiError
|
|
149
|
-
*/
|
|
150
|
-
registerWebhook({ requestBody, }: {
|
|
151
|
-
requestBody: RegisterWebhookRequest;
|
|
152
|
-
}): CancelablePromise<WebhookResponse>;
|
|
153
|
-
/**
|
|
154
|
-
* List webhooks
|
|
155
|
-
* Lists webhooks for the user.
|
|
156
|
-
* @returns ListWebhooksResponse
|
|
157
|
-
* @throws ApiError
|
|
158
|
-
*/
|
|
159
|
-
listWebhooks({ pageToken, pageSize, status, }: {
|
|
160
|
-
/**
|
|
161
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
162
|
-
*/
|
|
163
|
-
pageToken?: string;
|
|
164
|
-
/**
|
|
165
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
166
|
-
*/
|
|
167
|
-
pageSize?: number;
|
|
168
|
-
/**
|
|
169
|
-
* Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
|
|
170
|
-
*/
|
|
171
|
-
status?: WebhookStatus;
|
|
172
|
-
}): CancelablePromise<ListWebhooksResponse>;
|
|
173
|
-
/**
|
|
174
|
-
* Get a webhook by ID
|
|
175
|
-
* Retrieves a webhook by ID.
|
|
176
|
-
* @returns WebhookResponse
|
|
177
|
-
* @throws ApiError
|
|
178
|
-
*/
|
|
179
|
-
getWebhook({ id, }: {
|
|
180
|
-
/**
|
|
181
|
-
* The webhook identifier.
|
|
182
|
-
*/
|
|
183
|
-
id: string;
|
|
184
|
-
}): CancelablePromise<WebhookResponse>;
|
|
185
|
-
/**
|
|
186
|
-
* Deactivate a webhook
|
|
187
|
-
* Deactivates a webhook by ID.
|
|
188
|
-
* @returns WebhookResponse
|
|
189
|
-
* @throws ApiError
|
|
190
|
-
*/
|
|
191
|
-
deactivateWebhook({ id, }: {
|
|
192
|
-
/**
|
|
193
|
-
* The webhook identifier.
|
|
194
|
-
*/
|
|
195
|
-
id: string;
|
|
196
|
-
}): CancelablePromise<WebhookResponse>;
|
|
197
|
-
/**
|
|
198
|
-
* Update a webhook
|
|
199
|
-
* Updates an existing webhook.
|
|
200
|
-
* @returns WebhookResponse
|
|
201
|
-
* @throws ApiError
|
|
202
|
-
*/
|
|
203
|
-
updateWebhook({ id, requestBody, }: {
|
|
204
|
-
/**
|
|
205
|
-
* The webhook identifier.
|
|
206
|
-
*/
|
|
207
|
-
id: string;
|
|
208
|
-
requestBody: UpdateWebhookRequest;
|
|
209
|
-
}): CancelablePromise<WebhookResponse>;
|
|
210
|
-
/**
|
|
211
|
-
* Generate a shared secret
|
|
212
|
-
* Generates a new shared secret.
|
|
213
|
-
* @returns SharedSecretsResponse
|
|
214
|
-
* @throws ApiError
|
|
215
|
-
*/
|
|
216
|
-
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
217
|
-
/**
|
|
218
|
-
* Get a shared secret
|
|
219
|
-
* Get a previously generated shared secret.
|
|
220
|
-
* @returns SharedSecretsResponse
|
|
221
|
-
* @throws ApiError
|
|
222
|
-
*/
|
|
223
|
-
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
224
65
|
}
|
|
225
66
|
|
|
226
67
|
/**
|
|
@@ -2193,7 +2034,7 @@ declare enum PrimaryNetworkOperationType {
|
|
|
2193
2034
|
}
|
|
2194
2035
|
|
|
2195
2036
|
type PrimaryNetworkOptions = {
|
|
2196
|
-
addresses
|
|
2037
|
+
addresses?: Array<string>;
|
|
2197
2038
|
cChainEvmAddresses?: Array<string>;
|
|
2198
2039
|
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2199
2040
|
};
|
|
@@ -2794,7 +2635,7 @@ declare class PrimaryNetworkService {
|
|
|
2794
2635
|
/**
|
|
2795
2636
|
* The subnet ID to filter by. If not provided, then all subnets will be returned.
|
|
2796
2637
|
*/
|
|
2797
|
-
subnetId?:
|
|
2638
|
+
subnetId?: any;
|
|
2798
2639
|
}): CancelablePromise<ListValidatorDetailsResponse>;
|
|
2799
2640
|
/**
|
|
2800
2641
|
* Get single validator details
|
|
@@ -4261,6 +4102,49 @@ declare class PrimaryNetworkVerticesService {
|
|
|
4261
4102
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
4262
4103
|
}
|
|
4263
4104
|
|
|
4105
|
+
type RpcErrorDto = {
|
|
4106
|
+
code: number;
|
|
4107
|
+
message: string;
|
|
4108
|
+
data?: Record<string, any>;
|
|
4109
|
+
};
|
|
4110
|
+
|
|
4111
|
+
type RpcErrorResponseDto = {
|
|
4112
|
+
jsonrpc: string;
|
|
4113
|
+
id?: (string | number);
|
|
4114
|
+
error: RpcErrorDto;
|
|
4115
|
+
};
|
|
4116
|
+
|
|
4117
|
+
type RpcRequestBodyDto = {
|
|
4118
|
+
method: string;
|
|
4119
|
+
params?: Record<string, any>;
|
|
4120
|
+
id?: (string | number);
|
|
4121
|
+
jsonrpc?: string;
|
|
4122
|
+
};
|
|
4123
|
+
|
|
4124
|
+
type RpcSuccessResponseDto = {
|
|
4125
|
+
jsonrpc: string;
|
|
4126
|
+
id?: (string | number);
|
|
4127
|
+
result: Record<string, any>;
|
|
4128
|
+
};
|
|
4129
|
+
|
|
4130
|
+
declare class RpcService {
|
|
4131
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4132
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4133
|
+
/**
|
|
4134
|
+
* Calls JSON-RPC method
|
|
4135
|
+
* Calls JSON-RPC method.
|
|
4136
|
+
* @returns any
|
|
4137
|
+
* @throws ApiError
|
|
4138
|
+
*/
|
|
4139
|
+
rpc({ chainId, requestBody, }: {
|
|
4140
|
+
/**
|
|
4141
|
+
* A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
4142
|
+
*/
|
|
4143
|
+
chainId: string;
|
|
4144
|
+
requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
|
|
4145
|
+
}): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4264
4148
|
type TeleporterDestinationTransaction = {
|
|
4265
4149
|
txHash: string;
|
|
4266
4150
|
timestamp: number;
|
|
@@ -4437,6 +4321,172 @@ declare class TeleporterService {
|
|
|
4437
4321
|
}): CancelablePromise<NextPageToken>;
|
|
4438
4322
|
}
|
|
4439
4323
|
|
|
4324
|
+
type AddressActivityMetadata = {
|
|
4325
|
+
/**
|
|
4326
|
+
* Ethereum address for the address_activity event type
|
|
4327
|
+
*/
|
|
4328
|
+
address: string;
|
|
4329
|
+
/**
|
|
4330
|
+
* Array of hexadecimal strings of the event signatures.
|
|
4331
|
+
*/
|
|
4332
|
+
eventSignatures?: Array<string>;
|
|
4333
|
+
};
|
|
4334
|
+
|
|
4335
|
+
declare enum EventType {
|
|
4336
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
4337
|
+
}
|
|
4338
|
+
|
|
4339
|
+
declare enum WebhookStatusType {
|
|
4340
|
+
ACTIVE = "active",
|
|
4341
|
+
INACTIVE = "inactive"
|
|
4342
|
+
}
|
|
4343
|
+
|
|
4344
|
+
type WebhookResponse = {
|
|
4345
|
+
id: string;
|
|
4346
|
+
eventType: EventType;
|
|
4347
|
+
metadata: AddressActivityMetadata;
|
|
4348
|
+
/**
|
|
4349
|
+
* Whether to include traces in the webhook payload.
|
|
4350
|
+
*/
|
|
4351
|
+
includeInternalTxs?: boolean;
|
|
4352
|
+
/**
|
|
4353
|
+
* Whether to include logs in the webhook payload.
|
|
4354
|
+
*/
|
|
4355
|
+
includeLogs?: boolean;
|
|
4356
|
+
url: string;
|
|
4357
|
+
chainId: string;
|
|
4358
|
+
status: WebhookStatusType;
|
|
4359
|
+
createdAt: number;
|
|
4360
|
+
name: string;
|
|
4361
|
+
description: string;
|
|
4362
|
+
};
|
|
4363
|
+
|
|
4364
|
+
type ListWebhooksResponse = {
|
|
4365
|
+
/**
|
|
4366
|
+
* 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.
|
|
4367
|
+
*/
|
|
4368
|
+
nextPageToken?: string;
|
|
4369
|
+
webhooks: Array<WebhookResponse>;
|
|
4370
|
+
};
|
|
4371
|
+
|
|
4372
|
+
type RegisterWebhookRequest = {
|
|
4373
|
+
url: string;
|
|
4374
|
+
chainId: string;
|
|
4375
|
+
eventType: EventType;
|
|
4376
|
+
metadata: AddressActivityMetadata;
|
|
4377
|
+
/**
|
|
4378
|
+
* Whether to include traces in the webhook payload.
|
|
4379
|
+
*/
|
|
4380
|
+
includeInternalTxs?: boolean;
|
|
4381
|
+
/**
|
|
4382
|
+
* Whether to include logs in the webhook payload.
|
|
4383
|
+
*/
|
|
4384
|
+
includeLogs?: boolean;
|
|
4385
|
+
};
|
|
4386
|
+
|
|
4387
|
+
type SharedSecretsResponse = {
|
|
4388
|
+
secret: string;
|
|
4389
|
+
};
|
|
4390
|
+
|
|
4391
|
+
type UpdateWebhookRequest = {
|
|
4392
|
+
name?: string;
|
|
4393
|
+
description?: string;
|
|
4394
|
+
url?: string;
|
|
4395
|
+
status?: WebhookStatusType;
|
|
4396
|
+
includeInternalTxs?: boolean;
|
|
4397
|
+
includeLogs?: boolean;
|
|
4398
|
+
};
|
|
4399
|
+
|
|
4400
|
+
declare enum WebhookStatus {
|
|
4401
|
+
ACTIVE = "active",
|
|
4402
|
+
INACTIVE = "inactive"
|
|
4403
|
+
}
|
|
4404
|
+
|
|
4405
|
+
declare class WebhooksService {
|
|
4406
|
+
readonly httpRequest: BaseHttpRequest;
|
|
4407
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
4408
|
+
/**
|
|
4409
|
+
* Register a webhook
|
|
4410
|
+
* Registers a new webhook.
|
|
4411
|
+
* @returns WebhookResponse
|
|
4412
|
+
* @throws ApiError
|
|
4413
|
+
*/
|
|
4414
|
+
registerWebhook({ requestBody, }: {
|
|
4415
|
+
requestBody: RegisterWebhookRequest;
|
|
4416
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4417
|
+
/**
|
|
4418
|
+
* List webhooks
|
|
4419
|
+
* Lists webhooks for the user.
|
|
4420
|
+
* @returns ListWebhooksResponse
|
|
4421
|
+
* @throws ApiError
|
|
4422
|
+
*/
|
|
4423
|
+
listWebhooks({ pageToken, pageSize, status, }: {
|
|
4424
|
+
/**
|
|
4425
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
4426
|
+
*/
|
|
4427
|
+
pageToken?: string;
|
|
4428
|
+
/**
|
|
4429
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
4430
|
+
*/
|
|
4431
|
+
pageSize?: number;
|
|
4432
|
+
/**
|
|
4433
|
+
* Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
|
|
4434
|
+
*/
|
|
4435
|
+
status?: WebhookStatus;
|
|
4436
|
+
}): CancelablePromise<ListWebhooksResponse>;
|
|
4437
|
+
/**
|
|
4438
|
+
* Get a webhook by ID
|
|
4439
|
+
* Retrieves a webhook by ID.
|
|
4440
|
+
* @returns WebhookResponse
|
|
4441
|
+
* @throws ApiError
|
|
4442
|
+
*/
|
|
4443
|
+
getWebhook({ id, }: {
|
|
4444
|
+
/**
|
|
4445
|
+
* The webhook identifier.
|
|
4446
|
+
*/
|
|
4447
|
+
id: string;
|
|
4448
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4449
|
+
/**
|
|
4450
|
+
* Deactivate a webhook
|
|
4451
|
+
* Deactivates a webhook by ID.
|
|
4452
|
+
* @returns WebhookResponse
|
|
4453
|
+
* @throws ApiError
|
|
4454
|
+
*/
|
|
4455
|
+
deactivateWebhook({ id, }: {
|
|
4456
|
+
/**
|
|
4457
|
+
* The webhook identifier.
|
|
4458
|
+
*/
|
|
4459
|
+
id: string;
|
|
4460
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4461
|
+
/**
|
|
4462
|
+
* Update a webhook
|
|
4463
|
+
* Updates an existing webhook.
|
|
4464
|
+
* @returns WebhookResponse
|
|
4465
|
+
* @throws ApiError
|
|
4466
|
+
*/
|
|
4467
|
+
updateWebhook({ id, requestBody, }: {
|
|
4468
|
+
/**
|
|
4469
|
+
* The webhook identifier.
|
|
4470
|
+
*/
|
|
4471
|
+
id: string;
|
|
4472
|
+
requestBody: UpdateWebhookRequest;
|
|
4473
|
+
}): CancelablePromise<WebhookResponse>;
|
|
4474
|
+
/**
|
|
4475
|
+
* Generate a shared secret
|
|
4476
|
+
* Generates a new shared secret.
|
|
4477
|
+
* @returns SharedSecretsResponse
|
|
4478
|
+
* @throws ApiError
|
|
4479
|
+
*/
|
|
4480
|
+
generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4481
|
+
/**
|
|
4482
|
+
* Get a shared secret
|
|
4483
|
+
* Get a previously generated shared secret.
|
|
4484
|
+
* @returns SharedSecretsResponse
|
|
4485
|
+
* @throws ApiError
|
|
4486
|
+
*/
|
|
4487
|
+
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
4488
|
+
}
|
|
4489
|
+
|
|
4440
4490
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
4441
4491
|
declare class Glacier {
|
|
4442
4492
|
readonly default: DefaultService;
|
|
@@ -4455,7 +4505,9 @@ declare class Glacier {
|
|
|
4455
4505
|
readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
|
|
4456
4506
|
readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
|
|
4457
4507
|
readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
|
|
4508
|
+
readonly rpc: RpcService;
|
|
4458
4509
|
readonly teleporter: TeleporterService;
|
|
4510
|
+
readonly webhooks: WebhooksService;
|
|
4459
4511
|
readonly request: BaseHttpRequest;
|
|
4460
4512
|
constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
|
|
4461
4513
|
}
|
|
@@ -4477,4 +4529,4 @@ declare class ApiError extends Error {
|
|
|
4477
4529
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
4478
4530
|
}
|
|
4479
4531
|
|
|
4480
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, 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, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, GlacierApiFeature, HealthCheckService, HistoricalReward, ImageAsset, 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, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, 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, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|
|
4532
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, 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, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, GlacierApiFeature, HealthCheckService, HistoricalReward, ImageAsset, 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, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, 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, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|