@avalabs/glacier-sdk 2.8.0-canary.45b841e.0 → 2.8.0-canary.4667d23.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 (48) hide show
  1. package/dist/index.d.ts +354 -126
  2. package/dist/index.js +124 -30
  3. package/esm/generated/models/ActiveValidatorDetails.d.ts +1 -0
  4. package/esm/generated/models/AddressActivityMetadata.d.ts +9 -0
  5. package/esm/generated/models/CompletedValidatorDetails.d.ts +1 -0
  6. package/esm/generated/models/EventType.d.ts +5 -0
  7. package/esm/generated/models/EventType.js +6 -0
  8. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -0
  9. package/esm/generated/models/HistoricalReward.d.ts +2 -2
  10. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  11. package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
  12. package/esm/generated/models/PChainBalance.d.ts +7 -7
  13. package/esm/generated/models/PChainSharedAsset.d.ts +22 -0
  14. package/esm/generated/models/PChainTransaction.d.ts +4 -4
  15. package/esm/generated/models/PChainTransactionType.d.ts +6 -5
  16. package/esm/generated/models/PChainTransactionType.js +6 -5
  17. package/esm/generated/models/PChainUtxo.d.ts +34 -14
  18. package/esm/generated/models/PendingReward.d.ts +2 -2
  19. package/esm/generated/models/PendingValidatorDetails.d.ts +1 -0
  20. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -0
  21. package/esm/generated/models/PrimaryNetworkTxType.d.ts +6 -5
  22. package/esm/generated/models/PrimaryNetworkTxType.js +6 -5
  23. package/esm/generated/models/RegisterWebhookRequest.d.ts +14 -0
  24. package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
  25. package/esm/generated/models/Utxo.d.ts +28 -28
  26. package/esm/generated/models/UtxoCredential.d.ts +2 -2
  27. package/esm/generated/models/WebhookResponse.d.ts +15 -0
  28. package/esm/generated/models/WebhookStatus.d.ts +6 -0
  29. package/esm/generated/models/WebhookStatus.js +7 -0
  30. package/esm/generated/models/WebhookStatusType.d.ts +6 -0
  31. package/esm/generated/models/WebhookStatusType.js +7 -0
  32. package/esm/generated/models/XChainLinearTransaction.d.ts +2 -1
  33. package/esm/generated/models/XChainNonLinearTransaction.d.ts +2 -1
  34. package/esm/generated/models/XChainTransactionType.d.ts +10 -0
  35. package/esm/generated/models/XChainTransactionType.js +11 -0
  36. package/esm/generated/services/DefaultService.d.ts +53 -0
  37. package/esm/generated/services/DefaultService.js +42 -0
  38. package/esm/generated/services/EvmTransactionsService.d.ts +42 -0
  39. package/esm/generated/services/NfTsService.d.ts +25 -0
  40. package/esm/generated/services/NfTsService.js +19 -0
  41. package/esm/generated/services/OperationsService.d.ts +11 -11
  42. package/esm/generated/services/OperationsService.js +10 -10
  43. package/esm/generated/services/PrimaryNetworkService.d.ts +19 -19
  44. package/esm/generated/services/PrimaryNetworkService.js +10 -10
  45. package/esm/index.d.ts +10 -1
  46. package/esm/index.js +4 -0
  47. package/package.json +2 -2
  48. package/esm/generated/models/PChainAsset.d.ts +0 -6
package/dist/index.d.ts CHANGED
@@ -60,6 +60,60 @@ declare abstract class BaseHttpRequest {
60
60
  abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
61
61
  }
62
62
 
63
+ type AddressActivityMetadata = {
64
+ /**
65
+ * Ethereum address for the address_activity event type
66
+ */
67
+ address: string;
68
+ topic0?: string;
69
+ };
70
+
71
+ declare enum EventType {
72
+ ADDRESS_ACTIVITY = "address_activity"
73
+ }
74
+
75
+ declare enum WebhookStatusType {
76
+ ACTIVE = "active",
77
+ INACTIVE = "inactive"
78
+ }
79
+
80
+ type WebhookResponse = {
81
+ id: string;
82
+ eventType: EventType;
83
+ metadata: AddressActivityMetadata;
84
+ url: string;
85
+ chainId: string;
86
+ status: WebhookStatusType;
87
+ createdAt: number;
88
+ };
89
+
90
+ type ListWebhooksResponse = {
91
+ /**
92
+ * 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.
93
+ */
94
+ nextPageToken?: string;
95
+ webhooks: Array<WebhookResponse>;
96
+ };
97
+
98
+ type RegisterWebhookRequest = {
99
+ url: string;
100
+ chainId: string;
101
+ /**
102
+ * The type of event for the webhook
103
+ */
104
+ eventType: EventType;
105
+ metadata: AddressActivityMetadata;
106
+ };
107
+
108
+ type SharedSecretsResponse = {
109
+ secret: string;
110
+ };
111
+
112
+ declare enum WebhookStatus {
113
+ ACTIVE = "active",
114
+ INACTIVE = "inactive"
115
+ }
116
+
63
117
  declare class DefaultService {
64
118
  readonly httpRequest: BaseHttpRequest;
65
119
  constructor(httpRequest: BaseHttpRequest);
@@ -68,6 +122,54 @@ declare class DefaultService {
68
122
  * @throws ApiError
69
123
  */
70
124
  mediaControllerUploadImage(): CancelablePromise<any>;
125
+ /**
126
+ * Register a webhook
127
+ * Registers a new webhook.
128
+ * @returns WebhookResponse
129
+ * @throws ApiError
130
+ */
131
+ registerWebhook({ requestBody, }: {
132
+ requestBody: RegisterWebhookRequest;
133
+ }): CancelablePromise<WebhookResponse>;
134
+ /**
135
+ * List webhooks
136
+ * Lists webhooks for the user.
137
+ * @returns ListWebhooksResponse
138
+ * @throws ApiError
139
+ */
140
+ listWebhooks({ pageSize, pageToken, status, }: {
141
+ /**
142
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
143
+ */
144
+ pageSize?: number;
145
+ /**
146
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
147
+ */
148
+ pageToken?: string;
149
+ /**
150
+ * 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.
151
+ */
152
+ status?: WebhookStatus;
153
+ }): CancelablePromise<ListWebhooksResponse>;
154
+ /**
155
+ * Deactivate a webhook
156
+ * Deactivates a webhook by ID.
157
+ * @returns WebhookResponse
158
+ * @throws ApiError
159
+ */
160
+ deactivateWebhook({ id, }: {
161
+ /**
162
+ * The webhook identifier.
163
+ */
164
+ id: string;
165
+ }): CancelablePromise<WebhookResponse>;
166
+ /**
167
+ * Generate a shared secret
168
+ * Generates a new shared secret.
169
+ * @returns SharedSecretsResponse
170
+ * @throws ApiError
171
+ */
172
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
71
173
  }
72
174
 
73
175
  declare enum CurrencyCode {
@@ -1637,7 +1739,13 @@ declare class EvmTransactionsService {
1637
1739
  * A wallet address.
1638
1740
  */
1639
1741
  address: string;
1742
+ /**
1743
+ * 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.
1744
+ */
1640
1745
  startBlock?: number;
1746
+ /**
1747
+ * 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.
1748
+ */
1641
1749
  endBlock?: number;
1642
1750
  /**
1643
1751
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1673,7 +1781,13 @@ declare class EvmTransactionsService {
1673
1781
  * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
1674
1782
  */
1675
1783
  pageToken?: string;
1784
+ /**
1785
+ * 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.
1786
+ */
1676
1787
  startBlock?: number;
1788
+ /**
1789
+ * 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.
1790
+ */
1677
1791
  endBlock?: number;
1678
1792
  /**
1679
1793
  * 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.
@@ -1695,7 +1809,13 @@ declare class EvmTransactionsService {
1695
1809
  * A wallet address.
1696
1810
  */
1697
1811
  address: string;
1812
+ /**
1813
+ * 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.
1814
+ */
1698
1815
  startBlock?: number;
1816
+ /**
1817
+ * 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.
1818
+ */
1699
1819
  endBlock?: number;
1700
1820
  /**
1701
1821
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1721,7 +1841,13 @@ declare class EvmTransactionsService {
1721
1841
  * A wallet address.
1722
1842
  */
1723
1843
  address: string;
1844
+ /**
1845
+ * 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.
1846
+ */
1724
1847
  startBlock?: number;
1848
+ /**
1849
+ * 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.
1850
+ */
1725
1851
  endBlock?: number;
1726
1852
  /**
1727
1853
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1747,7 +1873,13 @@ declare class EvmTransactionsService {
1747
1873
  * A wallet address.
1748
1874
  */
1749
1875
  address: string;
1876
+ /**
1877
+ * 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.
1878
+ */
1750
1879
  startBlock?: number;
1880
+ /**
1881
+ * 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.
1882
+ */
1751
1883
  endBlock?: number;
1752
1884
  /**
1753
1885
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1773,7 +1905,13 @@ declare class EvmTransactionsService {
1773
1905
  * A wallet address.
1774
1906
  */
1775
1907
  address: string;
1908
+ /**
1909
+ * 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.
1910
+ */
1776
1911
  startBlock?: number;
1912
+ /**
1913
+ * 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.
1914
+ */
1777
1915
  endBlock?: number;
1778
1916
  /**
1779
1917
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1801,7 +1939,13 @@ declare class EvmTransactionsService {
1801
1939
  * A wallet address.
1802
1940
  */
1803
1941
  address: string;
1942
+ /**
1943
+ * 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.
1944
+ */
1804
1945
  startBlock?: number;
1946
+ /**
1947
+ * 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.
1948
+ */
1805
1949
  endBlock?: number;
1806
1950
  /**
1807
1951
  * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
@@ -1886,6 +2030,14 @@ declare class HealthCheckService {
1886
2030
  }>;
1887
2031
  }
1888
2032
 
2033
+ type ListNftTokens = {
2034
+ /**
2035
+ * 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.
2036
+ */
2037
+ nextPageToken?: string;
2038
+ tokens: (Array<Erc721Token> | Array<Erc1155Token>);
2039
+ };
2040
+
1889
2041
  declare class NfTsService {
1890
2042
  readonly httpRequest: BaseHttpRequest;
1891
2043
  constructor(httpRequest: BaseHttpRequest);
@@ -1909,6 +2061,30 @@ declare class NfTsService {
1909
2061
  */
1910
2062
  tokenId: string;
1911
2063
  }): CancelablePromise<any>;
2064
+ /**
2065
+ * List tokens
2066
+ * Lists tokens for an NFT contract.
2067
+ * @returns ListNftTokens
2068
+ * @throws ApiError
2069
+ */
2070
+ listTokens({ chainId, address, pageSize, pageToken, }: {
2071
+ /**
2072
+ * A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
2073
+ */
2074
+ chainId: string;
2075
+ /**
2076
+ * Contract address on the relevant chain.
2077
+ */
2078
+ address: string;
2079
+ /**
2080
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
2081
+ */
2082
+ pageSize?: number;
2083
+ /**
2084
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
2085
+ */
2086
+ pageToken?: string;
2087
+ }): CancelablePromise<ListNftTokens>;
1912
2088
  /**
1913
2089
  * Get token details
1914
2090
  * Gets token details for a specific token of an NFT contract.
@@ -2025,17 +2201,6 @@ type OperationStatusResponse = {
2025
2201
  declare class OperationsService {
2026
2202
  readonly httpRequest: BaseHttpRequest;
2027
2203
  constructor(httpRequest: BaseHttpRequest);
2028
- /**
2029
- * Create transaction export operation
2030
- * Trigger a transaction export operation with given parameters.
2031
- *
2032
- * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
2033
- * @returns OperationStatusResponse
2034
- * @throws ApiError
2035
- */
2036
- postTransactionExportJob({ requestBody, }: {
2037
- requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2038
- }): CancelablePromise<OperationStatusResponse>;
2039
2204
  /**
2040
2205
  * Get operation
2041
2206
  * Gets operation details for the given operation id.
@@ -2048,6 +2213,17 @@ declare class OperationsService {
2048
2213
  */
2049
2214
  operationId: string;
2050
2215
  }): CancelablePromise<OperationStatusResponse>;
2216
+ /**
2217
+ * Create transaction export operation
2218
+ * Trigger a transaction export operation with given parameters.
2219
+ *
2220
+ * The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
2221
+ * @returns OperationStatusResponse
2222
+ * @throws ApiError
2223
+ */
2224
+ postTransactionExportJob({ requestBody, }: {
2225
+ requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
2226
+ }): CancelablePromise<OperationStatusResponse>;
2051
2227
  }
2052
2228
 
2053
2229
  declare enum BlockchainIds {
@@ -2228,6 +2404,7 @@ type ValidatorHealthDetails = {
2228
2404
  };
2229
2405
 
2230
2406
  type ActiveValidatorDetails = {
2407
+ txHash: string;
2231
2408
  nodeId: string;
2232
2409
  subnetId: string;
2233
2410
  amountStaked: string;
@@ -2251,6 +2428,7 @@ declare namespace ActiveValidatorDetails {
2251
2428
  }
2252
2429
 
2253
2430
  type CompletedValidatorDetails = {
2431
+ txHash: string;
2254
2432
  nodeId: string;
2255
2433
  subnetId: string;
2256
2434
  amountStaked: string;
@@ -2268,6 +2446,7 @@ declare namespace CompletedValidatorDetails {
2268
2446
  }
2269
2447
 
2270
2448
  type PendingValidatorDetails = {
2449
+ txHash: string;
2271
2450
  nodeId: string;
2272
2451
  subnetId: string;
2273
2452
  amountStaked: string;
@@ -2446,7 +2625,7 @@ declare class PrimaryNetworkService {
2446
2625
  * @returns ListValidatorDetailsResponse
2447
2626
  * @throws ApiError
2448
2627
  */
2449
- listValidators({ network, pageSize, pageToken, minTimeRemaining, maxTimeRemaining, minDelegationCapacity, maxDelegationCapacity, minFeePercentage, maxFeePercentage, nodeIds, sortOrder, validationStatus, subnetId, }: {
2628
+ listValidators({ network, pageSize, pageToken, nodeIds, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, subnetId, }: {
2450
2629
  /**
2451
2630
  * Either mainnet or a testnet.
2452
2631
  */
@@ -2460,41 +2639,41 @@ declare class PrimaryNetworkService {
2460
2639
  */
2461
2640
  pageToken?: string;
2462
2641
  /**
2463
- * The minimum delegation time remaining, in seconds, used to filter the set of nodes being returned.
2642
+ * A comma separated list of node ids to filter by.
2464
2643
  */
2465
- minTimeRemaining?: any;
2644
+ nodeIds?: string;
2466
2645
  /**
2467
- * The maximum delegation time remaining, in seconds, used to filter the set of nodes being returned.
2646
+ * 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.
2468
2647
  */
2469
- maxTimeRemaining?: any;
2648
+ sortOrder?: SortOrder;
2470
2649
  /**
2471
- * 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
2650
+ * Validation status of the node.
2472
2651
  */
2473
- minDelegationCapacity?: number;
2652
+ validationStatus?: ValidationStatusType;
2474
2653
  /**
2475
- * 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.
2654
+ * 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
2476
2655
  */
2477
- maxDelegationCapacity?: number;
2656
+ minDelegationCapacity?: any;
2478
2657
  /**
2479
- * 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.
2658
+ * 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.
2480
2659
  */
2481
- minFeePercentage?: any;
2660
+ maxDelegationCapacity?: any;
2482
2661
  /**
2483
- * 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.
2662
+ * The minimum validation time remaining, in seconds, used to filter the set of nodes being returned.
2484
2663
  */
2485
- maxFeePercentage?: any;
2664
+ minTimeRemaining?: any;
2486
2665
  /**
2487
- * A comma separated list of node ids to filter by.
2666
+ * The maximum validation time remaining, in seconds, used to filter the set of nodes being returned.
2488
2667
  */
2489
- nodeIds?: string;
2668
+ maxTimeRemaining?: any;
2490
2669
  /**
2491
- * 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.
2670
+ * 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.
2492
2671
  */
2493
- sortOrder?: SortOrder;
2672
+ minFeePercentage?: any;
2494
2673
  /**
2495
- * Validation status of the node.
2674
+ * 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.
2496
2675
  */
2497
- validationStatus?: ValidationStatusType;
2676
+ maxFeePercentage?: any;
2498
2677
  /**
2499
2678
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2500
2679
  */
@@ -2636,13 +2815,57 @@ type ListCChainAtomicBalancesResponse = {
2636
2815
  chainInfo: PrimaryNetworkChainInfo;
2637
2816
  };
2638
2817
 
2639
- type PChainAsset = {
2818
+ type Asset = {
2819
+ /**
2820
+ * Unique ID for an asset.
2821
+ */
2640
2822
  assetId: string;
2823
+ /**
2824
+ * Name of this asset.
2825
+ */
2826
+ name: string;
2827
+ /**
2828
+ * Symbol for this asset (max 4 characters).
2829
+ */
2830
+ symbol: string;
2831
+ /**
2832
+ * Denomination of this asset to represent fungibility.
2833
+ */
2834
+ denomination: number;
2835
+ /**
2836
+ * Type of asset like SECP256K1 or NFT.
2837
+ */
2838
+ type: string;
2839
+ /**
2840
+ * Amount of the asset.
2841
+ */
2641
2842
  amount: string;
2642
2843
  };
2643
2844
 
2644
2845
  type PChainSharedAsset = {
2846
+ /**
2847
+ * Unique ID for an asset.
2848
+ */
2645
2849
  assetId: string;
2850
+ /**
2851
+ * Name of this asset.
2852
+ */
2853
+ name: string;
2854
+ /**
2855
+ * Symbol for this asset (max 4 characters).
2856
+ */
2857
+ symbol: string;
2858
+ /**
2859
+ * Denomination of this asset to represent fungibility.
2860
+ */
2861
+ denomination: number;
2862
+ /**
2863
+ * Type of asset like SECP256K1 or NFT.
2864
+ */
2865
+ type: string;
2866
+ /**
2867
+ * Amount of the asset.
2868
+ */
2646
2869
  amount: string;
2647
2870
  sharedWithChainId: string;
2648
2871
  status: string;
@@ -2652,27 +2875,27 @@ type PChainBalance = {
2652
2875
  /**
2653
2876
  * 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.
2654
2877
  */
2655
- unlockedUnstaked: Array<PChainAsset>;
2878
+ unlockedUnstaked: Array<Asset>;
2656
2879
  /**
2657
2880
  * 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.
2658
2881
  */
2659
- unlockedStaked: Array<PChainAsset>;
2882
+ unlockedStaked: Array<Asset>;
2660
2883
  /**
2661
2884
  * 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.
2662
2885
  */
2663
- lockedPlatform: Array<PChainAsset>;
2886
+ lockedPlatform: Array<Asset>;
2664
2887
  /**
2665
2888
  * 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.
2666
2889
  */
2667
- lockedStakeable: Array<PChainAsset>;
2890
+ lockedStakeable: Array<Asset>;
2668
2891
  /**
2669
2892
  * 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.
2670
2893
  */
2671
- lockedStaked: Array<PChainAsset>;
2894
+ lockedStaked: Array<Asset>;
2672
2895
  /**
2673
2896
  * 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.
2674
2897
  */
2675
- pendingStaked: Array<PChainAsset>;
2898
+ pendingStaked: Array<Asset>;
2676
2899
  /**
2677
2900
  * 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.
2678
2901
  */
@@ -2811,6 +3034,7 @@ type GetPrimaryNetworkBlockResponse = {
2811
3034
  txCount: number;
2812
3035
  transactions: Array<string>;
2813
3036
  blockSizeBytes: number;
3037
+ currentSupply?: string;
2814
3038
  proposerDetails?: ProposerDetails;
2815
3039
  };
2816
3040
 
@@ -2823,6 +3047,7 @@ type PrimaryNetworkBlock = {
2823
3047
  txCount: number;
2824
3048
  transactions: Array<string>;
2825
3049
  blockSizeBytes: number;
3050
+ currentSupply?: string;
2826
3051
  proposerDetails?: ProposerDetails;
2827
3052
  };
2828
3053
 
@@ -2934,7 +3159,7 @@ type HistoricalReward = {
2934
3159
  /**
2935
3160
  * An object containing P-chain Asset ID and the amount of that Asset ID.
2936
3161
  */
2937
- reward: PChainAsset;
3162
+ reward: Asset;
2938
3163
  rewardTxHash: string;
2939
3164
  };
2940
3165
 
@@ -2961,7 +3186,7 @@ type PendingReward = {
2961
3186
  /**
2962
3187
  * An object containing P-chain Asset ID and the amount of that Asset ID.
2963
3188
  */
2964
- estimatedReward: PChainAsset;
3189
+ estimatedReward: Asset;
2965
3190
  };
2966
3191
 
2967
3192
  type ListPendingRewardsResponse = {
@@ -3041,40 +3266,13 @@ declare class PrimaryNetworkRewardsService {
3041
3266
  }): CancelablePromise<ListHistoricalRewardsResponse>;
3042
3267
  }
3043
3268
 
3044
- type Asset = {
3045
- /**
3046
- * Unique ID for an asset.
3047
- */
3048
- assetId: string;
3049
- /**
3050
- * Name of this asset.
3051
- */
3052
- name: string;
3053
- /**
3054
- * Symbol for this asset (max 4 characters).
3055
- */
3056
- symbol: string;
3057
- /**
3058
- * Denomination of this asset to represent fungibility.
3059
- */
3060
- denomination: number;
3061
- /**
3062
- * Type of asset like SECP256K1 or NFT.
3063
- */
3064
- type: string;
3065
- /**
3066
- * Amount of the asset.
3067
- */
3068
- amount: string;
3069
- };
3070
-
3071
3269
  type UtxoCredential = {
3072
3270
  /**
3073
- * Signature provided to consume the output
3271
+ * Signature provided to consume the output.
3074
3272
  */
3075
3273
  signature?: string;
3076
3274
  /**
3077
- * Public key associated with the signature
3275
+ * Public key associated with the signature.
3078
3276
  */
3079
3277
  publicKey?: string;
3080
3278
  };
@@ -3096,66 +3294,66 @@ type EVMInput = {
3096
3294
 
3097
3295
  type Utxo = {
3098
3296
  /**
3099
- * UTXO ID for this output.
3297
+ * Addresses that are eligible to sign the consumption of this output.
3100
3298
  */
3101
- utxoId: string;
3299
+ addresses: Array<string>;
3102
3300
  asset: Asset;
3103
3301
  /**
3104
- * Type of output.
3302
+ * Blockchain ID on which this output is consumed on.
3105
3303
  */
3106
- utxoType: string;
3304
+ consumedOnChainId: string;
3107
3305
  /**
3108
- * Blockchain ID on which this output is created on.
3306
+ * Transaction ID that consumed this output.
3109
3307
  */
3110
- createdOnChainId: string;
3308
+ consumingTxHash?: string;
3111
3309
  /**
3112
- * Blockchain ID on which this output is consumed on.
3310
+ * Blockchain ID on which this output is created on.
3113
3311
  */
3114
- consumedOnChainId: string;
3312
+ createdOnChainId: string;
3115
3313
  /**
3116
- * Transaction ID that created this output.
3314
+ * UTXO ID for this output.
3117
3315
  */
3118
- creationTxHash: string;
3316
+ utxoId: string;
3119
3317
  /**
3120
- * Transaction ID that consumed this output.
3318
+ * Unix timestamp in seconds at which this output was consumed.
3121
3319
  */
3122
- consumingTxHash?: string;
3320
+ consumingTxTimestamp?: number;
3123
3321
  /**
3124
- * Timestamp in seconds this output is consumed.
3322
+ * Transaction ID that created this output.
3125
3323
  */
3126
- consumingTxTimestamp?: number;
3324
+ creationTxHash: string;
3127
3325
  /**
3128
- * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3326
+ * Credentials that signed the transaction to consume this utxo
3129
3327
  */
3130
- outputIndex: string;
3328
+ credentials?: Array<UtxoCredential>;
3131
3329
  /**
3132
- * Timestamp in seconds this outptut is created on.
3330
+ * Index representing the minting set for the NFT mint output.
3133
3331
  */
3134
- timestamp: number;
3332
+ groupId?: number;
3135
3333
  /**
3136
3334
  * Locktime in seconds after which this output can be consumed.
3137
3335
  */
3138
3336
  locktime: number;
3139
3337
  /**
3140
- * Minimum number of signatures required to consume this output.
3338
+ * Postion of this output in a list of lexiographically sorted outputs of a transaction.
3141
3339
  */
3142
- threshold: number;
3340
+ outputIndex: string;
3143
3341
  /**
3144
- * Addresses that are eligible to sign the consumption of this output.
3342
+ * Hex encoded data for NFT assets.
3145
3343
  */
3146
- addresses: Array<string>;
3344
+ payload?: string;
3147
3345
  /**
3148
- * Hex encoded data for NFT assets
3346
+ * Minimum number of signatures required to consume this output.
3149
3347
  */
3150
- payload?: string;
3348
+ threshold: number;
3151
3349
  /**
3152
- * Index representing the minting set for the NFT mint output
3350
+ * Unix timestamp in seconds at which this outptut was created.
3153
3351
  */
3154
- groupId?: number;
3352
+ timestamp: number;
3155
3353
  /**
3156
- * Credentials that signed the transaction to consume this utxo
3354
+ * Type of output.
3157
3355
  */
3158
- credentials?: Array<UtxoCredential>;
3356
+ utxoType: string;
3159
3357
  };
3160
3358
 
3161
3359
  type CChainExportTransaction = {
@@ -3286,17 +3484,18 @@ type ListCChainAtomicTransactionsResponse = {
3286
3484
 
3287
3485
  declare enum PChainTransactionType {
3288
3486
  ADD_VALIDATOR_TX = "AddValidatorTx",
3289
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3290
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3291
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3292
3487
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3293
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3294
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3488
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3295
3489
  CREATE_CHAIN_TX = "CreateChainTx",
3296
3490
  CREATE_SUBNET_TX = "CreateSubnetTx",
3297
3491
  IMPORT_TX = "ImportTx",
3298
3492
  EXPORT_TX = "ExportTx",
3299
3493
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3494
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3495
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3496
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3497
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3498
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3300
3499
  UNKNOWN = "UNKNOWN"
3301
3500
  }
3302
3501
 
@@ -3307,29 +3506,48 @@ declare enum UtxoType {
3307
3506
 
3308
3507
  type PChainUtxo = {
3309
3508
  /**
3310
- * An array of P-Chain wallet addresses.
3509
+ * Addresses that are eligible to sign the consumption of this output.
3311
3510
  */
3312
3511
  addresses: Array<string>;
3512
+ asset: Asset;
3513
+ /**
3514
+ * Blockchain ID on which this output is consumed on.
3515
+ */
3516
+ consumedOnChainId: string;
3517
+ /**
3518
+ * Transaction ID that consumed this output.
3519
+ */
3520
+ consumingTxHash?: string;
3521
+ /**
3522
+ * Blockchain ID on which this output is created on.
3523
+ */
3524
+ createdOnChainId: string;
3525
+ /**
3526
+ * UTXO ID for this output.
3527
+ */
3313
3528
  utxoId: string;
3314
- txHash: string;
3315
- outputIndex: number;
3529
+ /**
3530
+ * @deprecated
3531
+ */
3532
+ amount: string;
3533
+ /**
3534
+ * @deprecated
3535
+ */
3536
+ assetId: string;
3316
3537
  blockNumber: string;
3317
3538
  blockTimestamp: number;
3318
- consumingTxHash?: string;
3319
- consumingBlockTimestamp?: number;
3320
3539
  consumingBlockNumber?: string;
3321
- assetId: string;
3322
- utxoType: UtxoType;
3323
- amount: string;
3324
- stakeableLocktime?: number;
3540
+ consumingBlockTimestamp?: number;
3325
3541
  platformLocktime?: number;
3326
- threshold?: number;
3327
- createdOnChainId: string;
3328
- consumedOnChainId: string;
3542
+ outputIndex: number;
3543
+ rewardType?: RewardType;
3544
+ stakeableLocktime?: number;
3329
3545
  staked?: boolean;
3330
- utxoStartTimestamp?: number;
3546
+ threshold?: number;
3547
+ txHash: string;
3331
3548
  utxoEndTimestamp?: number;
3332
- rewardType?: RewardType;
3549
+ utxoStartTimestamp?: number;
3550
+ utxoType: UtxoType;
3333
3551
  };
3334
3552
 
3335
3553
  type PChainTransaction = {
@@ -3357,15 +3575,15 @@ type PChainTransaction = {
3357
3575
  /**
3358
3576
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3359
3577
  */
3360
- value: Array<PChainAsset>;
3578
+ value: Array<Asset>;
3361
3579
  /**
3362
3580
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID.
3363
3581
  */
3364
- amountBurned: Array<PChainAsset>;
3582
+ amountBurned: Array<Asset>;
3365
3583
  /**
3366
3584
  * A list of objects containing P-chain Asset ID and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3367
3585
  */
3368
- amountStaked: Array<PChainAsset>;
3586
+ amountStaked: Array<Asset>;
3369
3587
  /**
3370
3588
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3371
3589
  */
@@ -3408,6 +3626,15 @@ type ListPChainTransactionsResponse = {
3408
3626
  chainInfo: PrimaryNetworkChainInfo;
3409
3627
  };
3410
3628
 
3629
+ declare enum XChainTransactionType {
3630
+ BASE_TX = "BaseTx",
3631
+ CREATE_ASSET_TX = "CreateAssetTx",
3632
+ OPERATION_TX = "OperationTx",
3633
+ IMPORT_TX = "ImportTx",
3634
+ EXPORT_TX = "ExportTx",
3635
+ UNKNOWN = "UNKNOWN"
3636
+ }
3637
+
3411
3638
  type XChainLinearTransaction = {
3412
3639
  /**
3413
3640
  * Unique ID for this transaction.
@@ -3424,7 +3651,7 @@ type XChainLinearTransaction = {
3424
3651
  /**
3425
3652
  * Type of transaction.
3426
3653
  */
3427
- txType: string;
3654
+ txType: XChainTransactionType;
3428
3655
  /**
3429
3656
  * Hex encoded memo bytes for this transaction.
3430
3657
  */
@@ -3501,7 +3728,7 @@ type XChainNonLinearTransaction = {
3501
3728
  /**
3502
3729
  * Type of transaction.
3503
3730
  */
3504
- txType: string;
3731
+ txType: XChainTransactionType;
3505
3732
  /**
3506
3733
  * Hex encoded memo bytes for this transaction.
3507
3734
  */
@@ -3559,17 +3786,18 @@ declare enum PChainId {
3559
3786
 
3560
3787
  declare enum PrimaryNetworkTxType {
3561
3788
  ADD_VALIDATOR_TX = "AddValidatorTx",
3562
- ADD_DELEGATOR_TX = "AddDelegatorTx",
3563
- ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3564
- ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3565
3789
  ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
3566
- REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3567
- REWARD_VALIDATOR_TX = "RewardValidatorTx",
3790
+ ADD_DELEGATOR_TX = "AddDelegatorTx",
3568
3791
  CREATE_CHAIN_TX = "CreateChainTx",
3569
3792
  CREATE_SUBNET_TX = "CreateSubnetTx",
3570
3793
  IMPORT_TX = "ImportTx",
3571
3794
  EXPORT_TX = "ExportTx",
3572
3795
  ADVANCE_TIME_TX = "AdvanceTimeTx",
3796
+ REWARD_VALIDATOR_TX = "RewardValidatorTx",
3797
+ REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
3798
+ TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3799
+ ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3800
+ ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3573
3801
  UNKNOWN = "UNKNOWN",
3574
3802
  BASE_TX = "BaseTx",
3575
3803
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3936,4 +4164,4 @@ declare class ApiError extends Error {
3936
4164
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
3937
4165
  }
3938
4166
 
3939
- export { ActiveDelegatorDetails, ActiveValidatorDetails, ApiError, Asset, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, EVMInput, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, 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, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainAsset, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainVertex };
4167
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, ApiError, Asset, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, EVMInput, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };