@paraspell/sdk 5.0.1 → 5.2.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.
package/dist/index.d.ts CHANGED
@@ -1,67 +1,16 @@
1
1
  import { ApiPromise } from '@polkadot/api';
2
2
  import { SubmittableExtrinsic } from '@polkadot/api/types';
3
3
 
4
- declare abstract class ParachainNode {
5
- private readonly _node;
6
- private readonly _name;
7
- private readonly _type;
8
- private readonly _version;
9
- protected _assetCheckEnabled: boolean;
10
- constructor(node: TNode, name: string, type: TRelayChainType, version: Version);
11
- get name(): string;
12
- get type(): TRelayChainType;
13
- get node(): TNode;
14
- get version(): Version;
15
- get assetCheckEnabled(): boolean;
16
- transfer(options: TSendInternalOptions): Extrinsic | TSerializedApiCall;
17
- transferRelayToPara(options: TRelayToParaInternalOptions): TSerializedApiCall;
18
- getProvider(): string;
19
- createApiInstance(): Promise<ApiPromise>;
20
- createCurrencySpec(amount: string, scenario: TScenario, version: Version, currencyId?: string): any;
21
- createPolkadotXcmHeader(scenario: TScenario, paraId?: number): any;
22
- }
23
-
24
- declare const NODE_NAMES: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "Centrifuge", "ComposableFinance", "Darwinia", "HydraDX", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Mangata", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial"];
25
- declare const NODES_WITH_RELAY_CHAINS: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "Centrifuge", "ComposableFinance", "Darwinia", "HydraDX", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Mangata", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "Polkadot", "Kusama"];
26
- declare const SUPPORTED_PALLETS: readonly ["XTokens", "OrmlXTokens", "PolkadotXcm", "RelayerXcm", "XTransfer"];
27
-
28
- type UpdateFunction = (name: string, index: number) => string;
29
4
  type Extrinsic = SubmittableExtrinsic<'promise'>;
30
- type ExtrinsicFunction<T> = (arg: T) => Extrinsic;
31
- type TRelayChainType = 'polkadot' | 'kusama';
32
- type TRelayChainSymbol = 'DOT' | 'KSM';
33
- type TNode = (typeof NODE_NAMES)[number];
34
- type TNodeWithRelayChains = (typeof NODES_WITH_RELAY_CHAINS)[number];
35
- interface TAssetDetails {
36
- assetId: string;
37
- symbol?: string;
38
- decimals?: number;
39
- }
40
- interface TNativeAssetDetails {
41
- assetId?: string;
42
- symbol: string;
43
- decimals: number;
44
- }
45
- interface TNodeAssets {
46
- paraId: number;
47
- relayChainAssetSymbol: TRelayChainSymbol;
48
- nativeAssetSymbol: string;
49
- nativeAssets: TNativeAssetDetails[];
50
- otherAssets: TAssetDetails[];
51
- }
52
- type TAssetJsonMap = Record<TNode, TNodeAssets>;
53
- type TScenario = 'ParaToRelay' | 'ParaToPara' | 'RelayToPara';
54
- type TPallet = (typeof SUPPORTED_PALLETS)[number];
55
- interface TPalletMap {
56
- defaultPallet: TPallet;
57
- supportedPallets: TPallet[];
58
- }
59
- type TPalletJsonMap = Record<TNode, TPalletMap>;
60
- type TEdJsonMap = Record<TNodeWithRelayChains, string | null>;
61
- interface TSerializedApiCall {
62
- module: string;
63
- section: string;
64
- parameters: any[];
5
+ interface PolkadotXCMTransferInput {
6
+ api: ApiPromise;
7
+ header: any;
8
+ addressSelection: any;
9
+ currencySelection: any;
10
+ scenario: TScenario;
11
+ currencySymbol: string | undefined;
12
+ feeAsset?: TCurrency;
13
+ serializedApiCallEnabled?: boolean;
65
14
  }
66
15
  interface XTokensTransferInput {
67
16
  api: ApiPromise;
@@ -72,8 +21,10 @@ interface XTokensTransferInput {
72
21
  fees: number;
73
22
  scenario: TScenario;
74
23
  origin: TNode;
75
- destination?: TNode;
24
+ destination?: TDestination;
76
25
  paraIdTo?: number;
26
+ overridedCurrencyMultiLocation?: TMultiLocation;
27
+ feeAsset?: TCurrency;
77
28
  serializedApiCallEnabled?: boolean;
78
29
  }
79
30
  interface XTransferTransferInput {
@@ -81,38 +32,48 @@ interface XTransferTransferInput {
81
32
  currency: string | undefined;
82
33
  currencyID: string | undefined;
83
34
  amount: string;
84
- recipientAddress: string;
35
+ recipientAddress: TAddress;
85
36
  origin: TNode;
86
37
  paraId?: number;
87
- destination?: TNode;
38
+ destination?: TDestination;
39
+ overridedCurrencyMultiLocation?: TMultiLocation;
88
40
  serializedApiCallEnabled?: boolean;
89
41
  }
42
+ interface IPolkadotXCMTransfer {
43
+ transferPolkadotXCM: (input: PolkadotXCMTransferInput) => Extrinsic | TSerializedApiCall;
44
+ }
90
45
  interface IXTokensTransfer {
91
46
  transferXTokens: (input: XTokensTransferInput) => Extrinsic | TSerializedApiCall;
92
47
  }
93
48
  interface IXTransferTransfer {
94
49
  transferXTransfer: (input: XTransferTransferInput) => Extrinsic | TSerializedApiCall;
95
50
  }
96
- interface PolkadotXCMTransferInput {
97
- api: ApiPromise;
98
- header: any;
99
- addressSelection: any;
100
- currencySelection: any;
101
- scenario: TScenario;
102
- currencySymbol: string | undefined;
103
- serializedApiCallEnabled?: boolean;
51
+ type TScenario = 'ParaToRelay' | 'ParaToPara' | 'RelayToPara';
52
+ declare enum Version {
53
+ V1 = "V1",
54
+ V2 = "V2",
55
+ V3 = "V3"
56
+ }
57
+ declare enum Parents {
58
+ ONE = 1,
59
+ ZERO = 0
104
60
  }
105
61
  type TAmount = string | number | bigint;
62
+ type TCurrency = string | number | bigint;
63
+ type TCurrencyInput = string | number | bigint | TMultiLocation;
64
+ type TAddress = string | TMultiLocation;
65
+ type TDestination = TNode | TMultiLocation;
106
66
  interface TSendBaseOptions {
107
- address: string;
108
- destination?: TNode;
67
+ address: TAddress;
68
+ destination?: TDestination;
109
69
  paraIdTo?: number;
70
+ feeAsset?: TCurrency;
110
71
  destApiForKeepAlive?: ApiPromise;
111
72
  }
112
73
  interface TSendOptions extends TSendBaseOptions {
113
74
  api?: ApiPromise;
114
75
  origin: TNode;
115
- currency: string | number | bigint;
76
+ currency: TCurrencyInput;
116
77
  amount: TAmount;
117
78
  }
118
79
  interface TSendOptionsCommon extends TSendOptions {
@@ -123,11 +84,12 @@ interface TSendInternalOptions extends TSendBaseOptions {
123
84
  currencySymbol: string | undefined;
124
85
  currencyId: string | undefined;
125
86
  amount: string;
87
+ overridedCurrencyMultiLocation?: TMultiLocation;
126
88
  serializedApiCallEnabled?: boolean;
127
89
  }
128
90
  interface TRelayToParaBaseOptions {
129
- destination: TNode;
130
- address: string;
91
+ destination: TDestination;
92
+ address: TAddress;
131
93
  paraIdTo?: number;
132
94
  destApiForKeepAlive?: ApiPromise;
133
95
  }
@@ -142,6 +104,185 @@ interface TRelayToParaInternalOptions extends TRelayToParaBaseOptions {
142
104
  interface TRelayToParaCommonOptions extends TRelayToParaOptions {
143
105
  serializedApiCallEnabled?: boolean;
144
106
  }
107
+ interface TCurrencySelection {
108
+ id: {
109
+ Concrete: TMultiLocation;
110
+ };
111
+ fun: {
112
+ Fungible: string;
113
+ };
114
+ }
115
+ type TCurrencySelectionHeader = {
116
+ [key in Version]?: TCurrencySelection;
117
+ };
118
+ type TCurrencySelectionHeaderArr = {
119
+ [key in Version]?: [TCurrencySelection];
120
+ };
121
+ interface TSerializedApiCall {
122
+ module: string;
123
+ section: string;
124
+ parameters: any[];
125
+ }
126
+ interface CheckKeepAliveOptions {
127
+ originApi: ApiPromise;
128
+ address: string;
129
+ amount: string;
130
+ originNode?: TNode;
131
+ destApi?: ApiPromise;
132
+ currencySymbol?: string;
133
+ destNode?: TNode;
134
+ }
135
+
136
+ type JunctionType = 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
137
+ type NetworkId = string | null;
138
+ type BodyId = string | null;
139
+ type BodyPart = string | null;
140
+ type StringOrNumber = string | number;
141
+ type HexString = string;
142
+ interface JunctionParachain {
143
+ Parachain: StringOrNumber | undefined;
144
+ }
145
+ interface JunctionAccountId32 {
146
+ AccountId32: {
147
+ network?: NetworkId;
148
+ id: HexString;
149
+ };
150
+ }
151
+ interface JunctionAccountIndex64 {
152
+ AccountIndex64: {
153
+ network: NetworkId;
154
+ index: StringOrNumber;
155
+ };
156
+ }
157
+ interface JunctionAccountKey20 {
158
+ AccountKey20: {
159
+ network?: NetworkId;
160
+ key: HexString;
161
+ };
162
+ }
163
+ interface JunctionPalletInstance {
164
+ PalletInstance: StringOrNumber;
165
+ }
166
+ interface JunctionGeneralIndex {
167
+ GeneralIndex: StringOrNumber;
168
+ }
169
+ interface JunctionGeneralKey {
170
+ GeneralKey: {
171
+ length: StringOrNumber;
172
+ data: HexString;
173
+ };
174
+ }
175
+ interface JunctionOnlyChild {
176
+ OnlyChild: string;
177
+ }
178
+ interface JunctionPlurality {
179
+ Plurality: {
180
+ id: BodyId;
181
+ part: BodyPart;
182
+ };
183
+ }
184
+ interface JunctionGlobalConsensus {
185
+ GlobalConsensus: NetworkId;
186
+ }
187
+ type TJunction = JunctionParachain | JunctionAccountId32 | JunctionAccountIndex64 | JunctionAccountKey20 | JunctionPalletInstance | JunctionGeneralIndex | JunctionGeneralKey | JunctionOnlyChild | JunctionPlurality | JunctionGlobalConsensus;
188
+ interface Junctions {
189
+ X1?: TJunction;
190
+ X2?: [TJunction, TJunction];
191
+ X3?: [TJunction, TJunction, TJunction];
192
+ X4?: [TJunction, TJunction, TJunction, TJunction];
193
+ X5?: [TJunction, TJunction, TJunction, TJunction, TJunction];
194
+ X6?: [TJunction, TJunction, TJunction, TJunction, TJunction, TJunction];
195
+ X7?: [TJunction, TJunction, TJunction, TJunction, TJunction, TJunction, TJunction];
196
+ X8?: [TJunction, TJunction, TJunction, TJunction, TJunction, TJunction, TJunction, TJunction];
197
+ X9?: [
198
+ TJunction,
199
+ TJunction,
200
+ TJunction,
201
+ TJunction,
202
+ TJunction,
203
+ TJunction,
204
+ TJunction,
205
+ TJunction,
206
+ TJunction
207
+ ];
208
+ X10?: [
209
+ TJunction,
210
+ TJunction,
211
+ TJunction,
212
+ TJunction,
213
+ TJunction,
214
+ TJunction,
215
+ TJunction,
216
+ TJunction,
217
+ TJunction,
218
+ TJunction
219
+ ];
220
+ }
221
+ interface TMultiLocation {
222
+ parents: StringOrNumber;
223
+ interior: Junctions;
224
+ }
225
+ type TMultiLocationHeader = {
226
+ [key in Version]?: TMultiLocation;
227
+ };
228
+
229
+ declare abstract class ParachainNode {
230
+ private readonly _node;
231
+ private readonly _name;
232
+ private readonly _type;
233
+ private readonly _version;
234
+ protected _assetCheckEnabled: boolean;
235
+ constructor(node: TNode, name: string, type: TRelayChainType, version: Version);
236
+ get name(): string;
237
+ get type(): TRelayChainType;
238
+ get node(): TNode;
239
+ get version(): Version;
240
+ get assetCheckEnabled(): boolean;
241
+ transfer(options: TSendInternalOptions): Extrinsic | TSerializedApiCall;
242
+ transferRelayToPara(options: TRelayToParaInternalOptions): TSerializedApiCall;
243
+ getProvider(): string;
244
+ createApiInstance(): Promise<ApiPromise>;
245
+ createCurrencySpec(amount: string, scenario: TScenario, version: Version, _?: string, overridedMultiLocation?: TMultiLocation): any;
246
+ createPolkadotXcmHeader(scenario: TScenario, destination?: TDestination, paraId?: number): any;
247
+ }
248
+
249
+ declare const NODE_NAMES: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "Centrifuge", "ComposableFinance", "Darwinia", "HydraDX", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Mangata", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet"];
250
+ declare const NODES_WITH_RELAY_CHAINS: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "Centrifuge", "ComposableFinance", "Darwinia", "HydraDX", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Mangata", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Polkadot", "Kusama"];
251
+ declare const SUPPORTED_PALLETS: readonly ["XTokens", "OrmlXTokens", "PolkadotXcm", "RelayerXcm", "XTransfer"];
252
+
253
+ type TNode = (typeof NODE_NAMES)[number];
254
+ type TNodeWithRelayChains = (typeof NODES_WITH_RELAY_CHAINS)[number];
255
+ type TNodeToAssetModuleMap = Record<TNode, string | null>;
256
+
257
+ type TRelayChainType = 'polkadot' | 'kusama';
258
+ type TRelayChainSymbol = 'DOT' | 'KSM';
259
+
260
+ interface TAssetDetails {
261
+ assetId: string;
262
+ symbol?: string;
263
+ decimals?: number;
264
+ }
265
+ interface TNativeAssetDetails {
266
+ assetId?: string;
267
+ symbol: string;
268
+ decimals: number;
269
+ }
270
+ interface TNodeAssets {
271
+ paraId: number;
272
+ relayChainAssetSymbol: TRelayChainSymbol;
273
+ nativeAssetSymbol: string;
274
+ nativeAssets: TNativeAssetDetails[];
275
+ otherAssets: TAssetDetails[];
276
+ }
277
+ type TAssetJsonMap = Record<TNode, TNodeAssets>;
278
+
279
+ type TPallet = (typeof SUPPORTED_PALLETS)[number];
280
+ interface TPalletMap {
281
+ defaultPallet: TPallet;
282
+ supportedPallets: TPallet[];
283
+ }
284
+ type TPalletJsonMap = Record<TNode, TPalletMap>;
285
+
145
286
  interface TOpenChannelOptions {
146
287
  api: ApiPromise;
147
288
  origin: TNode;
@@ -149,9 +290,6 @@ interface TOpenChannelOptions {
149
290
  maxSize: number;
150
291
  maxMessageSize: number;
151
292
  }
152
- interface TOpenChannelInternalOptions extends TOpenChannelOptions {
153
- serializedApiCallEnabled?: boolean;
154
- }
155
293
  interface TCloseChannelOptions {
156
294
  api: ApiPromise;
157
295
  origin: TNode;
@@ -161,33 +299,12 @@ interface TCloseChannelOptions {
161
299
  interface TCloseChannelInternalOptions extends TCloseChannelOptions {
162
300
  serializedApiCallEnabled?: boolean;
163
301
  }
164
- interface IPolkadotXCMTransfer {
165
- transferPolkadotXCM: (input: PolkadotXCMTransferInput) => Extrinsic | TSerializedApiCall;
166
- }
167
- declare enum Version {
168
- V1 = "V1",
169
- V3 = "V3"
170
- }
171
- declare enum Parents {
172
- ONE = 1,
173
- ZERO = 0
174
- }
175
- type PolkadotXCMHeader = {
176
- [K in Version]?: {
177
- parents: Parents;
178
- interior: any;
179
- };
180
- };
181
- interface CheckKeepAliveOptions {
182
- originApi: ApiPromise;
183
- address: string;
184
- amount: string;
185
- originNode?: TNode;
186
- destApi?: ApiPromise;
187
- currencySymbol?: string;
188
- destNode?: TNode;
302
+ interface TOpenChannelInternalOptions extends TOpenChannelOptions {
303
+ serializedApiCallEnabled?: boolean;
189
304
  }
190
305
 
306
+ type TEdJsonMap = Record<TNodeWithRelayChains, string | null>;
307
+
191
308
  declare const sendSerializedApiCall: (options: TSendOptions) => Promise<TSerializedApiCall>;
192
309
  declare const send: (options: TSendOptions) => Promise<Extrinsic>;
193
310
  declare const transferRelayToParaCommon: (options: TRelayToParaCommonOptions) => Promise<Extrinsic | TSerializedApiCall | never>;
@@ -268,23 +385,25 @@ declare class ToGeneralBuilder {
268
385
  private readonly from;
269
386
  private readonly to;
270
387
  private readonly paraIdTo?;
271
- constructor(api: ApiPromise | undefined, from: TNode, to: TNode, paraIdTo?: number);
272
- currency(currency: string | number | bigint): AmountBuilder;
388
+ constructor(api: ApiPromise | undefined, from: TNode, to: TDestination, paraIdTo?: number);
389
+ currency(currency: TCurrencyInput): AmountOrFeeAssetBuilder;
273
390
  openChannel(): MaxSizeOpenChannelBuilder;
274
391
  }
275
392
  declare class FromGeneralBuilder {
276
393
  private readonly api?;
277
394
  private readonly from;
395
+ private _feeAsset?;
278
396
  constructor(api: ApiPromise | undefined, from: TNode);
279
- to(node: TNode, paraIdTo?: number): ToGeneralBuilder;
280
- amount(amount: string | number | bigint): AddressBuilder;
397
+ to(node: TDestination, paraIdTo?: number): ToGeneralBuilder;
398
+ feeAsset(feeAsset: TCurrency): AmountBuilder;
399
+ amount(amount: TAmount): AddressBuilder;
281
400
  closeChannel(): InboundCloseChannelBuilder;
282
401
  }
283
402
  declare class GeneralBuilder {
284
403
  private readonly api?;
285
404
  constructor(api?: ApiPromise);
286
405
  from(node: TNode): FromGeneralBuilder;
287
- to(node: TNode, paraIdTo?: number): AmountBuilder;
406
+ to(node: TDestination, paraIdTo?: number): AmountBuilder;
288
407
  }
289
408
  declare const Builder: (api?: ApiPromise) => GeneralBuilder;
290
409
  interface FinalBuilder {
@@ -297,10 +416,14 @@ interface UseKeepAliveFinalBuilder {
297
416
  buildSerializedApiCall: () => Promise<TSerializedApiCall>;
298
417
  }
299
418
  interface AddressBuilder {
300
- address: (address: string) => UseKeepAliveFinalBuilder;
419
+ address: (address: TAddress) => UseKeepAliveFinalBuilder;
301
420
  }
302
421
  interface AmountBuilder {
303
- amount: (amount: string | number | bigint) => AddressBuilder;
422
+ amount: (amount: TAmount) => AddressBuilder;
423
+ }
424
+ interface AmountOrFeeAssetBuilder {
425
+ amount: (amount: TAmount) => AddressBuilder;
426
+ feeAsset: (feeAsset: TCurrencyInput) => AmountBuilder;
304
427
  }
305
428
 
306
429
  declare const getNode: (node: TNode) => ParachainNode;
@@ -331,4 +454,4 @@ declare class IncompatibleNodesError extends Error {
331
454
 
332
455
  declare const getExistentialDeposit: (node: TNodeWithRelayChains) => string | null;
333
456
 
334
- export { Builder, type CheckKeepAliveOptions, type Extrinsic, type ExtrinsicFunction, type IPolkadotXCMTransfer, type IXTokensTransfer, type IXTransferTransfer, IncompatibleNodesError, InvalidCurrencyError, NODES_WITH_RELAY_CHAINS, NODE_NAMES, NoXCMSupportImplementedError, NodeNotSupportedError, Parents, type PolkadotXCMHeader, type PolkadotXCMTransferInput, SUPPORTED_PALLETS, ScenarioNotSupportedError, type TAmount, type TAssetDetails, type TAssetJsonMap, type TCloseChannelInternalOptions, type TCloseChannelOptions, type TEdJsonMap, type TNativeAssetDetails, type TNode, type TNodeAssets, type TNodeWithRelayChains, type TOpenChannelInternalOptions, type TOpenChannelOptions, type TPallet, type TPalletJsonMap, type TPalletMap, type TRelayChainSymbol, type TRelayChainType, type TRelayToParaCommonOptions, type TRelayToParaInternalOptions, type TRelayToParaOptions, type TScenario, type TSendBaseOptions, type TSendInternalOptions, type TSendOptions, type TSendOptionsCommon, type TSerializedApiCall, type UpdateFunction, Version, type XTokensTransferInput, type XTransferTransferInput, index as assets, index$1 as closeChannels, createApiInstanceForNode, getAllAssetsSymbols, getAllNodeProviders, getAssetDecimals, getAssetId, getAssetsObject, getDefaultPallet, getExistentialDeposit, getNativeAssets, getNode, getNodeEndpointOption, getNodeProvider, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedPallets, getTNode, hasSupportForAsset, index$2 as openChannels, index$3 as xcmPallet };
457
+ export { Builder, type CheckKeepAliveOptions, type Extrinsic, type IPolkadotXCMTransfer, type IXTokensTransfer, type IXTransferTransfer, IncompatibleNodesError, InvalidCurrencyError, type JunctionType, NODES_WITH_RELAY_CHAINS, NODE_NAMES, NoXCMSupportImplementedError, NodeNotSupportedError, Parents, type PolkadotXCMTransferInput, SUPPORTED_PALLETS, ScenarioNotSupportedError, type TAddress, type TAmount, type TAssetDetails, type TAssetJsonMap, type TCloseChannelInternalOptions, type TCloseChannelOptions, type TCurrency, type TCurrencyInput, type TCurrencySelection, type TCurrencySelectionHeader, type TCurrencySelectionHeaderArr, type TDestination, type TEdJsonMap, type TJunction, type TMultiLocation, type TMultiLocationHeader, type TNativeAssetDetails, type TNode, type TNodeAssets, type TNodeToAssetModuleMap, type TNodeWithRelayChains, type TOpenChannelInternalOptions, type TOpenChannelOptions, type TPallet, type TPalletJsonMap, type TPalletMap, type TRelayChainSymbol, type TRelayChainType, type TRelayToParaCommonOptions, type TRelayToParaInternalOptions, type TRelayToParaOptions, type TScenario, type TSendBaseOptions, type TSendInternalOptions, type TSendOptions, type TSendOptionsCommon, type TSerializedApiCall, Version, type XTokensTransferInput, type XTransferTransferInput, index as assets, index$1 as closeChannels, createApiInstanceForNode, getAllAssetsSymbols, getAllNodeProviders, getAssetDecimals, getAssetId, getAssetsObject, getDefaultPallet, getExistentialDeposit, getNativeAssets, getNode, getNodeEndpointOption, getNodeProvider, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedPallets, getTNode, hasSupportForAsset, index$2 as openChannels, index$3 as xcmPallet };