@avalabs/glacier-sdk 2.8.0-canary.69c602c.0 → 2.8.0-canary.6a1af3d.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.
Files changed (36) hide show
  1. package/dist/index.d.ts +278 -169
  2. package/dist/index.js +189 -114
  3. package/esm/generated/Glacier.d.ts +4 -0
  4. package/esm/generated/Glacier.js +6 -0
  5. package/esm/generated/core/CancelablePromise.d.ts +2 -8
  6. package/esm/generated/core/CancelablePromise.js +38 -36
  7. package/esm/generated/core/request.js +3 -2
  8. package/esm/generated/models/AddressActivityMetadata.d.ts +2 -6
  9. package/esm/generated/models/AddressesChangeRequest.d.ts +8 -0
  10. package/esm/generated/models/ChainInfo.d.ts +1 -0
  11. package/esm/generated/models/GetChainResponse.d.ts +1 -0
  12. package/esm/generated/models/GlacierApiFeature.d.ts +6 -0
  13. package/esm/generated/models/GlacierApiFeature.js +7 -0
  14. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +12 -0
  15. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  16. package/esm/generated/models/RegisterWebhookRequest.d.ts +8 -0
  17. package/esm/generated/models/RpcErrorDto.d.ts +7 -0
  18. package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
  19. package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
  20. package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
  21. package/esm/generated/models/UpdateWebhookRequest.d.ts +2 -1
  22. package/esm/generated/models/WebhookResponse.d.ts +8 -0
  23. package/esm/generated/services/DefaultService.d.ts +0 -86
  24. package/esm/generated/services/DefaultService.js +0 -73
  25. package/esm/generated/services/EvmChainsService.d.ts +6 -1
  26. package/esm/generated/services/EvmChainsService.js +4 -2
  27. package/esm/generated/services/PrimaryNetworkService.d.ts +1 -1
  28. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  29. package/esm/generated/services/RpcService.d.ts +25 -0
  30. package/esm/generated/services/RpcService.js +24 -0
  31. package/esm/generated/services/TeleporterService.d.ts +3 -3
  32. package/esm/generated/services/WebhooksService.d.ts +122 -0
  33. package/esm/generated/services/WebhooksService.js +108 -0
  34. package/esm/index.d.ts +9 -0
  35. package/esm/index.js +3 -0
  36. 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
- readonly [Symbol.toStringTag]: string;
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,74 +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
-
78
- declare enum EventType {
79
- ADDRESS_ACTIVITY = "address_activity"
80
- }
81
-
82
- declare enum WebhookStatusType {
83
- ACTIVE = "active",
84
- INACTIVE = "inactive"
85
- }
86
-
87
- type WebhookResponse = {
88
- id: string;
89
- eventType: EventType;
90
- metadata: AddressActivityMetadata;
91
- url: string;
92
- chainId: string;
93
- status: WebhookStatusType;
94
- createdAt: number;
95
- name: string;
96
- description: string;
97
- };
98
-
99
- type ListWebhooksResponse = {
100
- /**
101
- * 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.
102
- */
103
- nextPageToken?: string;
104
- webhooks: Array<WebhookResponse>;
105
- };
106
-
107
- type RegisterWebhookRequest = {
108
- url: string;
109
- chainId: string;
110
- eventType: EventType;
111
- metadata: AddressActivityMetadata;
112
- };
113
-
114
- type SharedSecretsResponse = {
115
- secret: string;
116
- };
117
-
118
- type UpdateWebhookRequest = {
119
- name?: string;
120
- description?: string;
121
- url?: string;
122
- status?: WebhookStatusType;
123
- includeTraces?: boolean;
124
- };
125
-
126
- declare enum WebhookStatus {
127
- ACTIVE = "active",
128
- INACTIVE = "inactive"
129
- }
130
-
131
57
  declare class DefaultService {
132
58
  readonly httpRequest: BaseHttpRequest;
133
59
  constructor(httpRequest: BaseHttpRequest);
@@ -136,86 +62,6 @@ declare class DefaultService {
136
62
  * @throws ApiError
137
63
  */
138
64
  mediaControllerUploadImage(): CancelablePromise<any>;
139
- /**
140
- * Register a webhook
141
- * Registers a new webhook.
142
- * @returns WebhookResponse
143
- * @throws ApiError
144
- */
145
- registerWebhook({ requestBody, }: {
146
- requestBody: RegisterWebhookRequest;
147
- }): CancelablePromise<WebhookResponse>;
148
- /**
149
- * List webhooks
150
- * Lists webhooks for the user.
151
- * @returns ListWebhooksResponse
152
- * @throws ApiError
153
- */
154
- listWebhooks({ pageToken, pageSize, status, }: {
155
- /**
156
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
157
- */
158
- pageToken?: string;
159
- /**
160
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
161
- */
162
- pageSize?: number;
163
- /**
164
- * 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.
165
- */
166
- status?: WebhookStatus;
167
- }): CancelablePromise<ListWebhooksResponse>;
168
- /**
169
- * Get a webhook by ID
170
- * Retrieves a webhook by ID.
171
- * @returns WebhookResponse
172
- * @throws ApiError
173
- */
174
- getWebhook({ id, }: {
175
- /**
176
- * The webhook identifier.
177
- */
178
- id: string;
179
- }): CancelablePromise<WebhookResponse>;
180
- /**
181
- * Deactivate a webhook
182
- * Deactivates a webhook by ID.
183
- * @returns WebhookResponse
184
- * @throws ApiError
185
- */
186
- deactivateWebhook({ id, }: {
187
- /**
188
- * The webhook identifier.
189
- */
190
- id: string;
191
- }): CancelablePromise<WebhookResponse>;
192
- /**
193
- * Update a webhook
194
- * Updates an existing webhook.
195
- * @returns WebhookResponse
196
- * @throws ApiError
197
- */
198
- updateWebhook({ id, requestBody, }: {
199
- /**
200
- * The webhook identifier.
201
- */
202
- id: string;
203
- requestBody: UpdateWebhookRequest;
204
- }): CancelablePromise<WebhookResponse>;
205
- /**
206
- * Generate a shared secret
207
- * Generates a new shared secret.
208
- * @returns SharedSecretsResponse
209
- * @throws ApiError
210
- */
211
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
212
- /**
213
- * Get a shared secret
214
- * Get a previously generated shared secret.
215
- * @returns SharedSecretsResponse
216
- * @throws ApiError
217
- */
218
- getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
219
65
  }
220
66
 
221
67
  /**
@@ -836,8 +682,14 @@ type GetChainResponse = {
836
682
  networkToken: NetworkToken;
837
683
  chainLogoUri?: string;
838
684
  private?: boolean;
685
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
839
686
  };
840
687
 
688
+ declare enum GlacierApiFeature {
689
+ NFT_INDEXING = "nftIndexing",
690
+ WEBHOOKS = "webhooks"
691
+ }
692
+
841
693
  type ChainInfo = {
842
694
  chainId: string;
843
695
  status: ChainStatus;
@@ -855,6 +707,7 @@ type ChainInfo = {
855
707
  networkToken: NetworkToken;
856
708
  chainLogoUri?: string;
857
709
  private?: boolean;
710
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
858
711
  };
859
712
 
860
713
  type ListChainsResponse = {
@@ -875,11 +728,15 @@ declare class EvmChainsService {
875
728
  * @returns ListChainsResponse
876
729
  * @throws ApiError
877
730
  */
878
- supportedChains({ network, }: {
731
+ supportedChains({ network, feature, }: {
879
732
  /**
880
733
  * mainnet or testnet.
881
734
  */
882
735
  network?: NetworkType;
736
+ /**
737
+ * Filter by feature.
738
+ */
739
+ feature?: GlacierApiFeature;
883
740
  }): CancelablePromise<ListChainsResponse>;
884
741
  /**
885
742
  * Get chain information
@@ -2178,7 +2035,7 @@ declare enum PrimaryNetworkOperationType {
2178
2035
  }
2179
2036
 
2180
2037
  type PrimaryNetworkOptions = {
2181
- addresses: Array<string>;
2038
+ addresses?: Array<string>;
2182
2039
  cChainEvmAddresses?: Array<string>;
2183
2040
  includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2184
2041
  };
@@ -2779,7 +2636,7 @@ declare class PrimaryNetworkService {
2779
2636
  /**
2780
2637
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2781
2638
  */
2782
- subnetId?: string;
2639
+ subnetId?: any;
2783
2640
  }): CancelablePromise<ListValidatorDetailsResponse>;
2784
2641
  /**
2785
2642
  * Get single validator details
@@ -4246,6 +4103,49 @@ declare class PrimaryNetworkVerticesService {
4246
4103
  }): CancelablePromise<ListXChainVerticesResponse>;
4247
4104
  }
4248
4105
 
4106
+ type RpcErrorDto = {
4107
+ code: number;
4108
+ message: string;
4109
+ data?: Record<string, any>;
4110
+ };
4111
+
4112
+ type RpcErrorResponseDto = {
4113
+ jsonrpc: string;
4114
+ id?: (string | number);
4115
+ error: RpcErrorDto;
4116
+ };
4117
+
4118
+ type RpcRequestBodyDto = {
4119
+ method: string;
4120
+ params?: Record<string, any>;
4121
+ id?: (string | number);
4122
+ jsonrpc?: string;
4123
+ };
4124
+
4125
+ type RpcSuccessResponseDto = {
4126
+ jsonrpc: string;
4127
+ id?: (string | number);
4128
+ result: Record<string, any>;
4129
+ };
4130
+
4131
+ declare class RpcService {
4132
+ readonly httpRequest: BaseHttpRequest;
4133
+ constructor(httpRequest: BaseHttpRequest);
4134
+ /**
4135
+ * Calls JSON-RPC method
4136
+ * Calls JSON-RPC method.
4137
+ * @returns any
4138
+ * @throws ApiError
4139
+ */
4140
+ rpc({ chainId, requestBody, }: {
4141
+ /**
4142
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
4143
+ */
4144
+ chainId: string;
4145
+ requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
4146
+ }): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
4147
+ }
4148
+
4249
4149
  type TeleporterDestinationTransaction = {
4250
4150
  txHash: string;
4251
4151
  timestamp: number;
@@ -4344,13 +4244,6 @@ declare namespace DeliveredTeleporterMessage {
4344
4244
  }
4345
4245
  }
4346
4246
 
4347
- type NextPageToken = {
4348
- /**
4349
- * 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.
4350
- */
4351
- nextPageToken?: string;
4352
- };
4353
-
4354
4247
  type PendingTeleporterMessage = {
4355
4248
  messageId: string;
4356
4249
  teleporterContractAddress: string;
@@ -4373,6 +4266,14 @@ declare namespace PendingTeleporterMessage {
4373
4266
  }
4374
4267
  }
4375
4268
 
4269
+ type ListTeleporterMessagesResponse = {
4270
+ /**
4271
+ * 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.
4272
+ */
4273
+ nextPageToken?: string;
4274
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
4275
+ };
4276
+
4376
4277
  declare class TeleporterService {
4377
4278
  readonly httpRequest: BaseHttpRequest;
4378
4279
  constructor(httpRequest: BaseHttpRequest);
@@ -4391,7 +4292,7 @@ declare class TeleporterService {
4391
4292
  /**
4392
4293
  * List teleporter messages
4393
4294
  * Lists teleporter messages. Ordered by timestamp in descending order.
4394
- * @returns any
4295
+ * @returns ListTeleporterMessagesResponse
4395
4296
  * @throws ApiError
4396
4297
  */
4397
4298
  listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, }: {
@@ -4419,7 +4320,206 @@ declare class TeleporterService {
4419
4320
  * The address of the sender of the teleporter message.
4420
4321
  */
4421
4322
  from?: string;
4422
- }): CancelablePromise<NextPageToken>;
4323
+ }): CancelablePromise<ListTeleporterMessagesResponse>;
4324
+ }
4325
+
4326
+ type AddressesChangeRequest = {
4327
+ /**
4328
+ * Ethereum address(es) for the address_activity event type
4329
+ */
4330
+ addresses: Array<any[]>;
4331
+ };
4332
+
4333
+ type AddressActivityMetadata = {
4334
+ /**
4335
+ * Ethereum address(es) for the address_activity event type
4336
+ */
4337
+ addresses: Array<any[]>;
4338
+ /**
4339
+ * Array of hexadecimal strings of the event signatures.
4340
+ */
4341
+ eventSignatures?: Array<string>;
4342
+ };
4343
+
4344
+ declare enum EventType {
4345
+ ADDRESS_ACTIVITY = "address_activity"
4346
+ }
4347
+
4348
+ declare enum WebhookStatusType {
4349
+ ACTIVE = "active",
4350
+ INACTIVE = "inactive"
4351
+ }
4352
+
4353
+ type WebhookResponse = {
4354
+ id: string;
4355
+ eventType: EventType;
4356
+ metadata: AddressActivityMetadata;
4357
+ /**
4358
+ * Whether to include traces in the webhook payload.
4359
+ */
4360
+ includeInternalTxs?: boolean;
4361
+ /**
4362
+ * Whether to include logs in the webhook payload.
4363
+ */
4364
+ includeLogs?: boolean;
4365
+ url: string;
4366
+ chainId: string;
4367
+ status: WebhookStatusType;
4368
+ createdAt: number;
4369
+ name: string;
4370
+ description: string;
4371
+ };
4372
+
4373
+ type ListWebhooksResponse = {
4374
+ /**
4375
+ * 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.
4376
+ */
4377
+ nextPageToken?: string;
4378
+ webhooks: Array<WebhookResponse>;
4379
+ };
4380
+
4381
+ type RegisterWebhookRequest = {
4382
+ url: string;
4383
+ chainId: string;
4384
+ eventType: EventType;
4385
+ metadata: AddressActivityMetadata;
4386
+ /**
4387
+ * Whether to include traces in the webhook payload.
4388
+ */
4389
+ includeInternalTxs?: boolean;
4390
+ /**
4391
+ * Whether to include logs in the webhook payload.
4392
+ */
4393
+ includeLogs?: boolean;
4394
+ };
4395
+
4396
+ type SharedSecretsResponse = {
4397
+ secret: string;
4398
+ };
4399
+
4400
+ type UpdateWebhookRequest = {
4401
+ name?: string;
4402
+ description?: string;
4403
+ url?: string;
4404
+ status?: WebhookStatusType;
4405
+ includeInternalTxs?: boolean;
4406
+ includeLogs?: boolean;
4407
+ };
4408
+
4409
+ declare enum WebhookStatus {
4410
+ ACTIVE = "active",
4411
+ INACTIVE = "inactive"
4412
+ }
4413
+
4414
+ declare class WebhooksService {
4415
+ readonly httpRequest: BaseHttpRequest;
4416
+ constructor(httpRequest: BaseHttpRequest);
4417
+ /**
4418
+ * Create a webhook
4419
+ * Create a new webhook.
4420
+ * @returns WebhookResponse
4421
+ * @throws ApiError
4422
+ */
4423
+ registerWebhook({ requestBody, }: {
4424
+ requestBody: RegisterWebhookRequest;
4425
+ }): CancelablePromise<WebhookResponse>;
4426
+ /**
4427
+ * List webhooks
4428
+ * Lists webhooks for the user.
4429
+ * @returns ListWebhooksResponse
4430
+ * @throws ApiError
4431
+ */
4432
+ listWebhooks({ pageToken, pageSize, status, }: {
4433
+ /**
4434
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4435
+ */
4436
+ pageToken?: string;
4437
+ /**
4438
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4439
+ */
4440
+ pageSize?: number;
4441
+ /**
4442
+ * 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.
4443
+ */
4444
+ status?: WebhookStatus;
4445
+ }): CancelablePromise<ListWebhooksResponse>;
4446
+ /**
4447
+ * Get a webhook by ID
4448
+ * Retrieves a webhook by ID.
4449
+ * @returns WebhookResponse
4450
+ * @throws ApiError
4451
+ */
4452
+ getWebhook({ id, }: {
4453
+ /**
4454
+ * The webhook identifier.
4455
+ */
4456
+ id: string;
4457
+ }): CancelablePromise<WebhookResponse>;
4458
+ /**
4459
+ * Deactivate a webhook
4460
+ * Deactivates a webhook by ID.
4461
+ * @returns WebhookResponse
4462
+ * @throws ApiError
4463
+ */
4464
+ deactivateWebhook({ id, }: {
4465
+ /**
4466
+ * The webhook identifier.
4467
+ */
4468
+ id: string;
4469
+ }): CancelablePromise<WebhookResponse>;
4470
+ /**
4471
+ * Update a webhook
4472
+ * Updates an existing webhook.
4473
+ * @returns WebhookResponse
4474
+ * @throws ApiError
4475
+ */
4476
+ updateWebhook({ id, requestBody, }: {
4477
+ /**
4478
+ * The webhook identifier.
4479
+ */
4480
+ id: string;
4481
+ requestBody: UpdateWebhookRequest;
4482
+ }): CancelablePromise<WebhookResponse>;
4483
+ /**
4484
+ * Generate a shared secret
4485
+ * Generates a new shared secret.
4486
+ * @returns SharedSecretsResponse
4487
+ * @throws ApiError
4488
+ */
4489
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4490
+ /**
4491
+ * Get a shared secret
4492
+ * Get a previously generated shared secret.
4493
+ * @returns SharedSecretsResponse
4494
+ * @throws ApiError
4495
+ */
4496
+ getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4497
+ /**
4498
+ * Add address(es) to a webhook
4499
+ * Adding address(es) to a given webhook.
4500
+ * @returns WebhookResponse
4501
+ * @throws ApiError
4502
+ */
4503
+ addAddressesToWebhook({ id, requestBody, }: {
4504
+ /**
4505
+ * The webhook identifier.
4506
+ */
4507
+ id: string;
4508
+ requestBody: AddressesChangeRequest;
4509
+ }): CancelablePromise<WebhookResponse>;
4510
+ /**
4511
+ * Remove address(es) from a webhook
4512
+ * Removing address(es) from a given webhook.
4513
+ * @returns WebhookResponse
4514
+ * @throws ApiError
4515
+ */
4516
+ removeAddressesFromWebhook({ id, requestBody, }: {
4517
+ /**
4518
+ * The webhook identifier.
4519
+ */
4520
+ id: string;
4521
+ requestBody: AddressesChangeRequest;
4522
+ }): CancelablePromise<WebhookResponse>;
4423
4523
  }
4424
4524
 
4425
4525
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
@@ -4440,7 +4540,9 @@ declare class Glacier {
4440
4540
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
4441
4541
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
4442
4542
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4543
+ readonly rpc: RpcService;
4443
4544
  readonly teleporter: TeleporterService;
4545
+ readonly webhooks: WebhooksService;
4444
4546
  readonly request: BaseHttpRequest;
4445
4547
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
4446
4548
  }
@@ -4462,4 +4564,11 @@ declare class ApiError extends Error {
4462
4564
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4463
4565
  }
4464
4566
 
4465
- 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, 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 };
4567
+ type NextPageToken = {
4568
+ /**
4569
+ * 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.
4570
+ */
4571
+ nextPageToken?: string;
4572
+ };
4573
+
4574
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, 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, ListTeleporterMessagesResponse, 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 };