@avalabs/glacier-sdk 2.8.0-canary.b05020f.0 → 2.8.0-canary.b10baf2.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 (108) hide show
  1. package/dist/index.d.ts +642 -473
  2. package/dist/index.js +288 -194
  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/{XChainAssetBalance.d.ts → AggregatedAssetAmount.d.ts} +5 -6
  9. package/esm/generated/models/{Asset.d.ts → AssetAmount.d.ts} +5 -6
  10. package/esm/generated/models/AssetWithPriceInfo.d.ts +32 -0
  11. package/esm/generated/models/CChainExportTransaction.d.ts +3 -3
  12. package/esm/generated/models/CChainImportTransaction.d.ts +3 -3
  13. package/esm/generated/models/CChainSharedAssetBalance.d.ts +3 -4
  14. package/esm/generated/models/ChainInfo.d.ts +1 -3
  15. package/esm/generated/models/ChainStatus.d.ts +3 -0
  16. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +2 -6
  17. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +2 -6
  18. package/esm/generated/models/CurrencyCode.d.ts +3 -0
  19. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +5 -2
  20. package/esm/generated/models/DeliveredTeleporterMessage.d.ts +5 -2
  21. package/esm/generated/models/EVMInput.d.ts +3 -3
  22. package/esm/generated/models/EVMOperationType.d.ts +5 -0
  23. package/esm/generated/models/EVMOperationType.js +6 -0
  24. package/esm/generated/models/EVMOutput.d.ts +3 -3
  25. package/esm/generated/models/Erc1155TokenMetadata.d.ts +0 -3
  26. package/esm/generated/models/Erc721TokenMetadata.d.ts +0 -3
  27. package/esm/generated/models/GetChainResponse.d.ts +1 -3
  28. package/esm/generated/models/GlacierApiFeature.d.ts +5 -0
  29. package/esm/generated/models/GlacierApiFeature.js +6 -0
  30. package/esm/generated/models/HistoricalReward.d.ts +2 -5
  31. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  32. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  33. package/esm/generated/models/Method.d.ts +0 -3
  34. package/esm/generated/models/Money.d.ts +0 -3
  35. package/esm/generated/models/NftTokenMetadataStatus.d.ts +3 -0
  36. package/esm/generated/models/OperationType.d.ts +4 -2
  37. package/esm/generated/models/OperationType.js +3 -1
  38. package/esm/generated/models/PChainBalance.d.ts +15 -15
  39. package/esm/generated/models/PChainSharedAsset.d.ts +4 -4
  40. package/esm/generated/models/PChainTransaction.d.ts +12 -7
  41. package/esm/generated/models/PChainTransactionType.d.ts +2 -0
  42. package/esm/generated/models/PChainTransactionType.js +2 -0
  43. package/esm/generated/models/PChainUtxo.d.ts +2 -2
  44. package/esm/generated/models/PendingReward.d.ts +3 -3
  45. package/esm/generated/models/PendingTeleporterMessage.d.ts +5 -2
  46. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +9 -0
  47. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  48. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +9 -0
  49. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  50. package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
  51. package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
  52. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  53. package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
  54. package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
  55. package/esm/generated/models/RegisterWebhookRequest.d.ts +8 -3
  56. package/esm/generated/models/RpcErrorDto.d.ts +7 -0
  57. package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
  58. package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
  59. package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
  60. package/esm/generated/models/Subnet.d.ts +17 -0
  61. package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
  62. package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
  63. package/esm/generated/models/TransactionMethodType.d.ts +3 -0
  64. package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
  65. package/esm/generated/models/Utxo.d.ts +2 -2
  66. package/esm/generated/models/WebhookResponse.d.ts +10 -0
  67. package/esm/generated/models/XChainAssetDetails.d.ts +5 -8
  68. package/esm/generated/models/XChainBalances.d.ts +3 -3
  69. package/esm/generated/models/XChainLinearTransaction.d.ts +4 -7
  70. package/esm/generated/models/XChainNonLinearTransaction.d.ts +4 -7
  71. package/esm/generated/models/XChainSharedAssetBalance.d.ts +3 -4
  72. package/esm/generated/models/XChainTransactionType.d.ts +3 -0
  73. package/esm/generated/services/DefaultService.d.ts +0 -53
  74. package/esm/generated/services/DefaultService.js +0 -42
  75. package/esm/generated/services/EvmBalancesService.d.ts +25 -25
  76. package/esm/generated/services/EvmBalancesService.js +8 -8
  77. package/esm/generated/services/EvmBlocksService.d.ts +7 -7
  78. package/esm/generated/services/EvmBlocksService.js +4 -4
  79. package/esm/generated/services/EvmChainsService.d.ts +7 -2
  80. package/esm/generated/services/EvmChainsService.js +4 -2
  81. package/esm/generated/services/EvmContractsService.d.ts +2 -2
  82. package/esm/generated/services/EvmTransactionsService.d.ts +57 -57
  83. package/esm/generated/services/EvmTransactionsService.js +32 -32
  84. package/esm/generated/services/NfTsService.d.ts +8 -8
  85. package/esm/generated/services/NfTsService.js +4 -4
  86. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +10 -10
  87. package/esm/generated/services/PrimaryNetworkBlocksService.js +8 -8
  88. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +17 -12
  89. package/esm/generated/services/PrimaryNetworkRewardsService.js +8 -6
  90. package/esm/generated/services/PrimaryNetworkService.d.ts +32 -32
  91. package/esm/generated/services/PrimaryNetworkService.js +10 -10
  92. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +16 -16
  93. package/esm/generated/services/PrimaryNetworkTransactionsService.js +8 -8
  94. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +5 -5
  95. package/esm/generated/services/PrimaryNetworkUtxOsService.js +2 -2
  96. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +10 -10
  97. package/esm/generated/services/PrimaryNetworkVerticesService.js +6 -6
  98. package/esm/generated/services/RpcService.d.ts +25 -0
  99. package/esm/generated/services/RpcService.js +24 -0
  100. package/esm/generated/services/TeleporterService.d.ts +14 -22
  101. package/esm/generated/services/TeleporterService.js +4 -8
  102. package/esm/generated/services/WebhooksService.d.ts +95 -0
  103. package/esm/generated/services/WebhooksService.js +80 -0
  104. package/esm/index.d.ts +17 -2
  105. package/esm/index.js +7 -2
  106. package/package.json +3 -3
  107. package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
  108. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +0 -8
package/dist/index.d.ts CHANGED
@@ -23,15 +23,9 @@ interface OnCancel {
23
23
  (cancelHandler: () => void): void;
24
24
  }
25
25
  declare class CancelablePromise<T> implements Promise<T> {
26
- readonly [Symbol.toStringTag]: string;
27
- private _isResolved;
28
- private _isRejected;
29
- private _isCancelled;
30
- private readonly _cancelHandlers;
31
- private readonly _promise;
32
- private _resolve?;
33
- private _reject?;
26
+ #private;
34
27
  constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: OnCancel) => void);
28
+ get [Symbol.toStringTag](): string;
35
29
  then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
36
30
  catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
37
31
  finally(onFinally?: (() => void) | null): Promise<T>;
@@ -60,63 +54,6 @@ declare abstract class BaseHttpRequest {
60
54
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
61
55
  }
62
56
 
63
- type AddressActivityMetadata = {
64
- /**
65
- * Ethereum address for the address_activity event type
66
- */
67
- address: string;
68
- /**
69
- * Array of hexadecimal strings of the event signatures.
70
- */
71
- eventSignatures?: Array<string>;
72
- };
73
-
74
- declare enum EventType {
75
- ADDRESS_ACTIVITY = "address_activity"
76
- }
77
-
78
- declare enum WebhookStatusType {
79
- ACTIVE = "active",
80
- INACTIVE = "inactive"
81
- }
82
-
83
- type WebhookResponse = {
84
- id: string;
85
- eventType: EventType;
86
- metadata: AddressActivityMetadata;
87
- url: string;
88
- chainId: string;
89
- status: WebhookStatusType;
90
- createdAt: number;
91
- };
92
-
93
- type ListWebhooksResponse = {
94
- /**
95
- * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
96
- */
97
- nextPageToken?: string;
98
- webhooks: Array<WebhookResponse>;
99
- };
100
-
101
- type RegisterWebhookRequest = {
102
- url: string;
103
- chainId: string;
104
- /**
105
- * The type of event for the webhook
106
- */
107
- eventType: EventType;
108
- metadata: AddressActivityMetadata;
109
- };
110
-
111
- type SharedSecretsResponse = {
112
- secret: string;
113
- };
114
-
115
- declare enum WebhookStatus {
116
- ACTIVE = "active",
117
- INACTIVE = "inactive"
118
- }
119
-
120
57
  declare class DefaultService {
121
58
  readonly httpRequest: BaseHttpRequest;
122
59
  constructor(httpRequest: BaseHttpRequest);
@@ -125,56 +62,11 @@ declare class DefaultService {
125
62
  * @throws ApiError
126
63
  */
127
64
  mediaControllerUploadImage(): CancelablePromise<any>;
128
- /**
129
- * Register a webhook
130
- * Registers a new webhook.
131
- * @returns WebhookResponse
132
- * @throws ApiError
133
- */
134
- registerWebhook({ requestBody, }: {
135
- requestBody: RegisterWebhookRequest;
136
- }): CancelablePromise<WebhookResponse>;
137
- /**
138
- * List webhooks
139
- * Lists webhooks for the user.
140
- * @returns ListWebhooksResponse
141
- * @throws ApiError
142
- */
143
- listWebhooks({ pageSize, pageToken, status, }: {
144
- /**
145
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
146
- */
147
- pageSize?: number;
148
- /**
149
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
150
- */
151
- pageToken?: string;
152
- /**
153
- * Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
154
- */
155
- status?: WebhookStatus;
156
- }): CancelablePromise<ListWebhooksResponse>;
157
- /**
158
- * Deactivate a webhook
159
- * Deactivates a webhook by ID.
160
- * @returns WebhookResponse
161
- * @throws ApiError
162
- */
163
- deactivateWebhook({ id, }: {
164
- /**
165
- * The webhook identifier.
166
- */
167
- id: string;
168
- }): CancelablePromise<WebhookResponse>;
169
- /**
170
- * Generate a shared secret
171
- * Generates a new shared secret.
172
- * @returns SharedSecretsResponse
173
- * @throws ApiError
174
- */
175
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
176
65
  }
177
66
 
67
+ /**
68
+ * ISO 4217 currency code.
69
+ */
178
70
  declare enum CurrencyCode {
179
71
  USD = "usd",
180
72
  EUR = "eur",
@@ -193,9 +85,6 @@ declare enum CurrencyCode {
193
85
  }
194
86
 
195
87
  type Money = {
196
- /**
197
- * ISO 4217 currency code.
198
- */
199
88
  currencyCode: CurrencyCode;
200
89
  /**
201
90
  * Monetary value in base 10 decimals.
@@ -245,6 +134,9 @@ type GetNativeBalanceResponse = {
245
134
  nativeTokenBalance: NativeTokenBalance;
246
135
  };
247
136
 
137
+ /**
138
+ * The metadata indexing status of the nft.
139
+ */
248
140
  declare enum NftTokenMetadataStatus {
249
141
  UNKNOWN = "UNKNOWN",
250
142
  MISSING_TOKEN = "MISSING_TOKEN",
@@ -260,9 +152,6 @@ declare enum NftTokenMetadataStatus {
260
152
  }
261
153
 
262
154
  type Erc1155TokenMetadata = {
263
- /**
264
- * The metadata indexing status of the nft.
265
- */
266
155
  indexStatus: NftTokenMetadataStatus;
267
156
  metadataLastUpdatedTimestamp?: number;
268
157
  name?: string;
@@ -301,9 +190,6 @@ declare namespace Erc1155TokenBalance {
301
190
  }
302
191
 
303
192
  type Erc721TokenMetadata = {
304
- /**
305
- * The metadata indexing status of the nft.
306
- */
307
193
  indexStatus: NftTokenMetadataStatus;
308
194
  metadataLastUpdatedTimestamp?: number;
309
195
  name?: string;
@@ -450,7 +336,7 @@ declare class EvmBalancesService {
450
336
  */
451
337
  getNativeBalance({ chainId, address, blockNumber, currency, }: {
452
338
  /**
453
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
339
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
454
340
  */
455
341
  chainId: string;
456
342
  /**
@@ -476,9 +362,9 @@ declare class EvmBalancesService {
476
362
  * @returns ListErc20BalancesResponse
477
363
  * @throws ApiError
478
364
  */
479
- listErc20Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddresses, currency, }: {
365
+ listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
480
366
  /**
481
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
367
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
482
368
  */
483
369
  chainId: string;
484
370
  /**
@@ -489,14 +375,14 @@ declare class EvmBalancesService {
489
375
  * The block number, if not defined the block number will be the latest block.
490
376
  */
491
377
  blockNumber?: string;
492
- /**
493
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
494
- */
495
- pageSize?: number;
496
378
  /**
497
379
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
498
380
  */
499
381
  pageToken?: string;
382
+ /**
383
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
384
+ */
385
+ pageSize?: number;
500
386
  /**
501
387
  * A comma separated list of contract addresses to filter by.
502
388
  */
@@ -514,23 +400,23 @@ declare class EvmBalancesService {
514
400
  * @returns ListErc721BalancesResponse
515
401
  * @throws ApiError
516
402
  */
517
- listErc721Balances({ chainId, address, pageSize, pageToken, contractAddress, }: {
403
+ listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
518
404
  /**
519
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
405
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
520
406
  */
521
407
  chainId: string;
522
408
  /**
523
409
  * A wallet address.
524
410
  */
525
411
  address: string;
526
- /**
527
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
528
- */
529
- pageSize?: number;
530
412
  /**
531
413
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
532
414
  */
533
415
  pageToken?: string;
416
+ /**
417
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
418
+ */
419
+ pageSize?: number;
534
420
  /**
535
421
  * A contract addresses to filter by.
536
422
  */
@@ -546,9 +432,9 @@ declare class EvmBalancesService {
546
432
  * @returns ListErc1155BalancesResponse
547
433
  * @throws ApiError
548
434
  */
549
- listErc1155Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddress, }: {
435
+ listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
550
436
  /**
551
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
437
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
552
438
  */
553
439
  chainId: string;
554
440
  /**
@@ -559,14 +445,14 @@ declare class EvmBalancesService {
559
445
  * The block number, if not defined the block number will be the latest block.
560
446
  */
561
447
  blockNumber?: string;
562
- /**
563
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
564
- */
565
- pageSize?: number;
566
448
  /**
567
449
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
568
450
  */
569
451
  pageToken?: string;
452
+ /**
453
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
454
+ */
455
+ pageSize?: number;
570
456
  /**
571
457
  * A contract addresses to filter by.
572
458
  */
@@ -580,23 +466,23 @@ declare class EvmBalancesService {
580
466
  * @returns ListCollectibleBalancesResponse
581
467
  * @throws ApiError
582
468
  */
583
- listCollectibleBalances({ chainId, address, pageSize, pageToken, contractAddress, }: {
469
+ listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
584
470
  /**
585
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
471
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
586
472
  */
587
473
  chainId: string;
588
474
  /**
589
475
  * A wallet address.
590
476
  */
591
477
  address: string;
592
- /**
593
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
594
- */
595
- pageSize?: number;
596
478
  /**
597
479
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
598
480
  */
599
481
  pageToken?: string;
482
+ /**
483
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
484
+ */
485
+ pageSize?: number;
600
486
  /**
601
487
  * A contract addresses to filter by.
602
488
  */
@@ -709,19 +595,19 @@ declare class EvmBlocksService {
709
595
  * @returns ListEvmBlocksResponse
710
596
  * @throws ApiError
711
597
  */
712
- getLatestBlocks({ chainId, pageSize, pageToken, }: {
598
+ getLatestBlocks({ chainId, pageToken, pageSize, }: {
713
599
  /**
714
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
600
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
715
601
  */
716
602
  chainId: string;
717
- /**
718
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
719
- */
720
- pageSize?: number;
721
603
  /**
722
604
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
723
605
  */
724
606
  pageToken?: string;
607
+ /**
608
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
609
+ */
610
+ pageSize?: number;
725
611
  }): CancelablePromise<ListEvmBlocksResponse>;
726
612
  /**
727
613
  * Get block
@@ -731,7 +617,7 @@ declare class EvmBlocksService {
731
617
  */
732
618
  getBlock({ chainId, blockId, }: {
733
619
  /**
734
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
620
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
735
621
  */
736
622
  chainId: string;
737
623
  /**
@@ -741,6 +627,9 @@ declare class EvmBlocksService {
741
627
  }): CancelablePromise<GetEvmBlockResponse>;
742
628
  }
743
629
 
630
+ /**
631
+ * Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
632
+ */
744
633
  declare enum ChainStatus {
745
634
  OK = "OK",
746
635
  UNAVAILABLE = "UNAVAILABLE"
@@ -778,9 +667,6 @@ declare enum VmName {
778
667
 
779
668
  type GetChainResponse = {
780
669
  chainId: string;
781
- /**
782
- * Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
783
- */
784
670
  status: ChainStatus;
785
671
  chainName: string;
786
672
  description: string;
@@ -796,13 +682,15 @@ type GetChainResponse = {
796
682
  networkToken: NetworkToken;
797
683
  chainLogoUri?: string;
798
684
  private?: boolean;
685
+ enabledFeatures?: Array<'nftIndexing'>;
799
686
  };
800
687
 
688
+ declare enum GlacierApiFeature {
689
+ NFT_INDEXING = "nftIndexing"
690
+ }
691
+
801
692
  type ChainInfo = {
802
693
  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
694
  status: ChainStatus;
807
695
  chainName: string;
808
696
  description: string;
@@ -818,6 +706,7 @@ type ChainInfo = {
818
706
  networkToken: NetworkToken;
819
707
  chainLogoUri?: string;
820
708
  private?: boolean;
709
+ enabledFeatures?: Array<'nftIndexing'>;
821
710
  };
822
711
 
823
712
  type ListChainsResponse = {
@@ -838,11 +727,15 @@ declare class EvmChainsService {
838
727
  * @returns ListChainsResponse
839
728
  * @throws ApiError
840
729
  */
841
- supportedChains({ network, }: {
730
+ supportedChains({ network, feature, }: {
842
731
  /**
843
732
  * mainnet or testnet.
844
733
  */
845
734
  network?: NetworkType;
735
+ /**
736
+ * Filter by feature.
737
+ */
738
+ feature?: GlacierApiFeature;
846
739
  }): CancelablePromise<ListChainsResponse>;
847
740
  /**
848
741
  * Get chain information
@@ -852,7 +745,7 @@ declare class EvmChainsService {
852
745
  */
853
746
  getChainInfo({ chainId, }: {
854
747
  /**
855
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
748
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
856
749
  */
857
750
  chainId: string;
858
751
  }): CancelablePromise<GetChainResponse>;
@@ -1147,7 +1040,7 @@ declare class EvmContractsService {
1147
1040
  */
1148
1041
  getContractMetadata({ chainId, address, }: {
1149
1042
  /**
1150
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1043
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1151
1044
  */
1152
1045
  chainId: string;
1153
1046
  /**
@@ -1163,7 +1056,7 @@ declare class EvmContractsService {
1163
1056
  */
1164
1057
  updateContractInfo({ chainId, address, requestBody, }: {
1165
1058
  /**
1166
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1059
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1167
1060
  */
1168
1061
  chainId: string;
1169
1062
  /**
@@ -1297,6 +1190,9 @@ type Erc721TransferDetails = {
1297
1190
  erc721Token: Erc721Token;
1298
1191
  };
1299
1192
 
1193
+ /**
1194
+ * 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.
1195
+ */
1300
1196
  declare enum TransactionMethodType {
1301
1197
  NATIVE_TRANSFER = "NATIVE_TRANSFER",
1302
1198
  CONTRACT_CALL = "CONTRACT_CALL",
@@ -1304,9 +1200,6 @@ declare enum TransactionMethodType {
1304
1200
  }
1305
1201
 
1306
1202
  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
1203
  callType: TransactionMethodType;
1311
1204
  /**
1312
1205
  * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
@@ -1667,7 +1560,7 @@ type ListTransfersResponse = {
1667
1560
  * 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
1561
  */
1669
1562
  nextPageToken?: string;
1670
- transfers: (Array<Erc20Transfer> | Array<Erc721Transfer> | Array<Erc1155Transfer>);
1563
+ transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
1671
1564
  };
1672
1565
 
1673
1566
  declare enum SortOrder {
@@ -1691,7 +1584,7 @@ declare class EvmTransactionsService {
1691
1584
  */
1692
1585
  getDeploymentTransaction({ chainId, address, currency, }: {
1693
1586
  /**
1694
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1587
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1695
1588
  */
1696
1589
  chainId: string;
1697
1590
  /**
@@ -1709,23 +1602,23 @@ declare class EvmTransactionsService {
1709
1602
  * @returns ListContractsResponse
1710
1603
  * @throws ApiError
1711
1604
  */
1712
- listContractDeployments({ chainId, address, pageSize, pageToken, }: {
1605
+ listContractDeployments({ chainId, address, pageToken, pageSize, }: {
1713
1606
  /**
1714
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1607
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1715
1608
  */
1716
1609
  chainId: string;
1717
1610
  /**
1718
1611
  * A wallet address.
1719
1612
  */
1720
1613
  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
1614
  /**
1726
1615
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1727
1616
  */
1728
1617
  pageToken?: string;
1618
+ /**
1619
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1620
+ */
1621
+ pageSize?: number;
1729
1622
  }): CancelablePromise<ListContractsResponse>;
1730
1623
  /**
1731
1624
  * List ERC transfers
@@ -1733,9 +1626,9 @@ declare class EvmTransactionsService {
1733
1626
  * @returns ListTransfersResponse
1734
1627
  * @throws ApiError
1735
1628
  */
1736
- listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1629
+ listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1737
1630
  /**
1738
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1631
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1739
1632
  */
1740
1633
  chainId: string;
1741
1634
  /**
@@ -1750,14 +1643,14 @@ declare class EvmTransactionsService {
1750
1643
  * 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
1644
  */
1752
1645
  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
1646
  /**
1758
1647
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1759
1648
  */
1760
1649
  pageToken?: string;
1650
+ /**
1651
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1652
+ */
1653
+ pageSize?: number;
1761
1654
  }): CancelablePromise<ListTransfersResponse>;
1762
1655
  /**
1763
1656
  * List transactions
@@ -1767,23 +1660,23 @@ declare class EvmTransactionsService {
1767
1660
  * @returns ListTransactionDetailsResponse
1768
1661
  * @throws ApiError
1769
1662
  */
1770
- listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
1663
+ listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
1771
1664
  /**
1772
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1665
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1773
1666
  */
1774
1667
  chainId: string;
1775
1668
  /**
1776
1669
  * A wallet address.
1777
1670
  */
1778
1671
  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
1672
  /**
1784
1673
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1785
1674
  */
1786
1675
  pageToken?: string;
1676
+ /**
1677
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1678
+ */
1679
+ pageSize?: number;
1787
1680
  /**
1788
1681
  * 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
1682
  */
@@ -1803,9 +1696,9 @@ declare class EvmTransactionsService {
1803
1696
  * @returns ListNativeTransactionsResponse
1804
1697
  * @throws ApiError
1805
1698
  */
1806
- listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1699
+ listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1807
1700
  /**
1808
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1701
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1809
1702
  */
1810
1703
  chainId: string;
1811
1704
  /**
@@ -1820,14 +1713,14 @@ declare class EvmTransactionsService {
1820
1713
  * 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
1714
  */
1822
1715
  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
1716
  /**
1828
1717
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1829
1718
  */
1830
1719
  pageToken?: string;
1720
+ /**
1721
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1722
+ */
1723
+ pageSize?: number;
1831
1724
  }): CancelablePromise<ListNativeTransactionsResponse>;
1832
1725
  /**
1833
1726
  * List ERC-20 transfers
@@ -1835,9 +1728,9 @@ declare class EvmTransactionsService {
1835
1728
  * @returns ListErc20TransactionsResponse
1836
1729
  * @throws ApiError
1837
1730
  */
1838
- listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1731
+ listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1839
1732
  /**
1840
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1733
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1841
1734
  */
1842
1735
  chainId: string;
1843
1736
  /**
@@ -1852,14 +1745,14 @@ declare class EvmTransactionsService {
1852
1745
  * 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
1746
  */
1854
1747
  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
1748
  /**
1860
1749
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1861
1750
  */
1862
1751
  pageToken?: string;
1752
+ /**
1753
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1754
+ */
1755
+ pageSize?: number;
1863
1756
  }): CancelablePromise<ListErc20TransactionsResponse>;
1864
1757
  /**
1865
1758
  * List ERC-721 transfers
@@ -1867,9 +1760,9 @@ declare class EvmTransactionsService {
1867
1760
  * @returns ListErc721TransactionsResponse
1868
1761
  * @throws ApiError
1869
1762
  */
1870
- listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1763
+ listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1871
1764
  /**
1872
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1765
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1873
1766
  */
1874
1767
  chainId: string;
1875
1768
  /**
@@ -1884,14 +1777,14 @@ declare class EvmTransactionsService {
1884
1777
  * 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
1778
  */
1886
1779
  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
1780
  /**
1892
1781
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1893
1782
  */
1894
1783
  pageToken?: string;
1784
+ /**
1785
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1786
+ */
1787
+ pageSize?: number;
1895
1788
  }): CancelablePromise<ListErc721TransactionsResponse>;
1896
1789
  /**
1897
1790
  * List ERC-1155 transfers
@@ -1899,9 +1792,9 @@ declare class EvmTransactionsService {
1899
1792
  * @returns ListErc1155TransactionsResponse
1900
1793
  * @throws ApiError
1901
1794
  */
1902
- listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1795
+ listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1903
1796
  /**
1904
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1797
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1905
1798
  */
1906
1799
  chainId: string;
1907
1800
  /**
@@ -1916,14 +1809,14 @@ declare class EvmTransactionsService {
1916
1809
  * 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
1810
  */
1918
1811
  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
1812
  /**
1924
1813
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1925
1814
  */
1926
1815
  pageToken?: string;
1816
+ /**
1817
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1818
+ */
1819
+ pageSize?: number;
1927
1820
  }): CancelablePromise<ListErc1155TransactionsResponse>;
1928
1821
  /**
1929
1822
  * List internal transactions
@@ -1933,9 +1826,9 @@ declare class EvmTransactionsService {
1933
1826
  * @returns ListInternalTransactionsResponse
1934
1827
  * @throws ApiError
1935
1828
  */
1936
- listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
1829
+ listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
1937
1830
  /**
1938
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1831
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1939
1832
  */
1940
1833
  chainId: string;
1941
1834
  /**
@@ -1950,14 +1843,14 @@ declare class EvmTransactionsService {
1950
1843
  * 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
1844
  */
1952
1845
  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
1846
  /**
1958
1847
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1959
1848
  */
1960
1849
  pageToken?: string;
1850
+ /**
1851
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1852
+ */
1853
+ pageSize?: number;
1961
1854
  }): CancelablePromise<ListInternalTransactionsResponse>;
1962
1855
  /**
1963
1856
  * Get transaction
@@ -1967,7 +1860,7 @@ declare class EvmTransactionsService {
1967
1860
  */
1968
1861
  getTransaction({ chainId, txHash, }: {
1969
1862
  /**
1970
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1863
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1971
1864
  */
1972
1865
  chainId: string;
1973
1866
  /**
@@ -1983,7 +1876,7 @@ declare class EvmTransactionsService {
1983
1876
  */
1984
1877
  getTransactionsForBlock({ chainId, blockId, }: {
1985
1878
  /**
1986
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1879
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
1987
1880
  */
1988
1881
  chainId: string;
1989
1882
  /**
@@ -1997,19 +1890,19 @@ declare class EvmTransactionsService {
1997
1890
  * @returns ListNativeTransactionsResponse
1998
1891
  * @throws ApiError
1999
1892
  */
2000
- listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
1893
+ listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
2001
1894
  /**
2002
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1895
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2003
1896
  */
2004
1897
  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
1898
  /**
2010
1899
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2011
1900
  */
2012
1901
  pageToken?: string;
1902
+ /**
1903
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1904
+ */
1905
+ pageSize?: number;
2013
1906
  /**
2014
1907
  * A status filter for listed transactions.
2015
1908
  */
@@ -2038,7 +1931,7 @@ type ListNftTokens = {
2038
1931
  * 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
1932
  */
2040
1933
  nextPageToken?: string;
2041
- tokens: (Array<Erc721Token> | Array<Erc1155Token>);
1934
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2042
1935
  };
2043
1936
 
2044
1937
  declare class NfTsService {
@@ -2052,7 +1945,7 @@ declare class NfTsService {
2052
1945
  */
2053
1946
  reindexNft({ chainId, address, tokenId, }: {
2054
1947
  /**
2055
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1948
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2056
1949
  */
2057
1950
  chainId: string;
2058
1951
  /**
@@ -2070,23 +1963,23 @@ declare class NfTsService {
2070
1963
  * @returns ListNftTokens
2071
1964
  * @throws ApiError
2072
1965
  */
2073
- listTokens({ chainId, address, pageSize, pageToken, }: {
1966
+ listTokens({ chainId, address, pageToken, pageSize, }: {
2074
1967
  /**
2075
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1968
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2076
1969
  */
2077
1970
  chainId: string;
2078
1971
  /**
2079
1972
  * Contract address on the relevant chain.
2080
1973
  */
2081
1974
  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
1975
  /**
2087
1976
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2088
1977
  */
2089
1978
  pageToken?: string;
1979
+ /**
1980
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1981
+ */
1982
+ pageSize?: number;
2090
1983
  }): CancelablePromise<ListNftTokens>;
2091
1984
  /**
2092
1985
  * Get token details
@@ -2096,7 +1989,7 @@ declare class NfTsService {
2096
1989
  */
2097
1990
  getTokenDetails({ chainId, address, tokenId, }: {
2098
1991
  /**
2099
- * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
1992
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
2100
1993
  */
2101
1994
  chainId: string;
2102
1995
  /**
@@ -2115,8 +2008,12 @@ type EvmNetworkOptions = {
2115
2008
  includeChains: Array<string>;
2116
2009
  };
2117
2010
 
2011
+ declare enum EVMOperationType {
2012
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2013
+ }
2014
+
2118
2015
  type CreateEvmTransactionExportRequest = {
2119
- type: CreateEvmTransactionExportRequest.type;
2016
+ type: EVMOperationType;
2120
2017
  firstDate: string;
2121
2018
  lastDate: string;
2122
2019
  /**
@@ -2129,20 +2026,21 @@ type CreateEvmTransactionExportRequest = {
2129
2026
  endDate: string;
2130
2027
  options: EvmNetworkOptions;
2131
2028
  };
2132
- declare namespace CreateEvmTransactionExportRequest {
2133
- enum type {
2134
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2135
- }
2029
+
2030
+ declare enum PrimaryNetworkOperationType {
2031
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2032
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2033
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE"
2136
2034
  }
2137
2035
 
2138
2036
  type PrimaryNetworkOptions = {
2139
- addresses: Array<string>;
2037
+ addresses?: Array<string>;
2140
2038
  cChainEvmAddresses?: Array<string>;
2141
2039
  includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2142
2040
  };
2143
2041
 
2144
2042
  type CreatePrimaryNetworkTransactionExportRequest = {
2145
- type: CreatePrimaryNetworkTransactionExportRequest.type;
2043
+ type: PrimaryNetworkOperationType;
2146
2044
  firstDate: string;
2147
2045
  lastDate: string;
2148
2046
  /**
@@ -2155,11 +2053,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
2155
2053
  endDate: string;
2156
2054
  options: PrimaryNetworkOptions;
2157
2055
  };
2158
- declare namespace CreatePrimaryNetworkTransactionExportRequest {
2159
- enum type {
2160
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2161
- }
2162
- }
2163
2056
 
2164
2057
  declare enum OperationStatus {
2165
2058
  RUNNING = "RUNNING",
@@ -2169,8 +2062,10 @@ declare enum OperationStatus {
2169
2062
  }
2170
2063
 
2171
2064
  declare enum OperationType {
2172
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM",
2173
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2065
+ TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK",
2066
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING = "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING",
2067
+ TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE = "TRANSACTION_EXPORT_PRIMARY_NETWORK_SIMPLE",
2068
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2174
2069
  }
2175
2070
 
2176
2071
  declare enum OperationStatusCode {
@@ -2362,15 +2257,46 @@ type BlockchainInfo = {
2362
2257
  blockchainId: string;
2363
2258
  };
2364
2259
 
2365
- type Subnet = {
2366
- createBlockTimestamp: number;
2367
- createBlockIndex: string;
2368
- subnetId: string;
2369
- ownerAddresses: Array<string>;
2370
- threshold: number;
2260
+ type SubnetOwnershipInfo = {
2261
+ /**
2262
+ * Locktime in seconds after which Subnet owners can control this Subnet.
2263
+ */
2371
2264
  locktime: number;
2372
- blockchains: Array<BlockchainInfo>;
2373
- };
2265
+ /**
2266
+ * Minimum number of signatures required to sign the Subnet update transactions.
2267
+ */
2268
+ threshold: number;
2269
+ /**
2270
+ * Addresses that are eligible to sign the Subnet update transactions.
2271
+ */
2272
+ addresses: Array<string>;
2273
+ };
2274
+
2275
+ type Subnet = {
2276
+ createBlockTimestamp: number;
2277
+ createBlockIndex: string;
2278
+ subnetId: string;
2279
+ /**
2280
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2281
+ * @deprecated
2282
+ */
2283
+ ownerAddresses: Array<string>;
2284
+ /**
2285
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2286
+ * @deprecated
2287
+ */
2288
+ threshold: number;
2289
+ /**
2290
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2291
+ * @deprecated
2292
+ */
2293
+ locktime: number;
2294
+ /**
2295
+ * Latest subnet owner details for this Subnet.
2296
+ */
2297
+ subnetOwnershipInfo: SubnetOwnershipInfo;
2298
+ blockchains: Array<BlockchainInfo>;
2299
+ };
2374
2300
 
2375
2301
  type ListSubnetsResponse = {
2376
2302
  /**
@@ -2505,6 +2431,22 @@ declare enum ValidationStatusType {
2505
2431
  REMOVED = "removed"
2506
2432
  }
2507
2433
 
2434
+ /**
2435
+ * Cap represents if an asset is a variable or fixed cap asset.
2436
+ */
2437
+ declare enum PrimaryNetworkAssetCap {
2438
+ FIXED = "fixed",
2439
+ VARIABLE = "variable"
2440
+ }
2441
+
2442
+ /**
2443
+ * Type of asset like SECP256K1 or NFT.
2444
+ */
2445
+ declare enum PrimaryNetworkAssetType {
2446
+ SECP256K1 = "secp256k1",
2447
+ NFT = "nft"
2448
+ }
2449
+
2508
2450
  type XChainAssetDetails = {
2509
2451
  /**
2510
2452
  * Unique ID for an asset.
@@ -2522,18 +2464,12 @@ type XChainAssetDetails = {
2522
2464
  * Denomination of this asset to represent fungibility.
2523
2465
  */
2524
2466
  denomination: number;
2525
- /**
2526
- * Type of asset like SECP256K1 or NFT.
2527
- */
2528
- type: string;
2467
+ type: PrimaryNetworkAssetType;
2529
2468
  /**
2530
2469
  * Timestamp in seconds this asset was created on.
2531
2470
  */
2532
2471
  createdAtTimestamp: number;
2533
- /**
2534
- * Cap represents if an asset can be or is fixed cap.
2535
- */
2536
- cap: string;
2472
+ cap: PrimaryNetworkAssetCap;
2537
2473
  };
2538
2474
 
2539
2475
  declare enum XChainId {
@@ -2599,19 +2535,19 @@ declare class PrimaryNetworkService {
2599
2535
  * @returns ListBlockchainsResponse
2600
2536
  * @throws ApiError
2601
2537
  */
2602
- listBlockchains({ network, pageSize, pageToken, sortOrder, }: {
2538
+ listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
2603
2539
  /**
2604
2540
  * Either mainnet or a testnet.
2605
2541
  */
2606
2542
  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
2543
  /**
2612
2544
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2613
2545
  */
2614
2546
  pageToken?: string;
2547
+ /**
2548
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2549
+ */
2550
+ pageSize?: number;
2615
2551
  /**
2616
2552
  * 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
2553
  */
@@ -2623,19 +2559,19 @@ declare class PrimaryNetworkService {
2623
2559
  * @returns ListSubnetsResponse
2624
2560
  * @throws ApiError
2625
2561
  */
2626
- listSubnets({ network, pageSize, pageToken, sortOrder, }: {
2562
+ listSubnets({ network, pageToken, pageSize, sortOrder, }: {
2627
2563
  /**
2628
2564
  * Either mainnet or a testnet.
2629
2565
  */
2630
2566
  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
2567
  /**
2636
2568
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2637
2569
  */
2638
2570
  pageToken?: string;
2571
+ /**
2572
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2573
+ */
2574
+ pageSize?: number;
2639
2575
  /**
2640
2576
  * 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
2577
  */
@@ -2647,19 +2583,19 @@ declare class PrimaryNetworkService {
2647
2583
  * @returns ListValidatorDetailsResponse
2648
2584
  * @throws ApiError
2649
2585
  */
2650
- listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2586
+ listValidators({ network, pageToken, pageSize, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2651
2587
  /**
2652
2588
  * Either mainnet or a testnet.
2653
2589
  */
2654
2590
  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
2591
  /**
2660
2592
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2661
2593
  */
2662
2594
  pageToken?: string;
2595
+ /**
2596
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2597
+ */
2598
+ pageSize?: number;
2663
2599
  /**
2664
2600
  * A comma separated list of node ids to filter by.
2665
2601
  */
@@ -2675,31 +2611,31 @@ declare class PrimaryNetworkService {
2675
2611
  /**
2676
2612
  * 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
2613
  */
2678
- minDelegationCapacity?: any;
2614
+ minDelegationCapacity?: string;
2679
2615
  /**
2680
2616
  * 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
2617
  */
2682
- maxDelegationCapacity?: any;
2618
+ maxDelegationCapacity?: string;
2683
2619
  /**
2684
2620
  * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2685
2621
  */
2686
- minTimeRemaining?: any;
2622
+ minTimeRemaining?: number;
2687
2623
  /**
2688
2624
  * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2689
2625
  */
2690
- maxTimeRemaining?: any;
2626
+ maxTimeRemaining?: number;
2691
2627
  /**
2692
2628
  * 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.
2693
2629
  */
2694
- minFeePercentage?: any;
2630
+ minFeePercentage?: number;
2695
2631
  /**
2696
2632
  * 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.
2697
2633
  */
2698
- maxFeePercentage?: any;
2634
+ maxFeePercentage?: number;
2699
2635
  /**
2700
2636
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2701
2637
  */
2702
- subnetId?: string;
2638
+ subnetId?: any;
2703
2639
  }): CancelablePromise<ListValidatorDetailsResponse>;
2704
2640
  /**
2705
2641
  * Get single validator details
@@ -2707,7 +2643,7 @@ declare class PrimaryNetworkService {
2707
2643
  * @returns ListValidatorDetailsResponse
2708
2644
  * @throws ApiError
2709
2645
  */
2710
- getSingleValidatorDetails({ network, nodeId, pageSize, pageToken, sortOrder, validationStatus, }: {
2646
+ getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, sortOrder, validationStatus, }: {
2711
2647
  /**
2712
2648
  * Either mainnet or a testnet.
2713
2649
  */
@@ -2716,14 +2652,14 @@ declare class PrimaryNetworkService {
2716
2652
  * A primary network (P or X chain) nodeId.
2717
2653
  */
2718
2654
  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
2655
  /**
2724
2656
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2725
2657
  */
2726
2658
  pageToken?: string;
2659
+ /**
2660
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2661
+ */
2662
+ pageSize?: number;
2727
2663
  /**
2728
2664
  * 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.
2729
2665
  */
@@ -2739,19 +2675,19 @@ declare class PrimaryNetworkService {
2739
2675
  * @returns ListDelegatorDetailsResponse
2740
2676
  * @throws ApiError
2741
2677
  */
2742
- listDelegators({ network, pageSize, pageToken, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2678
+ listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
2743
2679
  /**
2744
2680
  * Either mainnet or a testnet.
2745
2681
  */
2746
2682
  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
2683
  /**
2752
2684
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2753
2685
  */
2754
2686
  pageToken?: string;
2687
+ /**
2688
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2689
+ */
2690
+ pageSize?: number;
2755
2691
  /**
2756
2692
  * A comma separated list of reward addresses to filter by.
2757
2693
  */
@@ -2799,10 +2735,7 @@ type CChainSharedAssetBalance = {
2799
2735
  * Denomination of this asset to represent fungibility.
2800
2736
  */
2801
2737
  denomination: number;
2802
- /**
2803
- * Type of asset like SECP256K1 or NFT.
2804
- */
2805
- type: string;
2738
+ type: PrimaryNetworkAssetType;
2806
2739
  /**
2807
2740
  * Amount of the asset.
2808
2741
  */
@@ -2837,7 +2770,7 @@ type ListCChainAtomicBalancesResponse = {
2837
2770
  chainInfo: PrimaryNetworkChainInfo;
2838
2771
  };
2839
2772
 
2840
- type Asset = {
2773
+ type AggregatedAssetAmount = {
2841
2774
  /**
2842
2775
  * Unique ID for an asset.
2843
2776
  */
@@ -2854,14 +2787,12 @@ type Asset = {
2854
2787
  * Denomination of this asset to represent fungibility.
2855
2788
  */
2856
2789
  denomination: number;
2857
- /**
2858
- * Type of asset like SECP256K1 or NFT.
2859
- */
2860
- type: string;
2790
+ type: PrimaryNetworkAssetType;
2861
2791
  /**
2862
2792
  * Amount of the asset.
2863
2793
  */
2864
2794
  amount: string;
2795
+ utxoCount: number;
2865
2796
  };
2866
2797
 
2867
2798
  type PChainSharedAsset = {
@@ -2881,49 +2812,47 @@ type PChainSharedAsset = {
2881
2812
  * Denomination of this asset to represent fungibility.
2882
2813
  */
2883
2814
  denomination: number;
2884
- /**
2885
- * Type of asset like SECP256K1 or NFT.
2886
- */
2887
- type: string;
2815
+ type: PrimaryNetworkAssetType;
2888
2816
  /**
2889
2817
  * Amount of the asset.
2890
2818
  */
2891
2819
  amount: string;
2820
+ utxoCount: number;
2892
2821
  sharedWithChainId: string;
2893
2822
  status: string;
2894
2823
  };
2895
2824
 
2896
2825
  type PChainBalance = {
2897
2826
  /**
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.
2827
+ * 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
2828
  */
2900
- unlockedUnstaked: Array<Asset>;
2829
+ unlockedUnstaked: Array<AggregatedAssetAmount>;
2901
2830
  /**
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.
2831
+ * 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
2832
  */
2904
- unlockedStaked: Array<Asset>;
2833
+ unlockedStaked: Array<AggregatedAssetAmount>;
2905
2834
  /**
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.
2835
+ * 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
2836
  */
2908
- lockedPlatform: Array<Asset>;
2837
+ lockedPlatform: Array<AggregatedAssetAmount>;
2909
2838
  /**
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.
2839
+ * 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
2840
  */
2912
- lockedStakeable: Array<Asset>;
2841
+ lockedStakeable: Array<AggregatedAssetAmount>;
2913
2842
  /**
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.
2843
+ * 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
2844
  */
2916
- lockedStaked: Array<Asset>;
2845
+ lockedStaked: Array<AggregatedAssetAmount>;
2917
2846
  /**
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.
2847
+ * 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
2848
  */
2920
- pendingStaked: Array<Asset>;
2849
+ pendingStaked: Array<AggregatedAssetAmount>;
2921
2850
  /**
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.
2851
+ * 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
2852
  */
2924
2853
  atomicMemoryUnlocked: Array<PChainSharedAsset>;
2925
2854
  /**
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.
2855
+ * 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
2856
  */
2928
2857
  atomicMemoryLocked: Array<PChainSharedAsset>;
2929
2858
  };
@@ -2933,34 +2862,6 @@ type ListPChainBalancesResponse = {
2933
2862
  chainInfo: PrimaryNetworkChainInfo;
2934
2863
  };
2935
2864
 
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
2865
  type XChainSharedAssetBalance = {
2965
2866
  /**
2966
2867
  * Unique ID for an asset.
@@ -2978,10 +2879,7 @@ type XChainSharedAssetBalance = {
2978
2879
  * Denomination of this asset to represent fungibility.
2979
2880
  */
2980
2881
  denomination: number;
2981
- /**
2982
- * Type of asset like SECP256K1 or NFT.
2983
- */
2984
- type: string;
2882
+ type: PrimaryNetworkAssetType;
2985
2883
  /**
2986
2884
  * Amount of the asset.
2987
2885
  */
@@ -2994,11 +2892,11 @@ type XChainBalances = {
2994
2892
  /**
2995
2893
  * A list of objects containing X-chain Asset balance information.
2996
2894
  */
2997
- locked: Array<XChainAssetBalance>;
2895
+ locked: Array<AggregatedAssetAmount>;
2998
2896
  /**
2999
2897
  * A list of objects containing X-chain Asset balance information.
3000
2898
  */
3001
- unlocked: Array<XChainAssetBalance>;
2899
+ unlocked: Array<AggregatedAssetAmount>;
3002
2900
  atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
3003
2901
  atomicMemoryLocked: Array<XChainSharedAssetBalance>;
3004
2902
  };
@@ -3111,7 +3009,7 @@ declare class PrimaryNetworkBlocksService {
3111
3009
  * @returns ListPrimaryNetworkBlocksResponse
3112
3010
  * @throws ApiError
3113
3011
  */
3114
- listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageSize, pageToken, }: {
3012
+ listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
3115
3013
  /**
3116
3014
  * A primary network blockchain id or alias.
3117
3015
  */
@@ -3124,14 +3022,14 @@ declare class PrimaryNetworkBlocksService {
3124
3022
  * A primary network (P or X chain) nodeId.
3125
3023
  */
3126
3024
  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
3025
  /**
3132
3026
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3133
3027
  */
3134
3028
  pageToken?: string;
3029
+ /**
3030
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3031
+ */
3032
+ pageSize?: number;
3135
3033
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3136
3034
  /**
3137
3035
  * List latest blocks
@@ -3139,7 +3037,7 @@ declare class PrimaryNetworkBlocksService {
3139
3037
  * @returns ListPrimaryNetworkBlocksResponse
3140
3038
  * @throws ApiError
3141
3039
  */
3142
- listLatestPrimaryNetworkBlocks({ blockchainId, network, pageSize, pageToken, }: {
3040
+ listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
3143
3041
  /**
3144
3042
  * A primary network blockchain id or alias.
3145
3043
  */
@@ -3148,17 +3046,45 @@ declare class PrimaryNetworkBlocksService {
3148
3046
  * Either mainnet or a testnet.
3149
3047
  */
3150
3048
  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
3049
  /**
3156
3050
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3157
3051
  */
3158
3052
  pageToken?: string;
3053
+ /**
3054
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3055
+ */
3056
+ pageSize?: number;
3159
3057
  }): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
3160
3058
  }
3161
3059
 
3060
+ type AssetWithPriceInfo = {
3061
+ /**
3062
+ * Unique ID for an asset.
3063
+ */
3064
+ assetId: string;
3065
+ /**
3066
+ * Name of this asset.
3067
+ */
3068
+ name: string;
3069
+ /**
3070
+ * Symbol for this asset (max 4 characters).
3071
+ */
3072
+ symbol: string;
3073
+ /**
3074
+ * Denomination of this asset to represent fungibility.
3075
+ */
3076
+ denomination: number;
3077
+ type: PrimaryNetworkAssetType;
3078
+ /**
3079
+ * Amount of the asset.
3080
+ */
3081
+ amount: string;
3082
+ /**
3083
+ * The historical asset price at the time the reward was granted, if available. Note, this is only provided if the reward occured more than 24 hours ago.
3084
+ */
3085
+ historicalPrice?: Money;
3086
+ };
3087
+
3162
3088
  declare enum RewardType {
3163
3089
  VALIDATOR = "VALIDATOR",
3164
3090
  DELEGATOR = "DELEGATOR",
@@ -3178,10 +3104,7 @@ type HistoricalReward = {
3178
3104
  rewardType: RewardType;
3179
3105
  utxoId: string;
3180
3106
  outputIndex: number;
3181
- /**
3182
- * An object containing P-chain Asset ID and the amount of that Asset ID.
3183
- */
3184
- reward: Asset;
3107
+ reward: AssetWithPriceInfo;
3185
3108
  rewardTxHash: string;
3186
3109
  };
3187
3110
 
@@ -3193,6 +3116,30 @@ type ListHistoricalRewardsResponse = {
3193
3116
  historicalRewards: Array<HistoricalReward>;
3194
3117
  };
3195
3118
 
3119
+ type AssetAmount = {
3120
+ /**
3121
+ * Unique ID for an asset.
3122
+ */
3123
+ assetId: string;
3124
+ /**
3125
+ * Name of this asset.
3126
+ */
3127
+ name: string;
3128
+ /**
3129
+ * Symbol for this asset (max 4 characters).
3130
+ */
3131
+ symbol: string;
3132
+ /**
3133
+ * Denomination of this asset to represent fungibility.
3134
+ */
3135
+ denomination: number;
3136
+ type: PrimaryNetworkAssetType;
3137
+ /**
3138
+ * Amount of the asset.
3139
+ */
3140
+ amount: string;
3141
+ };
3142
+
3196
3143
  type PendingReward = {
3197
3144
  /**
3198
3145
  * An array of P-Chain wallet addresses.
@@ -3206,9 +3153,9 @@ type PendingReward = {
3206
3153
  rewardType: RewardType;
3207
3154
  progress: number;
3208
3155
  /**
3209
- * An object containing P-chain Asset ID and the amount of that Asset ID.
3156
+ * An object containing P-chain Asset basic info and the amount of that Asset ID.
3210
3157
  */
3211
- estimatedReward: Asset;
3158
+ estimatedReward: AssetAmount;
3212
3159
  };
3213
3160
 
3214
3161
  type ListPendingRewardsResponse = {
@@ -3228,25 +3175,25 @@ declare class PrimaryNetworkRewardsService {
3228
3175
  * @returns ListPendingRewardsResponse
3229
3176
  * @throws ApiError
3230
3177
  */
3231
- listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3178
+ listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
3232
3179
  /**
3233
3180
  * Either mainnet or a testnet.
3234
3181
  */
3235
3182
  network: Network;
3236
3183
  /**
3237
- * 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.
3184
+ * 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.
3238
3185
  */
3239
3186
  addresses?: string;
3240
- /**
3241
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3242
- */
3243
- pageSize?: number;
3244
3187
  /**
3245
3188
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3246
3189
  */
3247
3190
  pageToken?: string;
3248
3191
  /**
3249
- * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3192
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3193
+ */
3194
+ pageSize?: number;
3195
+ /**
3196
+ * A comma separated list of node ids to filter by. One of addresses or nodeIds is required.
3250
3197
  */
3251
3198
  nodeIds?: string;
3252
3199
  /**
@@ -3260,7 +3207,7 @@ declare class PrimaryNetworkRewardsService {
3260
3207
  * @returns ListHistoricalRewardsResponse
3261
3208
  * @throws ApiError
3262
3209
  */
3263
- listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, nodeIds, sortOrder, }: {
3210
+ listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
3264
3211
  /**
3265
3212
  * Either mainnet or a testnet.
3266
3213
  */
@@ -3269,14 +3216,14 @@ declare class PrimaryNetworkRewardsService {
3269
3216
  * 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.
3270
3217
  */
3271
3218
  addresses?: string;
3272
- /**
3273
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3274
- */
3275
- pageSize?: number;
3276
3219
  /**
3277
3220
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3278
3221
  */
3279
3222
  pageToken?: string;
3223
+ /**
3224
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3225
+ */
3226
+ pageSize?: number;
3280
3227
  /**
3281
3228
  * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required.
3282
3229
  */
@@ -3285,6 +3232,10 @@ declare class PrimaryNetworkRewardsService {
3285
3232
  * 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.
3286
3233
  */
3287
3234
  sortOrder?: SortOrder;
3235
+ /**
3236
+ * The currency that return values should use. Defaults to USD.
3237
+ */
3238
+ currency?: CurrencyCode;
3288
3239
  }): CancelablePromise<ListHistoricalRewardsResponse>;
3289
3240
  }
3290
3241
 
@@ -3305,9 +3256,9 @@ type EVMInput = {
3305
3256
  */
3306
3257
  fromAddress: string;
3307
3258
  /**
3308
- * Asset details for the asset being transferred.
3259
+ * AssetAmount details for the asset being transferred.
3309
3260
  */
3310
- asset: Asset;
3261
+ asset: AssetAmount;
3311
3262
  /**
3312
3263
  * Credentials that signed this transaction.
3313
3264
  */
@@ -3319,7 +3270,7 @@ type Utxo = {
3319
3270
  * Addresses that are eligible to sign the consumption of this output.
3320
3271
  */
3321
3272
  addresses: Array<string>;
3322
- asset: Asset;
3273
+ asset: AssetAmount;
3323
3274
  /**
3324
3275
  * Blockchain ID on which this output is consumed on.
3325
3276
  */
@@ -3402,11 +3353,11 @@ type CChainExportTransaction = {
3402
3353
  /**
3403
3354
  * Assets unlocked by inputs of this transaction.
3404
3355
  */
3405
- amountUnlocked: Array<Asset>;
3356
+ amountUnlocked: Array<AssetAmount>;
3406
3357
  /**
3407
3358
  * Assets created by outputs of this transaction.
3408
3359
  */
3409
- amountCreated: Array<Asset>;
3360
+ amountCreated: Array<AssetAmount>;
3410
3361
  /**
3411
3362
  * Source chain for an atomic transaction.
3412
3363
  */
@@ -3437,9 +3388,9 @@ type EVMOutput = {
3437
3388
  */
3438
3389
  toAddress: string;
3439
3390
  /**
3440
- * Asset details for the asset being transferred.
3391
+ * AssetAmount details for the asset being transferred.
3441
3392
  */
3442
- asset: Asset;
3393
+ asset: AssetAmount;
3443
3394
  };
3444
3395
 
3445
3396
  type CChainImportTransaction = {
@@ -3466,11 +3417,11 @@ type CChainImportTransaction = {
3466
3417
  /**
3467
3418
  * Assets unlocked by inputs of this transaction.
3468
3419
  */
3469
- amountUnlocked: Array<Asset>;
3420
+ amountUnlocked: Array<AssetAmount>;
3470
3421
  /**
3471
3422
  * Assets created by outputs of this transaction.
3472
3423
  */
3473
- amountCreated: Array<Asset>;
3424
+ amountCreated: Array<AssetAmount>;
3474
3425
  /**
3475
3426
  * Source chain for an atomic transaction.
3476
3427
  */
@@ -3518,6 +3469,8 @@ declare enum PChainTransactionType {
3518
3469
  TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3519
3470
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3520
3471
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3472
+ BASE_TX = "BaseTx",
3473
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3521
3474
  UNKNOWN = "UNKNOWN"
3522
3475
  }
3523
3476
 
@@ -3531,7 +3484,7 @@ type PChainUtxo = {
3531
3484
  * Addresses that are eligible to sign the consumption of this output.
3532
3485
  */
3533
3486
  addresses: Array<string>;
3534
- asset: Asset;
3487
+ asset: AssetAmount;
3535
3488
  /**
3536
3489
  * Blockchain ID on which this output is consumed on.
3537
3490
  */
@@ -3595,17 +3548,17 @@ type PChainTransaction = {
3595
3548
  */
3596
3549
  destinationChain?: string;
3597
3550
  /**
3598
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3551
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3599
3552
  */
3600
- value: Array<Asset>;
3553
+ value: Array<AssetAmount>;
3601
3554
  /**
3602
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3555
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
3603
3556
  */
3604
- amountBurned: Array<Asset>;
3557
+ amountBurned: Array<AssetAmount>;
3605
3558
  /**
3606
- * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3559
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3607
3560
  */
3608
- amountStaked: Array<Asset>;
3561
+ amountStaked: Array<AssetAmount>;
3609
3562
  /**
3610
3563
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3611
3564
  */
@@ -3637,6 +3590,10 @@ type PChainTransaction = {
3637
3590
  * Present for RewardValidatorTx
3638
3591
  */
3639
3592
  stakingTxHash?: string;
3593
+ /**
3594
+ * Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
3595
+ */
3596
+ subnetOwnershipInfo?: SubnetOwnershipInfo;
3640
3597
  };
3641
3598
 
3642
3599
  type ListPChainTransactionsResponse = {
@@ -3648,6 +3605,9 @@ type ListPChainTransactionsResponse = {
3648
3605
  chainInfo: PrimaryNetworkChainInfo;
3649
3606
  };
3650
3607
 
3608
+ /**
3609
+ * Type of transaction.
3610
+ */
3651
3611
  declare enum XChainTransactionType {
3652
3612
  BASE_TX = "BaseTx",
3653
3613
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3670,9 +3630,6 @@ type XChainLinearTransaction = {
3670
3630
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3671
3631
  */
3672
3632
  timestamp: number;
3673
- /**
3674
- * Type of transaction.
3675
- */
3676
3633
  txType: XChainTransactionType;
3677
3634
  /**
3678
3635
  * Hex encoded memo bytes for this transaction.
@@ -3683,11 +3640,11 @@ type XChainLinearTransaction = {
3683
3640
  /**
3684
3641
  * Assets unlocked by inputs of this transaction.
3685
3642
  */
3686
- amountUnlocked: Array<Asset>;
3643
+ amountUnlocked: Array<AssetAmount>;
3687
3644
  /**
3688
3645
  * Assets created by outputs of this transaction.
3689
3646
  */
3690
- amountCreated: Array<Asset>;
3647
+ amountCreated: Array<AssetAmount>;
3691
3648
  /**
3692
3649
  * Source chain for an atomic transaction.
3693
3650
  */
@@ -3697,7 +3654,7 @@ type XChainLinearTransaction = {
3697
3654
  */
3698
3655
  destinationChain?: string;
3699
3656
  /**
3700
- * Asset details of the asset created in CreateAssetTx
3657
+ * AssetAmount details of the asset created in CreateAssetTx
3701
3658
  */
3702
3659
  assetCreated?: XChainAssetDetails;
3703
3660
  /**
@@ -3747,9 +3704,6 @@ type XChainNonLinearTransaction = {
3747
3704
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3748
3705
  */
3749
3706
  timestamp: number;
3750
- /**
3751
- * Type of transaction.
3752
- */
3753
3707
  txType: XChainTransactionType;
3754
3708
  /**
3755
3709
  * Hex encoded memo bytes for this transaction.
@@ -3760,11 +3714,11 @@ type XChainNonLinearTransaction = {
3760
3714
  /**
3761
3715
  * Assets unlocked by inputs of this transaction.
3762
3716
  */
3763
- amountUnlocked: Array<Asset>;
3717
+ amountUnlocked: Array<AssetAmount>;
3764
3718
  /**
3765
3719
  * Assets created by outputs of this transaction.
3766
3720
  */
3767
- amountCreated: Array<Asset>;
3721
+ amountCreated: Array<AssetAmount>;
3768
3722
  /**
3769
3723
  * Source chain for an atomic transaction.
3770
3724
  */
@@ -3774,7 +3728,7 @@ type XChainNonLinearTransaction = {
3774
3728
  */
3775
3729
  destinationChain?: string;
3776
3730
  /**
3777
- * Asset details of the asset created in CreateAssetTx
3731
+ * AssetAmount details of the asset created in CreateAssetTx
3778
3732
  */
3779
3733
  assetCreated?: XChainAssetDetails;
3780
3734
  /**
@@ -3820,8 +3774,9 @@ declare enum PrimaryNetworkTxType {
3820
3774
  TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3821
3775
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3822
3776
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3823
- UNKNOWN = "UNKNOWN",
3824
3777
  BASE_TX = "BaseTx",
3778
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3779
+ UNKNOWN = "UNKNOWN",
3825
3780
  CREATE_ASSET_TX = "CreateAssetTx",
3826
3781
  OPERATION_TX = "OperationTx"
3827
3782
  }
@@ -3853,13 +3808,13 @@ declare class PrimaryNetworkTransactionsService {
3853
3808
  * List latest transactions
3854
3809
  * Lists the latest transactions on one of the Primary Network chains.
3855
3810
  *
3856
- * Transactions are filterable by addresses.
3811
+ * 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.
3857
3812
  *
3858
3813
  * 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.
3859
3814
  * @returns any
3860
3815
  * @throws ApiError
3861
3816
  */
3862
- listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3817
+ listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3863
3818
  /**
3864
3819
  * A primary network blockchain id or alias.
3865
3820
  */
@@ -3884,14 +3839,14 @@ declare class PrimaryNetworkTransactionsService {
3884
3839
  * Query param for retrieving items before a specific timestamp.
3885
3840
  */
3886
3841
  endTimestamp?: number;
3887
- /**
3888
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3889
- */
3890
- pageSize?: number;
3891
3842
  /**
3892
3843
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3893
3844
  */
3894
3845
  pageToken?: string;
3846
+ /**
3847
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3848
+ */
3849
+ pageSize?: number;
3895
3850
  /**
3896
3851
  * 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.
3897
3852
  */
@@ -3903,7 +3858,7 @@ declare class PrimaryNetworkTransactionsService {
3903
3858
  * @returns ListPChainTransactionsResponse
3904
3859
  * @throws ApiError
3905
3860
  */
3906
- listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
3861
+ listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
3907
3862
  /**
3908
3863
  * A primary network blockchain id or alias.
3909
3864
  */
@@ -3928,14 +3883,14 @@ declare class PrimaryNetworkTransactionsService {
3928
3883
  * Query param for retrieving items before a specific timestamp.
3929
3884
  */
3930
3885
  endTimestamp?: number;
3931
- /**
3932
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3933
- */
3934
- pageSize?: number;
3935
3886
  /**
3936
3887
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3937
3888
  */
3938
3889
  pageToken?: string;
3890
+ /**
3891
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3892
+ */
3893
+ pageSize?: number;
3939
3894
  /**
3940
3895
  * 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.
3941
3896
  */
@@ -3947,7 +3902,7 @@ declare class PrimaryNetworkTransactionsService {
3947
3902
  * @returns ListXChainTransactionsResponse
3948
3903
  * @throws ApiError
3949
3904
  */
3950
- listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
3905
+ listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, }: {
3951
3906
  /**
3952
3907
  * A primary network blockchain id or alias.
3953
3908
  */
@@ -3972,14 +3927,14 @@ declare class PrimaryNetworkTransactionsService {
3972
3927
  * Query param for retrieving items before a specific timestamp.
3973
3928
  */
3974
3929
  endTimestamp?: number;
3975
- /**
3976
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3977
- */
3978
- pageSize?: number;
3979
3930
  /**
3980
3931
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
3981
3932
  */
3982
3933
  pageToken?: string;
3934
+ /**
3935
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3936
+ */
3937
+ pageSize?: number;
3983
3938
  }): CancelablePromise<ListXChainTransactionsResponse>;
3984
3939
  }
3985
3940
 
@@ -4010,7 +3965,7 @@ declare class PrimaryNetworkUtxOsService {
4010
3965
  * @returns any
4011
3966
  * @throws ApiError
4012
3967
  */
4013
- getUtxosByAddresses({ blockchainId, network, addresses, pageSize, pageToken, assetId, includeSpent, sortOrder, }: {
3968
+ getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
4014
3969
  /**
4015
3970
  * A primary network blockchain id or alias.
4016
3971
  */
@@ -4023,14 +3978,14 @@ declare class PrimaryNetworkUtxOsService {
4023
3978
  * 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".
4024
3979
  */
4025
3980
  addresses?: string;
4026
- /**
4027
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4028
- */
4029
- pageSize?: number;
4030
3981
  /**
4031
3982
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4032
3983
  */
4033
3984
  pageToken?: string;
3985
+ /**
3986
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
3987
+ */
3988
+ pageSize?: number;
4034
3989
  /**
4035
3990
  * Asset ID for any asset (only applicable X-Chain)
4036
3991
  */
@@ -4075,7 +4030,7 @@ declare class PrimaryNetworkVerticesService {
4075
4030
  * @returns ListXChainVerticesResponse
4076
4031
  * @throws ApiError
4077
4032
  */
4078
- listLatestXChainVertices({ blockchainId, network, pageSize, pageToken, }: {
4033
+ listLatestXChainVertices({ blockchainId, network, pageToken, pageSize, }: {
4079
4034
  /**
4080
4035
  * A primary network blockchain id or alias.
4081
4036
  */
@@ -4084,14 +4039,14 @@ declare class PrimaryNetworkVerticesService {
4084
4039
  * Either mainnet or a testnet.
4085
4040
  */
4086
4041
  network: Network;
4087
- /**
4088
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4089
- */
4090
- pageSize?: number;
4091
4042
  /**
4092
4043
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4093
4044
  */
4094
4045
  pageToken?: string;
4046
+ /**
4047
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4048
+ */
4049
+ pageSize?: number;
4095
4050
  }): CancelablePromise<ListXChainVerticesResponse>;
4096
4051
  /**
4097
4052
  * Get vertex
@@ -4119,7 +4074,7 @@ declare class PrimaryNetworkVerticesService {
4119
4074
  * @returns ListXChainVerticesResponse
4120
4075
  * @throws ApiError
4121
4076
  */
4122
- getVertexByHeight({ vertexHeight, blockchainId, network, pageSize, pageToken, sortOrder, }: {
4077
+ getVertexByHeight({ vertexHeight, blockchainId, network, pageToken, pageSize, sortOrder, }: {
4123
4078
  /**
4124
4079
  * The height of a vertex.
4125
4080
  */
@@ -4132,14 +4087,14 @@ declare class PrimaryNetworkVerticesService {
4132
4087
  * Either mainnet or a testnet.
4133
4088
  */
4134
4089
  network: Network;
4135
- /**
4136
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4137
- */
4138
- pageSize?: number;
4139
4090
  /**
4140
4091
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4141
4092
  */
4142
4093
  pageToken?: string;
4094
+ /**
4095
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4096
+ */
4097
+ pageSize?: number;
4143
4098
  /**
4144
4099
  * 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.
4145
4100
  */
@@ -4147,6 +4102,49 @@ declare class PrimaryNetworkVerticesService {
4147
4102
  }): CancelablePromise<ListXChainVerticesResponse>;
4148
4103
  }
4149
4104
 
4105
+ type RpcErrorDto = {
4106
+ code: number;
4107
+ message: string;
4108
+ data?: Record<string, any>;
4109
+ };
4110
+
4111
+ type RpcErrorResponseDto = {
4112
+ jsonrpc: string;
4113
+ id?: (string | number);
4114
+ error: RpcErrorDto;
4115
+ };
4116
+
4117
+ type RpcRequestBodyDto = {
4118
+ method: string;
4119
+ params?: Record<string, any>;
4120
+ id?: (string | number);
4121
+ jsonrpc?: string;
4122
+ };
4123
+
4124
+ type RpcSuccessResponseDto = {
4125
+ jsonrpc: string;
4126
+ id?: (string | number);
4127
+ result: Record<string, any>;
4128
+ };
4129
+
4130
+ declare class RpcService {
4131
+ readonly httpRequest: BaseHttpRequest;
4132
+ constructor(httpRequest: BaseHttpRequest);
4133
+ /**
4134
+ * Calls JSON-RPC method
4135
+ * Calls JSON-RPC method.
4136
+ * @returns any
4137
+ * @throws ApiError
4138
+ */
4139
+ rpc({ chainId, requestBody, }: {
4140
+ /**
4141
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
4142
+ */
4143
+ chainId: string;
4144
+ requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
4145
+ }): CancelablePromise<(RpcSuccessResponseDto | RpcErrorResponseDto)>;
4146
+ }
4147
+
4150
4148
  type TeleporterDestinationTransaction = {
4151
4149
  txHash: string;
4152
4150
  timestamp: number;
@@ -4155,6 +4153,11 @@ type TeleporterDestinationTransaction = {
4155
4153
  delivererAddress: string;
4156
4154
  };
4157
4155
 
4156
+ type TeleporterReceipt = {
4157
+ receivedMessageNonce: string;
4158
+ relayerRewardAddress: string;
4159
+ };
4160
+
4158
4161
  type TeleporterRewardDetails = {
4159
4162
  /**
4160
4163
  * A wallet or contract address in mixed-case checksum encoding.
@@ -4190,14 +4193,16 @@ declare namespace TeleporterRewardDetails {
4190
4193
  }
4191
4194
 
4192
4195
  type DeliveredSourceNotIndexedTeleporterMessage = {
4196
+ messageId: string;
4197
+ teleporterContractAddress: string;
4193
4198
  sourceBlockchainId: string;
4194
4199
  destinationBlockchainId: string;
4195
- messageId: string;
4200
+ messageNonce: string;
4196
4201
  from: string;
4197
4202
  to: string;
4198
4203
  data?: string;
4199
4204
  messageExecuted: boolean;
4200
- receipts: Array<string>;
4205
+ receipts: Array<TeleporterReceipt>;
4201
4206
  receiptDelivered: boolean;
4202
4207
  rewardDetails: TeleporterRewardDetails;
4203
4208
  destinationTransaction: TeleporterDestinationTransaction;
@@ -4216,14 +4221,16 @@ type TeleporterSourceTransaction = {
4216
4221
  };
4217
4222
 
4218
4223
  type DeliveredTeleporterMessage = {
4224
+ messageId: string;
4225
+ teleporterContractAddress: string;
4219
4226
  sourceBlockchainId: string;
4220
4227
  destinationBlockchainId: string;
4221
- messageId: string;
4228
+ messageNonce: string;
4222
4229
  from: string;
4223
4230
  to: string;
4224
4231
  data?: string;
4225
4232
  messageExecuted: boolean;
4226
- receipts: Array<string>;
4233
+ receipts: Array<TeleporterReceipt>;
4227
4234
  receiptDelivered: boolean;
4228
4235
  rewardDetails: TeleporterRewardDetails;
4229
4236
  sourceTransaction: TeleporterSourceTransaction;
@@ -4244,14 +4251,16 @@ type NextPageToken = {
4244
4251
  };
4245
4252
 
4246
4253
  type PendingTeleporterMessage = {
4254
+ messageId: string;
4255
+ teleporterContractAddress: string;
4247
4256
  sourceBlockchainId: string;
4248
4257
  destinationBlockchainId: string;
4249
- messageId: string;
4258
+ messageNonce: string;
4250
4259
  from: string;
4251
4260
  to: string;
4252
4261
  data?: string;
4253
4262
  messageExecuted: boolean;
4254
- receipts: Array<string>;
4263
+ receipts: Array<TeleporterReceipt>;
4255
4264
  receiptDelivered: boolean;
4256
4265
  rewardDetails: TeleporterRewardDetails;
4257
4266
  sourceTransaction: TeleporterSourceTransaction;
@@ -4268,23 +4277,15 @@ declare class TeleporterService {
4268
4277
  constructor(httpRequest: BaseHttpRequest);
4269
4278
  /**
4270
4279
  * Get a teleporter message
4271
- * Gets a teleporter message by source chain, destination chain, and message ID.
4280
+ * Gets a teleporter message by message ID.
4272
4281
  * @returns any
4273
4282
  * @throws ApiError
4274
4283
  */
4275
- getTeleporterMessage({ sourceBlockchainId, destinationBlockchainId, messageId, }: {
4276
- /**
4277
- * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4278
- */
4279
- sourceBlockchainId: any;
4280
- /**
4281
- * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4282
- */
4283
- destinationBlockchainId: any;
4284
+ getTeleporterMessage({ messageId, }: {
4284
4285
  /**
4285
4286
  * The message ID of the teleporter message.
4286
4287
  */
4287
- messageId: any;
4288
+ messageId: string;
4288
4289
  }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4289
4290
  /**
4290
4291
  * List teleporter messages
@@ -4292,32 +4293,198 @@ declare class TeleporterService {
4292
4293
  * @returns any
4293
4294
  * @throws ApiError
4294
4295
  */
4295
- listTeleporterMessages({ pageSize, pageToken, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4296
+ listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4297
+ /**
4298
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4299
+ */
4300
+ pageToken?: string;
4296
4301
  /**
4297
4302
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4298
4303
  */
4299
4304
  pageSize?: number;
4305
+ /**
4306
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
4307
+ */
4308
+ sourceBlockchainId?: string;
4309
+ /**
4310
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
4311
+ */
4312
+ destinationBlockchainId?: string;
4313
+ /**
4314
+ * The address of the recipient of the teleporter message.
4315
+ */
4316
+ to?: string;
4317
+ /**
4318
+ * The address of the sender of the teleporter message.
4319
+ */
4320
+ from?: string;
4321
+ }): CancelablePromise<NextPageToken>;
4322
+ }
4323
+
4324
+ type AddressActivityMetadata = {
4325
+ /**
4326
+ * Ethereum address for the address_activity event type
4327
+ */
4328
+ address: string;
4329
+ /**
4330
+ * Array of hexadecimal strings of the event signatures.
4331
+ */
4332
+ eventSignatures?: Array<string>;
4333
+ };
4334
+
4335
+ declare enum EventType {
4336
+ ADDRESS_ACTIVITY = "address_activity"
4337
+ }
4338
+
4339
+ declare enum WebhookStatusType {
4340
+ ACTIVE = "active",
4341
+ INACTIVE = "inactive"
4342
+ }
4343
+
4344
+ type WebhookResponse = {
4345
+ id: string;
4346
+ eventType: EventType;
4347
+ metadata: AddressActivityMetadata;
4348
+ /**
4349
+ * Whether to include traces in the webhook payload.
4350
+ */
4351
+ includeInternalTxs?: boolean;
4352
+ /**
4353
+ * Whether to include logs in the webhook payload.
4354
+ */
4355
+ includeLogs?: boolean;
4356
+ url: string;
4357
+ chainId: string;
4358
+ status: WebhookStatusType;
4359
+ createdAt: number;
4360
+ name: string;
4361
+ description: string;
4362
+ };
4363
+
4364
+ type ListWebhooksResponse = {
4365
+ /**
4366
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
4367
+ */
4368
+ nextPageToken?: string;
4369
+ webhooks: Array<WebhookResponse>;
4370
+ };
4371
+
4372
+ type RegisterWebhookRequest = {
4373
+ url: string;
4374
+ chainId: string;
4375
+ eventType: EventType;
4376
+ metadata: AddressActivityMetadata;
4377
+ /**
4378
+ * Whether to include traces in the webhook payload.
4379
+ */
4380
+ includeInternalTxs?: boolean;
4381
+ /**
4382
+ * Whether to include logs in the webhook payload.
4383
+ */
4384
+ includeLogs?: boolean;
4385
+ };
4386
+
4387
+ type SharedSecretsResponse = {
4388
+ secret: string;
4389
+ };
4390
+
4391
+ type UpdateWebhookRequest = {
4392
+ name?: string;
4393
+ description?: string;
4394
+ url?: string;
4395
+ status?: WebhookStatusType;
4396
+ includeInternalTxs?: boolean;
4397
+ includeLogs?: boolean;
4398
+ };
4399
+
4400
+ declare enum WebhookStatus {
4401
+ ACTIVE = "active",
4402
+ INACTIVE = "inactive"
4403
+ }
4404
+
4405
+ declare class WebhooksService {
4406
+ readonly httpRequest: BaseHttpRequest;
4407
+ constructor(httpRequest: BaseHttpRequest);
4408
+ /**
4409
+ * Register a webhook
4410
+ * Registers a new webhook.
4411
+ * @returns WebhookResponse
4412
+ * @throws ApiError
4413
+ */
4414
+ registerWebhook({ requestBody, }: {
4415
+ requestBody: RegisterWebhookRequest;
4416
+ }): CancelablePromise<WebhookResponse>;
4417
+ /**
4418
+ * List webhooks
4419
+ * Lists webhooks for the user.
4420
+ * @returns ListWebhooksResponse
4421
+ * @throws ApiError
4422
+ */
4423
+ listWebhooks({ pageToken, pageSize, status, }: {
4300
4424
  /**
4301
4425
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4302
4426
  */
4303
4427
  pageToken?: string;
4304
4428
  /**
4305
- * The base58 encoded blockchain ID of the source chain that the teleporter message was sent from.
4429
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4306
4430
  */
4307
- sourceBlockchainId?: any;
4431
+ pageSize?: number;
4308
4432
  /**
4309
- * The base58 encoded blockchain ID of the destination chain that the teleporter message was sent to.
4433
+ * Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
4310
4434
  */
4311
- destinationBlockchainId?: any;
4435
+ status?: WebhookStatus;
4436
+ }): CancelablePromise<ListWebhooksResponse>;
4437
+ /**
4438
+ * Get a webhook by ID
4439
+ * Retrieves a webhook by ID.
4440
+ * @returns WebhookResponse
4441
+ * @throws ApiError
4442
+ */
4443
+ getWebhook({ id, }: {
4312
4444
  /**
4313
- * The address of the recipient of the teleporter message.
4445
+ * The webhook identifier.
4446
+ */
4447
+ id: string;
4448
+ }): CancelablePromise<WebhookResponse>;
4449
+ /**
4450
+ * Deactivate a webhook
4451
+ * Deactivates a webhook by ID.
4452
+ * @returns WebhookResponse
4453
+ * @throws ApiError
4454
+ */
4455
+ deactivateWebhook({ id, }: {
4456
+ /**
4457
+ * The webhook identifier.
4314
4458
  */
4315
- to?: any;
4459
+ id: string;
4460
+ }): CancelablePromise<WebhookResponse>;
4461
+ /**
4462
+ * Update a webhook
4463
+ * Updates an existing webhook.
4464
+ * @returns WebhookResponse
4465
+ * @throws ApiError
4466
+ */
4467
+ updateWebhook({ id, requestBody, }: {
4316
4468
  /**
4317
- * The address of the sender of the teleporter message.
4469
+ * The webhook identifier.
4318
4470
  */
4319
- from?: any;
4320
- }): CancelablePromise<NextPageToken>;
4471
+ id: string;
4472
+ requestBody: UpdateWebhookRequest;
4473
+ }): CancelablePromise<WebhookResponse>;
4474
+ /**
4475
+ * Generate a shared secret
4476
+ * Generates a new shared secret.
4477
+ * @returns SharedSecretsResponse
4478
+ * @throws ApiError
4479
+ */
4480
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4481
+ /**
4482
+ * Get a shared secret
4483
+ * Get a previously generated shared secret.
4484
+ * @returns SharedSecretsResponse
4485
+ * @throws ApiError
4486
+ */
4487
+ getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4321
4488
  }
4322
4489
 
4323
4490
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
@@ -4338,7 +4505,9 @@ declare class Glacier {
4338
4505
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
4339
4506
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
4340
4507
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4508
+ readonly rpc: RpcService;
4341
4509
  readonly teleporter: TeleporterService;
4510
+ readonly webhooks: WebhooksService;
4342
4511
  readonly request: BaseHttpRequest;
4343
4512
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
4344
4513
  }
@@ -4360,4 +4529,4 @@ declare class ApiError extends Error {
4360
4529
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4361
4530
  }
4362
4531
 
4363
- export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, 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 };
4532
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, GlacierApiFeature, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };