@paraspell/sdk 5.6.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,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 {
@@ -154,10 +156,10 @@ interface CheckKeepAliveOptions {
154
156
  originApi: ApiPromise;
155
157
  address: string;
156
158
  amount: string;
157
- originNode?: TNode;
159
+ originNode?: TNodePolkadotKusama;
158
160
  destApi?: ApiPromise;
159
161
  currencySymbol?: string;
160
- destNode?: TNode;
162
+ destNode?: TNodePolkadotKusama;
161
163
  }
162
164
 
163
165
  type JunctionType = 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
@@ -209,7 +211,7 @@ interface JunctionPlurality {
209
211
  };
210
212
  }
211
213
  interface JunctionGlobalConsensus {
212
- GlobalConsensus: NetworkId;
214
+ GlobalConsensus: NetworkId | object;
213
215
  }
214
216
  type TJunction = JunctionParachain | JunctionAccountId32 | JunctionAccountIndex64 | JunctionAccountKey20 | JunctionPalletInstance | JunctionGeneralIndex | JunctionGeneralKey | JunctionOnlyChild | JunctionPlurality | JunctionGlobalConsensus;
215
217
  interface Junctions {
@@ -271,17 +273,20 @@ declare abstract class ParachainNode {
271
273
  transferRelayToPara(options: TRelayToParaInternalOptions): TSerializedApiCall;
272
274
  getProvider(): string;
273
275
  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;
276
+ createCurrencySpec(amount: string, scenario: TScenario, version: Version, _?: string, overridedMultiLocation?: TMultiLocation | TMultiAsset[]): TCurrencySelectionHeaderArr;
277
+ createPolkadotXcmHeader(scenario: TScenario, version: Version, destination?: TDestination, paraId?: number): TMultiLocationHeader;
276
278
  }
277
279
 
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"];
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"];
280
284
  declare const SUPPORTED_PALLETS: readonly ["XTokens", "OrmlXTokens", "PolkadotXcm", "RelayerXcm", "XTransfer"];
281
285
 
282
286
  type TNode = (typeof NODE_NAMES)[number];
287
+ type TNodePolkadotKusama = Exclude<TNode, 'Ethereum'>;
283
288
  type TNodeWithRelayChains = (typeof NODES_WITH_RELAY_CHAINS)[number];
284
- type TNodeToAssetModuleMap = Record<TNode, string | null>;
289
+ type TNodeDotKsmWithRelayChains = Exclude<TNodeWithRelayChains, 'Ethereum'>;
285
290
 
286
291
  type TRelayChainType = 'polkadot' | 'kusama';
287
292
  type TRelayChainSymbol = 'DOT' | 'KSM';
@@ -310,7 +315,7 @@ interface TPalletMap {
310
315
  defaultPallet: TPallet;
311
316
  supportedPallets: TPallet[];
312
317
  }
313
- type TPalletJsonMap = Record<TNode, TPalletMap>;
318
+ type TPalletJsonMap = Record<TNodePolkadotKusama, TPalletMap>;
314
319
 
315
320
  interface TOpenChannelOptions {
316
321
  api: ApiPromise;
@@ -332,12 +337,12 @@ interface TOpenChannelInternalOptions extends TOpenChannelOptions {
332
337
  serializedApiCallEnabled?: boolean;
333
338
  }
334
339
 
335
- type TEdJsonMap = Record<TNodeWithRelayChains, string | null>;
340
+ type TEdJsonMap = Record<TNodeDotKsmWithRelayChains, string | null>;
336
341
 
337
342
  declare const sendSerializedApiCall: (options: TSendOptions) => Promise<TSerializedApiCall>;
338
343
  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>;
344
+ declare const transferRelayToParaCommon: (options: TRelayToParaCommonOptions) => Promise<Extrinsic | TSerializedApiCall>;
345
+ declare const transferRelayToPara: (options: TRelayToParaOptions) => Promise<Extrinsic>;
341
346
  declare const transferRelayToParaSerializedApiCall: (options: TRelayToParaOptions) => Promise<TSerializedApiCall>;
342
347
 
343
348
  declare const index$3_send: typeof send;
@@ -373,6 +378,7 @@ declare const getRelayChainSymbol: (node: TNode) => TRelayChainSymbol;
373
378
  declare const getNativeAssets: (node: TNode) => TNativeAssetDetails[];
374
379
  declare const getOtherAssets: (node: TNode) => TAssetDetails[];
375
380
  declare const getAllAssetsSymbols: (node: TNode) => string[];
381
+ declare const getNativeAssetSymbol: (node: TNodeWithRelayChains) => string;
376
382
  declare const hasSupportForAsset: (node: TNode, symbol: string) => boolean;
377
383
  declare const getAssetDecimals: (node: TNode, symbol: string) => number | null;
378
384
  declare const getParaId: (node: TNode) => number;
@@ -380,7 +386,7 @@ declare const getTNode: (paraId: number) => TNode | null;
380
386
 
381
387
  declare const getBalanceNative: (address: string, node: TNodeWithRelayChains, api?: ApiPromise) => Promise<bigint>;
382
388
 
383
- 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>;
384
390
 
385
391
  interface TTransferInfo {
386
392
  chain: {
@@ -410,7 +416,7 @@ interface TTransferInfo {
410
416
  existentialDeposit: bigint;
411
417
  };
412
418
  }
413
- 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>;
414
420
 
415
421
  declare const index_getAllAssetsSymbols: typeof getAllAssetsSymbols;
416
422
  declare const index_getAssetDecimals: typeof getAssetDecimals;
@@ -418,6 +424,7 @@ declare const index_getAssetId: typeof getAssetId;
418
424
  declare const index_getAssetsObject: typeof getAssetsObject;
419
425
  declare const index_getBalanceForeign: typeof getBalanceForeign;
420
426
  declare const index_getBalanceNative: typeof getBalanceNative;
427
+ declare const index_getNativeAssetSymbol: typeof getNativeAssetSymbol;
421
428
  declare const index_getNativeAssets: typeof getNativeAssets;
422
429
  declare const index_getOtherAssets: typeof getOtherAssets;
423
430
  declare const index_getParaId: typeof getParaId;
@@ -426,11 +433,11 @@ declare const index_getTNode: typeof getTNode;
426
433
  declare const index_getTransferInfo: typeof getTransferInfo;
427
434
  declare const index_hasSupportForAsset: typeof hasSupportForAsset;
428
435
  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 };
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 };
430
437
  }
431
438
 
432
- declare const getDefaultPallet: (node: TNode) => TPallet;
433
- declare const getSupportedPallets: (node: TNode) => TPallet[];
439
+ declare const getDefaultPallet: (node: TNodePolkadotKusama) => TPallet;
440
+ declare const getSupportedPallets: (node: TNodePolkadotKusama) => TPallet[];
434
441
 
435
442
  interface OutboundCloseChannelBuilder {
436
443
  outbound: (inbound: number) => FinalBuilder;
@@ -438,6 +445,19 @@ interface OutboundCloseChannelBuilder {
438
445
  interface InboundCloseChannelBuilder {
439
446
  inbound: (inbound: number) => OutboundCloseChannelBuilder;
440
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
+ }
441
461
 
442
462
  interface MaxMessageSizeOpenChannelBuilder {
443
463
  maxMessageSize: (size: number) => FinalBuilder;
@@ -445,6 +465,20 @@ interface MaxMessageSizeOpenChannelBuilder {
445
465
  interface MaxSizeOpenChannelBuilder {
446
466
  maxSize: (size: number) => MaxMessageSizeOpenChannelBuilder;
447
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
+ }
448
482
 
449
483
  declare class ToGeneralBuilder {
450
484
  private readonly api?;
@@ -478,13 +512,13 @@ interface FinalBuilder {
478
512
  buildSerializedApiCall: () => TSerializedApiCall;
479
513
  }
480
514
  interface FinalBuilderAsync {
481
- build: () => Promise<Extrinsic | never>;
515
+ build: () => Promise<Extrinsic>;
482
516
  buildSerializedApiCall: () => Promise<TSerializedApiCall>;
483
517
  }
484
518
  interface UseKeepAliveFinalBuilder {
485
519
  useKeepAlive: (destApi: ApiPromise) => UseKeepAliveFinalBuilder;
486
520
  xcmVersion: (version: Version) => UseKeepAliveFinalBuilder;
487
- build: () => Promise<Extrinsic | never>;
521
+ build: () => Promise<Extrinsic>;
488
522
  buildSerializedApiCall: () => Promise<TSerializedApiCall>;
489
523
  }
490
524
  interface AddressBuilder {
@@ -507,9 +541,22 @@ interface VersionBuilder extends FinalBuilderAsync {
507
541
  xcmVersion: (version: TVersionClaimAssets) => FinalBuilderAsync;
508
542
  }
509
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
+
510
557
  declare const getNode: (node: TNode) => ParachainNode;
511
- declare const getNodeEndpointOption: (node: TNode) => any;
512
- 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[];
513
560
  declare const getNodeProvider: (node: TNode) => string;
514
561
  declare const createApiInstanceForNode: (node: TNodeWithRelayChains) => Promise<ApiPromise>;
515
562
 
@@ -533,6 +580,6 @@ declare class IncompatibleNodesError extends Error {
533
580
  constructor();
534
581
  }
535
582
 
536
- declare const getExistentialDeposit: (node: TNodeWithRelayChains) => string | null;
583
+ declare const getExistentialDeposit: (node: TNodeDotKsmWithRelayChains) => string | null;
537
584
 
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 };
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 };