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