@avalabs/glacier-sdk 2.8.0-canary.9ef5670.0 → 2.8.0-canary.a17552e.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 (113) hide show
  1. package/dist/index.d.ts +720 -476
  2. package/dist/index.js +356 -198
  3. package/esm/generated/Glacier.d.ts +4 -0
  4. package/esm/generated/Glacier.js +6 -0
  5. package/esm/generated/core/CancelablePromise.d.ts +2 -8
  6. package/esm/generated/core/CancelablePromise.js +38 -36
  7. package/esm/generated/core/request.js +3 -2
  8. package/esm/generated/models/AddressActivityMetadata.d.ts +2 -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 +2 -4
  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 +7 -2
  22. package/esm/generated/models/DeliveredTeleporterMessage.d.ts +7 -2
  23. package/esm/generated/models/EVMInput.d.ts +3 -3
  24. package/esm/generated/models/EVMOperationType.d.ts +5 -0
  25. package/esm/generated/models/EVMOperationType.js +6 -0
  26. package/esm/generated/models/EVMOutput.d.ts +3 -3
  27. package/esm/generated/models/Erc1155TokenMetadata.d.ts +0 -3
  28. package/esm/generated/models/Erc721TokenMetadata.d.ts +0 -3
  29. package/esm/generated/models/GetChainResponse.d.ts +1 -3
  30. package/esm/generated/models/GlacierApiFeature.d.ts +6 -0
  31. package/esm/generated/models/GlacierApiFeature.js +7 -0
  32. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  33. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +12 -0
  34. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  35. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +10 -0
  36. package/esm/generated/models/Method.d.ts +0 -3
  37. package/esm/generated/models/Money.d.ts +0 -3
  38. package/esm/generated/models/NftTokenMetadataStatus.d.ts +3 -0
  39. package/esm/generated/models/OperationType.d.ts +4 -2
  40. package/esm/generated/models/OperationType.js +3 -1
  41. package/esm/generated/models/PChainBalance.d.ts +15 -15
  42. package/esm/generated/models/PChainSharedAsset.d.ts +4 -4
  43. package/esm/generated/models/PChainTransaction.d.ts +12 -7
  44. package/esm/generated/models/PChainTransactionType.d.ts +2 -0
  45. package/esm/generated/models/PChainTransactionType.js +2 -0
  46. package/esm/generated/models/PChainUtxo.d.ts +2 -2
  47. package/esm/generated/models/PendingReward.d.ts +3 -3
  48. package/esm/generated/models/PendingTeleporterMessage.d.ts +7 -2
  49. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +9 -0
  50. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  51. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +9 -0
  52. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  53. package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
  54. package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
  55. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  56. package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
  57. package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
  58. package/esm/generated/models/RegisterWebhookRequest.d.ts +8 -3
  59. package/esm/generated/models/RpcErrorDto.d.ts +7 -0
  60. package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
  61. package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
  62. package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
  63. package/esm/generated/models/SortByOption.d.ts +9 -0
  64. package/esm/generated/models/SortByOption.js +10 -0
  65. package/esm/generated/models/Subnet.d.ts +17 -0
  66. package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
  67. package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
  68. package/esm/generated/models/TransactionMethodType.d.ts +3 -0
  69. package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
  70. package/esm/generated/models/Utxo.d.ts +2 -2
  71. package/esm/generated/models/WebhookResponse.d.ts +10 -0
  72. package/esm/generated/models/XChainAssetDetails.d.ts +5 -8
  73. package/esm/generated/models/XChainBalances.d.ts +3 -3
  74. package/esm/generated/models/XChainLinearTransaction.d.ts +4 -7
  75. package/esm/generated/models/XChainNonLinearTransaction.d.ts +4 -7
  76. package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -4
  77. package/esm/generated/models/XChainTransactionType.d.ts +3 -0
  78. package/esm/generated/services/DefaultService.d.ts +0 -53
  79. package/esm/generated/services/DefaultService.js +0 -42
  80. package/esm/generated/services/EvmBalancesService.d.ts +27 -23
  81. package/esm/generated/services/EvmBalancesService.js +10 -8
  82. package/esm/generated/services/EvmBlocksService.d.ts +7 -7
  83. package/esm/generated/services/EvmBlocksService.js +4 -4
  84. package/esm/generated/services/EvmChainsService.d.ts +7 -2
  85. package/esm/generated/services/EvmChainsService.js +4 -2
  86. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  87. package/esm/generated/services/EvmTransactionsService.d.ts +57 -57
  88. package/esm/generated/services/EvmTransactionsService.js +32 -32
  89. package/esm/generated/services/NfTsService.d.ts +8 -8
  90. package/esm/generated/services/NfTsService.js +4 -4
  91. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
  92. package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
  93. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +12 -12
  94. package/esm/generated/services/PrimaryNetworkRewardsService.js +4 -4
  95. package/esm/generated/services/PrimaryNetworkService.d.ts +51 -36
  96. package/esm/generated/services/PrimaryNetworkService.js +20 -14
  97. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
  98. package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
  99. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
  100. package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
  101. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
  102. package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
  103. package/esm/generated/services/RpcService.d.ts +25 -0
  104. package/esm/generated/services/RpcService.js +24 -0
  105. package/esm/generated/services/TeleporterService.d.ts +22 -25
  106. package/esm/generated/services/TeleporterService.js +8 -10
  107. package/esm/generated/services/WebhooksService.d.ts +143 -0
  108. package/esm/generated/services/WebhooksService.js +125 -0
  109. package/esm/index.d.ts +20 -2
  110. package/esm/index.js +8 -2
  111. package/package.json +3 -3
  112. package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
  113. 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, filterSpamTokens, 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,18 @@ 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;
378
+ /**
379
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
380
+ */
381
+ pageToken?: string;
492
382
  /**
493
383
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
494
384
  */
495
385
  pageSize?: number;
496
386
  /**
497
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
387
+ * whether to filter out spam tokens from the response. Default is true.
498
388
  */
499
- pageToken?: string;
389
+ filterSpamTokens?: boolean;
500
390
  /**
501
391
  * A comma separated list of contract addresses to filter by.
502
392
  */
@@ -514,23 +404,23 @@ declare class EvmBalancesService {
514
404
  * @returns ListErc721BalancesResponse
515
405
  * @throws ApiError
516
406
  */
517
- listErc721Balances({ chainId, address, pageSize, pageToken, contractAddress, }: {
407
+ listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
518
408
  /**
519
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
409
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
520
410
  */
521
411
  chainId: string;
522
412
  /**
523
413
  * A wallet address.
524
414
  */
525
415
  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
416
  /**
531
417
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
532
418
  */
533
419
  pageToken?: string;
420
+ /**
421
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
422
+ */
423
+ pageSize?: number;
534
424
  /**
535
425
  * A contract addresses to filter by.
536
426
  */
@@ -546,9 +436,9 @@ declare class EvmBalancesService {
546
436
  * @returns ListErc1155BalancesResponse
547
437
  * @throws ApiError
548
438
  */
549
- listErc1155Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddress, }: {
439
+ listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
550
440
  /**
551
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
441
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
552
442
  */
553
443
  chainId: string;
554
444
  /**
@@ -559,14 +449,14 @@ declare class EvmBalancesService {
559
449
  * The block number, if not defined the block number will be the latest block.
560
450
  */
561
451
  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
452
  /**
567
453
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
568
454
  */
569
455
  pageToken?: string;
456
+ /**
457
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
458
+ */
459
+ pageSize?: number;
570
460
  /**
571
461
  * A contract addresses to filter by.
572
462
  */
@@ -580,23 +470,23 @@ declare class EvmBalancesService {
580
470
  * @returns ListCollectibleBalancesResponse
581
471
  * @throws ApiError
582
472
  */
583
- listCollectibleBalances({ chainId, address, pageSize, pageToken, contractAddress, }: {
473
+ listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
584
474
  /**
585
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
475
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
586
476
  */
587
477
  chainId: string;
588
478
  /**
589
479
  * A wallet address.
590
480
  */
591
481
  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
482
  /**
597
483
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
598
484
  */
599
485
  pageToken?: string;
486
+ /**
487
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
488
+ */
489
+ pageSize?: number;
600
490
  /**
601
491
  * A contract addresses to filter by.
602
492
  */
@@ -709,19 +599,19 @@ declare class EvmBlocksService {
709
599
  * @returns ListEvmBlocksResponse
710
600
  * @throws ApiError
711
601
  */
712
- getLatestBlocks({ chainId, pageSize, pageToken, }: {
602
+ getLatestBlocks({ chainId, pageToken, pageSize, }: {
713
603
  /**
714
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
604
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
715
605
  */
716
606
  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
607
  /**
722
608
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
723
609
  */
724
610
  pageToken?: string;
611
+ /**
612
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
613
+ */
614
+ pageSize?: number;
725
615
  }): CancelablePromise<ListEvmBlocksResponse>;
726
616
  /**
727
617
  * Get block
@@ -731,7 +621,7 @@ declare class EvmBlocksService {
731
621
  */
732
622
  getBlock({ chainId, blockId, }: {
733
623
  /**
734
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
624
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
735
625
  */
736
626
  chainId: string;
737
627
  /**
@@ -741,6 +631,9 @@ declare class EvmBlocksService {
741
631
  }): CancelablePromise<GetEvmBlockResponse>;
742
632
  }
743
633
 
634
+ /**
635
+ * Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
636
+ */
744
637
  declare enum ChainStatus {
745
638
  OK = "OK",
746
639
  UNAVAILABLE = "UNAVAILABLE"
@@ -778,9 +671,6 @@ declare enum VmName {
778
671
 
779
672
  type GetChainResponse = {
780
673
  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
674
  status: ChainStatus;
785
675
  chainName: string;
786
676
  description: string;
@@ -796,13 +686,16 @@ type GetChainResponse = {
796
686
  networkToken: NetworkToken;
797
687
  chainLogoUri?: string;
798
688
  private?: boolean;
689
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
799
690
  };
800
691
 
692
+ declare enum GlacierApiFeature {
693
+ NFT_INDEXING = "nftIndexing",
694
+ WEBHOOKS = "webhooks"
695
+ }
696
+
801
697
  type ChainInfo = {
802
698
  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
699
  status: ChainStatus;
807
700
  chainName: string;
808
701
  description: string;
@@ -818,6 +711,7 @@ type ChainInfo = {
818
711
  networkToken: NetworkToken;
819
712
  chainLogoUri?: string;
820
713
  private?: boolean;
714
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
821
715
  };
822
716
 
823
717
  type ListChainsResponse = {
@@ -838,11 +732,15 @@ declare class EvmChainsService {
838
732
  * @returns ListChainsResponse
839
733
  * @throws ApiError
840
734
  */
841
- supportedChains({ network, }: {
735
+ supportedChains({ network, feature, }: {
842
736
  /**
843
737
  * mainnet or testnet.
844
738
  */
845
739
  network?: NetworkType;
740
+ /**
741
+ * Filter by feature.
742
+ */
743
+ feature?: GlacierApiFeature;
846
744
  }): CancelablePromise<ListChainsResponse>;
847
745
  /**
848
746
  * Get chain information
@@ -852,7 +750,7 @@ declare class EvmChainsService {
852
750
  */
853
751
  getChainInfo({ chainId, }: {
854
752
  /**
855
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
753
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
856
754
  */
857
755
  chainId: string;
858
756
  }): CancelablePromise<GetChainResponse>;
@@ -1147,7 +1045,7 @@ declare class EvmContractsService {
1147
1045
  */
1148
1046
  getContractMetadata({ chainId, address, }: {
1149
1047
  /**
1150
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1048
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1151
1049
  */
1152
1050
  chainId: string;
1153
1051
  /**
@@ -1163,7 +1061,7 @@ declare class EvmContractsService {
1163
1061
  */
1164
1062
  updateContractInfo({ chainId, address, requestBody, }: {
1165
1063
  /**
1166
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1064
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1167
1065
  */
1168
1066
  chainId: string;
1169
1067
  /**
@@ -1297,6 +1195,9 @@ type Erc721TransferDetails = {
1297
1195
  erc721Token: Erc721Token;
1298
1196
  };
1299
1197
 
1198
+ /**
1199
+ * 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.
1200
+ */
1300
1201
  declare enum TransactionMethodType {
1301
1202
  NATIVE_TRANSFER = "NATIVE_TRANSFER",
1302
1203
  CONTRACT_CALL = "CONTRACT_CALL",
@@ -1304,9 +1205,6 @@ declare enum TransactionMethodType {
1304
1205
  }
1305
1206
 
1306
1207
  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
1208
  callType: TransactionMethodType;
1311
1209
  /**
1312
1210
  * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
@@ -1667,7 +1565,7 @@ type ListTransfersResponse = {
1667
1565
  * 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
1566
  */
1669
1567
  nextPageToken?: string;
1670
- transfers: (Array<Erc20Transfer> | Array<Erc721Transfer> | Array<Erc1155Transfer>);
1568
+ transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
1671
1569
  };
1672
1570
 
1673
1571
  declare enum SortOrder {
@@ -1691,7 +1589,7 @@ declare class EvmTransactionsService {
1691
1589
  */
1692
1590
  getDeploymentTransaction({ chainId, address, currency, }: {
1693
1591
  /**
1694
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1592
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1695
1593
  */
1696
1594
  chainId: string;
1697
1595
  /**
@@ -1709,23 +1607,23 @@ declare class EvmTransactionsService {
1709
1607
  * @returns ListContractsResponse
1710
1608
  * @throws ApiError
1711
1609
  */
1712
- listContractDeployments({ chainId, address, pageSize, pageToken, }: {
1610
+ listContractDeployments({ chainId, address, pageToken, pageSize, }: {
1713
1611
  /**
1714
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1612
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1715
1613
  */
1716
1614
  chainId: string;
1717
1615
  /**
1718
1616
  * A wallet address.
1719
1617
  */
1720
1618
  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
1619
  /**
1726
1620
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1727
1621
  */
1728
1622
  pageToken?: string;
1623
+ /**
1624
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1625
+ */
1626
+ pageSize?: number;
1729
1627
  }): CancelablePromise<ListContractsResponse>;
1730
1628
  /**
1731
1629
  * List ERC transfers
@@ -1733,9 +1631,9 @@ declare class EvmTransactionsService {
1733
1631
  * @returns ListTransfersResponse
1734
1632
  * @throws ApiError
1735
1633
  */
1736
- listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1634
+ listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1737
1635
  /**
1738
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1636
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1739
1637
  */
1740
1638
  chainId: string;
1741
1639
  /**
@@ -1750,14 +1648,14 @@ declare class EvmTransactionsService {
1750
1648
  * 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
1649
  */
1752
1650
  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
1651
  /**
1758
1652
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1759
1653
  */
1760
1654
  pageToken?: string;
1655
+ /**
1656
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1657
+ */
1658
+ pageSize?: number;
1761
1659
  }): CancelablePromise<ListTransfersResponse>;
1762
1660
  /**
1763
1661
  * List transactions
@@ -1767,23 +1665,23 @@ declare class EvmTransactionsService {
1767
1665
  * @returns ListTransactionDetailsResponse
1768
1666
  * @throws ApiError
1769
1667
  */
1770
- listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
1668
+ listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
1771
1669
  /**
1772
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1670
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1773
1671
  */
1774
1672
  chainId: string;
1775
1673
  /**
1776
1674
  * A wallet address.
1777
1675
  */
1778
1676
  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
1677
  /**
1784
1678
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1785
1679
  */
1786
1680
  pageToken?: string;
1681
+ /**
1682
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1683
+ */
1684
+ pageSize?: number;
1787
1685
  /**
1788
1686
  * 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
1687
  */
@@ -1803,9 +1701,9 @@ declare class EvmTransactionsService {
1803
1701
  * @returns ListNativeTransactionsResponse
1804
1702
  * @throws ApiError
1805
1703
  */
1806
- listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1704
+ listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1807
1705
  /**
1808
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1706
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1809
1707
  */
1810
1708
  chainId: string;
1811
1709
  /**
@@ -1820,14 +1718,14 @@ declare class EvmTransactionsService {
1820
1718
  * 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
1719
  */
1822
1720
  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
1721
  /**
1828
1722
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1829
1723
  */
1830
1724
  pageToken?: string;
1725
+ /**
1726
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1727
+ */
1728
+ pageSize?: number;
1831
1729
  }): CancelablePromise<ListNativeTransactionsResponse>;
1832
1730
  /**
1833
1731
  * List ERC-20 transfers
@@ -1835,9 +1733,9 @@ declare class EvmTransactionsService {
1835
1733
  * @returns ListErc20TransactionsResponse
1836
1734
  * @throws ApiError
1837
1735
  */
1838
- listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1736
+ listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1839
1737
  /**
1840
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1738
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1841
1739
  */
1842
1740
  chainId: string;
1843
1741
  /**
@@ -1852,14 +1750,14 @@ declare class EvmTransactionsService {
1852
1750
  * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1853
1751
  */
1854
1752
  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
1753
  /**
1860
1754
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1861
1755
  */
1862
1756
  pageToken?: string;
1757
+ /**
1758
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1759
+ */
1760
+ pageSize?: number;
1863
1761
  }): CancelablePromise<ListErc20TransactionsResponse>;
1864
1762
  /**
1865
1763
  * List ERC-721 transfers
@@ -1867,9 +1765,9 @@ declare class EvmTransactionsService {
1867
1765
  * @returns ListErc721TransactionsResponse
1868
1766
  * @throws ApiError
1869
1767
  */
1870
- listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1768
+ listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1871
1769
  /**
1872
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1770
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1873
1771
  */
1874
1772
  chainId: string;
1875
1773
  /**
@@ -1884,14 +1782,14 @@ declare class EvmTransactionsService {
1884
1782
  * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1885
1783
  */
1886
1784
  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
1785
  /**
1892
1786
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1893
1787
  */
1894
1788
  pageToken?: string;
1789
+ /**
1790
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1791
+ */
1792
+ pageSize?: number;
1895
1793
  }): CancelablePromise<ListErc721TransactionsResponse>;
1896
1794
  /**
1897
1795
  * List ERC-1155 transfers
@@ -1899,9 +1797,9 @@ declare class EvmTransactionsService {
1899
1797
  * @returns ListErc1155TransactionsResponse
1900
1798
  * @throws ApiError
1901
1799
  */
1902
- listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1800
+ listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1903
1801
  /**
1904
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1802
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1905
1803
  */
1906
1804
  chainId: string;
1907
1805
  /**
@@ -1916,14 +1814,14 @@ declare class EvmTransactionsService {
1916
1814
  * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1917
1815
  */
1918
1816
  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
1817
  /**
1924
1818
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1925
1819
  */
1926
1820
  pageToken?: string;
1821
+ /**
1822
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1823
+ */
1824
+ pageSize?: number;
1927
1825
  }): CancelablePromise<ListErc1155TransactionsResponse>;
1928
1826
  /**
1929
1827
  * List internal transactions
@@ -1933,9 +1831,9 @@ declare class EvmTransactionsService {
1933
1831
  * @returns ListInternalTransactionsResponse
1934
1832
  * @throws ApiError
1935
1833
  */
1936
- listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1834
+ listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1937
1835
  /**
1938
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1836
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1939
1837
  */
1940
1838
  chainId: string;
1941
1839
  /**
@@ -1950,14 +1848,14 @@ declare class EvmTransactionsService {
1950
1848
  * The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
1951
1849
  */
1952
1850
  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
1851
  /**
1958
1852
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1959
1853
  */
1960
1854
  pageToken?: string;
1855
+ /**
1856
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1857
+ */
1858
+ pageSize?: number;
1961
1859
  }): CancelablePromise<ListInternalTransactionsResponse>;
1962
1860
  /**
1963
1861
  * Get transaction
@@ -1967,7 +1865,7 @@ declare class EvmTransactionsService {
1967
1865
  */
1968
1866
  getTransaction({ chainId, txHash, }: {
1969
1867
  /**
1970
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1868
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1971
1869
  */
1972
1870
  chainId: string;
1973
1871
  /**
@@ -1983,7 +1881,7 @@ declare class EvmTransactionsService {
1983
1881
  */
1984
1882
  getTransactionsForBlock({ chainId, blockId, }: {
1985
1883
  /**
1986
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1884
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1987
1885
  */
1988
1886
  chainId: string;
1989
1887
  /**
@@ -1997,19 +1895,19 @@ declare class EvmTransactionsService {
1997
1895
  * @returns ListNativeTransactionsResponse
1998
1896
  * @throws ApiError
1999
1897
  */
2000
- listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
1898
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
2001
1899
  /**
2002
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1900
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2003
1901
  */
2004
1902
  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
1903
  /**
2010
1904
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2011
1905
  */
2012
1906
  pageToken?: string;
1907
+ /**
1908
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1909
+ */
1910
+ pageSize?: number;
2013
1911
  /**
2014
1912
  * A status filter for listed transactions.
2015
1913
  */
@@ -2038,7 +1936,7 @@ type ListNftTokens = {
2038
1936
  * 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
1937
  */
2040
1938
  nextPageToken?: string;
2041
- tokens: (Array<Erc721Token> | Array<Erc1155Token>);
1939
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2042
1940
  };
2043
1941
 
2044
1942
  declare class NfTsService {
@@ -2052,7 +1950,7 @@ declare class NfTsService {
2052
1950
  */
2053
1951
  reindexNft({ chainId, address, tokenId, }: {
2054
1952
  /**
2055
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1953
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2056
1954
  */
2057
1955
  chainId: string;
2058
1956
  /**
@@ -2070,23 +1968,23 @@ declare class NfTsService {
2070
1968
  * @returns ListNftTokens
2071
1969
  * @throws ApiError
2072
1970
  */
2073
- listTokens({ chainId, address, pageSize, pageToken, }: {
1971
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2074
1972
  /**
2075
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1973
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2076
1974
  */
2077
1975
  chainId: string;
2078
1976
  /**
2079
1977
  * Contract address on the relevant chain.
2080
1978
  */
2081
1979
  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
1980
  /**
2087
1981
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2088
1982
  */
2089
1983
  pageToken?: string;
1984
+ /**
1985
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1986
+ */
1987
+ pageSize?: number;
2090
1988
  }): CancelablePromise<ListNftTokens>;
2091
1989
  /**
2092
1990
  * Get token details
@@ -2096,7 +1994,7 @@ declare class NfTsService {
2096
1994
  */
2097
1995
  getTokenDetails({ chainId, address, tokenId, }: {
2098
1996
  /**
2099
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1997
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2100
1998
  */
2101
1999
  chainId: string;
2102
2000
  /**
@@ -2115,8 +2013,12 @@ type EvmNetworkOptions = {
2115
2013
  includeChains: Array<string>;
2116
2014
  };
2117
2015
 
2016
+ declare enum EVMOperationType {
2017
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2018
+ }
2019
+
2118
2020
  type CreateEvmTransactionExportRequest = {
2119
- type: CreateEvmTransactionExportRequest.type;
2021
+ type: EVMOperationType;
2120
2022
  firstDate: string;
2121
2023
  lastDate: string;
2122
2024
  /**
@@ -2129,20 +2031,21 @@ type CreateEvmTransactionExportRequest = {
2129
2031
  endDate: string;
2130
2032
  options: EvmNetworkOptions;
2131
2033
  };
2132
- declare namespace CreateEvmTransactionExportRequest {
2133
- enum type {
2134
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2135
- }
2034
+
2035
+ declare enum PrimaryNetworkOperationType {
2036
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2037
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2038
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"
2136
2039
  }
2137
2040
 
2138
2041
  type PrimaryNetworkOptions = {
2139
- addresses: Array<string>;
2042
+ addresses?: Array<string>;
2140
2043
  cChainEvmAddresses?: Array<string>;
2141
2044
  includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2142
2045
  };
2143
2046
 
2144
2047
  type CreatePrimaryNetworkTransactionExportRequest = {
2145
- type: CreatePrimaryNetworkTransactionExportRequest.type;
2048
+ type: PrimaryNetworkOperationType;
2146
2049
  firstDate: string;
2147
2050
  lastDate: string;
2148
2051
  /**
@@ -2155,11 +2058,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
2155
2058
  endDate: string;
2156
2059
  options: PrimaryNetworkOptions;
2157
2060
  };
2158
- declare namespace CreatePrimaryNetworkTransactionExportRequest {
2159
- enum type {
2160
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2161
- }
2162
- }
2163
2061
 
2164
2062
  declare enum OperationStatus {
2165
2063
  RUNNING = "RUNNING",
@@ -2169,8 +2067,10 @@ declare enum OperationStatus {
2169
2067
  }
2170
2068
 
2171
2069
  declare enum OperationType {
2172
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM",
2173
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2070
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2071
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2072
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",
2073
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2174
2074
  }
2175
2075
 
2176
2076
  declare enum OperationStatusCode {
@@ -2362,13 +2262,44 @@ type BlockchainInfo = {
2362
2262
  blockchainId: string;
2363
2263
  };
2364
2264
 
2265
+ type SubnetOwnershipInfo = {
2266
+ /**
2267
+ * Locktime in seconds after which Subnet owners can control this Subnet.
2268
+ */
2269
+ locktime: number;
2270
+ /**
2271
+ * Minimum number of signatures required to sign the Subnet update transactions.
2272
+ */
2273
+ threshold: number;
2274
+ /**
2275
+ * Addresses that are eligible to sign the Subnet update transactions.
2276
+ */
2277
+ addresses: Array<string>;
2278
+ };
2279
+
2365
2280
  type Subnet = {
2366
2281
  createBlockTimestamp: number;
2367
2282
  createBlockIndex: string;
2368
2283
  subnetId: string;
2284
+ /**
2285
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2286
+ * @deprecated
2287
+ */
2369
2288
  ownerAddresses: Array<string>;
2370
- threshold: number;
2289
+ /**
2290
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2291
+ * @deprecated
2292
+ */
2293
+ threshold: number;
2294
+ /**
2295
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2296
+ * @deprecated
2297
+ */
2371
2298
  locktime: number;
2299
+ /**
2300
+ * Latest subnet owner details for this Subnet.
2301
+ */
2302
+ subnetOwnershipInfo: SubnetOwnershipInfo;
2372
2303
  blockchains: Array<BlockchainInfo>;
2373
2304
  };
2374
2305
 
@@ -2498,6 +2429,14 @@ declare enum Network {
2498
2429
  FUJI = "fuji"
2499
2430
  }
2500
2431
 
2432
+ declare enum SortByOption {
2433
+ BLOCK_INDEX = "blockIndex",
2434
+ DELEGATION_CAPACITY = "delegationCapacity",
2435
+ TIME_REMAINING = "timeRemaining",
2436
+ DELEGATION_FEE = "delegationFee",
2437
+ UPTIME_PERFORMANCE = "uptimePerformance"
2438
+ }
2439
+
2501
2440
  declare enum ValidationStatusType {
2502
2441
  COMPLETED = "completed",
2503
2442
  ACTIVE = "active",
@@ -2505,6 +2444,22 @@ declare enum ValidationStatusType {
2505
2444
  REMOVED = "removed"
2506
2445
  }
2507
2446
 
2447
+ /**
2448
+ * Cap represents if an asset is a variable or fixed cap asset.
2449
+ */
2450
+ declare enum PrimaryNetworkAssetCap {
2451
+ FIXED = "fixed",
2452
+ VARIABLE = "variable"
2453
+ }
2454
+
2455
+ /**
2456
+ * Type of asset like SECP256K1 or NFT.
2457
+ */
2458
+ declare enum PrimaryNetworkAssetType {
2459
+ SECP256K1 = "secp256k1",
2460
+ NFT = "nft"
2461
+ }
2462
+
2508
2463
  type XChainAssetDetails = {
2509
2464
  /**
2510
2465
  * Unique ID for an asset.
@@ -2522,18 +2477,12 @@ type XChainAssetDetails = {
2522
2477
  * Denomination of this asset to represent fungibility.
2523
2478
  */
2524
2479
  denomination: number;
2525
- /**
2526
- * Type of asset like SECP256K1 or NFT.
2527
- */
2528
- type: string;
2480
+ type: PrimaryNetworkAssetType;
2529
2481
  /**
2530
2482
  * Timestamp in seconds this asset was created on.
2531
2483
  */
2532
2484
  createdAtTimestamp: number;
2533
- /**
2534
- * Cap represents if an asset can be or is fixed cap.
2535
- */
2536
- cap: string;
2485
+ cap: PrimaryNetworkAssetCap;
2537
2486
  };
2538
2487
 
2539
2488
  declare enum XChainId {
@@ -2599,19 +2548,19 @@ declare class PrimaryNetworkService {
2599
2548
  * @returns ListBlockchainsResponse
2600
2549
  * @throws ApiError
2601
2550
  */
2602
- listBlockchains({ network, pageSize, pageToken, sortOrder, }: {
2551
+ listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2603
2552
  /**
2604
2553
  * Either mainnet or a testnet.
2605
2554
  */
2606
2555
  network: Network;
2607
- /**
2608
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2609
- */
2610
- pageSize?: number;
2611
2556
  /**
2612
2557
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2613
2558
  */
2614
2559
  pageToken?: string;
2560
+ /**
2561
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2562
+ */
2563
+ pageSize?: number;
2615
2564
  /**
2616
2565
  * 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.
2617
2566
  */
@@ -2623,19 +2572,19 @@ declare class PrimaryNetworkService {
2623
2572
  * @returns ListSubnetsResponse
2624
2573
  * @throws ApiError
2625
2574
  */
2626
- listSubnets({ network, pageSize, pageToken, sortOrder, }: {
2575
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2627
2576
  /**
2628
2577
  * Either mainnet or a testnet.
2629
2578
  */
2630
2579
  network: Network;
2631
- /**
2632
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2633
- */
2634
- pageSize?: number;
2635
2580
  /**
2636
2581
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2637
2582
  */
2638
2583
  pageToken?: string;
2584
+ /**
2585
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2586
+ */
2587
+ pageSize?: number;
2639
2588
  /**
2640
2589
  * 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.
2641
2590
  */
@@ -2647,23 +2596,29 @@ declare class PrimaryNetworkService {
2647
2596
  * @returns ListValidatorDetailsResponse
2648
2597
  * @throws ApiError
2649
2598
  */
2650
- listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2599
+ listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
2651
2600
  /**
2652
2601
  * Either mainnet or a testnet.
2653
2602
  */
2654
2603
  network: Network;
2655
- /**
2656
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2657
- */
2658
- pageSize?: number;
2659
2604
  /**
2660
2605
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2661
2606
  */
2662
2607
  pageToken?: string;
2608
+ /**
2609
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2610
+ */
2611
+ pageSize?: number;
2663
2612
  /**
2664
2613
  * A comma separated list of node ids to filter by.
2665
2614
  */
2666
2615
  nodeIds?: string;
2616
+ /**
2617
+ * Which property to sort by, in conjunction with sortOrder.
2618
+ *
2619
+ * Note: Delegation fee is only available for mainnet validators. Set `subnetId` to `11111111111111111111111111111111LpoYY` to use this option.
2620
+ */
2621
+ sortBy?: SortByOption;
2667
2622
  /**
2668
2623
  * 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.
2669
2624
  */
@@ -2675,31 +2630,39 @@ declare class PrimaryNetworkService {
2675
2630
  /**
2676
2631
  * 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
2677
2632
  */
2678
- minDelegationCapacity?: any;
2633
+ minDelegationCapacity?: string;
2679
2634
  /**
2680
2635
  * 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.
2681
2636
  */
2682
- maxDelegationCapacity?: any;
2637
+ maxDelegationCapacity?: string;
2683
2638
  /**
2684
2639
  * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2685
2640
  */
2686
- minTimeRemaining?: any;
2641
+ minTimeRemaining?: number;
2687
2642
  /**
2688
2643
  * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2689
2644
  */
2690
- maxTimeRemaining?: any;
2645
+ maxTimeRemaining?: number;
2646
+ /**
2647
+ * 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.0, as per the Avalanche spec.
2648
+ */
2649
+ minFeePercentage?: number;
2691
2650
  /**
2692
- * 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.
2651
+ * 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.0.
2693
2652
  */
2694
- minFeePercentage?: any;
2653
+ maxFeePercentage?: number;
2695
2654
  /**
2696
- * 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.
2655
+ * The minimum node uptime performance percentage, which represents node health, used to filter the set of nodes being returned Default is 90.
2697
2656
  */
2698
- maxFeePercentage?: any;
2657
+ minUptimePerformance?: number;
2658
+ /**
2659
+ * The maximum node uptime performance percentage, which represents node health, used to filter the set of nodes being returned. Default is 100.
2660
+ */
2661
+ maxUptimePerformance?: number;
2699
2662
  /**
2700
2663
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2701
2664
  */
2702
- subnetId?: string;
2665
+ subnetId?: any;
2703
2666
  }): CancelablePromise<ListValidatorDetailsResponse>;
2704
2667
  /**
2705
2668
  * Get single validator details
@@ -2707,7 +2670,7 @@ declare class PrimaryNetworkService {
2707
2670
  * @returns ListValidatorDetailsResponse
2708
2671
  * @throws ApiError
2709
2672
  */
2710
- getSingleValidatorDetails({ network, nodeId, pageSize, pageToken, sortOrder, validationStatus, }: {
2673
+ getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
2711
2674
  /**
2712
2675
  * Either mainnet or a testnet.
2713
2676
  */
@@ -2716,22 +2679,22 @@ declare class PrimaryNetworkService {
2716
2679
  * A primary network (P or X chain) nodeId.
2717
2680
  */
2718
2681
  nodeId: string;
2719
- /**
2720
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2721
- */
2722
- pageSize?: number;
2723
2682
  /**
2724
2683
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2725
2684
  */
2726
2685
  pageToken?: string;
2727
2686
  /**
2728
- * 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.
2687
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2729
2688
  */
2730
- sortOrder?: SortOrder;
2689
+ pageSize?: number;
2731
2690
  /**
2732
2691
  * Validation status of the node.
2733
2692
  */
2734
2693
  validationStatus?: ValidationStatusType;
2694
+ /**
2695
+ * 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.
2696
+ */
2697
+ sortOrder?: SortOrder;
2735
2698
  }): CancelablePromise<ListValidatorDetailsResponse>;
2736
2699
  /**
2737
2700
  * List delegators
@@ -2739,19 +2702,19 @@ declare class PrimaryNetworkService {
2739
2702
  * @returns ListDelegatorDetailsResponse
2740
2703
  * @throws ApiError
2741
2704
  */
2742
- listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2705
+ listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2743
2706
  /**
2744
2707
  * Either mainnet or a testnet.
2745
2708
  */
2746
2709
  network: Network;
2747
- /**
2748
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2749
- */
2750
- pageSize?: number;
2751
2710
  /**
2752
2711
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2753
2712
  */
2754
2713
  pageToken?: string;
2714
+ /**
2715
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2716
+ */
2717
+ pageSize?: number;
2755
2718
  /**
2756
2719
  * A comma separated list of reward addresses to filter by.
2757
2720
  */
@@ -2799,10 +2762,7 @@ type CChainSharedAssetBalance = {
2799
2762
  * Denomination of this asset to represent fungibility.
2800
2763
  */
2801
2764
  denomination: number;
2802
- /**
2803
- * Type of asset like SECP256K1 or NFT.
2804
- */
2805
- type: string;
2765
+ type: PrimaryNetworkAssetType;
2806
2766
  /**
2807
2767
  * Amount of the asset.
2808
2768
  */
@@ -2837,7 +2797,7 @@ type ListCChainAtomicBalancesResponse = {
2837
2797
  chainInfo: PrimaryNetworkChainInfo;
2838
2798
  };
2839
2799
 
2840
- type Asset = {
2800
+ type AggregatedAssetAmount = {
2841
2801
  /**
2842
2802
  * Unique ID for an asset.
2843
2803
  */
@@ -2854,14 +2814,12 @@ type Asset = {
2854
2814
  * Denomination of this asset to represent fungibility.
2855
2815
  */
2856
2816
  denomination: number;
2857
- /**
2858
- * Type of asset like SECP256K1 or NFT.
2859
- */
2860
- type: string;
2817
+ type: PrimaryNetworkAssetType;
2861
2818
  /**
2862
2819
  * Amount of the asset.
2863
2820
  */
2864
2821
  amount: string;
2822
+ utxoCount: number;
2865
2823
  };
2866
2824
 
2867
2825
  type PChainSharedAsset = {
@@ -2881,49 +2839,47 @@ type PChainSharedAsset = {
2881
2839
  * Denomination of this asset to represent fungibility.
2882
2840
  */
2883
2841
  denomination: number;
2884
- /**
2885
- * Type of asset like SECP256K1 or NFT.
2886
- */
2887
- type: string;
2842
+ type: PrimaryNetworkAssetType;
2888
2843
  /**
2889
2844
  * Amount of the asset.
2890
2845
  */
2891
2846
  amount: string;
2847
+ utxoCount: number;
2892
2848
  sharedWithChainId: string;
2893
2849
  status: string;
2894
2850
  };
2895
2851
 
2896
2852
  type PChainBalance = {
2897
2853
  /**
2898
- * 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.
2854
+ * 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.
2899
2855
  */
2900
- unlockedUnstaked: Array<Asset>;
2856
+ unlockedUnstaked: Array<AggregatedAssetAmount>;
2901
2857
  /**
2902
- * 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.
2858
+ * 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.
2903
2859
  */
2904
- unlockedStaked: Array<Asset>;
2860
+ unlockedStaked: Array<AggregatedAssetAmount>;
2905
2861
  /**
2906
- * 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.
2862
+ * 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.
2907
2863
  */
2908
- lockedPlatform: Array<Asset>;
2864
+ lockedPlatform: Array<AggregatedAssetAmount>;
2909
2865
  /**
2910
- * 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.
2866
+ * 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.
2911
2867
  */
2912
- lockedStakeable: Array<Asset>;
2868
+ lockedStakeable: Array<AggregatedAssetAmount>;
2913
2869
  /**
2914
- * 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.
2870
+ * 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.
2915
2871
  */
2916
- lockedStaked: Array<Asset>;
2872
+ lockedStaked: Array<AggregatedAssetAmount>;
2917
2873
  /**
2918
- * 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.
2874
+ * 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.
2919
2875
  */
2920
- pendingStaked: Array<Asset>;
2876
+ pendingStaked: Array<AggregatedAssetAmount>;
2921
2877
  /**
2922
- * 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.
2878
+ * 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.
2923
2879
  */
2924
2880
  atomicMemoryUnlocked: Array<PChainSharedAsset>;
2925
2881
  /**
2926
- * 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.
2882
+ * 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.
2927
2883
  */
2928
2884
  atomicMemoryLocked: Array<PChainSharedAsset>;
2929
2885
  };
@@ -2933,34 +2889,6 @@ type ListPChainBalancesResponse = {
2933
2889
  chainInfo: PrimaryNetworkChainInfo;
2934
2890
  };
2935
2891
 
2936
- type XChainAssetBalance = {
2937
- /**
2938
- * Unique ID for an asset.
2939
- */
2940
- assetId: string;
2941
- /**
2942
- * Name of this asset.
2943
- */
2944
- name: string;
2945
- /**
2946
- * Symbol for this asset (max 4 characters).
2947
- */
2948
- symbol: string;
2949
- /**
2950
- * Denomination of this asset to represent fungibility.
2951
- */
2952
- denomination: number;
2953
- /**
2954
- * Type of asset like SECP256K1 or NFT.
2955
- */
2956
- type: string;
2957
- /**
2958
- * Amount of the asset.
2959
- */
2960
- amount: string;
2961
- utxoCount: number;
2962
- };
2963
-
2964
2892
  type XChainSharedAssetBalance = {
2965
2893
  /**
2966
2894
  * Unique ID for an asset.
@@ -2978,10 +2906,7 @@ type XChainSharedAssetBalance = {
2978
2906
  * Denomination of this asset to represent fungibility.
2979
2907
  */
2980
2908
  denomination: number;
2981
- /**
2982
- * Type of asset like SECP256K1 or NFT.
2983
- */
2984
- type: string;
2909
+ type: PrimaryNetworkAssetType;
2985
2910
  /**
2986
2911
  * Amount of the asset.
2987
2912
  */
@@ -2994,11 +2919,11 @@ type XChainBalances = {
2994
2919
  /**
2995
2920
  * A list of objects containing X-chain Asset balance information.
2996
2921
  */
2997
- locked: Array<XChainAssetBalance>;
2922
+ locked: Array<AggregatedAssetAmount>;
2998
2923
  /**
2999
2924
  * A list of objects containing X-chain Asset balance information.
3000
2925
  */
3001
- unlocked: Array<XChainAssetBalance>;
2926
+ unlocked: Array<AggregatedAssetAmount>;
3002
2927
  atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
3003
2928
  atomicMemoryLocked: Array<XChainSharedAssetBalance>;
3004
2929
  };
@@ -3111,7 +3036,7 @@ declare class PrimaryNetworkBlocksService {
3111
3036
  * @returns ListPrimaryNetworkBlocksResponse
3112
3037
  * @throws ApiError
3113
3038
  */
3114
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageSize, pageToken, }: {
3039
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
3115
3040
  /**
3116
3041
  * A primary network blockchain id or alias.
3117
3042
  */
@@ -3124,14 +3049,14 @@ declare class PrimaryNetworkBlocksService {
3124
3049
  * A primary network (P or X chain) nodeId.
3125
3050
  */
3126
3051
  nodeId: string;
3127
- /**
3128
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3129
- */
3130
- pageSize?: number;
3131
3052
  /**
3132
3053
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3133
3054
  */
3134
3055
  pageToken?: string;
3056
+ /**
3057
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3058
+ */
3059
+ pageSize?: number;
3135
3060
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3136
3061
  /**
3137
3062
  * List latest blocks
@@ -3139,7 +3064,7 @@ declare class PrimaryNetworkBlocksService {
3139
3064
  * @returns ListPrimaryNetworkBlocksResponse
3140
3065
  * @throws ApiError
3141
3066
  */
3142
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageSize, pageToken, }: {
3067
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
3143
3068
  /**
3144
3069
  * A primary network blockchain id or alias.
3145
3070
  */
@@ -3148,14 +3073,14 @@ declare class PrimaryNetworkBlocksService {
3148
3073
  * Either mainnet or a testnet.
3149
3074
  */
3150
3075
  network: Network;
3151
- /**
3152
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3153
- */
3154
- pageSize?: number;
3155
3076
  /**
3156
3077
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3157
3078
  */
3158
3079
  pageToken?: string;
3080
+ /**
3081
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3082
+ */
3083
+ pageSize?: number;
3159
3084
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3160
3085
  }
3161
3086
 
@@ -3176,10 +3101,7 @@ type AssetWithPriceInfo = {
3176
3101
  * Denomination of this asset to represent fungibility.
3177
3102
  */
3178
3103
  denomination: number;
3179
- /**
3180
- * Type of asset like SECP256K1 or NFT.
3181
- */
3182
- type: string;
3104
+ type: PrimaryNetworkAssetType;
3183
3105
  /**
3184
3106
  * Amount of the asset.
3185
3107
  */
@@ -3221,6 +3143,30 @@ type ListHistoricalRewardsResponse = {
3221
3143
  historicalRewards: Array<HistoricalReward>;
3222
3144
  };
3223
3145
 
3146
+ type AssetAmount = {
3147
+ /**
3148
+ * Unique ID for an asset.
3149
+ */
3150
+ assetId: string;
3151
+ /**
3152
+ * Name of this asset.
3153
+ */
3154
+ name: string;
3155
+ /**
3156
+ * Symbol for this asset (max 4 characters).
3157
+ */
3158
+ symbol: string;
3159
+ /**
3160
+ * Denomination of this asset to represent fungibility.
3161
+ */
3162
+ denomination: number;
3163
+ type: PrimaryNetworkAssetType;
3164
+ /**
3165
+ * Amount of the asset.
3166
+ */
3167
+ amount: string;
3168
+ };
3169
+
3224
3170
  type PendingReward = {
3225
3171
  /**
3226
3172
  * An array of P-Chain wallet addresses.
@@ -3234,9 +3180,9 @@ type PendingReward = {
3234
3180
  rewardType: RewardType;
3235
3181
  progress: number;
3236
3182
  /**
3237
- * An object containing P-chain Asset ID and the amount of that Asset ID.
3183
+ * An object containing P-chain Asset basic info and the amount of that Asset ID.
3238
3184
  */
3239
- estimatedReward: Asset;
3185
+ estimatedReward: AssetAmount;
3240
3186
  };
3241
3187
 
3242
3188
  type ListPendingRewardsResponse = {
@@ -3256,25 +3202,25 @@ declare class PrimaryNetworkRewardsService {
3256
3202
  * @returns ListPendingRewardsResponse
3257
3203
  * @throws ApiError
3258
3204
  */
3259
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3205
+ listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
3260
3206
  /**
3261
3207
  * Either mainnet or a testnet.
3262
3208
  */
3263
3209
  network: Network;
3264
3210
  /**
3265
- * 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.
3211
+ * 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.
3266
3212
  */
3267
3213
  addresses?: string;
3268
- /**
3269
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3270
- */
3271
- pageSize?: number;
3272
3214
  /**
3273
3215
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3274
3216
  */
3275
3217
  pageToken?: string;
3276
3218
  /**
3277
- * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3219
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3220
+ */
3221
+ pageSize?: number;
3222
+ /**
3223
+ * A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
3278
3224
  */
3279
3225
  nodeIds?: string;
3280
3226
  /**
@@ -3288,7 +3234,7 @@ declare class PrimaryNetworkRewardsService {
3288
3234
  * @returns ListHistoricalRewardsResponse
3289
3235
  * @throws ApiError
3290
3236
  */
3291
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, currency, }: {
3237
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3292
3238
  /**
3293
3239
  * Either mainnet or a testnet.
3294
3240
  */
@@ -3297,14 +3243,14 @@ declare class PrimaryNetworkRewardsService {
3297
3243
  * 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.
3298
3244
  */
3299
3245
  addresses?: string;
3300
- /**
3301
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3302
- */
3303
- pageSize?: number;
3304
3246
  /**
3305
3247
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3306
3248
  */
3307
3249
  pageToken?: string;
3250
+ /**
3251
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3252
+ */
3253
+ pageSize?: number;
3308
3254
  /**
3309
3255
  * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3310
3256
  */
@@ -3337,9 +3283,9 @@ type EVMInput = {
3337
3283
  */
3338
3284
  fromAddress: string;
3339
3285
  /**
3340
- * Asset details for the asset being transferred.
3286
+ * AssetAmount details for the asset being transferred.
3341
3287
  */
3342
- asset: Asset;
3288
+ asset: AssetAmount;
3343
3289
  /**
3344
3290
  * Credentials that signed this transaction.
3345
3291
  */
@@ -3351,7 +3297,7 @@ type Utxo = {
3351
3297
  * Addresses that are eligible to sign the consumption of this output.
3352
3298
  */
3353
3299
  addresses: Array<string>;
3354
- asset: Asset;
3300
+ asset: AssetAmount;
3355
3301
  /**
3356
3302
  * Blockchain ID on which this output is consumed on.
3357
3303
  */
@@ -3434,11 +3380,11 @@ type CChainExportTransaction = {
3434
3380
  /**
3435
3381
  * Assets unlocked by inputs of this transaction.
3436
3382
  */
3437
- amountUnlocked: Array<Asset>;
3383
+ amountUnlocked: Array<AssetAmount>;
3438
3384
  /**
3439
3385
  * Assets created by outputs of this transaction.
3440
3386
  */
3441
- amountCreated: Array<Asset>;
3387
+ amountCreated: Array<AssetAmount>;
3442
3388
  /**
3443
3389
  * Source chain for an atomic transaction.
3444
3390
  */
@@ -3469,9 +3415,9 @@ type EVMOutput = {
3469
3415
  */
3470
3416
  toAddress: string;
3471
3417
  /**
3472
- * Asset details for the asset being transferred.
3418
+ * AssetAmount details for the asset being transferred.
3473
3419
  */
3474
- asset: Asset;
3420
+ asset: AssetAmount;
3475
3421
  };
3476
3422
 
3477
3423
  type CChainImportTransaction = {
@@ -3498,11 +3444,11 @@ type CChainImportTransaction = {
3498
3444
  /**
3499
3445
  * Assets unlocked by inputs of this transaction.
3500
3446
  */
3501
- amountUnlocked: Array<Asset>;
3447
+ amountUnlocked: Array<AssetAmount>;
3502
3448
  /**
3503
3449
  * Assets created by outputs of this transaction.
3504
3450
  */
3505
- amountCreated: Array<Asset>;
3451
+ amountCreated: Array<AssetAmount>;
3506
3452
  /**
3507
3453
  * Source chain for an atomic transaction.
3508
3454
  */
@@ -3550,6 +3496,8 @@ declare enum PChainTransactionType {
3550
3496
  TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3551
3497
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3552
3498
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3499
+ BASE_TX = "BaseTx",
3500
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3553
3501
  UNKNOWN = "UNKNOWN"
3554
3502
  }
3555
3503
 
@@ -3563,7 +3511,7 @@ type PChainUtxo = {
3563
3511
  * Addresses that are eligible to sign the consumption of this output.
3564
3512
  */
3565
3513
  addresses: Array<string>;
3566
- asset: Asset;
3514
+ asset: AssetAmount;
3567
3515
  /**
3568
3516
  * Blockchain ID on which this output is consumed on.
3569
3517
  */
@@ -3627,17 +3575,17 @@ type PChainTransaction = {
3627
3575
  */
3628
3576
  destinationChain?: string;
3629
3577
  /**
3630
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3578
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3631
3579
  */
3632
- value: Array<Asset>;
3580
+ value: Array<AssetAmount>;
3633
3581
  /**
3634
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3582
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3635
3583
  */
3636
- amountBurned: Array<Asset>;
3584
+ amountBurned: Array<AssetAmount>;
3637
3585
  /**
3638
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3586
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3639
3587
  */
3640
- amountStaked: Array<Asset>;
3588
+ amountStaked: Array<AssetAmount>;
3641
3589
  /**
3642
3590
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3643
3591
  */
@@ -3669,6 +3617,10 @@ type PChainTransaction = {
3669
3617
  * Present for RewardValidatorTx
3670
3618
  */
3671
3619
  stakingTxHash?: string;
3620
+ /**
3621
+ * Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
3622
+ */
3623
+ subnetOwnershipInfo?: SubnetOwnershipInfo;
3672
3624
  };
3673
3625
 
3674
3626
  type ListPChainTransactionsResponse = {
@@ -3680,6 +3632,9 @@ type ListPChainTransactionsResponse = {
3680
3632
  chainInfo: PrimaryNetworkChainInfo;
3681
3633
  };
3682
3634
 
3635
+ /**
3636
+ * Type of transaction.
3637
+ */
3683
3638
  declare enum XChainTransactionType {
3684
3639
  BASE_TX = "BaseTx",
3685
3640
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3702,9 +3657,6 @@ type XChainLinearTransaction = {
3702
3657
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3703
3658
  */
3704
3659
  timestamp: number;
3705
- /**
3706
- * Type of transaction.
3707
- */
3708
3660
  txType: XChainTransactionType;
3709
3661
  /**
3710
3662
  * Hex encoded memo bytes for this transaction.
@@ -3715,11 +3667,11 @@ type XChainLinearTransaction = {
3715
3667
  /**
3716
3668
  * Assets unlocked by inputs of this transaction.
3717
3669
  */
3718
- amountUnlocked: Array<Asset>;
3670
+ amountUnlocked: Array<AssetAmount>;
3719
3671
  /**
3720
3672
  * Assets created by outputs of this transaction.
3721
3673
  */
3722
- amountCreated: Array<Asset>;
3674
+ amountCreated: Array<AssetAmount>;
3723
3675
  /**
3724
3676
  * Source chain for an atomic transaction.
3725
3677
  */
@@ -3729,7 +3681,7 @@ type XChainLinearTransaction = {
3729
3681
  */
3730
3682
  destinationChain?: string;
3731
3683
  /**
3732
- * Asset details of the asset created in CreateAssetTx
3684
+ * AssetAmount details of the asset created in CreateAssetTx
3733
3685
  */
3734
3686
  assetCreated?: XChainAssetDetails;
3735
3687
  /**
@@ -3779,9 +3731,6 @@ type XChainNonLinearTransaction = {
3779
3731
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3780
3732
  */
3781
3733
  timestamp: number;
3782
- /**
3783
- * Type of transaction.
3784
- */
3785
3734
  txType: XChainTransactionType;
3786
3735
  /**
3787
3736
  * Hex encoded memo bytes for this transaction.
@@ -3792,11 +3741,11 @@ type XChainNonLinearTransaction = {
3792
3741
  /**
3793
3742
  * Assets unlocked by inputs of this transaction.
3794
3743
  */
3795
- amountUnlocked: Array<Asset>;
3744
+ amountUnlocked: Array<AssetAmount>;
3796
3745
  /**
3797
3746
  * Assets created by outputs of this transaction.
3798
3747
  */
3799
- amountCreated: Array<Asset>;
3748
+ amountCreated: Array<AssetAmount>;
3800
3749
  /**
3801
3750
  * Source chain for an atomic transaction.
3802
3751
  */
@@ -3806,7 +3755,7 @@ type XChainNonLinearTransaction = {
3806
3755
  */
3807
3756
  destinationChain?: string;
3808
3757
  /**
3809
- * Asset details of the asset created in CreateAssetTx
3758
+ * AssetAmount details of the asset created in CreateAssetTx
3810
3759
  */
3811
3760
  assetCreated?: XChainAssetDetails;
3812
3761
  /**
@@ -3852,8 +3801,9 @@ declare enum PrimaryNetworkTxType {
3852
3801
  TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3853
3802
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3854
3803
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3855
- UNKNOWN = "UNKNOWN",
3856
3804
  BASE_TX = "BaseTx",
3805
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3806
+ UNKNOWN = "UNKNOWN",
3857
3807
  CREATE_ASSET_TX = "CreateAssetTx",
3858
3808
  OPERATION_TX = "OperationTx"
3859
3809
  }
@@ -3885,13 +3835,13 @@ declare class PrimaryNetworkTransactionsService {
3885
3835
  * List latest transactions
3886
3836
  * Lists the latest transactions on one of the Primary Network chains.
3887
3837
  *
3888
- * Transactions are filterable by addresses.
3838
+ * 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.
3889
3839
  *
3890
3840
  * 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.
3891
3841
  * @returns any
3892
3842
  * @throws ApiError
3893
3843
  */
3894
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3844
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3895
3845
  /**
3896
3846
  * A primary network blockchain id or alias.
3897
3847
  */
@@ -3916,14 +3866,14 @@ declare class PrimaryNetworkTransactionsService {
3916
3866
  * Query param for retrieving items before a specific timestamp.
3917
3867
  */
3918
3868
  endTimestamp?: number;
3919
- /**
3920
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3921
- */
3922
- pageSize?: number;
3923
3869
  /**
3924
3870
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3925
3871
  */
3926
3872
  pageToken?: string;
3873
+ /**
3874
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3875
+ */
3876
+ pageSize?: number;
3927
3877
  /**
3928
3878
  * 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.
3929
3879
  */
@@ -3935,7 +3885,7 @@ declare class PrimaryNetworkTransactionsService {
3935
3885
  * @returns ListPChainTransactionsResponse
3936
3886
  * @throws ApiError
3937
3887
  */
3938
- listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3888
+ listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3939
3889
  /**
3940
3890
  * A primary network blockchain id or alias.
3941
3891
  */
@@ -3960,14 +3910,14 @@ declare class PrimaryNetworkTransactionsService {
3960
3910
  * Query param for retrieving items before a specific timestamp.
3961
3911
  */
3962
3912
  endTimestamp?: number;
3963
- /**
3964
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3965
- */
3966
- pageSize?: number;
3967
3913
  /**
3968
3914
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3969
3915
  */
3970
3916
  pageToken?: string;
3917
+ /**
3918
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3919
+ */
3920
+ pageSize?: number;
3971
3921
  /**
3972
3922
  * 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.
3973
3923
  */
@@ -3979,7 +3929,7 @@ declare class PrimaryNetworkTransactionsService {
3979
3929
  * @returns ListXChainTransactionsResponse
3980
3930
  * @throws ApiError
3981
3931
  */
3982
- listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
3932
+ listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3983
3933
  /**
3984
3934
  * A primary network blockchain id or alias.
3985
3935
  */
@@ -4004,14 +3954,14 @@ declare class PrimaryNetworkTransactionsService {
4004
3954
  * Query param for retrieving items before a specific timestamp.
4005
3955
  */
4006
3956
  endTimestamp?: number;
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
3957
  /**
4012
3958
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4013
3959
  */
4014
3960
  pageToken?: string;
3961
+ /**
3962
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3963
+ */
3964
+ pageSize?: number;
4015
3965
  }): CancelablePromise<ListXChainTransactionsResponse>;
4016
3966
  }
4017
3967
 
@@ -4042,7 +3992,7 @@ declare class PrimaryNetworkUtxOsService {
4042
3992
  * @returns any
4043
3993
  * @throws ApiError
4044
3994
  */
4045
- getUtxosByAddresses({ blockchainId, network, addresses, pageSize, pageToken, assetId, includeSpent, sortOrder, }: {
3995
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
4046
3996
  /**
4047
3997
  * A primary network blockchain id or alias.
4048
3998
  */
@@ -4055,14 +4005,14 @@ declare class PrimaryNetworkUtxOsService {
4055
4005
  * 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".
4056
4006
  */
4057
4007
  addresses?: string;
4058
- /**
4059
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4060
- */
4061
- pageSize?: number;
4062
4008
  /**
4063
4009
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4064
4010
  */
4065
4011
  pageToken?: string;
4012
+ /**
4013
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4014
+ */
4015
+ pageSize?: number;
4066
4016
  /**
4067
4017
  * Asset ID for any asset (only applicable X-Chain)
4068
4018
  */
@@ -4107,7 +4057,7 @@ declare class PrimaryNetworkVerticesService {
4107
4057
  * @returns ListXChainVerticesResponse
4108
4058
  * @throws ApiError
4109
4059
  */
4110
- listLatestXChainVertices({ blockchainId, network, pageSize, pageToken, }: {
4060
+ listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
4111
4061
  /**
4112
4062
  * A primary network blockchain id or alias.
4113
4063
  */
@@ -4116,14 +4066,14 @@ declare class PrimaryNetworkVerticesService {
4116
4066
  * Either mainnet or a testnet.
4117
4067
  */
4118
4068
  network: Network;
4119
- /**
4120
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4121
- */
4122
- pageSize?: number;
4123
4069
  /**
4124
4070
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4125
4071
  */
4126
4072
  pageToken?: string;
4073
+ /**
4074
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4075
+ */
4076
+ pageSize?: number;
4127
4077
  }): CancelablePromise<ListXChainVerticesResponse>;
4128
4078
  /**
4129
4079
  * Get vertex
@@ -4151,7 +4101,7 @@ declare class PrimaryNetworkVerticesService {
4151
4101
  * @returns ListXChainVerticesResponse
4152
4102
  * @throws ApiError
4153
4103
  */
4154
- getVertexByHeight({ vertexHeight, blockchainId, network, pageSize, pageToken, sortOrder, }: {
4104
+ getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
4155
4105
  /**
4156
4106
  * The height of a vertex.
4157
4107
  */
@@ -4164,14 +4114,14 @@ declare class PrimaryNetworkVerticesService {
4164
4114
  * Either mainnet or a testnet.
4165
4115
  */
4166
4116
  network: Network;
4167
- /**
4168
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4169
- */
4170
- pageSize?: number;
4171
4117
  /**
4172
4118
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4173
4119
  */
4174
4120
  pageToken?: string;
4121
+ /**
4122
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4123
+ */
4124
+ pageSize?: number;
4175
4125
  /**
4176
4126
  * 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.
4177
4127
  */
@@ -4179,6 +4129,49 @@ declare class PrimaryNetworkVerticesService {
4179
4129
  }): CancelablePromise<ListXChainVerticesResponse>;
4180
4130
  }
4181
4131
 
4132
+ type RpcErrorDto = {
4133
+ code: number;
4134
+ message: string;
4135
+ data?: Record<string, any>;
4136
+ };
4137
+
4138
+ type RpcErrorResponseDto = {
4139
+ jsonrpc: string;
4140
+ id?: (string | number);
4141
+ error: RpcErrorDto;
4142
+ };
4143
+
4144
+ type RpcRequestBodyDto = {
4145
+ method: string;
4146
+ params?: Record<string, any>;
4147
+ id?: (string | number);
4148
+ jsonrpc?: string;
4149
+ };
4150
+
4151
+ type RpcSuccessResponseDto = {
4152
+ jsonrpc: string;
4153
+ id?: (string | number);
4154
+ result: Record<string, any>;
4155
+ };
4156
+
4157
+ declare class RpcService {
4158
+ readonly httpRequest: BaseHttpRequest;
4159
+ constructor(httpRequest: BaseHttpRequest);
4160
+ /**
4161
+ * Calls JSON-RPC method
4162
+ * Calls JSON-RPC method.
4163
+ * @returns any
4164
+ * @throws ApiError
4165
+ */
4166
+ rpc({ chainId, requestBody, }: {
4167
+ /**
4168
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
4169
+ */
4170
+ chainId: string;
4171
+ requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
4172
+ }): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
4173
+ }
4174
+
4182
4175
  type TeleporterDestinationTransaction = {
4183
4176
  txHash: string;
4184
4177
  timestamp: number;
@@ -4187,6 +4180,11 @@ type TeleporterDestinationTransaction = {
4187
4180
  delivererAddress: string;
4188
4181
  };
4189
4182
 
4183
+ type TeleporterReceipt = {
4184
+ receivedMessageNonce: string;
4185
+ relayerRewardAddress: string;
4186
+ };
4187
+
4190
4188
  type TeleporterRewardDetails = {
4191
4189
  /**
4192
4190
  * A wallet or contract address in mixed-case checksum encoding.
@@ -4222,14 +4220,18 @@ declare namespace TeleporterRewardDetails {
4222
4220
  }
4223
4221
 
4224
4222
  type DeliveredSourceNotIndexedTeleporterMessage = {
4223
+ messageId: string;
4224
+ teleporterContractAddress: string;
4225
4225
  sourceBlockchainId: string;
4226
4226
  destinationBlockchainId: string;
4227
- messageId: string;
4227
+ sourceEvmChainId: string;
4228
+ destinationEvmChainId: string;
4229
+ messageNonce: string;
4228
4230
  from: string;
4229
4231
  to: string;
4230
4232
  data?: string;
4231
4233
  messageExecuted: boolean;
4232
- receipts: Array<string>;
4234
+ receipts: Array<TeleporterReceipt>;
4233
4235
  receiptDelivered: boolean;
4234
4236
  rewardDetails: TeleporterRewardDetails;
4235
4237
  destinationTransaction: TeleporterDestinationTransaction;
@@ -4248,14 +4250,18 @@ type TeleporterSourceTransaction = {
4248
4250
  };
4249
4251
 
4250
4252
  type DeliveredTeleporterMessage = {
4253
+ messageId: string;
4254
+ teleporterContractAddress: string;
4251
4255
  sourceBlockchainId: string;
4252
4256
  destinationBlockchainId: string;
4253
- messageId: string;
4257
+ sourceEvmChainId: string;
4258
+ destinationEvmChainId: string;
4259
+ messageNonce: string;
4254
4260
  from: string;
4255
4261
  to: string;
4256
4262
  data?: string;
4257
4263
  messageExecuted: boolean;
4258
- receipts: Array<string>;
4264
+ receipts: Array<TeleporterReceipt>;
4259
4265
  receiptDelivered: boolean;
4260
4266
  rewardDetails: TeleporterRewardDetails;
4261
4267
  sourceTransaction: TeleporterSourceTransaction;
@@ -4268,22 +4274,19 @@ declare namespace DeliveredTeleporterMessage {
4268
4274
  }
4269
4275
  }
4270
4276
 
4271
- type NextPageToken = {
4272
- /**
4273
- * 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.
4274
- */
4275
- nextPageToken?: string;
4276
- };
4277
-
4278
4277
  type PendingTeleporterMessage = {
4278
+ messageId: string;
4279
+ teleporterContractAddress: string;
4279
4280
  sourceBlockchainId: string;
4280
4281
  destinationBlockchainId: string;
4281
- messageId: string;
4282
+ sourceEvmChainId: string;
4283
+ destinationEvmChainId: string;
4284
+ messageNonce: string;
4282
4285
  from: string;
4283
4286
  to: string;
4284
4287
  data?: string;
4285
4288
  messageExecuted: boolean;
4286
- receipts: Array<string>;
4289
+ receipts: Array<TeleporterReceipt>;
4287
4290
  receiptDelivered: boolean;
4288
4291
  rewardDetails: TeleporterRewardDetails;
4289
4292
  sourceTransaction: TeleporterSourceTransaction;
@@ -4295,61 +4298,293 @@ declare namespace PendingTeleporterMessage {
4295
4298
  }
4296
4299
  }
4297
4300
 
4301
+ type ListTeleporterMessagesResponse = {
4302
+ /**
4303
+ * 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.
4304
+ */
4305
+ nextPageToken?: string;
4306
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
4307
+ };
4308
+
4298
4309
  declare class TeleporterService {
4299
4310
  readonly httpRequest: BaseHttpRequest;
4300
4311
  constructor(httpRequest: BaseHttpRequest);
4301
4312
  /**
4302
4313
  * Get a teleporter message
4303
- * Gets a teleporter message by source chain, destination chain, and message ID.
4314
+ * Gets a teleporter message by message ID.
4304
4315
  * @returns any
4305
4316
  * @throws ApiError
4306
4317
  */
4307
- getTeleporterMessage({ sourceBlockchainId, destinationBlockchainId, messageId, }: {
4308
- /**
4309
- * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4310
- */
4311
- sourceBlockchainId: any;
4312
- /**
4313
- * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4314
- */
4315
- destinationBlockchainId: any;
4318
+ getTeleporterMessage({ messageId, }: {
4316
4319
  /**
4317
4320
  * The message ID of the teleporter message.
4318
4321
  */
4319
- messageId: any;
4322
+ messageId: string;
4320
4323
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4321
4324
  /**
4322
4325
  * List teleporter messages
4323
4326
  * Lists teleporter messages. Ordered by timestamp in descending order.
4324
- * @returns any
4327
+ * @returns ListTeleporterMessagesResponse
4325
4328
  * @throws ApiError
4326
4329
  */
4327
- listTeleporterMessages({ pageSize, pageToken, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4330
+ listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, network, }: {
4331
+ /**
4332
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4333
+ */
4334
+ pageToken?: string;
4328
4335
  /**
4329
4336
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4330
4337
  */
4331
4338
  pageSize?: number;
4339
+ /**
4340
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
4341
+ */
4342
+ sourceBlockchainId?: string;
4343
+ /**
4344
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
4345
+ */
4346
+ destinationBlockchainId?: string;
4347
+ /**
4348
+ * The address of the recipient of the teleporter message.
4349
+ */
4350
+ to?: string;
4351
+ /**
4352
+ * The address of the sender of the teleporter message.
4353
+ */
4354
+ from?: string;
4355
+ /**
4356
+ * mainnet or testnet.
4357
+ */
4358
+ network?: NetworkType;
4359
+ }): CancelablePromise<ListTeleporterMessagesResponse>;
4360
+ }
4361
+
4362
+ type AddressesChangeRequest = {
4363
+ /**
4364
+ * Ethereum address(es) for the address_activity event type
4365
+ */
4366
+ addresses: Array<any[]>;
4367
+ };
4368
+
4369
+ type ListWebhookAddressesResponse = {
4370
+ /**
4371
+ * 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.
4372
+ */
4373
+ nextPageToken?: string;
4374
+ addresses: Array<string>;
4375
+ totalAddresses: number;
4376
+ };
4377
+
4378
+ type AddressActivityMetadata = {
4379
+ /**
4380
+ * Ethereum address(es) for the address_activity event type
4381
+ */
4382
+ addresses: Array<any[]>;
4383
+ /**
4384
+ * Array of hexadecimal strings of the event signatures.
4385
+ */
4386
+ eventSignatures?: Array<string>;
4387
+ };
4388
+
4389
+ declare enum EventType {
4390
+ ADDRESS_ACTIVITY = "address_activity"
4391
+ }
4392
+
4393
+ declare enum WebhookStatusType {
4394
+ ACTIVE = "active",
4395
+ INACTIVE = "inactive"
4396
+ }
4397
+
4398
+ type WebhookResponse = {
4399
+ id: string;
4400
+ eventType: EventType;
4401
+ metadata: AddressActivityMetadata;
4402
+ /**
4403
+ * Whether to include traces in the webhook payload.
4404
+ */
4405
+ includeInternalTxs?: boolean;
4406
+ /**
4407
+ * Whether to include logs in the webhook payload.
4408
+ */
4409
+ includeLogs?: boolean;
4410
+ url: string;
4411
+ chainId: string;
4412
+ status: WebhookStatusType;
4413
+ createdAt: number;
4414
+ name: string;
4415
+ description: string;
4416
+ };
4417
+
4418
+ type ListWebhooksResponse = {
4419
+ /**
4420
+ * 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.
4421
+ */
4422
+ nextPageToken?: string;
4423
+ webhooks: Array<WebhookResponse>;
4424
+ };
4425
+
4426
+ type RegisterWebhookRequest = {
4427
+ url: string;
4428
+ chainId: string;
4429
+ eventType: EventType;
4430
+ metadata: AddressActivityMetadata;
4431
+ /**
4432
+ * Whether to include traces in the webhook payload.
4433
+ */
4434
+ includeInternalTxs?: boolean;
4435
+ /**
4436
+ * Whether to include logs in the webhook payload.
4437
+ */
4438
+ includeLogs?: boolean;
4439
+ };
4440
+
4441
+ type SharedSecretsResponse = {
4442
+ secret: string;
4443
+ };
4444
+
4445
+ type UpdateWebhookRequest = {
4446
+ name?: string;
4447
+ description?: string;
4448
+ url?: string;
4449
+ status?: WebhookStatusType;
4450
+ includeInternalTxs?: boolean;
4451
+ includeLogs?: boolean;
4452
+ };
4453
+
4454
+ declare enum WebhookStatus {
4455
+ ACTIVE = "active",
4456
+ INACTIVE = "inactive"
4457
+ }
4458
+
4459
+ declare class WebhooksService {
4460
+ readonly httpRequest: BaseHttpRequest;
4461
+ constructor(httpRequest: BaseHttpRequest);
4462
+ /**
4463
+ * Create a webhook
4464
+ * Create a new webhook.
4465
+ * @returns WebhookResponse
4466
+ * @throws ApiError
4467
+ */
4468
+ registerWebhook({ requestBody, }: {
4469
+ requestBody: RegisterWebhookRequest;
4470
+ }): CancelablePromise<WebhookResponse>;
4471
+ /**
4472
+ * List webhooks
4473
+ * Lists webhooks for the user.
4474
+ * @returns ListWebhooksResponse
4475
+ * @throws ApiError
4476
+ */
4477
+ listWebhooks({ pageToken, pageSize, status, }: {
4332
4478
  /**
4333
4479
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4334
4480
  */
4335
4481
  pageToken?: string;
4336
4482
  /**
4337
- * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4483
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4338
4484
  */
4339
- sourceBlockchainId?: any;
4485
+ pageSize?: number;
4340
4486
  /**
4341
- * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4487
+ * 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.
4342
4488
  */
4343
- destinationBlockchainId?: any;
4489
+ status?: WebhookStatus;
4490
+ }): CancelablePromise<ListWebhooksResponse>;
4491
+ /**
4492
+ * Get a webhook by ID
4493
+ * Retrieves a webhook by ID.
4494
+ * @returns WebhookResponse
4495
+ * @throws ApiError
4496
+ */
4497
+ getWebhook({ id, }: {
4344
4498
  /**
4345
- * The address of the recipient of the teleporter message.
4499
+ * The webhook identifier.
4346
4500
  */
4347
- to?: any;
4501
+ id: string;
4502
+ }): CancelablePromise<WebhookResponse>;
4503
+ /**
4504
+ * Deactivate a webhook
4505
+ * Deactivates a webhook by ID.
4506
+ * @returns WebhookResponse
4507
+ * @throws ApiError
4508
+ */
4509
+ deactivateWebhook({ id, }: {
4348
4510
  /**
4349
- * The address of the sender of the teleporter message.
4511
+ * The webhook identifier.
4350
4512
  */
4351
- from?: any;
4352
- }): CancelablePromise<NextPageToken>;
4513
+ id: string;
4514
+ }): CancelablePromise<WebhookResponse>;
4515
+ /**
4516
+ * Update a webhook
4517
+ * Updates an existing webhook.
4518
+ * @returns WebhookResponse
4519
+ * @throws ApiError
4520
+ */
4521
+ updateWebhook({ id, requestBody, }: {
4522
+ /**
4523
+ * The webhook identifier.
4524
+ */
4525
+ id: string;
4526
+ requestBody: UpdateWebhookRequest;
4527
+ }): CancelablePromise<WebhookResponse>;
4528
+ /**
4529
+ * Generate a shared secret
4530
+ * Generates a new shared secret.
4531
+ * @returns SharedSecretsResponse
4532
+ * @throws ApiError
4533
+ */
4534
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4535
+ /**
4536
+ * Get a shared secret
4537
+ * Get a previously generated shared secret.
4538
+ * @returns SharedSecretsResponse
4539
+ * @throws ApiError
4540
+ */
4541
+ getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4542
+ /**
4543
+ * Add address(es) to a webhook
4544
+ * Adding address(es) to a given webhook.
4545
+ * @returns WebhookResponse
4546
+ * @throws ApiError
4547
+ */
4548
+ addAddressesToWebhook({ id, requestBody, }: {
4549
+ /**
4550
+ * The webhook identifier.
4551
+ */
4552
+ id: string;
4553
+ requestBody: AddressesChangeRequest;
4554
+ }): CancelablePromise<WebhookResponse>;
4555
+ /**
4556
+ * Remove address(es) from a webhook
4557
+ * Removing address(es) from a given webhook.
4558
+ * @returns WebhookResponse
4559
+ * @throws ApiError
4560
+ */
4561
+ removeAddressesFromWebhook({ id, requestBody, }: {
4562
+ /**
4563
+ * The webhook identifier.
4564
+ */
4565
+ id: string;
4566
+ requestBody: AddressesChangeRequest;
4567
+ }): CancelablePromise<WebhookResponse>;
4568
+ /**
4569
+ * Get address(es) from a given webhook
4570
+ * Retrieving address(es) from a given webhook.
4571
+ * @returns ListWebhookAddressesResponse
4572
+ * @throws ApiError
4573
+ */
4574
+ getAddressesFromWebhook({ id, pageToken, pageSize, }: {
4575
+ /**
4576
+ * The webhook identifier.
4577
+ */
4578
+ id: string;
4579
+ /**
4580
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4581
+ */
4582
+ pageToken?: string;
4583
+ /**
4584
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4585
+ */
4586
+ pageSize?: number;
4587
+ }): CancelablePromise<ListWebhookAddressesResponse>;
4353
4588
  }
4354
4589
 
4355
4590
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
@@ -4370,7 +4605,9 @@ declare class Glacier {
4370
4605
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
4371
4606
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
4372
4607
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4608
+ readonly rpc: RpcService;
4373
4609
  readonly teleporter: TeleporterService;
4610
+ readonly webhooks: WebhooksService;
4374
4611
  readonly request: BaseHttpRequest;
4375
4612
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
4376
4613
  }
@@ -4392,4 +4629,11 @@ declare class ApiError extends Error {
4392
4629
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4393
4630
  }
4394
4631
 
4395
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, 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, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TeleporterDestinationTransaction, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, 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 };
4632
+ type NextPageToken = {
4633
+ /**
4634
+ * 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.
4635
+ */
4636
+ nextPageToken?: string;
4637
+ };
4638
+
4639
+ 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, ListWebhookAddressesResponse, 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, SortByOption, 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 };