@paraspell/sdk 5.6.0 → 5.8.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,5 +1,7 @@
1
1
  import { ApiPromise } from '@polkadot/api';
2
2
  import { SubmittableExtrinsic } from '@polkadot/api/types';
3
+ import { AbstractProvider, Signer } from 'ethers';
4
+ import * as _polkadot_apps_config_endpoints_types from '@polkadot/apps-config/endpoints/types';
3
5
 
4
6
  type TMultiAsset = TMultiAssetV3 | TMultiAssetV4;
5
7
  interface TMultiAssetV3 {
@@ -17,6 +19,29 @@ interface TMultiAssetV4 {
17
19
  };
18
20
  }
19
21
 
22
+ type TCurrency = string | number | bigint;
23
+ type TCurrencySpecifier = {
24
+ symbol: string;
25
+ } | {
26
+ id: TCurrency;
27
+ };
28
+ type TCurrencyCore = TCurrency | TMultiLocation | TMultiAsset[];
29
+ type TCurrencyInput = TCurrencyCore | TCurrencySpecifier;
30
+ interface TCurrencySelection {
31
+ id: {
32
+ Concrete: TMultiLocation;
33
+ };
34
+ fun: {
35
+ Fungible: string;
36
+ };
37
+ }
38
+ type TCurrencySelectionHeader = {
39
+ [key in Version]?: TCurrencySelection;
40
+ };
41
+ type TCurrencySelectionHeaderArr = {
42
+ [key in Version]?: [TCurrencySelection];
43
+ };
44
+
20
45
  type Extrinsic = SubmittableExtrinsic<'promise'>;
21
46
  interface PolkadotXCMTransferInput {
22
47
  api: ApiPromise;
@@ -84,8 +109,6 @@ declare enum Parents {
84
109
  TWO = 2
85
110
  }
86
111
  type TAmount = string | number | bigint;
87
- type TCurrency = string | number | bigint;
88
- type TCurrencyInput = string | number | bigint | TMultiLocation | TMultiAsset[];
89
112
  type TAddress = string | TMultiLocation;
90
113
  type TDestination = TNode | TMultiLocation;
91
114
  interface TSendBaseOptions {
@@ -131,20 +154,6 @@ interface TRelayToParaInternalOptions extends TRelayToParaBaseOptions {
131
154
  interface TRelayToParaCommonOptions extends TRelayToParaOptions {
132
155
  serializedApiCallEnabled?: boolean;
133
156
  }
134
- interface TCurrencySelection {
135
- id: {
136
- Concrete: TMultiLocation;
137
- };
138
- fun: {
139
- Fungible: string;
140
- };
141
- }
142
- type TCurrencySelectionHeader = {
143
- [key in Version]?: TCurrencySelection;
144
- };
145
- type TCurrencySelectionHeaderArr = {
146
- [key in Version]?: [TCurrencySelection];
147
- };
148
157
  interface TSerializedApiCall {
149
158
  module: string;
150
159
  section: string;
@@ -154,10 +163,10 @@ interface CheckKeepAliveOptions {
154
163
  originApi: ApiPromise;
155
164
  address: string;
156
165
  amount: string;
157
- originNode?: TNode;
166
+ originNode?: TNodePolkadotKusama;
158
167
  destApi?: ApiPromise;
159
168
  currencySymbol?: string;
160
- destNode?: TNode;
169
+ destNode?: TNodePolkadotKusama;
161
170
  }
162
171
 
163
172
  type JunctionType = 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
@@ -209,7 +218,7 @@ interface JunctionPlurality {
209
218
  };
210
219
  }
211
220
  interface JunctionGlobalConsensus {
212
- GlobalConsensus: NetworkId;
221
+ GlobalConsensus: NetworkId | object;
213
222
  }
214
223
  type TJunction = JunctionParachain | JunctionAccountId32 | JunctionAccountIndex64 | JunctionAccountKey20 | JunctionPalletInstance | JunctionGeneralIndex | JunctionGeneralKey | JunctionOnlyChild | JunctionPlurality | JunctionGlobalConsensus;
215
224
  interface Junctions {
@@ -271,17 +280,20 @@ declare abstract class ParachainNode {
271
280
  transferRelayToPara(options: TRelayToParaInternalOptions): TSerializedApiCall;
272
281
  getProvider(): string;
273
282
  createApiInstance(): Promise<ApiPromise>;
274
- createCurrencySpec(amount: string, scenario: TScenario, version: Version, _?: string, overridedMultiLocation?: TMultiLocation | TMultiAsset[]): any;
275
- createPolkadotXcmHeader(scenario: TScenario, version: Version, destination?: TDestination, paraId?: number): any;
283
+ createCurrencySpec(amount: string, scenario: TScenario, version: Version, _?: string, overridedMultiLocation?: TMultiLocation | TMultiAsset[]): TCurrencySelectionHeaderArr;
284
+ createPolkadotXcmHeader(scenario: TScenario, version: Version, destination?: TDestination, paraId?: number): TMultiLocationHeader;
276
285
  }
277
286
 
278
- declare const NODE_NAMES: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio"];
279
- declare const NODES_WITH_RELAY_CHAINS: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio", "Polkadot", "Kusama"];
287
+ declare const NODE_NAMES_DOT_KSM: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio", "Mythos", "Peaq"];
288
+ declare const NODE_NAMES: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio", "Mythos", "Peaq", "Ethereum"];
289
+ declare const NODES_WITH_RELAY_CHAINS: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio", "Mythos", "Peaq", "Ethereum", "Polkadot", "Kusama"];
290
+ declare const NODES_WITH_RELAY_CHAINS_DOT_KSM: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Pioneer", "Calamari", "CrustShadow", "Crab", "Imbue", "Integritee", "InvArchTinker", "Karura", "Kintsugi", "Litmus", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "Robonomics", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Polkadex", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio", "Mythos", "Peaq", "Polkadot", "Kusama"];
280
291
  declare const SUPPORTED_PALLETS: readonly ["XTokens", "OrmlXTokens", "PolkadotXcm", "RelayerXcm", "XTransfer"];
281
292
 
282
293
  type TNode = (typeof NODE_NAMES)[number];
294
+ type TNodePolkadotKusama = Exclude<TNode, 'Ethereum'>;
283
295
  type TNodeWithRelayChains = (typeof NODES_WITH_RELAY_CHAINS)[number];
284
- type TNodeToAssetModuleMap = Record<TNode, string | null>;
296
+ type TNodeDotKsmWithRelayChains = Exclude<TNodeWithRelayChains, 'Ethereum'>;
285
297
 
286
298
  type TRelayChainType = 'polkadot' | 'kusama';
287
299
  type TRelayChainSymbol = 'DOT' | 'KSM';
@@ -310,7 +322,7 @@ interface TPalletMap {
310
322
  defaultPallet: TPallet;
311
323
  supportedPallets: TPallet[];
312
324
  }
313
- type TPalletJsonMap = Record<TNode, TPalletMap>;
325
+ type TPalletJsonMap = Record<TNodePolkadotKusama, TPalletMap>;
314
326
 
315
327
  interface TOpenChannelOptions {
316
328
  api: ApiPromise;
@@ -332,12 +344,12 @@ interface TOpenChannelInternalOptions extends TOpenChannelOptions {
332
344
  serializedApiCallEnabled?: boolean;
333
345
  }
334
346
 
335
- type TEdJsonMap = Record<TNodeWithRelayChains, string | null>;
347
+ type TEdJsonMap = Record<TNodeDotKsmWithRelayChains, string | null>;
336
348
 
337
349
  declare const sendSerializedApiCall: (options: TSendOptions) => Promise<TSerializedApiCall>;
338
350
  declare const send: (options: TSendOptions) => Promise<Extrinsic>;
339
- declare const transferRelayToParaCommon: (options: TRelayToParaCommonOptions) => Promise<Extrinsic | TSerializedApiCall | never>;
340
- declare const transferRelayToPara: (options: TRelayToParaOptions) => Promise<Extrinsic | never>;
351
+ declare const transferRelayToParaCommon: (options: TRelayToParaCommonOptions) => Promise<Extrinsic | TSerializedApiCall>;
352
+ declare const transferRelayToPara: (options: TRelayToParaOptions) => Promise<Extrinsic>;
341
353
  declare const transferRelayToParaSerializedApiCall: (options: TRelayToParaOptions) => Promise<TSerializedApiCall>;
342
354
 
343
355
  declare const index$3_send: typeof send;
@@ -373,6 +385,7 @@ declare const getRelayChainSymbol: (node: TNode) => TRelayChainSymbol;
373
385
  declare const getNativeAssets: (node: TNode) => TNativeAssetDetails[];
374
386
  declare const getOtherAssets: (node: TNode) => TAssetDetails[];
375
387
  declare const getAllAssetsSymbols: (node: TNode) => string[];
388
+ declare const getNativeAssetSymbol: (node: TNodeWithRelayChains) => string;
376
389
  declare const hasSupportForAsset: (node: TNode, symbol: string) => boolean;
377
390
  declare const getAssetDecimals: (node: TNode, symbol: string) => number | null;
378
391
  declare const getParaId: (node: TNode) => number;
@@ -380,7 +393,7 @@ declare const getTNode: (paraId: number) => TNode | null;
380
393
 
381
394
  declare const getBalanceNative: (address: string, node: TNodeWithRelayChains, api?: ApiPromise) => Promise<bigint>;
382
395
 
383
- declare const getBalanceForeign: (address: string, node: TNode, symbolOrId: string, api?: ApiPromise) => Promise<bigint | null>;
396
+ declare const getBalanceForeign: (address: string, node: TNodePolkadotKusama, symbolOrId: string, api?: ApiPromise) => Promise<bigint | null>;
384
397
 
385
398
  interface TTransferInfo {
386
399
  chain: {
@@ -410,7 +423,7 @@ interface TTransferInfo {
410
423
  existentialDeposit: bigint;
411
424
  };
412
425
  }
413
- declare const getTransferInfo: (origin: TNodeWithRelayChains, destination: TNodeWithRelayChains, accountOrigin: string, accountDestination: string, assetSymbolOrId: string, amount: string) => Promise<TTransferInfo>;
426
+ declare const getTransferInfo: (origin: TNodeDotKsmWithRelayChains, destination: TNodeDotKsmWithRelayChains, accountOrigin: string, accountDestination: string, assetSymbolOrId: string, amount: string) => Promise<TTransferInfo>;
414
427
 
415
428
  declare const index_getAllAssetsSymbols: typeof getAllAssetsSymbols;
416
429
  declare const index_getAssetDecimals: typeof getAssetDecimals;
@@ -418,6 +431,7 @@ declare const index_getAssetId: typeof getAssetId;
418
431
  declare const index_getAssetsObject: typeof getAssetsObject;
419
432
  declare const index_getBalanceForeign: typeof getBalanceForeign;
420
433
  declare const index_getBalanceNative: typeof getBalanceNative;
434
+ declare const index_getNativeAssetSymbol: typeof getNativeAssetSymbol;
421
435
  declare const index_getNativeAssets: typeof getNativeAssets;
422
436
  declare const index_getOtherAssets: typeof getOtherAssets;
423
437
  declare const index_getParaId: typeof getParaId;
@@ -426,11 +440,11 @@ declare const index_getTNode: typeof getTNode;
426
440
  declare const index_getTransferInfo: typeof getTransferInfo;
427
441
  declare const index_hasSupportForAsset: typeof hasSupportForAsset;
428
442
  declare namespace index {
429
- export { index_getAllAssetsSymbols as getAllAssetsSymbols, index_getAssetDecimals as getAssetDecimals, index_getAssetId as getAssetId, index_getAssetsObject as getAssetsObject, index_getBalanceForeign as getBalanceForeign, index_getBalanceNative as getBalanceNative, index_getNativeAssets as getNativeAssets, index_getOtherAssets as getOtherAssets, index_getParaId as getParaId, index_getRelayChainSymbol as getRelayChainSymbol, index_getTNode as getTNode, index_getTransferInfo as getTransferInfo, index_hasSupportForAsset as hasSupportForAsset };
443
+ export { index_getAllAssetsSymbols as getAllAssetsSymbols, index_getAssetDecimals as getAssetDecimals, index_getAssetId as getAssetId, index_getAssetsObject as getAssetsObject, index_getBalanceForeign as getBalanceForeign, index_getBalanceNative as getBalanceNative, index_getNativeAssetSymbol as getNativeAssetSymbol, index_getNativeAssets as getNativeAssets, index_getOtherAssets as getOtherAssets, index_getParaId as getParaId, index_getRelayChainSymbol as getRelayChainSymbol, index_getTNode as getTNode, index_getTransferInfo as getTransferInfo, index_hasSupportForAsset as hasSupportForAsset };
430
444
  }
431
445
 
432
- declare const getDefaultPallet: (node: TNode) => TPallet;
433
- declare const getSupportedPallets: (node: TNode) => TPallet[];
446
+ declare const getDefaultPallet: (node: TNodePolkadotKusama) => TPallet;
447
+ declare const getSupportedPallets: (node: TNodePolkadotKusama) => TPallet[];
434
448
 
435
449
  interface OutboundCloseChannelBuilder {
436
450
  outbound: (inbound: number) => FinalBuilder;
@@ -438,6 +452,19 @@ interface OutboundCloseChannelBuilder {
438
452
  interface InboundCloseChannelBuilder {
439
453
  inbound: (inbound: number) => OutboundCloseChannelBuilder;
440
454
  }
455
+ declare class CloseChannelBuilder implements InboundCloseChannelBuilder, OutboundCloseChannelBuilder, FinalBuilder {
456
+ private readonly api;
457
+ private readonly from;
458
+ private _inbound;
459
+ private _outbound;
460
+ private constructor();
461
+ static create(api: ApiPromise, from: TNode): InboundCloseChannelBuilder;
462
+ inbound(inbound: number): this;
463
+ outbound(outbound: number): this;
464
+ private buildOptions;
465
+ build(): Extrinsic;
466
+ buildSerializedApiCall(): TSerializedApiCall;
467
+ }
441
468
 
442
469
  interface MaxMessageSizeOpenChannelBuilder {
443
470
  maxMessageSize: (size: number) => FinalBuilder;
@@ -445,6 +472,20 @@ interface MaxMessageSizeOpenChannelBuilder {
445
472
  interface MaxSizeOpenChannelBuilder {
446
473
  maxSize: (size: number) => MaxMessageSizeOpenChannelBuilder;
447
474
  }
475
+ declare class OpenChannelBuilder implements MaxSizeOpenChannelBuilder, MaxMessageSizeOpenChannelBuilder, FinalBuilder {
476
+ private readonly api;
477
+ private readonly from;
478
+ private readonly to;
479
+ private _maxSize;
480
+ private _maxMessageSize;
481
+ private constructor();
482
+ static create(api: ApiPromise, from: TNode, to: TDestination): MaxSizeOpenChannelBuilder;
483
+ maxSize(size: number): this;
484
+ maxMessageSize(size: number): this;
485
+ private buildOptions;
486
+ build(): Extrinsic;
487
+ buildSerializedApiCall(): TSerializedApiCall;
488
+ }
448
489
 
449
490
  declare class ToGeneralBuilder {
450
491
  private readonly api?;
@@ -478,13 +519,13 @@ interface FinalBuilder {
478
519
  buildSerializedApiCall: () => TSerializedApiCall;
479
520
  }
480
521
  interface FinalBuilderAsync {
481
- build: () => Promise<Extrinsic | never>;
522
+ build: () => Promise<Extrinsic>;
482
523
  buildSerializedApiCall: () => Promise<TSerializedApiCall>;
483
524
  }
484
525
  interface UseKeepAliveFinalBuilder {
485
526
  useKeepAlive: (destApi: ApiPromise) => UseKeepAliveFinalBuilder;
486
527
  xcmVersion: (version: Version) => UseKeepAliveFinalBuilder;
487
- build: () => Promise<Extrinsic | never>;
528
+ build: () => Promise<Extrinsic>;
488
529
  buildSerializedApiCall: () => Promise<TSerializedApiCall>;
489
530
  }
490
531
  interface AddressBuilder {
@@ -507,9 +548,22 @@ interface VersionBuilder extends FinalBuilderAsync {
507
548
  xcmVersion: (version: TVersionClaimAssets) => FinalBuilderAsync;
508
549
  }
509
550
 
551
+ declare class EvmBuilderClass {
552
+ private readonly _options;
553
+ private readonly _provider;
554
+ constructor(provider: AbstractProvider);
555
+ to(node: TNodePolkadotKusama): this;
556
+ amount(amount: string): this;
557
+ currency(currency: string): this;
558
+ address(address: string): this;
559
+ signer(signer: Signer): this;
560
+ build(): Promise<void>;
561
+ }
562
+ declare const EvmBuilder: (provider: AbstractProvider) => EvmBuilderClass;
563
+
510
564
  declare const getNode: (node: TNode) => ParachainNode;
511
- declare const getNodeEndpointOption: (node: TNode) => any;
512
- declare const getAllNodeProviders: (node: TNode) => string[];
565
+ declare const getNodeEndpointOption: (node: TNodePolkadotKusama) => _polkadot_apps_config_endpoints_types.EndpointOption | undefined;
566
+ declare const getAllNodeProviders: (node: TNodePolkadotKusama) => string[];
513
567
  declare const getNodeProvider: (node: TNode) => string;
514
568
  declare const createApiInstanceForNode: (node: TNodeWithRelayChains) => Promise<ApiPromise>;
515
569
 
@@ -533,6 +587,10 @@ declare class IncompatibleNodesError extends Error {
533
587
  constructor();
534
588
  }
535
589
 
536
- declare const getExistentialDeposit: (node: TNodeWithRelayChains) => string | null;
590
+ declare class DuplicateAssetError extends Error {
591
+ constructor(symbol: string);
592
+ }
593
+
594
+ declare const getExistentialDeposit: (node: TNodeDotKsmWithRelayChains) => string | null;
537
595
 
538
- export { Builder, type CheckKeepAliveOptions, type Extrinsic, type IPolkadotXCMTransfer, type IXTokensTransfer, type IXTransferTransfer, IncompatibleNodesError, InvalidCurrencyError, type JunctionType, type Junctions, 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 TMultiAsset, type TMultiAssetV3, type TMultiAssetV4, 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, type TVersionClaimAssets, Version, type XTokensTransferInput, type XTransferTransferInput, index as assets, index$1 as closeChannels, createApiInstanceForNode, getAllAssetsSymbols, getAllNodeProviders, getAssetDecimals, getAssetId, getAssetsObject, getBalanceForeign, getBalanceNative, getDefaultPallet, getExistentialDeposit, getNativeAssets, getNode, getNodeEndpointOption, getNodeProvider, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedPallets, getTNode, getTransferInfo, hasSupportForAsset, index$2 as openChannels, index$3 as xcmPallet };
596
+ export { Builder, type CheckKeepAliveOptions, CloseChannelBuilder, DuplicateAssetError, EvmBuilder, type Extrinsic, type IPolkadotXCMTransfer, type IXTokensTransfer, type IXTransferTransfer, type InboundCloseChannelBuilder, IncompatibleNodesError, InvalidCurrencyError, type JunctionType, type Junctions, type MaxMessageSizeOpenChannelBuilder, type MaxSizeOpenChannelBuilder, NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, NoXCMSupportImplementedError, NodeNotSupportedError, OpenChannelBuilder, type OutboundCloseChannelBuilder, Parents, type PolkadotXCMTransferInput, SUPPORTED_PALLETS, ScenarioNotSupportedError, type TAddress, type TAmount, type TAssetDetails, type TAssetJsonMap, type TCloseChannelInternalOptions, type TCloseChannelOptions, type TCurrency, type TCurrencyCore, type TCurrencyInput, type TCurrencySelection, type TCurrencySelectionHeader, type TCurrencySelectionHeaderArr, type TCurrencySpecifier, type TDestination, type TEdJsonMap, type TJunction, type TMultiAsset, type TMultiAssetV3, type TMultiAssetV4, type TMultiLocation, type TMultiLocationHeader, type TNativeAssetDetails, type TNode, type TNodeAssets, type TNodeDotKsmWithRelayChains, type TNodePolkadotKusama, 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 TVersionClaimAssets, Version, type XTokensTransferInput, type XTransferTransferInput, index as assets, index$1 as closeChannels, createApiInstanceForNode, getAllAssetsSymbols, getAllNodeProviders, getAssetDecimals, getAssetId, getAssetsObject, getBalanceForeign, getBalanceNative, getDefaultPallet, getExistentialDeposit, getNativeAssetSymbol, getNativeAssets, getNode, getNodeEndpointOption, getNodeProvider, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedPallets, getTNode, getTransferInfo, hasSupportForAsset, index$2 as openChannels, index$3 as xcmPallet };