@avalabs/glacier-sdk 2.8.0-canary.736c05a.0 → 2.8.0-canary.78b37c7.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 (124) hide show
  1. package/dist/index.d.ts +847 -443
  2. package/dist/index.js +390 -186
  3. package/esm/generated/Glacier.d.ts +6 -0
  4. package/esm/generated/Glacier.js +9 -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 -2
  9. package/esm/generated/models/AddressesChangeRequest.d.ts +8 -0
  10. package/esm/generated/models/{XChainAssetBalance.d.ts → AggregatedAssetAmount.d.ts} +5 -6
  11. package/esm/generated/models/{Asset.d.ts → AssetAmount.d.ts} +5 -6
  12. package/esm/generated/models/AssetWithPriceInfo.d.ts +32 -0
  13. package/esm/generated/models/CChainExportTransaction.d.ts +3 -3
  14. package/esm/generated/models/CChainImportTransaction.d.ts +3 -3
  15. package/esm/generated/models/CChainSharedAssetBalance.d.ts +3 -4
  16. package/esm/generated/models/ChainInfo.d.ts +1 -3
  17. package/esm/generated/models/ChainStatus.d.ts +3 -0
  18. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +2 -6
  19. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +2 -6
  20. package/esm/generated/models/CurrencyCode.d.ts +3 -0
  21. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +27 -0
  22. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.js +8 -0
  23. package/esm/generated/models/DeliveredTeleporterMessage.d.ts +29 -0
  24. package/esm/generated/models/DeliveredTeleporterMessage.js +8 -0
  25. package/esm/generated/models/EVMInput.d.ts +3 -3
  26. package/esm/generated/models/EVMOperationType.d.ts +5 -0
  27. package/esm/generated/models/EVMOperationType.js +6 -0
  28. package/esm/generated/models/EVMOutput.d.ts +3 -3
  29. package/esm/generated/models/Erc1155TokenMetadata.d.ts +0 -3
  30. package/esm/generated/models/Erc721TokenMetadata.d.ts +0 -3
  31. package/esm/generated/models/GetChainResponse.d.ts +1 -3
  32. package/esm/generated/models/GlacierApiFeature.d.ts +6 -0
  33. package/esm/generated/models/GlacierApiFeature.js +7 -0
  34. package/esm/generated/models/HistoricalReward.d.ts +2 -5
  35. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  36. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +12 -0
  37. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  38. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +2 -1
  39. package/esm/generated/models/Method.d.ts +0 -3
  40. package/esm/generated/models/Money.d.ts +0 -3
  41. package/esm/generated/models/NextPageToken.d.ts +8 -0
  42. package/esm/generated/models/NftTokenMetadataStatus.d.ts +3 -0
  43. package/esm/generated/models/OperationType.d.ts +4 -2
  44. package/esm/generated/models/OperationType.js +3 -1
  45. package/esm/generated/models/PChainBalance.d.ts +15 -15
  46. package/esm/generated/models/PChainSharedAsset.d.ts +4 -4
  47. package/esm/generated/models/PChainTransaction.d.ts +12 -7
  48. package/esm/generated/models/PChainTransactionType.d.ts +2 -0
  49. package/esm/generated/models/PChainTransactionType.js +2 -0
  50. package/esm/generated/models/PChainUtxo.d.ts +2 -2
  51. package/esm/generated/models/PendingReward.d.ts +3 -3
  52. package/esm/generated/models/PendingTeleporterMessage.d.ts +27 -0
  53. package/esm/generated/models/PendingTeleporterMessage.js +8 -0
  54. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +9 -0
  55. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  56. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +9 -0
  57. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  58. package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
  59. package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
  60. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  61. package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
  62. package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
  63. package/esm/generated/models/RegisterWebhookRequest.d.ts +8 -3
  64. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  65. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  66. package/esm/generated/models/RpcErrorDto.d.ts +7 -0
  67. package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
  68. package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
  69. package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
  70. package/esm/generated/models/Subnet.d.ts +17 -0
  71. package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
  72. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +9 -0
  73. package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
  74. package/esm/generated/models/TeleporterRewardDetails.d.ts +37 -0
  75. package/esm/generated/models/TeleporterRewardDetails.js +8 -0
  76. package/esm/generated/models/TeleporterSourceTransaction.d.ts +7 -0
  77. package/esm/generated/models/TransactionMethodType.d.ts +3 -0
  78. package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
  79. package/esm/generated/models/Utxo.d.ts +2 -2
  80. package/esm/generated/models/ValidationStatusType.d.ts +2 -1
  81. package/esm/generated/models/ValidationStatusType.js +1 -0
  82. package/esm/generated/models/WebhookResponse.d.ts +10 -0
  83. package/esm/generated/models/XChainAssetDetails.d.ts +5 -8
  84. package/esm/generated/models/XChainBalances.d.ts +3 -3
  85. package/esm/generated/models/XChainLinearTransaction.d.ts +4 -7
  86. package/esm/generated/models/XChainNonLinearTransaction.d.ts +4 -7
  87. package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -4
  88. package/esm/generated/models/XChainTransactionType.d.ts +3 -0
  89. package/esm/generated/services/DefaultService.d.ts +0 -53
  90. package/esm/generated/services/DefaultService.js +0 -42
  91. package/esm/generated/services/EvmBalancesService.d.ts +25 -25
  92. package/esm/generated/services/EvmBalancesService.js +8 -8
  93. package/esm/generated/services/EvmBlocksService.d.ts +7 -7
  94. package/esm/generated/services/EvmBlocksService.js +4 -4
  95. package/esm/generated/services/EvmChainsService.d.ts +7 -2
  96. package/esm/generated/services/EvmChainsService.js +4 -2
  97. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  98. package/esm/generated/services/EvmTransactionsService.d.ts +57 -57
  99. package/esm/generated/services/EvmTransactionsService.js +32 -32
  100. package/esm/generated/services/NfTsService.d.ts +8 -8
  101. package/esm/generated/services/NfTsService.js +4 -4
  102. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
  103. package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
  104. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +17 -12
  105. package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -6
  106. package/esm/generated/services/PrimaryNetworkService.d.ts +32 -32
  107. package/esm/generated/services/PrimaryNetworkService.js +10 -10
  108. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
  109. package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
  110. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
  111. package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
  112. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
  113. package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
  114. package/esm/generated/services/RpcService.d.ts +25 -0
  115. package/esm/generated/services/RpcService.js +24 -0
  116. package/esm/generated/services/TeleporterService.d.ts +57 -0
  117. package/esm/generated/services/TeleporterService.js +39 -0
  118. package/esm/generated/services/WebhooksService.d.ts +122 -0
  119. package/esm/generated/services/WebhooksService.js +108 -0
  120. package/esm/index.d.ts +28 -2
  121. package/esm/index.js +13 -2
  122. package/package.json +3 -3
  123. package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
  124. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
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,63 +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
-
74
- declare enum EventType {
75
- ADDRESS_ACTIVITY = "address_activity"
76
- }
77
-
78
- declare enum WebhookStatusType {
79
- ACTIVE = "active",
80
- INACTIVE = "inactive"
81
- }
82
-
83
- type WebhookResponse = {
84
- id: string;
85
- eventType: EventType;
86
- metadata: AddressActivityMetadata;
87
- url: string;
88
- chainId: string;
89
- status: WebhookStatusType;
90
- createdAt: number;
91
- };
92
-
93
- type ListWebhooksResponse = {
94
- /**
95
- * 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.
96
- */
97
- nextPageToken?: string;
98
- webhooks: Array<WebhookResponse>;
99
- };
100
-
101
- type RegisterWebhookRequest = {
102
- url: string;
103
- chainId: string;
104
- /**
105
- * The type of event for the webhook
106
- */
107
- eventType: EventType;
108
- metadata: AddressActivityMetadata;
109
- };
110
-
111
- type SharedSecretsResponse = {
112
- secret: string;
113
- };
114
-
115
- declare enum WebhookStatus {
116
- ACTIVE = "active",
117
- INACTIVE = "inactive"
118
- }
119
-
120
57
  declare class DefaultService {
121
58
  readonly httpRequest: BaseHttpRequest;
122
59
  constructor(httpRequest: BaseHttpRequest);
@@ -125,56 +62,11 @@ declare class DefaultService {
125
62
  * @throws ApiError
126
63
  */
127
64
  mediaControllerUploadImage(): CancelablePromise<any>;
128
- /**
129
- * Register a webhook
130
- * Registers a new webhook.
131
- * @returns WebhookResponse
132
- * @throws ApiError
133
- */
134
- registerWebhook({ requestBody, }: {
135
- requestBody: RegisterWebhookRequest;
136
- }): CancelablePromise<WebhookResponse>;
137
- /**
138
- * List webhooks
139
- * Lists webhooks for the user.
140
- * @returns ListWebhooksResponse
141
- * @throws ApiError
142
- */
143
- listWebhooks({ pageSize, pageToken, status, }: {
144
- /**
145
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
146
- */
147
- pageSize?: number;
148
- /**
149
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
150
- */
151
- pageToken?: string;
152
- /**
153
- * 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.
154
- */
155
- status?: WebhookStatus;
156
- }): CancelablePromise<ListWebhooksResponse>;
157
- /**
158
- * Deactivate a webhook
159
- * Deactivates a webhook by ID.
160
- * @returns WebhookResponse
161
- * @throws ApiError
162
- */
163
- deactivateWebhook({ id, }: {
164
- /**
165
- * The webhook identifier.
166
- */
167
- id: string;
168
- }): CancelablePromise<WebhookResponse>;
169
- /**
170
- * Generate a shared secret
171
- * Generates a new shared secret.
172
- * @returns SharedSecretsResponse
173
- * @throws ApiError
174
- */
175
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
176
65
  }
177
66
 
67
+ /**
68
+ * ISO 4217 currency code.
69
+ */
178
70
  declare enum CurrencyCode {
179
71
  USD = "usd",
180
72
  EUR = "eur",
@@ -193,9 +85,6 @@ declare enum CurrencyCode {
193
85
  }
194
86
 
195
87
  type Money = {
196
- /**
197
- * ISO 4217 currency code.
198
- */
199
88
  currencyCode: CurrencyCode;
200
89
  /**
201
90
  * Monetary value in base 10 decimals.
@@ -245,6 +134,9 @@ type GetNativeBalanceResponse = {
245
134
  nativeTokenBalance: NativeTokenBalance;
246
135
  };
247
136
 
137
+ /**
138
+ * The metadata indexing status of the nft.
139
+ */
248
140
  declare enum NftTokenMetadataStatus {
249
141
  UNKNOWN = "UNKNOWN",
250
142
  MISSING_TOKEN = "MISSING_TOKEN",
@@ -260,9 +152,6 @@ declare enum NftTokenMetadataStatus {
260
152
  }
261
153
 
262
154
  type Erc1155TokenMetadata = {
263
- /**
264
- * The metadata indexing status of the nft.
265
- */
266
155
  indexStatus: NftTokenMetadataStatus;
267
156
  metadataLastUpdatedTimestamp?: number;
268
157
  name?: string;
@@ -301,9 +190,6 @@ declare namespace Erc1155TokenBalance {
301
190
  }
302
191
 
303
192
  type Erc721TokenMetadata = {
304
- /**
305
- * The metadata indexing status of the nft.
306
- */
307
193
  indexStatus: NftTokenMetadataStatus;
308
194
  metadataLastUpdatedTimestamp?: number;
309
195
  name?: string;
@@ -450,7 +336,7 @@ declare class EvmBalancesService {
450
336
  */
451
337
  getNativeBalance({ chainId, address, blockNumber, currency, }: {
452
338
  /**
453
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
339
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
454
340
  */
455
341
  chainId: string;
456
342
  /**
@@ -476,9 +362,9 @@ declare class EvmBalancesService {
476
362
  * @returns ListErc20BalancesResponse
477
363
  * @throws ApiError
478
364
  */
479
- listErc20Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddresses, currency, }: {
365
+ listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
480
366
  /**
481
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
367
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
482
368
  */
483
369
  chainId: string;
484
370
  /**
@@ -489,14 +375,14 @@ declare class EvmBalancesService {
489
375
  * The block number, if not defined the block number will be the latest block.
490
376
  */
491
377
  blockNumber?: string;
492
- /**
493
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
494
- */
495
- pageSize?: number;
496
378
  /**
497
379
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
498
380
  */
499
381
  pageToken?: string;
382
+ /**
383
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
384
+ */
385
+ pageSize?: number;
500
386
  /**
501
387
  * A comma separated list of contract addresses to filter by.
502
388
  */
@@ -514,23 +400,23 @@ declare class EvmBalancesService {
514
400
  * @returns ListErc721BalancesResponse
515
401
  * @throws ApiError
516
402
  */
517
- listErc721Balances({ chainId, address, pageSize, pageToken, contractAddress, }: {
403
+ listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
518
404
  /**
519
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
405
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
520
406
  */
521
407
  chainId: string;
522
408
  /**
523
409
  * A wallet address.
524
410
  */
525
411
  address: string;
526
- /**
527
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
528
- */
529
- pageSize?: number;
530
412
  /**
531
413
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
532
414
  */
533
415
  pageToken?: string;
416
+ /**
417
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
418
+ */
419
+ pageSize?: number;
534
420
  /**
535
421
  * A contract addresses to filter by.
536
422
  */
@@ -546,9 +432,9 @@ declare class EvmBalancesService {
546
432
  * @returns ListErc1155BalancesResponse
547
433
  * @throws ApiError
548
434
  */
549
- listErc1155Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddress, }: {
435
+ listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
550
436
  /**
551
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
437
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
552
438
  */
553
439
  chainId: string;
554
440
  /**
@@ -559,14 +445,14 @@ declare class EvmBalancesService {
559
445
  * The block number, if not defined the block number will be the latest block.
560
446
  */
561
447
  blockNumber?: string;
562
- /**
563
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
564
- */
565
- pageSize?: number;
566
448
  /**
567
449
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
568
450
  */
569
451
  pageToken?: string;
452
+ /**
453
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
454
+ */
455
+ pageSize?: number;
570
456
  /**
571
457
  * A contract addresses to filter by.
572
458
  */
@@ -580,23 +466,23 @@ declare class EvmBalancesService {
580
466
  * @returns ListCollectibleBalancesResponse
581
467
  * @throws ApiError
582
468
  */
583
- listCollectibleBalances({ chainId, address, pageSize, pageToken, contractAddress, }: {
469
+ listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
584
470
  /**
585
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
471
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
586
472
  */
587
473
  chainId: string;
588
474
  /**
589
475
  * A wallet address.
590
476
  */
591
477
  address: string;
592
- /**
593
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
594
- */
595
- pageSize?: number;
596
478
  /**
597
479
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
598
480
  */
599
481
  pageToken?: string;
482
+ /**
483
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
484
+ */
485
+ pageSize?: number;
600
486
  /**
601
487
  * A contract addresses to filter by.
602
488
  */
@@ -709,19 +595,19 @@ declare class EvmBlocksService {
709
595
  * @returns ListEvmBlocksResponse
710
596
  * @throws ApiError
711
597
  */
712
- getLatestBlocks({ chainId, pageSize, pageToken, }: {
598
+ getLatestBlocks({ chainId, pageToken, pageSize, }: {
713
599
  /**
714
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
600
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
715
601
  */
716
602
  chainId: string;
717
- /**
718
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
719
- */
720
- pageSize?: number;
721
603
  /**
722
604
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
723
605
  */
724
606
  pageToken?: string;
607
+ /**
608
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
609
+ */
610
+ pageSize?: number;
725
611
  }): CancelablePromise<ListEvmBlocksResponse>;
726
612
  /**
727
613
  * Get block
@@ -731,7 +617,7 @@ declare class EvmBlocksService {
731
617
  */
732
618
  getBlock({ chainId, blockId, }: {
733
619
  /**
734
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
620
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
735
621
  */
736
622
  chainId: string;
737
623
  /**
@@ -741,6 +627,9 @@ declare class EvmBlocksService {
741
627
  }): CancelablePromise<GetEvmBlockResponse>;
742
628
  }
743
629
 
630
+ /**
631
+ * 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.
632
+ */
744
633
  declare enum ChainStatus {
745
634
  OK = "OK",
746
635
  UNAVAILABLE = "UNAVAILABLE"
@@ -778,9 +667,6 @@ declare enum VmName {
778
667
 
779
668
  type GetChainResponse = {
780
669
  chainId: string;
781
- /**
782
- * 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.
783
- */
784
670
  status: ChainStatus;
785
671
  chainName: string;
786
672
  description: string;
@@ -796,13 +682,16 @@ type GetChainResponse = {
796
682
  networkToken: NetworkToken;
797
683
  chainLogoUri?: string;
798
684
  private?: boolean;
685
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
799
686
  };
800
687
 
688
+ declare enum GlacierApiFeature {
689
+ NFT_INDEXING = "nftIndexing",
690
+ WEBHOOKS = "webhooks"
691
+ }
692
+
801
693
  type ChainInfo = {
802
694
  chainId: string;
803
- /**
804
- * 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.
805
- */
806
695
  status: ChainStatus;
807
696
  chainName: string;
808
697
  description: string;
@@ -818,6 +707,7 @@ type ChainInfo = {
818
707
  networkToken: NetworkToken;
819
708
  chainLogoUri?: string;
820
709
  private?: boolean;
710
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
821
711
  };
822
712
 
823
713
  type ListChainsResponse = {
@@ -838,11 +728,15 @@ declare class EvmChainsService {
838
728
  * @returns ListChainsResponse
839
729
  * @throws ApiError
840
730
  */
841
- supportedChains({ network, }: {
731
+ supportedChains({ network, feature, }: {
842
732
  /**
843
733
  * mainnet or testnet.
844
734
  */
845
735
  network?: NetworkType;
736
+ /**
737
+ * Filter by feature.
738
+ */
739
+ feature?: GlacierApiFeature;
846
740
  }): CancelablePromise<ListChainsResponse>;
847
741
  /**
848
742
  * Get chain information
@@ -852,7 +746,7 @@ declare class EvmChainsService {
852
746
  */
853
747
  getChainInfo({ chainId, }: {
854
748
  /**
855
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
749
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
856
750
  */
857
751
  chainId: string;
858
752
  }): CancelablePromise<GetChainResponse>;
@@ -1147,7 +1041,7 @@ declare class EvmContractsService {
1147
1041
  */
1148
1042
  getContractMetadata({ chainId, address, }: {
1149
1043
  /**
1150
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1044
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1151
1045
  */
1152
1046
  chainId: string;
1153
1047
  /**
@@ -1163,7 +1057,7 @@ declare class EvmContractsService {
1163
1057
  */
1164
1058
  updateContractInfo({ chainId, address, requestBody, }: {
1165
1059
  /**
1166
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1060
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1167
1061
  */
1168
1062
  chainId: string;
1169
1063
  /**
@@ -1297,6 +1191,9 @@ type Erc721TransferDetails = {
1297
1191
  erc721Token: Erc721Token;
1298
1192
  };
1299
1193
 
1194
+ /**
1195
+ * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
1196
+ */
1300
1197
  declare enum TransactionMethodType {
1301
1198
  NATIVE_TRANSFER = "NATIVE_TRANSFER",
1302
1199
  CONTRACT_CALL = "CONTRACT_CALL",
@@ -1304,9 +1201,6 @@ declare enum TransactionMethodType {
1304
1201
  }
1305
1202
 
1306
1203
  type Method = {
1307
- /**
1308
- * The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
1309
- */
1310
1204
  callType: TransactionMethodType;
1311
1205
  /**
1312
1206
  * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
@@ -1667,7 +1561,7 @@ type ListTransfersResponse = {
1667
1561
  * 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.
1668
1562
  */
1669
1563
  nextPageToken?: string;
1670
- transfers: (Array<Erc20Transfer> | Array<Erc721Transfer> | Array<Erc1155Transfer>);
1564
+ transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
1671
1565
  };
1672
1566
 
1673
1567
  declare enum SortOrder {
@@ -1691,7 +1585,7 @@ declare class EvmTransactionsService {
1691
1585
  */
1692
1586
  getDeploymentTransaction({ chainId, address, currency, }: {
1693
1587
  /**
1694
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1588
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1695
1589
  */
1696
1590
  chainId: string;
1697
1591
  /**
@@ -1709,23 +1603,23 @@ declare class EvmTransactionsService {
1709
1603
  * @returns ListContractsResponse
1710
1604
  * @throws ApiError
1711
1605
  */
1712
- listContractDeployments({ chainId, address, pageSize, pageToken, }: {
1606
+ listContractDeployments({ chainId, address, pageToken, pageSize, }: {
1713
1607
  /**
1714
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1608
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1715
1609
  */
1716
1610
  chainId: string;
1717
1611
  /**
1718
1612
  * A wallet address.
1719
1613
  */
1720
1614
  address: string;
1721
- /**
1722
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1723
- */
1724
- pageSize?: number;
1725
1615
  /**
1726
1616
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1727
1617
  */
1728
1618
  pageToken?: string;
1619
+ /**
1620
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1621
+ */
1622
+ pageSize?: number;
1729
1623
  }): CancelablePromise<ListContractsResponse>;
1730
1624
  /**
1731
1625
  * List ERC transfers
@@ -1733,9 +1627,9 @@ declare class EvmTransactionsService {
1733
1627
  * @returns ListTransfersResponse
1734
1628
  * @throws ApiError
1735
1629
  */
1736
- listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1630
+ listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1737
1631
  /**
1738
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1632
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1739
1633
  */
1740
1634
  chainId: string;
1741
1635
  /**
@@ -1750,14 +1644,14 @@ declare class EvmTransactionsService {
1750
1644
  * 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
1645
  */
1752
1646
  endBlock?: number;
1753
- /**
1754
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1755
- */
1756
- pageSize?: number;
1757
1647
  /**
1758
1648
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1759
1649
  */
1760
1650
  pageToken?: string;
1651
+ /**
1652
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1653
+ */
1654
+ pageSize?: number;
1761
1655
  }): CancelablePromise<ListTransfersResponse>;
1762
1656
  /**
1763
1657
  * List transactions
@@ -1767,23 +1661,23 @@ declare class EvmTransactionsService {
1767
1661
  * @returns ListTransactionDetailsResponse
1768
1662
  * @throws ApiError
1769
1663
  */
1770
- listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
1664
+ listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
1771
1665
  /**
1772
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1666
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1773
1667
  */
1774
1668
  chainId: string;
1775
1669
  /**
1776
1670
  * A wallet address.
1777
1671
  */
1778
1672
  address: string;
1779
- /**
1780
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1781
- */
1782
- pageSize?: number;
1783
1673
  /**
1784
1674
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1785
1675
  */
1786
1676
  pageToken?: string;
1677
+ /**
1678
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1679
+ */
1680
+ pageSize?: number;
1787
1681
  /**
1788
1682
  * 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.
1789
1683
  */
@@ -1803,9 +1697,9 @@ declare class EvmTransactionsService {
1803
1697
  * @returns ListNativeTransactionsResponse
1804
1698
  * @throws ApiError
1805
1699
  */
1806
- listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1700
+ listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1807
1701
  /**
1808
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1702
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1809
1703
  */
1810
1704
  chainId: string;
1811
1705
  /**
@@ -1820,14 +1714,14 @@ declare class EvmTransactionsService {
1820
1714
  * 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.
1821
1715
  */
1822
1716
  endBlock?: number;
1823
- /**
1824
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1825
- */
1826
- pageSize?: number;
1827
1717
  /**
1828
1718
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1829
1719
  */
1830
1720
  pageToken?: string;
1721
+ /**
1722
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1723
+ */
1724
+ pageSize?: number;
1831
1725
  }): CancelablePromise<ListNativeTransactionsResponse>;
1832
1726
  /**
1833
1727
  * List ERC-20 transfers
@@ -1835,9 +1729,9 @@ declare class EvmTransactionsService {
1835
1729
  * @returns ListErc20TransactionsResponse
1836
1730
  * @throws ApiError
1837
1731
  */
1838
- listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1732
+ listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1839
1733
  /**
1840
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1734
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1841
1735
  */
1842
1736
  chainId: string;
1843
1737
  /**
@@ -1852,14 +1746,14 @@ declare class EvmTransactionsService {
1852
1746
  * 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.
1853
1747
  */
1854
1748
  endBlock?: number;
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
1749
  /**
1860
1750
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1861
1751
  */
1862
1752
  pageToken?: string;
1753
+ /**
1754
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1755
+ */
1756
+ pageSize?: number;
1863
1757
  }): CancelablePromise<ListErc20TransactionsResponse>;
1864
1758
  /**
1865
1759
  * List ERC-721 transfers
@@ -1867,9 +1761,9 @@ declare class EvmTransactionsService {
1867
1761
  * @returns ListErc721TransactionsResponse
1868
1762
  * @throws ApiError
1869
1763
  */
1870
- listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1764
+ listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1871
1765
  /**
1872
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1766
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1873
1767
  */
1874
1768
  chainId: string;
1875
1769
  /**
@@ -1884,14 +1778,14 @@ declare class EvmTransactionsService {
1884
1778
  * 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.
1885
1779
  */
1886
1780
  endBlock?: number;
1887
- /**
1888
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1889
- */
1890
- pageSize?: number;
1891
1781
  /**
1892
1782
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1893
1783
  */
1894
1784
  pageToken?: string;
1785
+ /**
1786
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1787
+ */
1788
+ pageSize?: number;
1895
1789
  }): CancelablePromise<ListErc721TransactionsResponse>;
1896
1790
  /**
1897
1791
  * List ERC-1155 transfers
@@ -1899,9 +1793,9 @@ declare class EvmTransactionsService {
1899
1793
  * @returns ListErc1155TransactionsResponse
1900
1794
  * @throws ApiError
1901
1795
  */
1902
- listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1796
+ listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1903
1797
  /**
1904
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1798
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1905
1799
  */
1906
1800
  chainId: string;
1907
1801
  /**
@@ -1916,14 +1810,14 @@ declare class EvmTransactionsService {
1916
1810
  * 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.
1917
1811
  */
1918
1812
  endBlock?: number;
1919
- /**
1920
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1921
- */
1922
- pageSize?: number;
1923
1813
  /**
1924
1814
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1925
1815
  */
1926
1816
  pageToken?: string;
1817
+ /**
1818
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1819
+ */
1820
+ pageSize?: number;
1927
1821
  }): CancelablePromise<ListErc1155TransactionsResponse>;
1928
1822
  /**
1929
1823
  * List internal transactions
@@ -1933,9 +1827,9 @@ declare class EvmTransactionsService {
1933
1827
  * @returns ListInternalTransactionsResponse
1934
1828
  * @throws ApiError
1935
1829
  */
1936
- listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1830
+ listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1937
1831
  /**
1938
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1832
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1939
1833
  */
1940
1834
  chainId: string;
1941
1835
  /**
@@ -1950,14 +1844,14 @@ declare class EvmTransactionsService {
1950
1844
  * 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.
1951
1845
  */
1952
1846
  endBlock?: number;
1953
- /**
1954
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1955
- */
1956
- pageSize?: number;
1957
1847
  /**
1958
1848
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1959
1849
  */
1960
1850
  pageToken?: string;
1851
+ /**
1852
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1853
+ */
1854
+ pageSize?: number;
1961
1855
  }): CancelablePromise<ListInternalTransactionsResponse>;
1962
1856
  /**
1963
1857
  * Get transaction
@@ -1967,7 +1861,7 @@ declare class EvmTransactionsService {
1967
1861
  */
1968
1862
  getTransaction({ chainId, txHash, }: {
1969
1863
  /**
1970
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1864
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1971
1865
  */
1972
1866
  chainId: string;
1973
1867
  /**
@@ -1983,7 +1877,7 @@ declare class EvmTransactionsService {
1983
1877
  */
1984
1878
  getTransactionsForBlock({ chainId, blockId, }: {
1985
1879
  /**
1986
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1880
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1987
1881
  */
1988
1882
  chainId: string;
1989
1883
  /**
@@ -1997,19 +1891,19 @@ declare class EvmTransactionsService {
1997
1891
  * @returns ListNativeTransactionsResponse
1998
1892
  * @throws ApiError
1999
1893
  */
2000
- listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
1894
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
2001
1895
  /**
2002
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1896
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2003
1897
  */
2004
1898
  chainId: string;
2005
- /**
2006
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2007
- */
2008
- pageSize?: number;
2009
1899
  /**
2010
1900
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2011
1901
  */
2012
1902
  pageToken?: string;
1903
+ /**
1904
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1905
+ */
1906
+ pageSize?: number;
2013
1907
  /**
2014
1908
  * A status filter for listed transactions.
2015
1909
  */
@@ -2038,7 +1932,7 @@ type ListNftTokens = {
2038
1932
  * 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.
2039
1933
  */
2040
1934
  nextPageToken?: string;
2041
- tokens: (Array<Erc721Token> | Array<Erc1155Token>);
1935
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2042
1936
  };
2043
1937
 
2044
1938
  declare class NfTsService {
@@ -2052,7 +1946,7 @@ declare class NfTsService {
2052
1946
  */
2053
1947
  reindexNft({ chainId, address, tokenId, }: {
2054
1948
  /**
2055
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1949
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2056
1950
  */
2057
1951
  chainId: string;
2058
1952
  /**
@@ -2070,23 +1964,23 @@ declare class NfTsService {
2070
1964
  * @returns ListNftTokens
2071
1965
  * @throws ApiError
2072
1966
  */
2073
- listTokens({ chainId, address, pageSize, pageToken, }: {
1967
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2074
1968
  /**
2075
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1969
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2076
1970
  */
2077
1971
  chainId: string;
2078
1972
  /**
2079
1973
  * Contract address on the relevant chain.
2080
1974
  */
2081
1975
  address: string;
2082
- /**
2083
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2084
- */
2085
- pageSize?: number;
2086
1976
  /**
2087
1977
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2088
1978
  */
2089
1979
  pageToken?: string;
1980
+ /**
1981
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1982
+ */
1983
+ pageSize?: number;
2090
1984
  }): CancelablePromise<ListNftTokens>;
2091
1985
  /**
2092
1986
  * Get token details
@@ -2096,7 +1990,7 @@ declare class NfTsService {
2096
1990
  */
2097
1991
  getTokenDetails({ chainId, address, tokenId, }: {
2098
1992
  /**
2099
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1993
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2100
1994
  */
2101
1995
  chainId: string;
2102
1996
  /**
@@ -2115,8 +2009,12 @@ type EvmNetworkOptions = {
2115
2009
  includeChains: Array<string>;
2116
2010
  };
2117
2011
 
2012
+ declare enum EVMOperationType {
2013
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2014
+ }
2015
+
2118
2016
  type CreateEvmTransactionExportRequest = {
2119
- type: CreateEvmTransactionExportRequest.type;
2017
+ type: EVMOperationType;
2120
2018
  firstDate: string;
2121
2019
  lastDate: string;
2122
2020
  /**
@@ -2129,20 +2027,21 @@ type CreateEvmTransactionExportRequest = {
2129
2027
  endDate: string;
2130
2028
  options: EvmNetworkOptions;
2131
2029
  };
2132
- declare namespace CreateEvmTransactionExportRequest {
2133
- enum type {
2134
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2135
- }
2030
+
2031
+ declare enum PrimaryNetworkOperationType {
2032
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2033
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2034
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"
2136
2035
  }
2137
2036
 
2138
2037
  type PrimaryNetworkOptions = {
2139
- addresses: Array<string>;
2038
+ addresses?: Array<string>;
2140
2039
  cChainEvmAddresses?: Array<string>;
2141
2040
  includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2142
2041
  };
2143
2042
 
2144
2043
  type CreatePrimaryNetworkTransactionExportRequest = {
2145
- type: CreatePrimaryNetworkTransactionExportRequest.type;
2044
+ type: PrimaryNetworkOperationType;
2146
2045
  firstDate: string;
2147
2046
  lastDate: string;
2148
2047
  /**
@@ -2155,11 +2054,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
2155
2054
  endDate: string;
2156
2055
  options: PrimaryNetworkOptions;
2157
2056
  };
2158
- declare namespace CreatePrimaryNetworkTransactionExportRequest {
2159
- enum type {
2160
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2161
- }
2162
- }
2163
2057
 
2164
2058
  declare enum OperationStatus {
2165
2059
  RUNNING = "RUNNING",
@@ -2169,8 +2063,10 @@ declare enum OperationStatus {
2169
2063
  }
2170
2064
 
2171
2065
  declare enum OperationType {
2172
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM",
2173
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2066
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2067
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2068
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",
2069
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2174
2070
  }
2175
2071
 
2176
2072
  declare enum OperationStatusCode {
@@ -2362,13 +2258,44 @@ type BlockchainInfo = {
2362
2258
  blockchainId: string;
2363
2259
  };
2364
2260
 
2261
+ type SubnetOwnershipInfo = {
2262
+ /**
2263
+ * Locktime in seconds after which Subnet owners can control this Subnet.
2264
+ */
2265
+ locktime: number;
2266
+ /**
2267
+ * Minimum number of signatures required to sign the Subnet update transactions.
2268
+ */
2269
+ threshold: number;
2270
+ /**
2271
+ * Addresses that are eligible to sign the Subnet update transactions.
2272
+ */
2273
+ addresses: Array<string>;
2274
+ };
2275
+
2365
2276
  type Subnet = {
2366
2277
  createBlockTimestamp: number;
2367
2278
  createBlockIndex: string;
2368
2279
  subnetId: string;
2369
- ownerAddresses: Array<string>;
2370
- threshold: number;
2280
+ /**
2281
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2282
+ * @deprecated
2283
+ */
2284
+ ownerAddresses: Array<string>;
2285
+ /**
2286
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2287
+ * @deprecated
2288
+ */
2289
+ threshold: number;
2290
+ /**
2291
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2292
+ * @deprecated
2293
+ */
2371
2294
  locktime: number;
2295
+ /**
2296
+ * Latest subnet owner details for this Subnet.
2297
+ */
2298
+ subnetOwnershipInfo: SubnetOwnershipInfo;
2372
2299
  blockchains: Array<BlockchainInfo>;
2373
2300
  };
2374
2301
 
@@ -2464,6 +2391,24 @@ declare namespace PendingValidatorDetails {
2464
2391
  }
2465
2392
  }
2466
2393
 
2394
+ type RemovedValidatorDetails = {
2395
+ txHash: string;
2396
+ nodeId: string;
2397
+ subnetId: string;
2398
+ amountStaked: string;
2399
+ delegationFee?: string;
2400
+ startTimestamp: number;
2401
+ endTimestamp: number;
2402
+ removeTxHash: string;
2403
+ removeTimestamp: number;
2404
+ validationStatus: RemovedValidatorDetails.validationStatus;
2405
+ };
2406
+ declare namespace RemovedValidatorDetails {
2407
+ enum validationStatus {
2408
+ REMOVED = "removed"
2409
+ }
2410
+ }
2411
+
2467
2412
  type ListValidatorDetailsResponse = {
2468
2413
  /**
2469
2414
  * 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.
@@ -2472,7 +2417,7 @@ type ListValidatorDetailsResponse = {
2472
2417
  /**
2473
2418
  * The list of validator Details.
2474
2419
  */
2475
- validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails)>;
2420
+ validators: Array<(CompletedValidatorDetails | ActiveValidatorDetails | PendingValidatorDetails | RemovedValidatorDetails)>;
2476
2421
  };
2477
2422
 
2478
2423
  declare enum Network {
@@ -2483,7 +2428,24 @@ declare enum Network {
2483
2428
  declare enum ValidationStatusType {
2484
2429
  COMPLETED = "completed",
2485
2430
  ACTIVE = "active",
2486
- PENDING = "pending"
2431
+ PENDING = "pending",
2432
+ REMOVED = "removed"
2433
+ }
2434
+
2435
+ /**
2436
+ * Cap represents if an asset is a variable or fixed cap asset.
2437
+ */
2438
+ declare enum PrimaryNetworkAssetCap {
2439
+ FIXED = "fixed",
2440
+ VARIABLE = "variable"
2441
+ }
2442
+
2443
+ /**
2444
+ * Type of asset like SECP256K1 or NFT.
2445
+ */
2446
+ declare enum PrimaryNetworkAssetType {
2447
+ SECP256K1 = "secp256k1",
2448
+ NFT = "nft"
2487
2449
  }
2488
2450
 
2489
2451
  type XChainAssetDetails = {
@@ -2503,18 +2465,12 @@ type XChainAssetDetails = {
2503
2465
  * Denomination of this asset to represent fungibility.
2504
2466
  */
2505
2467
  denomination: number;
2506
- /**
2507
- * Type of asset like SECP256K1 or NFT.
2508
- */
2509
- type: string;
2468
+ type: PrimaryNetworkAssetType;
2510
2469
  /**
2511
2470
  * Timestamp in seconds this asset was created on.
2512
2471
  */
2513
2472
  createdAtTimestamp: number;
2514
- /**
2515
- * Cap represents if an asset can be or is fixed cap.
2516
- */
2517
- cap: string;
2473
+ cap: PrimaryNetworkAssetCap;
2518
2474
  };
2519
2475
 
2520
2476
  declare enum XChainId {
@@ -2580,19 +2536,19 @@ declare class PrimaryNetworkService {
2580
2536
  * @returns ListBlockchainsResponse
2581
2537
  * @throws ApiError
2582
2538
  */
2583
- listBlockchains({ network, pageSize, pageToken, sortOrder, }: {
2539
+ listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2584
2540
  /**
2585
2541
  * Either mainnet or a testnet.
2586
2542
  */
2587
2543
  network: Network;
2588
- /**
2589
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2590
- */
2591
- pageSize?: number;
2592
2544
  /**
2593
2545
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2594
2546
  */
2595
2547
  pageToken?: string;
2548
+ /**
2549
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2550
+ */
2551
+ pageSize?: number;
2596
2552
  /**
2597
2553
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2598
2554
  */
@@ -2604,19 +2560,19 @@ declare class PrimaryNetworkService {
2604
2560
  * @returns ListSubnetsResponse
2605
2561
  * @throws ApiError
2606
2562
  */
2607
- listSubnets({ network, pageSize, pageToken, sortOrder, }: {
2563
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2608
2564
  /**
2609
2565
  * Either mainnet or a testnet.
2610
2566
  */
2611
2567
  network: Network;
2612
- /**
2613
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2614
- */
2615
- pageSize?: number;
2616
2568
  /**
2617
2569
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2618
2570
  */
2619
2571
  pageToken?: string;
2572
+ /**
2573
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2574
+ */
2575
+ pageSize?: number;
2620
2576
  /**
2621
2577
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2622
2578
  */
@@ -2628,19 +2584,19 @@ declare class PrimaryNetworkService {
2628
2584
  * @returns ListValidatorDetailsResponse
2629
2585
  * @throws ApiError
2630
2586
  */
2631
- listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2587
+ listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2632
2588
  /**
2633
2589
  * Either mainnet or a testnet.
2634
2590
  */
2635
2591
  network: Network;
2636
- /**
2637
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2638
- */
2639
- pageSize?: number;
2640
2592
  /**
2641
2593
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2642
2594
  */
2643
2595
  pageToken?: string;
2596
+ /**
2597
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2598
+ */
2599
+ pageSize?: number;
2644
2600
  /**
2645
2601
  * A comma separated list of node ids to filter by.
2646
2602
  */
@@ -2656,31 +2612,31 @@ declare class PrimaryNetworkService {
2656
2612
  /**
2657
2613
  * The minimum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000
2658
2614
  */
2659
- minDelegationCapacity?: any;
2615
+ minDelegationCapacity?: string;
2660
2616
  /**
2661
2617
  * The maximum delegation capacity, in nAVAX, used to filter the set of nodes being returned. Accepts values between 0 and 720,000,000,000,000,000.
2662
2618
  */
2663
- maxDelegationCapacity?: any;
2619
+ maxDelegationCapacity?: string;
2664
2620
  /**
2665
2621
  * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2666
2622
  */
2667
- minTimeRemaining?: any;
2623
+ minTimeRemaining?: number;
2668
2624
  /**
2669
2625
  * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2670
2626
  */
2671
- maxTimeRemaining?: any;
2627
+ maxTimeRemaining?: number;
2672
2628
  /**
2673
2629
  * The minimum fee percentage, used to filter the set of nodes being returned.If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 2, as per the Avalanche spec.
2674
2630
  */
2675
- minFeePercentage?: any;
2631
+ minFeePercentage?: number;
2676
2632
  /**
2677
2633
  * The maximum fee percentage, used to filter the set of nodes being returned. If this field is populated no subnet validations will be returned, as their fee percentage is null, since subnet delegations are not supported. Default is 100.
2678
2634
  */
2679
- maxFeePercentage?: any;
2635
+ maxFeePercentage?: number;
2680
2636
  /**
2681
2637
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2682
2638
  */
2683
- subnetId?: string;
2639
+ subnetId?: any;
2684
2640
  }): CancelablePromise<ListValidatorDetailsResponse>;
2685
2641
  /**
2686
2642
  * Get single validator details
@@ -2688,7 +2644,7 @@ declare class PrimaryNetworkService {
2688
2644
  * @returns ListValidatorDetailsResponse
2689
2645
  * @throws ApiError
2690
2646
  */
2691
- getSingleValidatorDetails({ network, nodeId, pageSize, pageToken, sortOrder, validationStatus, }: {
2647
+ getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
2692
2648
  /**
2693
2649
  * Either mainnet or a testnet.
2694
2650
  */
@@ -2697,14 +2653,14 @@ declare class PrimaryNetworkService {
2697
2653
  * A primary network (P or X chain) nodeId.
2698
2654
  */
2699
2655
  nodeId: string;
2700
- /**
2701
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2702
- */
2703
- pageSize?: number;
2704
2656
  /**
2705
2657
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2706
2658
  */
2707
2659
  pageToken?: string;
2660
+ /**
2661
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2662
+ */
2663
+ pageSize?: number;
2708
2664
  /**
2709
2665
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
2710
2666
  */
@@ -2720,19 +2676,19 @@ declare class PrimaryNetworkService {
2720
2676
  * @returns ListDelegatorDetailsResponse
2721
2677
  * @throws ApiError
2722
2678
  */
2723
- listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2679
+ listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2724
2680
  /**
2725
2681
  * Either mainnet or a testnet.
2726
2682
  */
2727
2683
  network: Network;
2728
- /**
2729
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2730
- */
2731
- pageSize?: number;
2732
2684
  /**
2733
2685
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2734
2686
  */
2735
2687
  pageToken?: string;
2688
+ /**
2689
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2690
+ */
2691
+ pageSize?: number;
2736
2692
  /**
2737
2693
  * A comma separated list of reward addresses to filter by.
2738
2694
  */
@@ -2780,10 +2736,7 @@ type CChainSharedAssetBalance = {
2780
2736
  * Denomination of this asset to represent fungibility.
2781
2737
  */
2782
2738
  denomination: number;
2783
- /**
2784
- * Type of asset like SECP256K1 or NFT.
2785
- */
2786
- type: string;
2739
+ type: PrimaryNetworkAssetType;
2787
2740
  /**
2788
2741
  * Amount of the asset.
2789
2742
  */
@@ -2818,7 +2771,7 @@ type ListCChainAtomicBalancesResponse = {
2818
2771
  chainInfo: PrimaryNetworkChainInfo;
2819
2772
  };
2820
2773
 
2821
- type Asset = {
2774
+ type AggregatedAssetAmount = {
2822
2775
  /**
2823
2776
  * Unique ID for an asset.
2824
2777
  */
@@ -2835,14 +2788,12 @@ type Asset = {
2835
2788
  * Denomination of this asset to represent fungibility.
2836
2789
  */
2837
2790
  denomination: number;
2838
- /**
2839
- * Type of asset like SECP256K1 or NFT.
2840
- */
2841
- type: string;
2791
+ type: PrimaryNetworkAssetType;
2842
2792
  /**
2843
2793
  * Amount of the asset.
2844
2794
  */
2845
2795
  amount: string;
2796
+ utxoCount: number;
2846
2797
  };
2847
2798
 
2848
2799
  type PChainSharedAsset = {
@@ -2862,49 +2813,47 @@ type PChainSharedAsset = {
2862
2813
  * Denomination of this asset to represent fungibility.
2863
2814
  */
2864
2815
  denomination: number;
2865
- /**
2866
- * Type of asset like SECP256K1 or NFT.
2867
- */
2868
- type: string;
2816
+ type: PrimaryNetworkAssetType;
2869
2817
  /**
2870
2818
  * Amount of the asset.
2871
2819
  */
2872
2820
  amount: string;
2821
+ utxoCount: number;
2873
2822
  sharedWithChainId: string;
2874
2823
  status: string;
2875
2824
  };
2876
2825
 
2877
2826
  type PChainBalance = {
2878
2827
  /**
2879
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is consumable by any transaction.
2828
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is consumable by any transaction.
2880
2829
  */
2881
- unlockedUnstaked: Array<Asset>;
2830
+ unlockedUnstaked: Array<AggregatedAssetAmount>;
2882
2831
  /**
2883
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax that is consumable by any transaction when the staking period ends.
2832
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax that is consumable by any transaction when the staking period ends.
2884
2833
  */
2885
- unlockedStaked: Array<Asset>;
2834
+ unlockedStaked: Array<AggregatedAssetAmount>;
2886
2835
  /**
2887
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and not consumable by any transaction at the current time.
2836
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and not consumable by any transaction at the current time.
2888
2837
  */
2889
- lockedPlatform: Array<Asset>;
2838
+ lockedPlatform: Array<AggregatedAssetAmount>;
2890
2839
  /**
2891
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and only consumeable for staking transactions.
2840
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of unstaked Avax that is locked at the platform level and only consumeable for staking transactions.
2892
2841
  */
2893
- lockedStakeable: Array<Asset>;
2842
+ lockedStakeable: Array<AggregatedAssetAmount>;
2894
2843
  /**
2895
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax that will be locked when the staking period ends.
2844
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax that will be locked when the staking period ends.
2896
2845
  */
2897
- lockedStaked: Array<Asset>;
2846
+ lockedStaked: Array<AggregatedAssetAmount>;
2898
2847
  /**
2899
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax whose staking period has not yet started.
2848
+ * A list of objects containing P-chain Asset basic info, amount, and utxo count of that Asset ID. Denotes the amount of staked Avax whose staking period has not yet started.
2900
2849
  */
2901
- pendingStaked: Array<Asset>;
2850
+ pendingStaked: Array<AggregatedAssetAmount>;
2902
2851
  /**
2903
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.
2852
+ * A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.
2904
2853
  */
2905
2854
  atomicMemoryUnlocked: Array<PChainSharedAsset>;
2906
2855
  /**
2907
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of locked Avax in the atomic memory between P-Chain and other chain.
2856
+ * A list of objects containing P-chain Asset basic info, amount and utxo count of that Asset ID. Denotes the amount of locked Avax in the atomic memory between P-Chain and other chain.
2908
2857
  */
2909
2858
  atomicMemoryLocked: Array<PChainSharedAsset>;
2910
2859
  };
@@ -2914,34 +2863,6 @@ type ListPChainBalancesResponse = {
2914
2863
  chainInfo: PrimaryNetworkChainInfo;
2915
2864
  };
2916
2865
 
2917
- type XChainAssetBalance = {
2918
- /**
2919
- * Unique ID for an asset.
2920
- */
2921
- assetId: string;
2922
- /**
2923
- * Name of this asset.
2924
- */
2925
- name: string;
2926
- /**
2927
- * Symbol for this asset (max 4 characters).
2928
- */
2929
- symbol: string;
2930
- /**
2931
- * Denomination of this asset to represent fungibility.
2932
- */
2933
- denomination: number;
2934
- /**
2935
- * Type of asset like SECP256K1 or NFT.
2936
- */
2937
- type: string;
2938
- /**
2939
- * Amount of the asset.
2940
- */
2941
- amount: string;
2942
- utxoCount: number;
2943
- };
2944
-
2945
2866
  type XChainSharedAssetBalance = {
2946
2867
  /**
2947
2868
  * Unique ID for an asset.
@@ -2959,10 +2880,7 @@ type XChainSharedAssetBalance = {
2959
2880
  * Denomination of this asset to represent fungibility.
2960
2881
  */
2961
2882
  denomination: number;
2962
- /**
2963
- * Type of asset like SECP256K1 or NFT.
2964
- */
2965
- type: string;
2883
+ type: PrimaryNetworkAssetType;
2966
2884
  /**
2967
2885
  * Amount of the asset.
2968
2886
  */
@@ -2975,11 +2893,11 @@ type XChainBalances = {
2975
2893
  /**
2976
2894
  * A list of objects containing X-chain Asset balance information.
2977
2895
  */
2978
- locked: Array<XChainAssetBalance>;
2896
+ locked: Array<AggregatedAssetAmount>;
2979
2897
  /**
2980
2898
  * A list of objects containing X-chain Asset balance information.
2981
2899
  */
2982
- unlocked: Array<XChainAssetBalance>;
2900
+ unlocked: Array<AggregatedAssetAmount>;
2983
2901
  atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
2984
2902
  atomicMemoryLocked: Array<XChainSharedAssetBalance>;
2985
2903
  };
@@ -3092,7 +3010,7 @@ declare class PrimaryNetworkBlocksService {
3092
3010
  * @returns ListPrimaryNetworkBlocksResponse
3093
3011
  * @throws ApiError
3094
3012
  */
3095
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageSize, pageToken, }: {
3013
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
3096
3014
  /**
3097
3015
  * A primary network blockchain id or alias.
3098
3016
  */
@@ -3105,14 +3023,14 @@ declare class PrimaryNetworkBlocksService {
3105
3023
  * A primary network (P or X chain) nodeId.
3106
3024
  */
3107
3025
  nodeId: string;
3108
- /**
3109
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3110
- */
3111
- pageSize?: number;
3112
3026
  /**
3113
3027
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3114
3028
  */
3115
3029
  pageToken?: string;
3030
+ /**
3031
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3032
+ */
3033
+ pageSize?: number;
3116
3034
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3117
3035
  /**
3118
3036
  * List latest blocks
@@ -3120,7 +3038,7 @@ declare class PrimaryNetworkBlocksService {
3120
3038
  * @returns ListPrimaryNetworkBlocksResponse
3121
3039
  * @throws ApiError
3122
3040
  */
3123
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageSize, pageToken, }: {
3041
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
3124
3042
  /**
3125
3043
  * A primary network blockchain id or alias.
3126
3044
  */
@@ -3129,17 +3047,45 @@ declare class PrimaryNetworkBlocksService {
3129
3047
  * Either mainnet or a testnet.
3130
3048
  */
3131
3049
  network: Network;
3132
- /**
3133
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3134
- */
3135
- pageSize?: number;
3136
3050
  /**
3137
3051
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3138
3052
  */
3139
3053
  pageToken?: string;
3054
+ /**
3055
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3056
+ */
3057
+ pageSize?: number;
3140
3058
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3141
3059
  }
3142
3060
 
3061
+ type AssetWithPriceInfo = {
3062
+ /**
3063
+ * Unique ID for an asset.
3064
+ */
3065
+ assetId: string;
3066
+ /**
3067
+ * Name of this asset.
3068
+ */
3069
+ name: string;
3070
+ /**
3071
+ * Symbol for this asset (max 4 characters).
3072
+ */
3073
+ symbol: string;
3074
+ /**
3075
+ * Denomination of this asset to represent fungibility.
3076
+ */
3077
+ denomination: number;
3078
+ type: PrimaryNetworkAssetType;
3079
+ /**
3080
+ * Amount of the asset.
3081
+ */
3082
+ amount: string;
3083
+ /**
3084
+ * The historical asset price at the time the reward was granted, if available. Note, this is only provided if the reward occured more than 24 hours ago.
3085
+ */
3086
+ historicalPrice?: Money;
3087
+ };
3088
+
3143
3089
  declare enum RewardType {
3144
3090
  VALIDATOR = "VALIDATOR",
3145
3091
  DELEGATOR = "DELEGATOR",
@@ -3159,10 +3105,7 @@ type HistoricalReward = {
3159
3105
  rewardType: RewardType;
3160
3106
  utxoId: string;
3161
3107
  outputIndex: number;
3162
- /**
3163
- * An object containing P-chain Asset ID and the amount of that Asset ID.
3164
- */
3165
- reward: Asset;
3108
+ reward: AssetWithPriceInfo;
3166
3109
  rewardTxHash: string;
3167
3110
  };
3168
3111
 
@@ -3174,6 +3117,30 @@ type ListHistoricalRewardsResponse = {
3174
3117
  historicalRewards: Array<HistoricalReward>;
3175
3118
  };
3176
3119
 
3120
+ type AssetAmount = {
3121
+ /**
3122
+ * Unique ID for an asset.
3123
+ */
3124
+ assetId: string;
3125
+ /**
3126
+ * Name of this asset.
3127
+ */
3128
+ name: string;
3129
+ /**
3130
+ * Symbol for this asset (max 4 characters).
3131
+ */
3132
+ symbol: string;
3133
+ /**
3134
+ * Denomination of this asset to represent fungibility.
3135
+ */
3136
+ denomination: number;
3137
+ type: PrimaryNetworkAssetType;
3138
+ /**
3139
+ * Amount of the asset.
3140
+ */
3141
+ amount: string;
3142
+ };
3143
+
3177
3144
  type PendingReward = {
3178
3145
  /**
3179
3146
  * An array of P-Chain wallet addresses.
@@ -3187,9 +3154,9 @@ type PendingReward = {
3187
3154
  rewardType: RewardType;
3188
3155
  progress: number;
3189
3156
  /**
3190
- * An object containing P-chain Asset ID and the amount of that Asset ID.
3157
+ * An object containing P-chain Asset basic info and the amount of that Asset ID.
3191
3158
  */
3192
- estimatedReward: Asset;
3159
+ estimatedReward: AssetAmount;
3193
3160
  };
3194
3161
 
3195
3162
  type ListPendingRewardsResponse = {
@@ -3209,25 +3176,25 @@ declare class PrimaryNetworkRewardsService {
3209
3176
  * @returns ListPendingRewardsResponse
3210
3177
  * @throws ApiError
3211
3178
  */
3212
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3179
+ listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
3213
3180
  /**
3214
3181
  * Either mainnet or a testnet.
3215
3182
  */
3216
3183
  network: Network;
3217
3184
  /**
3218
- * 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". Optional, but at least one of addresses or nodeIds is required.
3185
+ * 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". One of addresses or nodeIds is required.
3219
3186
  */
3220
3187
  addresses?: string;
3221
- /**
3222
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3223
- */
3224
- pageSize?: number;
3225
3188
  /**
3226
3189
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3227
3190
  */
3228
3191
  pageToken?: string;
3229
3192
  /**
3230
- * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3193
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3194
+ */
3195
+ pageSize?: number;
3196
+ /**
3197
+ * A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
3231
3198
  */
3232
3199
  nodeIds?: string;
3233
3200
  /**
@@ -3241,7 +3208,7 @@ declare class PrimaryNetworkRewardsService {
3241
3208
  * @returns ListHistoricalRewardsResponse
3242
3209
  * @throws ApiError
3243
3210
  */
3244
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3211
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3245
3212
  /**
3246
3213
  * Either mainnet or a testnet.
3247
3214
  */
@@ -3250,14 +3217,14 @@ declare class PrimaryNetworkRewardsService {
3250
3217
  * 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". Optional, but at least one of addresses or nodeIds is required.
3251
3218
  */
3252
3219
  addresses?: string;
3253
- /**
3254
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3255
- */
3256
- pageSize?: number;
3257
3220
  /**
3258
3221
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3259
3222
  */
3260
3223
  pageToken?: string;
3224
+ /**
3225
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3226
+ */
3227
+ pageSize?: number;
3261
3228
  /**
3262
3229
  * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3263
3230
  */
@@ -3266,6 +3233,10 @@ declare class PrimaryNetworkRewardsService {
3266
3233
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
3267
3234
  */
3268
3235
  sortOrder?: SortOrder;
3236
+ /**
3237
+ * The currency that return values should use. Defaults to USD.
3238
+ */
3239
+ currency?: CurrencyCode;
3269
3240
  }): CancelablePromise<ListHistoricalRewardsResponse>;
3270
3241
  }
3271
3242
 
@@ -3286,9 +3257,9 @@ type EVMInput = {
3286
3257
  */
3287
3258
  fromAddress: string;
3288
3259
  /**
3289
- * Asset details for the asset being transferred.
3260
+ * AssetAmount details for the asset being transferred.
3290
3261
  */
3291
- asset: Asset;
3262
+ asset: AssetAmount;
3292
3263
  /**
3293
3264
  * Credentials that signed this transaction.
3294
3265
  */
@@ -3300,7 +3271,7 @@ type Utxo = {
3300
3271
  * Addresses that are eligible to sign the consumption of this output.
3301
3272
  */
3302
3273
  addresses: Array<string>;
3303
- asset: Asset;
3274
+ asset: AssetAmount;
3304
3275
  /**
3305
3276
  * Blockchain ID on which this output is consumed on.
3306
3277
  */
@@ -3383,11 +3354,11 @@ type CChainExportTransaction = {
3383
3354
  /**
3384
3355
  * Assets unlocked by inputs of this transaction.
3385
3356
  */
3386
- amountUnlocked: Array<Asset>;
3357
+ amountUnlocked: Array<AssetAmount>;
3387
3358
  /**
3388
3359
  * Assets created by outputs of this transaction.
3389
3360
  */
3390
- amountCreated: Array<Asset>;
3361
+ amountCreated: Array<AssetAmount>;
3391
3362
  /**
3392
3363
  * Source chain for an atomic transaction.
3393
3364
  */
@@ -3418,9 +3389,9 @@ type EVMOutput = {
3418
3389
  */
3419
3390
  toAddress: string;
3420
3391
  /**
3421
- * Asset details for the asset being transferred.
3392
+ * AssetAmount details for the asset being transferred.
3422
3393
  */
3423
- asset: Asset;
3394
+ asset: AssetAmount;
3424
3395
  };
3425
3396
 
3426
3397
  type CChainImportTransaction = {
@@ -3447,11 +3418,11 @@ type CChainImportTransaction = {
3447
3418
  /**
3448
3419
  * Assets unlocked by inputs of this transaction.
3449
3420
  */
3450
- amountUnlocked: Array<Asset>;
3421
+ amountUnlocked: Array<AssetAmount>;
3451
3422
  /**
3452
3423
  * Assets created by outputs of this transaction.
3453
3424
  */
3454
- amountCreated: Array<Asset>;
3425
+ amountCreated: Array<AssetAmount>;
3455
3426
  /**
3456
3427
  * Source chain for an atomic transaction.
3457
3428
  */
@@ -3499,6 +3470,8 @@ declare enum PChainTransactionType {
3499
3470
  TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3500
3471
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3501
3472
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3473
+ BASE_TX = "BaseTx",
3474
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3502
3475
  UNKNOWN = "UNKNOWN"
3503
3476
  }
3504
3477
 
@@ -3512,7 +3485,7 @@ type PChainUtxo = {
3512
3485
  * Addresses that are eligible to sign the consumption of this output.
3513
3486
  */
3514
3487
  addresses: Array<string>;
3515
- asset: Asset;
3488
+ asset: AssetAmount;
3516
3489
  /**
3517
3490
  * Blockchain ID on which this output is consumed on.
3518
3491
  */
@@ -3576,17 +3549,17 @@ type PChainTransaction = {
3576
3549
  */
3577
3550
  destinationChain?: string;
3578
3551
  /**
3579
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3552
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3580
3553
  */
3581
- value: Array<Asset>;
3554
+ value: Array<AssetAmount>;
3582
3555
  /**
3583
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3556
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3584
3557
  */
3585
- amountBurned: Array<Asset>;
3558
+ amountBurned: Array<AssetAmount>;
3586
3559
  /**
3587
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3560
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3588
3561
  */
3589
- amountStaked: Array<Asset>;
3562
+ amountStaked: Array<AssetAmount>;
3590
3563
  /**
3591
3564
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3592
3565
  */
@@ -3618,6 +3591,10 @@ type PChainTransaction = {
3618
3591
  * Present for RewardValidatorTx
3619
3592
  */
3620
3593
  stakingTxHash?: string;
3594
+ /**
3595
+ * Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
3596
+ */
3597
+ subnetOwnershipInfo?: SubnetOwnershipInfo;
3621
3598
  };
3622
3599
 
3623
3600
  type ListPChainTransactionsResponse = {
@@ -3629,6 +3606,9 @@ type ListPChainTransactionsResponse = {
3629
3606
  chainInfo: PrimaryNetworkChainInfo;
3630
3607
  };
3631
3608
 
3609
+ /**
3610
+ * Type of transaction.
3611
+ */
3632
3612
  declare enum XChainTransactionType {
3633
3613
  BASE_TX = "BaseTx",
3634
3614
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3651,9 +3631,6 @@ type XChainLinearTransaction = {
3651
3631
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3652
3632
  */
3653
3633
  timestamp: number;
3654
- /**
3655
- * Type of transaction.
3656
- */
3657
3634
  txType: XChainTransactionType;
3658
3635
  /**
3659
3636
  * Hex encoded memo bytes for this transaction.
@@ -3664,11 +3641,11 @@ type XChainLinearTransaction = {
3664
3641
  /**
3665
3642
  * Assets unlocked by inputs of this transaction.
3666
3643
  */
3667
- amountUnlocked: Array<Asset>;
3644
+ amountUnlocked: Array<AssetAmount>;
3668
3645
  /**
3669
3646
  * Assets created by outputs of this transaction.
3670
3647
  */
3671
- amountCreated: Array<Asset>;
3648
+ amountCreated: Array<AssetAmount>;
3672
3649
  /**
3673
3650
  * Source chain for an atomic transaction.
3674
3651
  */
@@ -3678,7 +3655,7 @@ type XChainLinearTransaction = {
3678
3655
  */
3679
3656
  destinationChain?: string;
3680
3657
  /**
3681
- * Asset details of the asset created in CreateAssetTx
3658
+ * AssetAmount details of the asset created in CreateAssetTx
3682
3659
  */
3683
3660
  assetCreated?: XChainAssetDetails;
3684
3661
  /**
@@ -3728,9 +3705,6 @@ type XChainNonLinearTransaction = {
3728
3705
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3729
3706
  */
3730
3707
  timestamp: number;
3731
- /**
3732
- * Type of transaction.
3733
- */
3734
3708
  txType: XChainTransactionType;
3735
3709
  /**
3736
3710
  * Hex encoded memo bytes for this transaction.
@@ -3741,11 +3715,11 @@ type XChainNonLinearTransaction = {
3741
3715
  /**
3742
3716
  * Assets unlocked by inputs of this transaction.
3743
3717
  */
3744
- amountUnlocked: Array<Asset>;
3718
+ amountUnlocked: Array<AssetAmount>;
3745
3719
  /**
3746
3720
  * Assets created by outputs of this transaction.
3747
3721
  */
3748
- amountCreated: Array<Asset>;
3722
+ amountCreated: Array<AssetAmount>;
3749
3723
  /**
3750
3724
  * Source chain for an atomic transaction.
3751
3725
  */
@@ -3755,7 +3729,7 @@ type XChainNonLinearTransaction = {
3755
3729
  */
3756
3730
  destinationChain?: string;
3757
3731
  /**
3758
- * Asset details of the asset created in CreateAssetTx
3732
+ * AssetAmount details of the asset created in CreateAssetTx
3759
3733
  */
3760
3734
  assetCreated?: XChainAssetDetails;
3761
3735
  /**
@@ -3801,8 +3775,9 @@ declare enum PrimaryNetworkTxType {
3801
3775
  TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3802
3776
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3803
3777
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3804
- UNKNOWN = "UNKNOWN",
3805
3778
  BASE_TX = "BaseTx",
3779
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3780
+ UNKNOWN = "UNKNOWN",
3806
3781
  CREATE_ASSET_TX = "CreateAssetTx",
3807
3782
  OPERATION_TX = "OperationTx"
3808
3783
  }
@@ -3834,13 +3809,13 @@ declare class PrimaryNetworkTransactionsService {
3834
3809
  * List latest transactions
3835
3810
  * Lists the latest transactions on one of the Primary Network chains.
3836
3811
  *
3837
- * Transactions are filterable by addresses.
3812
+ * 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.
3838
3813
  *
3839
3814
  * 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.
3840
3815
  * @returns any
3841
3816
  * @throws ApiError
3842
3817
  */
3843
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3818
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3844
3819
  /**
3845
3820
  * A primary network blockchain id or alias.
3846
3821
  */
@@ -3865,14 +3840,14 @@ declare class PrimaryNetworkTransactionsService {
3865
3840
  * Query param for retrieving items before a specific timestamp.
3866
3841
  */
3867
3842
  endTimestamp?: number;
3868
- /**
3869
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3870
- */
3871
- pageSize?: number;
3872
3843
  /**
3873
3844
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3874
3845
  */
3875
3846
  pageToken?: string;
3847
+ /**
3848
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3849
+ */
3850
+ pageSize?: number;
3876
3851
  /**
3877
3852
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
3878
3853
  */
@@ -3884,7 +3859,7 @@ declare class PrimaryNetworkTransactionsService {
3884
3859
  * @returns ListPChainTransactionsResponse
3885
3860
  * @throws ApiError
3886
3861
  */
3887
- listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3862
+ listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3888
3863
  /**
3889
3864
  * A primary network blockchain id or alias.
3890
3865
  */
@@ -3909,14 +3884,14 @@ declare class PrimaryNetworkTransactionsService {
3909
3884
  * Query param for retrieving items before a specific timestamp.
3910
3885
  */
3911
3886
  endTimestamp?: number;
3912
- /**
3913
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3914
- */
3915
- pageSize?: number;
3916
3887
  /**
3917
3888
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3918
3889
  */
3919
3890
  pageToken?: string;
3891
+ /**
3892
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3893
+ */
3894
+ pageSize?: number;
3920
3895
  /**
3921
3896
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
3922
3897
  */
@@ -3928,7 +3903,7 @@ declare class PrimaryNetworkTransactionsService {
3928
3903
  * @returns ListXChainTransactionsResponse
3929
3904
  * @throws ApiError
3930
3905
  */
3931
- listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
3906
+ listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3932
3907
  /**
3933
3908
  * A primary network blockchain id or alias.
3934
3909
  */
@@ -3953,14 +3928,14 @@ declare class PrimaryNetworkTransactionsService {
3953
3928
  * Query param for retrieving items before a specific timestamp.
3954
3929
  */
3955
3930
  endTimestamp?: number;
3956
- /**
3957
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3958
- */
3959
- pageSize?: number;
3960
3931
  /**
3961
3932
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3962
3933
  */
3963
3934
  pageToken?: string;
3935
+ /**
3936
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3937
+ */
3938
+ pageSize?: number;
3964
3939
  }): CancelablePromise<ListXChainTransactionsResponse>;
3965
3940
  }
3966
3941
 
@@ -3991,7 +3966,7 @@ declare class PrimaryNetworkUtxOsService {
3991
3966
  * @returns any
3992
3967
  * @throws ApiError
3993
3968
  */
3994
- getUtxosByAddresses({ blockchainId, network, addresses, pageSize, pageToken, assetId, includeSpent, sortOrder, }: {
3969
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
3995
3970
  /**
3996
3971
  * A primary network blockchain id or alias.
3997
3972
  */
@@ -4004,14 +3979,14 @@ declare class PrimaryNetworkUtxOsService {
4004
3979
  * 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".
4005
3980
  */
4006
3981
  addresses?: string;
4007
- /**
4008
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4009
- */
4010
- pageSize?: number;
4011
3982
  /**
4012
3983
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4013
3984
  */
4014
3985
  pageToken?: string;
3986
+ /**
3987
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3988
+ */
3989
+ pageSize?: number;
4015
3990
  /**
4016
3991
  * Asset ID for any asset (only applicable X-Chain)
4017
3992
  */
@@ -4056,7 +4031,7 @@ declare class PrimaryNetworkVerticesService {
4056
4031
  * @returns ListXChainVerticesResponse
4057
4032
  * @throws ApiError
4058
4033
  */
4059
- listLatestXChainVertices({ blockchainId, network, pageSize, pageToken, }: {
4034
+ listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
4060
4035
  /**
4061
4036
  * A primary network blockchain id or alias.
4062
4037
  */
@@ -4065,14 +4040,14 @@ declare class PrimaryNetworkVerticesService {
4065
4040
  * Either mainnet or a testnet.
4066
4041
  */
4067
4042
  network: Network;
4068
- /**
4069
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4070
- */
4071
- pageSize?: number;
4072
4043
  /**
4073
4044
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4074
4045
  */
4075
4046
  pageToken?: string;
4047
+ /**
4048
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4049
+ */
4050
+ pageSize?: number;
4076
4051
  }): CancelablePromise<ListXChainVerticesResponse>;
4077
4052
  /**
4078
4053
  * Get vertex
@@ -4100,7 +4075,7 @@ declare class PrimaryNetworkVerticesService {
4100
4075
  * @returns ListXChainVerticesResponse
4101
4076
  * @throws ApiError
4102
4077
  */
4103
- getVertexByHeight({ vertexHeight, blockchainId, network, pageSize, pageToken, sortOrder, }: {
4078
+ getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
4104
4079
  /**
4105
4080
  * The height of a vertex.
4106
4081
  */
@@ -4113,14 +4088,14 @@ declare class PrimaryNetworkVerticesService {
4113
4088
  * Either mainnet or a testnet.
4114
4089
  */
4115
4090
  network: Network;
4116
- /**
4117
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4118
- */
4119
- pageSize?: number;
4120
4091
  /**
4121
4092
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4122
4093
  */
4123
4094
  pageToken?: string;
4095
+ /**
4096
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4097
+ */
4098
+ pageSize?: number;
4124
4099
  /**
4125
4100
  * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
4126
4101
  */
@@ -4128,7 +4103,426 @@ declare class PrimaryNetworkVerticesService {
4128
4103
  }): CancelablePromise<ListXChainVerticesResponse>;
4129
4104
  }
4130
4105
 
4131
- type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
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
+
4149
+ type TeleporterDestinationTransaction = {
4150
+ txHash: string;
4151
+ timestamp: number;
4152
+ gasSpent: string;
4153
+ rewardRedeemer: string;
4154
+ delivererAddress: string;
4155
+ };
4156
+
4157
+ type TeleporterReceipt = {
4158
+ receivedMessageNonce: string;
4159
+ relayerRewardAddress: string;
4160
+ };
4161
+
4162
+ type TeleporterRewardDetails = {
4163
+ /**
4164
+ * A wallet or contract address in mixed-case checksum encoding.
4165
+ */
4166
+ address: string;
4167
+ /**
4168
+ * The contract name.
4169
+ */
4170
+ name: string;
4171
+ /**
4172
+ * The contract symbol.
4173
+ */
4174
+ symbol: string;
4175
+ /**
4176
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
4177
+ */
4178
+ decimals: number;
4179
+ /**
4180
+ * The logo uri for the address.
4181
+ */
4182
+ logoUri?: string;
4183
+ ercType: TeleporterRewardDetails.ercType;
4184
+ /**
4185
+ * The token price, if available.
4186
+ */
4187
+ price?: Money;
4188
+ value: string;
4189
+ };
4190
+ declare namespace TeleporterRewardDetails {
4191
+ enum ercType {
4192
+ ERC_20 = "ERC-20"
4193
+ }
4194
+ }
4195
+
4196
+ type DeliveredSourceNotIndexedTeleporterMessage = {
4197
+ messageId: string;
4198
+ teleporterContractAddress: string;
4199
+ sourceBlockchainId: string;
4200
+ destinationBlockchainId: string;
4201
+ messageNonce: string;
4202
+ from: string;
4203
+ to: string;
4204
+ data?: string;
4205
+ messageExecuted: boolean;
4206
+ receipts: Array<TeleporterReceipt>;
4207
+ receiptDelivered: boolean;
4208
+ rewardDetails: TeleporterRewardDetails;
4209
+ destinationTransaction: TeleporterDestinationTransaction;
4210
+ status: DeliveredSourceNotIndexedTeleporterMessage.status;
4211
+ };
4212
+ declare namespace DeliveredSourceNotIndexedTeleporterMessage {
4213
+ enum status {
4214
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
4215
+ }
4216
+ }
4217
+
4218
+ type TeleporterSourceTransaction = {
4219
+ txHash: string;
4220
+ timestamp: number;
4221
+ gasSpent: string;
4222
+ };
4223
+
4224
+ type DeliveredTeleporterMessage = {
4225
+ messageId: string;
4226
+ teleporterContractAddress: string;
4227
+ sourceBlockchainId: string;
4228
+ destinationBlockchainId: string;
4229
+ messageNonce: string;
4230
+ from: string;
4231
+ to: string;
4232
+ data?: string;
4233
+ messageExecuted: boolean;
4234
+ receipts: Array<TeleporterReceipt>;
4235
+ receiptDelivered: boolean;
4236
+ rewardDetails: TeleporterRewardDetails;
4237
+ sourceTransaction: TeleporterSourceTransaction;
4238
+ destinationTransaction: TeleporterDestinationTransaction;
4239
+ status: DeliveredTeleporterMessage.status;
4240
+ };
4241
+ declare namespace DeliveredTeleporterMessage {
4242
+ enum status {
4243
+ DELIVERED = "delivered"
4244
+ }
4245
+ }
4246
+
4247
+ type PendingTeleporterMessage = {
4248
+ messageId: string;
4249
+ teleporterContractAddress: string;
4250
+ sourceBlockchainId: string;
4251
+ destinationBlockchainId: string;
4252
+ messageNonce: string;
4253
+ from: string;
4254
+ to: string;
4255
+ data?: string;
4256
+ messageExecuted: boolean;
4257
+ receipts: Array<TeleporterReceipt>;
4258
+ receiptDelivered: boolean;
4259
+ rewardDetails: TeleporterRewardDetails;
4260
+ sourceTransaction: TeleporterSourceTransaction;
4261
+ status: PendingTeleporterMessage.status;
4262
+ };
4263
+ declare namespace PendingTeleporterMessage {
4264
+ enum status {
4265
+ PENDING = "pending"
4266
+ }
4267
+ }
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
+
4277
+ declare class TeleporterService {
4278
+ readonly httpRequest: BaseHttpRequest;
4279
+ constructor(httpRequest: BaseHttpRequest);
4280
+ /**
4281
+ * Get a teleporter message
4282
+ * Gets a teleporter message by message ID.
4283
+ * @returns any
4284
+ * @throws ApiError
4285
+ */
4286
+ getTeleporterMessage({ messageId, }: {
4287
+ /**
4288
+ * The message ID of the teleporter message.
4289
+ */
4290
+ messageId: string;
4291
+ }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4292
+ /**
4293
+ * List teleporter messages
4294
+ * Lists teleporter messages. Ordered by timestamp in descending order.
4295
+ * @returns ListTeleporterMessagesResponse
4296
+ * @throws ApiError
4297
+ */
4298
+ listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4299
+ /**
4300
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4301
+ */
4302
+ pageToken?: string;
4303
+ /**
4304
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4305
+ */
4306
+ pageSize?: number;
4307
+ /**
4308
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
4309
+ */
4310
+ sourceBlockchainId?: string;
4311
+ /**
4312
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
4313
+ */
4314
+ destinationBlockchainId?: string;
4315
+ /**
4316
+ * The address of the recipient of the teleporter message.
4317
+ */
4318
+ to?: string;
4319
+ /**
4320
+ * The address of the sender of the teleporter message.
4321
+ */
4322
+ from?: string;
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>;
4523
+ }
4524
+
4525
+ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
4132
4526
  declare class Glacier {
4133
4527
  readonly default: DefaultService;
4134
4528
  readonly evmBalances: EvmBalancesService;
@@ -4146,6 +4540,9 @@ declare class Glacier {
4146
4540
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
4147
4541
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
4148
4542
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4543
+ readonly rpc: RpcService;
4544
+ readonly teleporter: TeleporterService;
4545
+ readonly webhooks: WebhooksService;
4149
4546
  readonly request: BaseHttpRequest;
4150
4547
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
4151
4548
  }
@@ -4167,4 +4564,11 @@ declare class ApiError extends Error {
4167
4564
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4168
4565
  }
4169
4566
 
4170
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, 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, EVMInput, 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, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetBalance, 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 };