@paraspell/sdk 5.5.0 → 5.7.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,7 +1,10 @@
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
- interface TMultiAsset {
6
+ type TMultiAsset = TMultiAssetV3 | TMultiAssetV4;
7
+ interface TMultiAssetV3 {
5
8
  id: {
6
9
  Concrete: TMultiLocation;
7
10
  };
@@ -9,6 +12,12 @@ interface TMultiAsset {
9
12
  Fungible: TAmount;
10
13
  };
11
14
  }
15
+ interface TMultiAssetV4 {
16
+ id: TMultiLocation;
17
+ fun: {
18
+ Fungible: TAmount;
19
+ };
20
+ }
12
21
 
13
22
  type Extrinsic = SubmittableExtrinsic<'promise'>;
14
23
  interface PolkadotXCMTransferInput {
@@ -87,6 +96,7 @@ interface TSendBaseOptions {
87
96
  paraIdTo?: number;
88
97
  feeAsset?: TCurrency;
89
98
  destApiForKeepAlive?: ApiPromise;
99
+ version?: Version;
90
100
  }
91
101
  interface TSendOptions extends TSendBaseOptions {
92
102
  api?: ApiPromise;
@@ -110,6 +120,7 @@ interface TRelayToParaBaseOptions {
110
120
  address: TAddress;
111
121
  paraIdTo?: number;
112
122
  destApiForKeepAlive?: ApiPromise;
123
+ version?: Version;
113
124
  }
114
125
  interface TRelayToParaOptions extends TRelayToParaBaseOptions {
115
126
  api?: ApiPromise;
@@ -145,10 +156,10 @@ interface CheckKeepAliveOptions {
145
156
  originApi: ApiPromise;
146
157
  address: string;
147
158
  amount: string;
148
- originNode?: TNode;
159
+ originNode?: TNodePolkadotKusama;
149
160
  destApi?: ApiPromise;
150
161
  currencySymbol?: string;
151
- destNode?: TNode;
162
+ destNode?: TNodePolkadotKusama;
152
163
  }
153
164
 
154
165
  type JunctionType = 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
@@ -200,12 +211,12 @@ interface JunctionPlurality {
200
211
  };
201
212
  }
202
213
  interface JunctionGlobalConsensus {
203
- GlobalConsensus: NetworkId;
214
+ GlobalConsensus: NetworkId | object;
204
215
  }
205
216
  type TJunction = JunctionParachain | JunctionAccountId32 | JunctionAccountIndex64 | JunctionAccountKey20 | JunctionPalletInstance | JunctionGeneralIndex | JunctionGeneralKey | JunctionOnlyChild | JunctionPlurality | JunctionGlobalConsensus;
206
217
  interface Junctions {
207
218
  Here?: null;
208
- X1?: TJunction;
219
+ X1?: TJunction | [TJunction];
209
220
  X2?: [TJunction, TJunction];
210
221
  X3?: [TJunction, TJunction, TJunction];
211
222
  X4?: [TJunction, TJunction, TJunction, TJunction];
@@ -239,7 +250,7 @@ interface Junctions {
239
250
  }
240
251
  interface TMultiLocation {
241
252
  parents: StringOrNumber;
242
- interior: Junctions;
253
+ interior: Junctions | 'Here';
243
254
  }
244
255
  type TMultiLocationHeader = {
245
256
  [key in Version]?: TMultiLocation;
@@ -257,21 +268,25 @@ declare abstract class ParachainNode {
257
268
  get node(): TNode;
258
269
  get version(): Version;
259
270
  get assetCheckEnabled(): boolean;
271
+ protected canUseXTokens(_: TSendInternalOptions): boolean;
260
272
  transfer(options: TSendInternalOptions): Extrinsic | TSerializedApiCall;
261
273
  transferRelayToPara(options: TRelayToParaInternalOptions): TSerializedApiCall;
262
274
  getProvider(): string;
263
275
  createApiInstance(): Promise<ApiPromise>;
264
- createCurrencySpec(amount: string, scenario: TScenario, version: Version, _?: string, overridedMultiLocation?: TMultiLocation | TMultiAsset[]): any;
265
- createPolkadotXcmHeader(scenario: TScenario, destination?: TDestination, paraId?: number): any;
276
+ createCurrencySpec(amount: string, scenario: TScenario, version: Version, _?: string, overridedMultiLocation?: TMultiLocation | TMultiAsset[]): TCurrencySelectionHeaderArr;
277
+ createPolkadotXcmHeader(scenario: TScenario, version: Version, destination?: TDestination, paraId?: number): TMultiLocationHeader;
266
278
  }
267
279
 
268
- 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", "Curio"];
269
- 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", "Curio", "Polkadot", "Kusama"];
280
+ 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"];
281
+ 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"];
282
+ 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"];
283
+ 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"];
270
284
  declare const SUPPORTED_PALLETS: readonly ["XTokens", "OrmlXTokens", "PolkadotXcm", "RelayerXcm", "XTransfer"];
271
285
 
272
286
  type TNode = (typeof NODE_NAMES)[number];
287
+ type TNodePolkadotKusama = Exclude<TNode, 'Ethereum'>;
273
288
  type TNodeWithRelayChains = (typeof NODES_WITH_RELAY_CHAINS)[number];
274
- type TNodeToAssetModuleMap = Record<TNode, string | null>;
289
+ type TNodeDotKsmWithRelayChains = Exclude<TNodeWithRelayChains, 'Ethereum'>;
275
290
 
276
291
  type TRelayChainType = 'polkadot' | 'kusama';
277
292
  type TRelayChainSymbol = 'DOT' | 'KSM';
@@ -300,7 +315,7 @@ interface TPalletMap {
300
315
  defaultPallet: TPallet;
301
316
  supportedPallets: TPallet[];
302
317
  }
303
- type TPalletJsonMap = Record<TNode, TPalletMap>;
318
+ type TPalletJsonMap = Record<TNodePolkadotKusama, TPalletMap>;
304
319
 
305
320
  interface TOpenChannelOptions {
306
321
  api: ApiPromise;
@@ -322,12 +337,12 @@ interface TOpenChannelInternalOptions extends TOpenChannelOptions {
322
337
  serializedApiCallEnabled?: boolean;
323
338
  }
324
339
 
325
- type TEdJsonMap = Record<TNodeWithRelayChains, string | null>;
340
+ type TEdJsonMap = Record<TNodeDotKsmWithRelayChains, string | null>;
326
341
 
327
342
  declare const sendSerializedApiCall: (options: TSendOptions) => Promise<TSerializedApiCall>;
328
343
  declare const send: (options: TSendOptions) => Promise<Extrinsic>;
329
- declare const transferRelayToParaCommon: (options: TRelayToParaCommonOptions) => Promise<Extrinsic | TSerializedApiCall | never>;
330
- declare const transferRelayToPara: (options: TRelayToParaOptions) => Promise<Extrinsic | never>;
344
+ declare const transferRelayToParaCommon: (options: TRelayToParaCommonOptions) => Promise<Extrinsic | TSerializedApiCall>;
345
+ declare const transferRelayToPara: (options: TRelayToParaOptions) => Promise<Extrinsic>;
331
346
  declare const transferRelayToParaSerializedApiCall: (options: TRelayToParaOptions) => Promise<TSerializedApiCall>;
332
347
 
333
348
  declare const index$3_send: typeof send;
@@ -363,6 +378,7 @@ declare const getRelayChainSymbol: (node: TNode) => TRelayChainSymbol;
363
378
  declare const getNativeAssets: (node: TNode) => TNativeAssetDetails[];
364
379
  declare const getOtherAssets: (node: TNode) => TAssetDetails[];
365
380
  declare const getAllAssetsSymbols: (node: TNode) => string[];
381
+ declare const getNativeAssetSymbol: (node: TNodeWithRelayChains) => string;
366
382
  declare const hasSupportForAsset: (node: TNode, symbol: string) => boolean;
367
383
  declare const getAssetDecimals: (node: TNode, symbol: string) => number | null;
368
384
  declare const getParaId: (node: TNode) => number;
@@ -370,7 +386,7 @@ declare const getTNode: (paraId: number) => TNode | null;
370
386
 
371
387
  declare const getBalanceNative: (address: string, node: TNodeWithRelayChains, api?: ApiPromise) => Promise<bigint>;
372
388
 
373
- declare const getBalanceForeign: (address: string, node: TNode, symbolOrId: string, api?: ApiPromise) => Promise<bigint | null>;
389
+ declare const getBalanceForeign: (address: string, node: TNodePolkadotKusama, symbolOrId: string, api?: ApiPromise) => Promise<bigint | null>;
374
390
 
375
391
  interface TTransferInfo {
376
392
  chain: {
@@ -400,7 +416,7 @@ interface TTransferInfo {
400
416
  existentialDeposit: bigint;
401
417
  };
402
418
  }
403
- declare const getTransferInfo: (origin: TNodeWithRelayChains, destination: TNodeWithRelayChains, accountOrigin: string, accountDestination: string, assetSymbolOrId: string, amount: string) => Promise<TTransferInfo>;
419
+ declare const getTransferInfo: (origin: TNodeDotKsmWithRelayChains, destination: TNodeDotKsmWithRelayChains, accountOrigin: string, accountDestination: string, assetSymbolOrId: string, amount: string) => Promise<TTransferInfo>;
404
420
 
405
421
  declare const index_getAllAssetsSymbols: typeof getAllAssetsSymbols;
406
422
  declare const index_getAssetDecimals: typeof getAssetDecimals;
@@ -408,6 +424,7 @@ declare const index_getAssetId: typeof getAssetId;
408
424
  declare const index_getAssetsObject: typeof getAssetsObject;
409
425
  declare const index_getBalanceForeign: typeof getBalanceForeign;
410
426
  declare const index_getBalanceNative: typeof getBalanceNative;
427
+ declare const index_getNativeAssetSymbol: typeof getNativeAssetSymbol;
411
428
  declare const index_getNativeAssets: typeof getNativeAssets;
412
429
  declare const index_getOtherAssets: typeof getOtherAssets;
413
430
  declare const index_getParaId: typeof getParaId;
@@ -416,11 +433,11 @@ declare const index_getTNode: typeof getTNode;
416
433
  declare const index_getTransferInfo: typeof getTransferInfo;
417
434
  declare const index_hasSupportForAsset: typeof hasSupportForAsset;
418
435
  declare namespace index {
419
- 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 };
436
+ 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 };
420
437
  }
421
438
 
422
- declare const getDefaultPallet: (node: TNode) => TPallet;
423
- declare const getSupportedPallets: (node: TNode) => TPallet[];
439
+ declare const getDefaultPallet: (node: TNodePolkadotKusama) => TPallet;
440
+ declare const getSupportedPallets: (node: TNodePolkadotKusama) => TPallet[];
424
441
 
425
442
  interface OutboundCloseChannelBuilder {
426
443
  outbound: (inbound: number) => FinalBuilder;
@@ -428,6 +445,19 @@ interface OutboundCloseChannelBuilder {
428
445
  interface InboundCloseChannelBuilder {
429
446
  inbound: (inbound: number) => OutboundCloseChannelBuilder;
430
447
  }
448
+ declare class CloseChannelBuilder implements InboundCloseChannelBuilder, OutboundCloseChannelBuilder, FinalBuilder {
449
+ private readonly api;
450
+ private readonly from;
451
+ private _inbound;
452
+ private _outbound;
453
+ private constructor();
454
+ static create(api: ApiPromise, from: TNode): InboundCloseChannelBuilder;
455
+ inbound(inbound: number): this;
456
+ outbound(outbound: number): this;
457
+ private buildOptions;
458
+ build(): Extrinsic;
459
+ buildSerializedApiCall(): TSerializedApiCall;
460
+ }
431
461
 
432
462
  interface MaxMessageSizeOpenChannelBuilder {
433
463
  maxMessageSize: (size: number) => FinalBuilder;
@@ -435,6 +465,20 @@ interface MaxMessageSizeOpenChannelBuilder {
435
465
  interface MaxSizeOpenChannelBuilder {
436
466
  maxSize: (size: number) => MaxMessageSizeOpenChannelBuilder;
437
467
  }
468
+ declare class OpenChannelBuilder implements MaxSizeOpenChannelBuilder, MaxMessageSizeOpenChannelBuilder, FinalBuilder {
469
+ private readonly api;
470
+ private readonly from;
471
+ private readonly to;
472
+ private _maxSize;
473
+ private _maxMessageSize;
474
+ private constructor();
475
+ static create(api: ApiPromise, from: TNode, to: TDestination): MaxSizeOpenChannelBuilder;
476
+ maxSize(size: number): this;
477
+ maxMessageSize(size: number): this;
478
+ private buildOptions;
479
+ build(): Extrinsic;
480
+ buildSerializedApiCall(): TSerializedApiCall;
481
+ }
438
482
 
439
483
  declare class ToGeneralBuilder {
440
484
  private readonly api?;
@@ -468,12 +512,13 @@ interface FinalBuilder {
468
512
  buildSerializedApiCall: () => TSerializedApiCall;
469
513
  }
470
514
  interface FinalBuilderAsync {
471
- build: () => Promise<Extrinsic | never>;
515
+ build: () => Promise<Extrinsic>;
472
516
  buildSerializedApiCall: () => Promise<TSerializedApiCall>;
473
517
  }
474
518
  interface UseKeepAliveFinalBuilder {
475
519
  useKeepAlive: (destApi: ApiPromise) => UseKeepAliveFinalBuilder;
476
- build: () => Promise<Extrinsic | never>;
520
+ xcmVersion: (version: Version) => UseKeepAliveFinalBuilder;
521
+ build: () => Promise<Extrinsic>;
477
522
  buildSerializedApiCall: () => Promise<TSerializedApiCall>;
478
523
  }
479
524
  interface AddressBuilder {
@@ -496,9 +541,22 @@ interface VersionBuilder extends FinalBuilderAsync {
496
541
  xcmVersion: (version: TVersionClaimAssets) => FinalBuilderAsync;
497
542
  }
498
543
 
544
+ declare class EvmBuilderClass {
545
+ private readonly _options;
546
+ private readonly _provider;
547
+ constructor(provider: AbstractProvider);
548
+ to(node: TNodePolkadotKusama): this;
549
+ amount(amount: string): this;
550
+ currency(currency: string): this;
551
+ address(address: string): this;
552
+ signer(signer: Signer): this;
553
+ build(): Promise<void>;
554
+ }
555
+ declare const EvmBuilder: (provider: AbstractProvider) => EvmBuilderClass;
556
+
499
557
  declare const getNode: (node: TNode) => ParachainNode;
500
- declare const getNodeEndpointOption: (node: TNode) => any;
501
- declare const getAllNodeProviders: (node: TNode) => string[];
558
+ declare const getNodeEndpointOption: (node: TNodePolkadotKusama) => _polkadot_apps_config_endpoints_types.EndpointOption | undefined;
559
+ declare const getAllNodeProviders: (node: TNodePolkadotKusama) => string[];
502
560
  declare const getNodeProvider: (node: TNode) => string;
503
561
  declare const createApiInstanceForNode: (node: TNodeWithRelayChains) => Promise<ApiPromise>;
504
562
 
@@ -515,13 +573,13 @@ declare class NoXCMSupportImplementedError extends Error {
515
573
  }
516
574
 
517
575
  declare class ScenarioNotSupportedError extends Error {
518
- constructor(node: TNode, scenario: TScenario);
576
+ constructor(node: TNode, scenario: TScenario, message?: string);
519
577
  }
520
578
 
521
579
  declare class IncompatibleNodesError extends Error {
522
580
  constructor();
523
581
  }
524
582
 
525
- declare const getExistentialDeposit: (node: TNodeWithRelayChains) => string | null;
583
+ declare const getExistentialDeposit: (node: TNodeDotKsmWithRelayChains) => string | null;
526
584
 
527
- 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 TMultiAsset, 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 };
585
+ export { Builder, type CheckKeepAliveOptions, CloseChannelBuilder, 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 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 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 };