@avalabs/glacier-sdk 2.8.0-canary.fabddf7.0 → 2.8.0-canary.fb3cd8c.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 (97) hide show
  1. package/dist/index.d.ts +590 -256
  2. package/dist/index.js +279 -105
  3. package/esm/generated/Glacier.d.ts +6 -0
  4. package/esm/generated/Glacier.js +9 -0
  5. package/esm/generated/core/CancelablePromise.d.ts +2 -8
  6. package/esm/generated/core/CancelablePromise.js +38 -36
  7. package/esm/generated/core/request.js +3 -2
  8. package/esm/generated/models/AddressActivityMetadata.d.ts +2 -2
  9. package/esm/generated/models/AddressesChangeRequest.d.ts +8 -0
  10. package/esm/generated/models/{Asset.d.ts → AggregatedAssetAmount.d.ts} +3 -5
  11. package/esm/generated/models/{XChainAssetBalance.d.ts → AssetAmount.d.ts} +2 -6
  12. package/esm/generated/models/AssetWithPriceInfo.d.ts +0 -3
  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 +0 -3
  16. package/esm/generated/models/ChainInfo.d.ts +1 -3
  17. package/esm/generated/models/ChainStatus.d.ts +3 -0
  18. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +2 -6
  19. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +2 -6
  20. package/esm/generated/models/CurrencyCode.d.ts +3 -0
  21. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +27 -0
  22. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.js +8 -0
  23. package/esm/generated/models/DeliveredTeleporterMessage.d.ts +29 -0
  24. package/esm/generated/models/DeliveredTeleporterMessage.js +8 -0
  25. package/esm/generated/models/EVMInput.d.ts +3 -3
  26. package/esm/generated/models/EVMOperationType.d.ts +5 -0
  27. package/esm/generated/models/EVMOperationType.js +6 -0
  28. package/esm/generated/models/EVMOutput.d.ts +3 -3
  29. package/esm/generated/models/Erc1155TokenMetadata.d.ts +0 -3
  30. package/esm/generated/models/Erc721TokenMetadata.d.ts +0 -3
  31. package/esm/generated/models/GetChainResponse.d.ts +1 -3
  32. package/esm/generated/models/GlacierApiFeature.d.ts +6 -0
  33. package/esm/generated/models/GlacierApiFeature.js +7 -0
  34. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  35. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +12 -0
  36. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  37. package/esm/generated/models/Method.d.ts +0 -3
  38. package/esm/generated/models/Money.d.ts +0 -3
  39. package/esm/generated/models/NextPageToken.d.ts +8 -0
  40. package/esm/generated/models/NftTokenMetadataStatus.d.ts +3 -0
  41. package/esm/generated/models/OperationType.d.ts +4 -2
  42. package/esm/generated/models/OperationType.js +3 -1
  43. package/esm/generated/models/PChainBalance.d.ts +15 -15
  44. package/esm/generated/models/PChainSharedAsset.d.ts +1 -3
  45. package/esm/generated/models/PChainTransaction.d.ts +12 -7
  46. package/esm/generated/models/PChainTransactionType.d.ts +2 -0
  47. package/esm/generated/models/PChainTransactionType.js +2 -0
  48. package/esm/generated/models/PChainUtxo.d.ts +2 -2
  49. package/esm/generated/models/PendingReward.d.ts +3 -3
  50. package/esm/generated/models/PendingTeleporterMessage.d.ts +27 -0
  51. package/esm/generated/models/PendingTeleporterMessage.js +8 -0
  52. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +3 -0
  53. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +3 -0
  54. package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
  55. package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
  56. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  57. package/esm/generated/models/PrimaryNetworkTxType.d.ts +2 -1
  58. package/esm/generated/models/PrimaryNetworkTxType.js +2 -1
  59. package/esm/generated/models/RegisterWebhookRequest.d.ts +8 -3
  60. package/esm/generated/models/RpcErrorDto.d.ts +7 -0
  61. package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
  62. package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
  63. package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
  64. package/esm/generated/models/Subnet.d.ts +17 -0
  65. package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
  66. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +9 -0
  67. package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
  68. package/esm/generated/models/TeleporterRewardDetails.d.ts +37 -0
  69. package/esm/generated/models/TeleporterRewardDetails.js +8 -0
  70. package/esm/generated/models/TeleporterSourceTransaction.d.ts +7 -0
  71. package/esm/generated/models/TransactionMethodType.d.ts +3 -0
  72. package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
  73. package/esm/generated/models/Utxo.d.ts +2 -2
  74. package/esm/generated/models/WebhookResponse.d.ts +8 -0
  75. package/esm/generated/models/XChainAssetDetails.d.ts +0 -6
  76. package/esm/generated/models/XChainBalances.d.ts +3 -3
  77. package/esm/generated/models/XChainLinearTransaction.d.ts +4 -7
  78. package/esm/generated/models/XChainNonLinearTransaction.d.ts +4 -7
  79. package/esm/generated/models/XChainSharedAssetBalance.d.ts +0 -3
  80. package/esm/generated/models/XChainTransactionType.d.ts +3 -0
  81. package/esm/generated/services/DefaultService.d.ts +0 -60
  82. package/esm/generated/services/DefaultService.js +0 -48
  83. package/esm/generated/services/EvmChainsService.d.ts +6 -1
  84. package/esm/generated/services/EvmChainsService.js +4 -2
  85. package/esm/generated/services/PrimaryNetworkService.d.ts +1 -1
  86. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  87. package/esm/generated/services/RpcService.d.ts +25 -0
  88. package/esm/generated/services/RpcService.js +24 -0
  89. package/esm/generated/services/TeleporterService.d.ts +57 -0
  90. package/esm/generated/services/TeleporterService.js +39 -0
  91. package/esm/generated/services/WebhooksService.d.ts +122 -0
  92. package/esm/generated/services/WebhooksService.js +108 -0
  93. package/esm/index.d.ts +24 -2
  94. package/esm/index.js +10 -2
  95. package/package.json +3 -3
  96. package/esm/generated/models/CreateEvmTransactionExportRequest.js +0 -8
  97. 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,65 +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
- name: string;
92
- description: string;
93
- };
94
-
95
- type ListWebhooksResponse = {
96
- /**
97
- * 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.
98
- */
99
- nextPageToken?: string;
100
- webhooks: Array<WebhookResponse>;
101
- };
102
-
103
- type RegisterWebhookRequest = {
104
- url: string;
105
- chainId: string;
106
- /**
107
- * The type of event for the webhook
108
- */
109
- eventType: EventType;
110
- metadata: AddressActivityMetadata;
111
- };
112
-
113
- type SharedSecretsResponse = {
114
- secret: string;
115
- };
116
-
117
- declare enum WebhookStatus {
118
- ACTIVE = "active",
119
- INACTIVE = "inactive"
120
- }
121
-
122
57
  declare class DefaultService {
123
58
  readonly httpRequest: BaseHttpRequest;
124
59
  constructor(httpRequest: BaseHttpRequest);
@@ -127,63 +62,11 @@ declare class DefaultService {
127
62
  * @throws ApiError
128
63
  */
129
64
  mediaControllerUploadImage(): CancelablePromise<any>;
130
- /**
131
- * Register a webhook
132
- * Registers a new webhook.
133
- * @returns WebhookResponse
134
- * @throws ApiError
135
- */
136
- registerWebhook({ requestBody, }: {
137
- requestBody: RegisterWebhookRequest;
138
- }): CancelablePromise<WebhookResponse>;
139
- /**
140
- * List webhooks
141
- * Lists webhooks for the user.
142
- * @returns ListWebhooksResponse
143
- * @throws ApiError
144
- */
145
- listWebhooks({ pageToken, pageSize, status, }: {
146
- /**
147
- * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
148
- */
149
- pageToken?: string;
150
- /**
151
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
152
- */
153
- pageSize?: number;
154
- /**
155
- * 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.
156
- */
157
- status?: WebhookStatus;
158
- }): CancelablePromise<ListWebhooksResponse>;
159
- /**
160
- * Deactivate a webhook
161
- * Deactivates a webhook by ID.
162
- * @returns WebhookResponse
163
- * @throws ApiError
164
- */
165
- deactivateWebhook({ id, }: {
166
- /**
167
- * The webhook identifier.
168
- */
169
- id: string;
170
- }): CancelablePromise<WebhookResponse>;
171
- /**
172
- * Generate a shared secret
173
- * Generates a new shared secret.
174
- * @returns SharedSecretsResponse
175
- * @throws ApiError
176
- */
177
- generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
178
- /**
179
- * Get a shared secret
180
- * Get a previously generated shared secret.
181
- * @returns SharedSecretsResponse
182
- * @throws ApiError
183
- */
184
- getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
185
65
  }
186
66
 
67
+ /**
68
+ * ISO 4217 currency code.
69
+ */
187
70
  declare enum CurrencyCode {
188
71
  USD = "usd",
189
72
  EUR = "eur",
@@ -202,9 +85,6 @@ declare enum CurrencyCode {
202
85
  }
203
86
 
204
87
  type Money = {
205
- /**
206
- * ISO 4217 currency code.
207
- */
208
88
  currencyCode: CurrencyCode;
209
89
  /**
210
90
  * Monetary value in base 10 decimals.
@@ -254,6 +134,9 @@ type GetNativeBalanceResponse = {
254
134
  nativeTokenBalance: NativeTokenBalance;
255
135
  };
256
136
 
137
+ /**
138
+ * The metadata indexing status of the nft.
139
+ */
257
140
  declare enum NftTokenMetadataStatus {
258
141
  UNKNOWN = "UNKNOWN",
259
142
  MISSING_TOKEN = "MISSING_TOKEN",
@@ -269,9 +152,6 @@ declare enum NftTokenMetadataStatus {
269
152
  }
270
153
 
271
154
  type Erc1155TokenMetadata = {
272
- /**
273
- * The metadata indexing status of the nft.
274
- */
275
155
  indexStatus: NftTokenMetadataStatus;
276
156
  metadataLastUpdatedTimestamp?: number;
277
157
  name?: string;
@@ -310,9 +190,6 @@ declare namespace Erc1155TokenBalance {
310
190
  }
311
191
 
312
192
  type Erc721TokenMetadata = {
313
- /**
314
- * The metadata indexing status of the nft.
315
- */
316
193
  indexStatus: NftTokenMetadataStatus;
317
194
  metadataLastUpdatedTimestamp?: number;
318
195
  name?: string;
@@ -750,6 +627,9 @@ declare class EvmBlocksService {
750
627
  }): CancelablePromise<GetEvmBlockResponse>;
751
628
  }
752
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
+ */
753
633
  declare enum ChainStatus {
754
634
  OK = "OK",
755
635
  UNAVAILABLE = "UNAVAILABLE"
@@ -787,9 +667,6 @@ declare enum VmName {
787
667
 
788
668
  type GetChainResponse = {
789
669
  chainId: string;
790
- /**
791
- * 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.
792
- */
793
670
  status: ChainStatus;
794
671
  chainName: string;
795
672
  description: string;
@@ -805,13 +682,16 @@ type GetChainResponse = {
805
682
  networkToken: NetworkToken;
806
683
  chainLogoUri?: string;
807
684
  private?: boolean;
685
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
808
686
  };
809
687
 
688
+ declare enum GlacierApiFeature {
689
+ NFT_INDEXING = "nftIndexing",
690
+ WEBHOOKS = "webhooks"
691
+ }
692
+
810
693
  type ChainInfo = {
811
694
  chainId: string;
812
- /**
813
- * 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.
814
- */
815
695
  status: ChainStatus;
816
696
  chainName: string;
817
697
  description: string;
@@ -827,6 +707,7 @@ type ChainInfo = {
827
707
  networkToken: NetworkToken;
828
708
  chainLogoUri?: string;
829
709
  private?: boolean;
710
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
830
711
  };
831
712
 
832
713
  type ListChainsResponse = {
@@ -847,11 +728,15 @@ declare class EvmChainsService {
847
728
  * @returns ListChainsResponse
848
729
  * @throws ApiError
849
730
  */
850
- supportedChains({ network, }: {
731
+ supportedChains({ network, feature, }: {
851
732
  /**
852
733
  * mainnet or testnet.
853
734
  */
854
735
  network?: NetworkType;
736
+ /**
737
+ * Filter by feature.
738
+ */
739
+ feature?: GlacierApiFeature;
855
740
  }): CancelablePromise<ListChainsResponse>;
856
741
  /**
857
742
  * Get chain information
@@ -1306,6 +1191,9 @@ type Erc721TransferDetails = {
1306
1191
  erc721Token: Erc721Token;
1307
1192
  };
1308
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
+ */
1309
1197
  declare enum TransactionMethodType {
1310
1198
  NATIVE_TRANSFER = "NATIVE_TRANSFER",
1311
1199
  CONTRACT_CALL = "CONTRACT_CALL",
@@ -1313,9 +1201,6 @@ declare enum TransactionMethodType {
1313
1201
  }
1314
1202
 
1315
1203
  type Method = {
1316
- /**
1317
- * 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.
1318
- */
1319
1204
  callType: TransactionMethodType;
1320
1205
  /**
1321
1206
  * The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
@@ -1676,7 +1561,7 @@ type ListTransfersResponse = {
1676
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.
1677
1562
  */
1678
1563
  nextPageToken?: string;
1679
- transfers: (Array<Erc20Transfer> | Array<Erc721Transfer> | Array<Erc1155Transfer>);
1564
+ transfers: Array<(Erc20Transfer | Erc721Transfer | Erc1155Transfer)>;
1680
1565
  };
1681
1566
 
1682
1567
  declare enum SortOrder {
@@ -2047,7 +1932,7 @@ type ListNftTokens = {
2047
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.
2048
1933
  */
2049
1934
  nextPageToken?: string;
2050
- tokens: (Array<Erc721Token> | Array<Erc1155Token>);
1935
+ tokens: Array<(Erc721Token | Erc1155Token)>;
2051
1936
  };
2052
1937
 
2053
1938
  declare class NfTsService {
@@ -2124,8 +2009,12 @@ type EvmNetworkOptions = {
2124
2009
  includeChains: Array<string>;
2125
2010
  };
2126
2011
 
2012
+ declare enum EVMOperationType {
2013
+ TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2014
+ }
2015
+
2127
2016
  type CreateEvmTransactionExportRequest = {
2128
- type: CreateEvmTransactionExportRequest.type;
2017
+ type: EVMOperationType;
2129
2018
  firstDate: string;
2130
2019
  lastDate: string;
2131
2020
  /**
@@ -2138,20 +2027,21 @@ type CreateEvmTransactionExportRequest = {
2138
2027
  endDate: string;
2139
2028
  options: EvmNetworkOptions;
2140
2029
  };
2141
- declare namespace CreateEvmTransactionExportRequest {
2142
- enum type {
2143
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM"
2144
- }
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"
2145
2035
  }
2146
2036
 
2147
2037
  type PrimaryNetworkOptions = {
2148
- addresses: Array<string>;
2038
+ addresses?: Array<string>;
2149
2039
  cChainEvmAddresses?: Array<string>;
2150
2040
  includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
2151
2041
  };
2152
2042
 
2153
2043
  type CreatePrimaryNetworkTransactionExportRequest = {
2154
- type: CreatePrimaryNetworkTransactionExportRequest.type;
2044
+ type: PrimaryNetworkOperationType;
2155
2045
  firstDate: string;
2156
2046
  lastDate: string;
2157
2047
  /**
@@ -2164,11 +2054,6 @@ type CreatePrimaryNetworkTransactionExportRequest = {
2164
2054
  endDate: string;
2165
2055
  options: PrimaryNetworkOptions;
2166
2056
  };
2167
- declare namespace CreatePrimaryNetworkTransactionExportRequest {
2168
- enum type {
2169
- TRANSACTION_EXPORT_PRIMARY_NETWORK = "TRANSACTION_EXPORT_PRIMARY_NETWORK"
2170
- }
2171
- }
2172
2057
 
2173
2058
  declare enum OperationStatus {
2174
2059
  RUNNING = "RUNNING",
@@ -2178,8 +2063,10 @@ declare enum OperationStatus {
2178
2063
  }
2179
2064
 
2180
2065
  declare enum OperationType {
2181
- TRANSACTION_EXPORT_EVM = "TRANSACTION_EXPORT_EVM",
2182
- 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"
2183
2070
  }
2184
2071
 
2185
2072
  declare enum OperationStatusCode {
@@ -2371,13 +2258,44 @@ type BlockchainInfo = {
2371
2258
  blockchainId: string;
2372
2259
  };
2373
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
+
2374
2276
  type Subnet = {
2375
2277
  createBlockTimestamp: number;
2376
2278
  createBlockIndex: string;
2377
2279
  subnetId: string;
2280
+ /**
2281
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2282
+ * @deprecated
2283
+ */
2378
2284
  ownerAddresses: Array<string>;
2285
+ /**
2286
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2287
+ * @deprecated
2288
+ */
2379
2289
  threshold: number;
2290
+ /**
2291
+ * This field is deprecated. Use subnetOwnershipInfo instead.
2292
+ * @deprecated
2293
+ */
2380
2294
  locktime: number;
2295
+ /**
2296
+ * Latest subnet owner details for this Subnet.
2297
+ */
2298
+ subnetOwnershipInfo: SubnetOwnershipInfo;
2381
2299
  blockchains: Array<BlockchainInfo>;
2382
2300
  };
2383
2301
 
@@ -2514,11 +2432,17 @@ declare enum ValidationStatusType {
2514
2432
  REMOVED = "removed"
2515
2433
  }
2516
2434
 
2435
+ /**
2436
+ * Cap represents if an asset is a variable or fixed cap asset.
2437
+ */
2517
2438
  declare enum PrimaryNetworkAssetCap {
2518
2439
  FIXED = "fixed",
2519
2440
  VARIABLE = "variable"
2520
2441
  }
2521
2442
 
2443
+ /**
2444
+ * Type of asset like SECP256K1 or NFT.
2445
+ */
2522
2446
  declare enum PrimaryNetworkAssetType {
2523
2447
  SECP256K1 = "secp256k1",
2524
2448
  NFT = "nft"
@@ -2541,17 +2465,11 @@ type XChainAssetDetails = {
2541
2465
  * Denomination of this asset to represent fungibility.
2542
2466
  */
2543
2467
  denomination: number;
2544
- /**
2545
- * Type of asset like SECP256K1 or NFT.
2546
- */
2547
2468
  type: PrimaryNetworkAssetType;
2548
2469
  /**
2549
2470
  * Timestamp in seconds this asset was created on.
2550
2471
  */
2551
2472
  createdAtTimestamp: number;
2552
- /**
2553
- * Cap represents if an asset is a variable or fixed cap asset.
2554
- */
2555
2473
  cap: PrimaryNetworkAssetCap;
2556
2474
  };
2557
2475
 
@@ -2718,7 +2636,7 @@ declare class PrimaryNetworkService {
2718
2636
  /**
2719
2637
  * The subnet ID to filter by. If not provided, then all subnets will be returned.
2720
2638
  */
2721
- subnetId?: string;
2639
+ subnetId?: any;
2722
2640
  }): CancelablePromise<ListValidatorDetailsResponse>;
2723
2641
  /**
2724
2642
  * Get single validator details
@@ -2818,9 +2736,6 @@ type CChainSharedAssetBalance = {
2818
2736
  * Denomination of this asset to represent fungibility.
2819
2737
  */
2820
2738
  denomination: number;
2821
- /**
2822
- * Type of asset like SECP256K1 or NFT.
2823
- */
2824
2739
  type: PrimaryNetworkAssetType;
2825
2740
  /**
2826
2741
  * Amount of the asset.
@@ -2856,7 +2771,7 @@ type ListCChainAtomicBalancesResponse = {
2856
2771
  chainInfo: PrimaryNetworkChainInfo;
2857
2772
  };
2858
2773
 
2859
- type Asset = {
2774
+ type AggregatedAssetAmount = {
2860
2775
  /**
2861
2776
  * Unique ID for an asset.
2862
2777
  */
@@ -2873,14 +2788,12 @@ type Asset = {
2873
2788
  * Denomination of this asset to represent fungibility.
2874
2789
  */
2875
2790
  denomination: number;
2876
- /**
2877
- * Type of asset like SECP256K1 or NFT.
2878
- */
2879
2791
  type: PrimaryNetworkAssetType;
2880
2792
  /**
2881
2793
  * Amount of the asset.
2882
2794
  */
2883
2795
  amount: string;
2796
+ utxoCount: number;
2884
2797
  };
2885
2798
 
2886
2799
  type PChainSharedAsset = {
@@ -2900,49 +2813,47 @@ type PChainSharedAsset = {
2900
2813
  * Denomination of this asset to represent fungibility.
2901
2814
  */
2902
2815
  denomination: number;
2903
- /**
2904
- * Type of asset like SECP256K1 or NFT.
2905
- */
2906
2816
  type: PrimaryNetworkAssetType;
2907
2817
  /**
2908
2818
  * Amount of the asset.
2909
2819
  */
2910
2820
  amount: string;
2821
+ utxoCount: number;
2911
2822
  sharedWithChainId: string;
2912
2823
  status: string;
2913
2824
  };
2914
2825
 
2915
2826
  type PChainBalance = {
2916
2827
  /**
2917
- * 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.
2918
2829
  */
2919
- unlockedUnstaked: Array<Asset>;
2830
+ unlockedUnstaked: Array<AggregatedAssetAmount>;
2920
2831
  /**
2921
- * 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.
2922
2833
  */
2923
- unlockedStaked: Array<Asset>;
2834
+ unlockedStaked: Array<AggregatedAssetAmount>;
2924
2835
  /**
2925
- * 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.
2926
2837
  */
2927
- lockedPlatform: Array<Asset>;
2838
+ lockedPlatform: Array<AggregatedAssetAmount>;
2928
2839
  /**
2929
- * 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.
2930
2841
  */
2931
- lockedStakeable: Array<Asset>;
2842
+ lockedStakeable: Array<AggregatedAssetAmount>;
2932
2843
  /**
2933
- * 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.
2934
2845
  */
2935
- lockedStaked: Array<Asset>;
2846
+ lockedStaked: Array<AggregatedAssetAmount>;
2936
2847
  /**
2937
- * 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.
2938
2849
  */
2939
- pendingStaked: Array<Asset>;
2850
+ pendingStaked: Array<AggregatedAssetAmount>;
2940
2851
  /**
2941
- * 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.
2942
2853
  */
2943
2854
  atomicMemoryUnlocked: Array<PChainSharedAsset>;
2944
2855
  /**
2945
- * 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.
2946
2857
  */
2947
2858
  atomicMemoryLocked: Array<PChainSharedAsset>;
2948
2859
  };
@@ -2952,34 +2863,6 @@ type ListPChainBalancesResponse = {
2952
2863
  chainInfo: PrimaryNetworkChainInfo;
2953
2864
  };
2954
2865
 
2955
- type XChainAssetBalance = {
2956
- /**
2957
- * Unique ID for an asset.
2958
- */
2959
- assetId: string;
2960
- /**
2961
- * Name of this asset.
2962
- */
2963
- name: string;
2964
- /**
2965
- * Symbol for this asset (max 4 characters).
2966
- */
2967
- symbol: string;
2968
- /**
2969
- * Denomination of this asset to represent fungibility.
2970
- */
2971
- denomination: number;
2972
- /**
2973
- * Type of asset like SECP256K1 or NFT.
2974
- */
2975
- type: PrimaryNetworkAssetType;
2976
- /**
2977
- * Amount of the asset.
2978
- */
2979
- amount: string;
2980
- utxoCount: number;
2981
- };
2982
-
2983
2866
  type XChainSharedAssetBalance = {
2984
2867
  /**
2985
2868
  * Unique ID for an asset.
@@ -2997,9 +2880,6 @@ type XChainSharedAssetBalance = {
2997
2880
  * Denomination of this asset to represent fungibility.
2998
2881
  */
2999
2882
  denomination: number;
3000
- /**
3001
- * Type of asset like SECP256K1 or NFT.
3002
- */
3003
2883
  type: PrimaryNetworkAssetType;
3004
2884
  /**
3005
2885
  * Amount of the asset.
@@ -3013,11 +2893,11 @@ type XChainBalances = {
3013
2893
  /**
3014
2894
  * A list of objects containing X-chain Asset balance information.
3015
2895
  */
3016
- locked: Array<XChainAssetBalance>;
2896
+ locked: Array<AggregatedAssetAmount>;
3017
2897
  /**
3018
2898
  * A list of objects containing X-chain Asset balance information.
3019
2899
  */
3020
- unlocked: Array<XChainAssetBalance>;
2900
+ unlocked: Array<AggregatedAssetAmount>;
3021
2901
  atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
3022
2902
  atomicMemoryLocked: Array<XChainSharedAssetBalance>;
3023
2903
  };
@@ -3195,9 +3075,6 @@ type AssetWithPriceInfo = {
3195
3075
  * Denomination of this asset to represent fungibility.
3196
3076
  */
3197
3077
  denomination: number;
3198
- /**
3199
- * Type of asset like SECP256K1 or NFT.
3200
- */
3201
3078
  type: PrimaryNetworkAssetType;
3202
3079
  /**
3203
3080
  * Amount of the asset.
@@ -3240,6 +3117,30 @@ type ListHistoricalRewardsResponse = {
3240
3117
  historicalRewards: Array<HistoricalReward>;
3241
3118
  };
3242
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
+
3243
3144
  type PendingReward = {
3244
3145
  /**
3245
3146
  * An array of P-Chain wallet addresses.
@@ -3253,9 +3154,9 @@ type PendingReward = {
3253
3154
  rewardType: RewardType;
3254
3155
  progress: number;
3255
3156
  /**
3256
- * 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.
3257
3158
  */
3258
- estimatedReward: Asset;
3159
+ estimatedReward: AssetAmount;
3259
3160
  };
3260
3161
 
3261
3162
  type ListPendingRewardsResponse = {
@@ -3356,9 +3257,9 @@ type EVMInput = {
3356
3257
  */
3357
3258
  fromAddress: string;
3358
3259
  /**
3359
- * Asset details for the asset being transferred.
3260
+ * AssetAmount details for the asset being transferred.
3360
3261
  */
3361
- asset: Asset;
3262
+ asset: AssetAmount;
3362
3263
  /**
3363
3264
  * Credentials that signed this transaction.
3364
3265
  */
@@ -3370,7 +3271,7 @@ type Utxo = {
3370
3271
  * Addresses that are eligible to sign the consumption of this output.
3371
3272
  */
3372
3273
  addresses: Array<string>;
3373
- asset: Asset;
3274
+ asset: AssetAmount;
3374
3275
  /**
3375
3276
  * Blockchain ID on which this output is consumed on.
3376
3277
  */
@@ -3453,11 +3354,11 @@ type CChainExportTransaction = {
3453
3354
  /**
3454
3355
  * Assets unlocked by inputs of this transaction.
3455
3356
  */
3456
- amountUnlocked: Array<Asset>;
3357
+ amountUnlocked: Array<AssetAmount>;
3457
3358
  /**
3458
3359
  * Assets created by outputs of this transaction.
3459
3360
  */
3460
- amountCreated: Array<Asset>;
3361
+ amountCreated: Array<AssetAmount>;
3461
3362
  /**
3462
3363
  * Source chain for an atomic transaction.
3463
3364
  */
@@ -3488,9 +3389,9 @@ type EVMOutput = {
3488
3389
  */
3489
3390
  toAddress: string;
3490
3391
  /**
3491
- * Asset details for the asset being transferred.
3392
+ * AssetAmount details for the asset being transferred.
3492
3393
  */
3493
- asset: Asset;
3394
+ asset: AssetAmount;
3494
3395
  };
3495
3396
 
3496
3397
  type CChainImportTransaction = {
@@ -3517,11 +3418,11 @@ type CChainImportTransaction = {
3517
3418
  /**
3518
3419
  * Assets unlocked by inputs of this transaction.
3519
3420
  */
3520
- amountUnlocked: Array<Asset>;
3421
+ amountUnlocked: Array<AssetAmount>;
3521
3422
  /**
3522
3423
  * Assets created by outputs of this transaction.
3523
3424
  */
3524
- amountCreated: Array<Asset>;
3425
+ amountCreated: Array<AssetAmount>;
3525
3426
  /**
3526
3427
  * Source chain for an atomic transaction.
3527
3428
  */
@@ -3569,6 +3470,8 @@ declare enum PChainTransactionType {
3569
3470
  TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3570
3471
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3571
3472
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3473
+ BASE_TX = "BaseTx",
3474
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3572
3475
  UNKNOWN = "UNKNOWN"
3573
3476
  }
3574
3477
 
@@ -3582,7 +3485,7 @@ type PChainUtxo = {
3582
3485
  * Addresses that are eligible to sign the consumption of this output.
3583
3486
  */
3584
3487
  addresses: Array<string>;
3585
- asset: Asset;
3488
+ asset: AssetAmount;
3586
3489
  /**
3587
3490
  * Blockchain ID on which this output is consumed on.
3588
3491
  */
@@ -3646,17 +3549,17 @@ type PChainTransaction = {
3646
3549
  */
3647
3550
  destinationChain?: string;
3648
3551
  /**
3649
- * 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.
3650
3553
  */
3651
- value: Array<Asset>;
3554
+ value: Array<AssetAmount>;
3652
3555
  /**
3653
- * 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.
3654
3557
  */
3655
- amountBurned: Array<Asset>;
3558
+ amountBurned: Array<AssetAmount>;
3656
3559
  /**
3657
- * 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
3658
3561
  */
3659
- amountStaked: Array<Asset>;
3562
+ amountStaked: Array<AssetAmount>;
3660
3563
  /**
3661
3564
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
3662
3565
  */
@@ -3688,6 +3591,10 @@ type PChainTransaction = {
3688
3591
  * Present for RewardValidatorTx
3689
3592
  */
3690
3593
  stakingTxHash?: string;
3594
+ /**
3595
+ * Subnet owner details for the CreateSubnetTx or TransferSubnetOwnershipTx
3596
+ */
3597
+ subnetOwnershipInfo?: SubnetOwnershipInfo;
3691
3598
  };
3692
3599
 
3693
3600
  type ListPChainTransactionsResponse = {
@@ -3699,6 +3606,9 @@ type ListPChainTransactionsResponse = {
3699
3606
  chainInfo: PrimaryNetworkChainInfo;
3700
3607
  };
3701
3608
 
3609
+ /**
3610
+ * Type of transaction.
3611
+ */
3702
3612
  declare enum XChainTransactionType {
3703
3613
  BASE_TX = "BaseTx",
3704
3614
  CREATE_ASSET_TX = "CreateAssetTx",
@@ -3721,9 +3631,6 @@ type XChainLinearTransaction = {
3721
3631
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3722
3632
  */
3723
3633
  timestamp: number;
3724
- /**
3725
- * Type of transaction.
3726
- */
3727
3634
  txType: XChainTransactionType;
3728
3635
  /**
3729
3636
  * Hex encoded memo bytes for this transaction.
@@ -3734,11 +3641,11 @@ type XChainLinearTransaction = {
3734
3641
  /**
3735
3642
  * Assets unlocked by inputs of this transaction.
3736
3643
  */
3737
- amountUnlocked: Array<Asset>;
3644
+ amountUnlocked: Array<AssetAmount>;
3738
3645
  /**
3739
3646
  * Assets created by outputs of this transaction.
3740
3647
  */
3741
- amountCreated: Array<Asset>;
3648
+ amountCreated: Array<AssetAmount>;
3742
3649
  /**
3743
3650
  * Source chain for an atomic transaction.
3744
3651
  */
@@ -3748,7 +3655,7 @@ type XChainLinearTransaction = {
3748
3655
  */
3749
3656
  destinationChain?: string;
3750
3657
  /**
3751
- * Asset details of the asset created in CreateAssetTx
3658
+ * AssetAmount details of the asset created in CreateAssetTx
3752
3659
  */
3753
3660
  assetCreated?: XChainAssetDetails;
3754
3661
  /**
@@ -3798,9 +3705,6 @@ type XChainNonLinearTransaction = {
3798
3705
  * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
3799
3706
  */
3800
3707
  timestamp: number;
3801
- /**
3802
- * Type of transaction.
3803
- */
3804
3708
  txType: XChainTransactionType;
3805
3709
  /**
3806
3710
  * Hex encoded memo bytes for this transaction.
@@ -3811,11 +3715,11 @@ type XChainNonLinearTransaction = {
3811
3715
  /**
3812
3716
  * Assets unlocked by inputs of this transaction.
3813
3717
  */
3814
- amountUnlocked: Array<Asset>;
3718
+ amountUnlocked: Array<AssetAmount>;
3815
3719
  /**
3816
3720
  * Assets created by outputs of this transaction.
3817
3721
  */
3818
- amountCreated: Array<Asset>;
3722
+ amountCreated: Array<AssetAmount>;
3819
3723
  /**
3820
3724
  * Source chain for an atomic transaction.
3821
3725
  */
@@ -3825,7 +3729,7 @@ type XChainNonLinearTransaction = {
3825
3729
  */
3826
3730
  destinationChain?: string;
3827
3731
  /**
3828
- * Asset details of the asset created in CreateAssetTx
3732
+ * AssetAmount details of the asset created in CreateAssetTx
3829
3733
  */
3830
3734
  assetCreated?: XChainAssetDetails;
3831
3735
  /**
@@ -3871,8 +3775,9 @@ declare enum PrimaryNetworkTxType {
3871
3775
  TRANSFORM_SUBNET_TX = "TransformSubnetTx",
3872
3776
  ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
3873
3777
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
3874
- UNKNOWN = "UNKNOWN",
3875
3778
  BASE_TX = "BaseTx",
3779
+ TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
3780
+ UNKNOWN = "UNKNOWN",
3876
3781
  CREATE_ASSET_TX = "CreateAssetTx",
3877
3782
  OPERATION_TX = "OperationTx"
3878
3783
  }
@@ -4198,6 +4103,425 @@ declare class PrimaryNetworkVerticesService {
4198
4103
  }): CancelablePromise<ListXChainVerticesResponse>;
4199
4104
  }
4200
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
+
4149
+ type TeleporterDestinationTransaction = {
4150
+ txHash: string;
4151
+ timestamp: number;
4152
+ gasSpent: string;
4153
+ rewardRedeemer: string;
4154
+ delivererAddress: string;
4155
+ };
4156
+
4157
+ type TeleporterReceipt = {
4158
+ receivedMessageNonce: string;
4159
+ relayerRewardAddress: string;
4160
+ };
4161
+
4162
+ type TeleporterRewardDetails = {
4163
+ /**
4164
+ * A wallet or contract address in mixed-case checksum encoding.
4165
+ */
4166
+ address: string;
4167
+ /**
4168
+ * The contract name.
4169
+ */
4170
+ name: string;
4171
+ /**
4172
+ * The contract symbol.
4173
+ */
4174
+ symbol: string;
4175
+ /**
4176
+ * The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
4177
+ */
4178
+ decimals: number;
4179
+ /**
4180
+ * The logo uri for the address.
4181
+ */
4182
+ logoUri?: string;
4183
+ ercType: TeleporterRewardDetails.ercType;
4184
+ /**
4185
+ * The token price, if available.
4186
+ */
4187
+ price?: Money;
4188
+ value: string;
4189
+ };
4190
+ declare namespace TeleporterRewardDetails {
4191
+ enum ercType {
4192
+ ERC_20 = "ERC-20"
4193
+ }
4194
+ }
4195
+
4196
+ type DeliveredSourceNotIndexedTeleporterMessage = {
4197
+ messageId: string;
4198
+ teleporterContractAddress: string;
4199
+ sourceBlockchainId: string;
4200
+ destinationBlockchainId: string;
4201
+ messageNonce: string;
4202
+ from: string;
4203
+ to: string;
4204
+ data?: string;
4205
+ messageExecuted: boolean;
4206
+ receipts: Array<TeleporterReceipt>;
4207
+ receiptDelivered: boolean;
4208
+ rewardDetails: TeleporterRewardDetails;
4209
+ destinationTransaction: TeleporterDestinationTransaction;
4210
+ status: DeliveredSourceNotIndexedTeleporterMessage.status;
4211
+ };
4212
+ declare namespace DeliveredSourceNotIndexedTeleporterMessage {
4213
+ enum status {
4214
+ DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
4215
+ }
4216
+ }
4217
+
4218
+ type TeleporterSourceTransaction = {
4219
+ txHash: string;
4220
+ timestamp: number;
4221
+ gasSpent: string;
4222
+ };
4223
+
4224
+ type DeliveredTeleporterMessage = {
4225
+ messageId: string;
4226
+ teleporterContractAddress: string;
4227
+ sourceBlockchainId: string;
4228
+ destinationBlockchainId: string;
4229
+ messageNonce: string;
4230
+ from: string;
4231
+ to: string;
4232
+ data?: string;
4233
+ messageExecuted: boolean;
4234
+ receipts: Array<TeleporterReceipt>;
4235
+ receiptDelivered: boolean;
4236
+ rewardDetails: TeleporterRewardDetails;
4237
+ sourceTransaction: TeleporterSourceTransaction;
4238
+ destinationTransaction: TeleporterDestinationTransaction;
4239
+ status: DeliveredTeleporterMessage.status;
4240
+ };
4241
+ declare namespace DeliveredTeleporterMessage {
4242
+ enum status {
4243
+ DELIVERED = "delivered"
4244
+ }
4245
+ }
4246
+
4247
+ type PendingTeleporterMessage = {
4248
+ messageId: string;
4249
+ teleporterContractAddress: string;
4250
+ sourceBlockchainId: string;
4251
+ destinationBlockchainId: string;
4252
+ messageNonce: string;
4253
+ from: string;
4254
+ to: string;
4255
+ data?: string;
4256
+ messageExecuted: boolean;
4257
+ receipts: Array<TeleporterReceipt>;
4258
+ receiptDelivered: boolean;
4259
+ rewardDetails: TeleporterRewardDetails;
4260
+ sourceTransaction: TeleporterSourceTransaction;
4261
+ status: PendingTeleporterMessage.status;
4262
+ };
4263
+ declare namespace PendingTeleporterMessage {
4264
+ enum status {
4265
+ PENDING = "pending"
4266
+ }
4267
+ }
4268
+
4269
+ type ListTeleporterMessagesResponse = {
4270
+ /**
4271
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
4272
+ */
4273
+ nextPageToken?: string;
4274
+ messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
4275
+ };
4276
+
4277
+ declare class TeleporterService {
4278
+ readonly httpRequest: BaseHttpRequest;
4279
+ constructor(httpRequest: BaseHttpRequest);
4280
+ /**
4281
+ * Get a teleporter message
4282
+ * Gets a teleporter message by message ID.
4283
+ * @returns any
4284
+ * @throws ApiError
4285
+ */
4286
+ getTeleporterMessage({ messageId, }: {
4287
+ /**
4288
+ * The message ID of the teleporter message.
4289
+ */
4290
+ messageId: string;
4291
+ }): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
4292
+ /**
4293
+ * List teleporter messages
4294
+ * Lists teleporter messages. Ordered by timestamp in descending order.
4295
+ * @returns ListTeleporterMessagesResponse
4296
+ * @throws ApiError
4297
+ */
4298
+ listTeleporterMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, to, from, }: {
4299
+ /**
4300
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4301
+ */
4302
+ pageToken?: string;
4303
+ /**
4304
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4305
+ */
4306
+ pageSize?: number;
4307
+ /**
4308
+ * The base58 encoded blockchain ID or evm chain ID of the source chain that the teleporter message was sent from.
4309
+ */
4310
+ sourceBlockchainId?: string;
4311
+ /**
4312
+ * The base58 encoded blockchain ID or evm chain ID of the destination chain that the teleporter message was sent to.
4313
+ */
4314
+ destinationBlockchainId?: string;
4315
+ /**
4316
+ * The address of the recipient of the teleporter message.
4317
+ */
4318
+ to?: string;
4319
+ /**
4320
+ * The address of the sender of the teleporter message.
4321
+ */
4322
+ from?: string;
4323
+ }): CancelablePromise<ListTeleporterMessagesResponse>;
4324
+ }
4325
+
4326
+ type AddressesChangeRequest = {
4327
+ /**
4328
+ * Ethereum address(es) for the address_activity event type
4329
+ */
4330
+ addresses: Array<any[]>;
4331
+ };
4332
+
4333
+ type AddressActivityMetadata = {
4334
+ /**
4335
+ * Ethereum address(es) for the address_activity event type
4336
+ */
4337
+ addresses: Array<any[]>;
4338
+ /**
4339
+ * Array of hexadecimal strings of the event signatures.
4340
+ */
4341
+ eventSignatures?: Array<string>;
4342
+ };
4343
+
4344
+ declare enum EventType {
4345
+ ADDRESS_ACTIVITY = "address_activity"
4346
+ }
4347
+
4348
+ declare enum WebhookStatusType {
4349
+ ACTIVE = "active",
4350
+ INACTIVE = "inactive"
4351
+ }
4352
+
4353
+ type WebhookResponse = {
4354
+ id: string;
4355
+ eventType: EventType;
4356
+ metadata: AddressActivityMetadata;
4357
+ /**
4358
+ * Whether to include traces in the webhook payload.
4359
+ */
4360
+ includeInternalTxs?: boolean;
4361
+ /**
4362
+ * Whether to include logs in the webhook payload.
4363
+ */
4364
+ includeLogs?: boolean;
4365
+ url: string;
4366
+ chainId: string;
4367
+ status: WebhookStatusType;
4368
+ createdAt: number;
4369
+ name: string;
4370
+ description: string;
4371
+ };
4372
+
4373
+ type ListWebhooksResponse = {
4374
+ /**
4375
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
4376
+ */
4377
+ nextPageToken?: string;
4378
+ webhooks: Array<WebhookResponse>;
4379
+ };
4380
+
4381
+ type RegisterWebhookRequest = {
4382
+ url: string;
4383
+ chainId: string;
4384
+ eventType: EventType;
4385
+ metadata: AddressActivityMetadata;
4386
+ /**
4387
+ * Whether to include traces in the webhook payload.
4388
+ */
4389
+ includeInternalTxs?: boolean;
4390
+ /**
4391
+ * Whether to include logs in the webhook payload.
4392
+ */
4393
+ includeLogs?: boolean;
4394
+ };
4395
+
4396
+ type SharedSecretsResponse = {
4397
+ secret: string;
4398
+ };
4399
+
4400
+ type UpdateWebhookRequest = {
4401
+ name?: string;
4402
+ description?: string;
4403
+ url?: string;
4404
+ status?: WebhookStatusType;
4405
+ includeInternalTxs?: boolean;
4406
+ includeLogs?: boolean;
4407
+ };
4408
+
4409
+ declare enum WebhookStatus {
4410
+ ACTIVE = "active",
4411
+ INACTIVE = "inactive"
4412
+ }
4413
+
4414
+ declare class WebhooksService {
4415
+ readonly httpRequest: BaseHttpRequest;
4416
+ constructor(httpRequest: BaseHttpRequest);
4417
+ /**
4418
+ * Create a webhook
4419
+ * Create a new webhook.
4420
+ * @returns WebhookResponse
4421
+ * @throws ApiError
4422
+ */
4423
+ registerWebhook({ requestBody, }: {
4424
+ requestBody: RegisterWebhookRequest;
4425
+ }): CancelablePromise<WebhookResponse>;
4426
+ /**
4427
+ * List webhooks
4428
+ * Lists webhooks for the user.
4429
+ * @returns ListWebhooksResponse
4430
+ * @throws ApiError
4431
+ */
4432
+ listWebhooks({ pageToken, pageSize, status, }: {
4433
+ /**
4434
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
4435
+ */
4436
+ pageToken?: string;
4437
+ /**
4438
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
4439
+ */
4440
+ pageSize?: number;
4441
+ /**
4442
+ * Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
4443
+ */
4444
+ status?: WebhookStatus;
4445
+ }): CancelablePromise<ListWebhooksResponse>;
4446
+ /**
4447
+ * Get a webhook by ID
4448
+ * Retrieves a webhook by ID.
4449
+ * @returns WebhookResponse
4450
+ * @throws ApiError
4451
+ */
4452
+ getWebhook({ id, }: {
4453
+ /**
4454
+ * The webhook identifier.
4455
+ */
4456
+ id: string;
4457
+ }): CancelablePromise<WebhookResponse>;
4458
+ /**
4459
+ * Deactivate a webhook
4460
+ * Deactivates a webhook by ID.
4461
+ * @returns WebhookResponse
4462
+ * @throws ApiError
4463
+ */
4464
+ deactivateWebhook({ id, }: {
4465
+ /**
4466
+ * The webhook identifier.
4467
+ */
4468
+ id: string;
4469
+ }): CancelablePromise<WebhookResponse>;
4470
+ /**
4471
+ * Update a webhook
4472
+ * Updates an existing webhook.
4473
+ * @returns WebhookResponse
4474
+ * @throws ApiError
4475
+ */
4476
+ updateWebhook({ id, requestBody, }: {
4477
+ /**
4478
+ * The webhook identifier.
4479
+ */
4480
+ id: string;
4481
+ requestBody: UpdateWebhookRequest;
4482
+ }): CancelablePromise<WebhookResponse>;
4483
+ /**
4484
+ * Generate a shared secret
4485
+ * Generates a new shared secret.
4486
+ * @returns SharedSecretsResponse
4487
+ * @throws ApiError
4488
+ */
4489
+ generateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4490
+ /**
4491
+ * Get a shared secret
4492
+ * Get a previously generated shared secret.
4493
+ * @returns SharedSecretsResponse
4494
+ * @throws ApiError
4495
+ */
4496
+ getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
4497
+ /**
4498
+ * Add address(es) to a webhook
4499
+ * Adding address(es) to a given webhook.
4500
+ * @returns WebhookResponse
4501
+ * @throws ApiError
4502
+ */
4503
+ addAddressesToWebhook({ id, requestBody, }: {
4504
+ /**
4505
+ * The webhook identifier.
4506
+ */
4507
+ id: string;
4508
+ requestBody: AddressesChangeRequest;
4509
+ }): CancelablePromise<WebhookResponse>;
4510
+ /**
4511
+ * Remove address(es) from a webhook
4512
+ * Removing address(es) from a given webhook.
4513
+ * @returns WebhookResponse
4514
+ * @throws ApiError
4515
+ */
4516
+ removeAddressesFromWebhook({ id, requestBody, }: {
4517
+ /**
4518
+ * The webhook identifier.
4519
+ */
4520
+ id: string;
4521
+ requestBody: AddressesChangeRequest;
4522
+ }): CancelablePromise<WebhookResponse>;
4523
+ }
4524
+
4201
4525
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
4202
4526
  declare class Glacier {
4203
4527
  readonly default: DefaultService;
@@ -4216,6 +4540,9 @@ declare class Glacier {
4216
4540
  readonly primaryNetworkTransactions: PrimaryNetworkTransactionsService;
4217
4541
  readonly primaryNetworkUtxOs: PrimaryNetworkUtxOsService;
4218
4542
  readonly primaryNetworkVertices: PrimaryNetworkVerticesService;
4543
+ readonly rpc: RpcService;
4544
+ readonly teleporter: TeleporterService;
4545
+ readonly webhooks: WebhooksService;
4219
4546
  readonly request: BaseHttpRequest;
4220
4547
  constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
4221
4548
  }
@@ -4237,4 +4564,11 @@ declare class ApiError extends Error {
4237
4564
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
4238
4565
  }
4239
4566
 
4240
- 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, 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, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
4567
+ type NextPageToken = {
4568
+ /**
4569
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
4570
+ */
4571
+ nextPageToken?: string;
4572
+ };
4573
+
4574
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, AssetAmount, AssetWithPriceInfo, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, GlacierApiFeature, HealthCheckService, HistoricalReward, ImageAsset, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NextPageToken, NfTsService, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetwork, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RegisterWebhookRequest, RemovedValidatorDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcErrorDto, RpcErrorResponseDto, RpcRequestBodyDto, RpcService, RpcSuccessResponseDto, SharedSecretsResponse, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, TeleporterDestinationTransaction, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };