@paraspell/sdk-core 8.11.0 → 8.12.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 (4) hide show
  1. package/dist/index.cjs +1359 -662
  2. package/dist/index.d.ts +168 -21
  3. package/dist/index.mjs +1358 -664
  4. package/package.json +14 -14
package/dist/index.d.ts CHANGED
@@ -173,6 +173,12 @@ type TSendBaseOptions = {
173
173
  */
174
174
  method?: string;
175
175
  };
176
+ type TSendBaseOptionsWithSenderAddress = Omit<TSendBaseOptions, 'senderAddress'> & {
177
+ /**
178
+ * The sender address. A SS58 or H160 format.
179
+ */
180
+ senderAddress: string;
181
+ };
176
182
  /**
177
183
  * Options for transferring from a parachain to another parachain or relay chain
178
184
  */
@@ -481,7 +487,7 @@ type TNodeConfig = {
481
487
  };
482
488
  type TNodeConfigMap = Record<TNodeDotKsmWithRelayChains, TNodeConfig>;
483
489
 
484
- type TDryRunBaseOptions<TRes> = {
490
+ type TDryRunCallBaseOptions<TRes> = {
485
491
  /**
486
492
  * The transaction to dry-run
487
493
  */
@@ -495,11 +501,29 @@ type TDryRunBaseOptions<TRes> = {
495
501
  */
496
502
  address: string;
497
503
  };
498
- type TDryRunOptions<TApi, TRes> = WithApi<TDryRunBaseOptions<TRes>, TApi, TRes>;
504
+ type TDryRunCallOptions<TApi, TRes> = WithApi<TDryRunCallBaseOptions<TRes>, TApi, TRes>;
505
+ type TDryRunXcmBaseOptions = {
506
+ originLocation: any;
507
+ /**
508
+ * The XCM instructions
509
+ */
510
+ xcm: any;
511
+ /**
512
+ * The node to dry-run on
513
+ */
514
+ node: TNodeDotKsmWithRelayChains;
515
+ /**
516
+ * The origin node
517
+ */
518
+ origin: TNodeDotKsmWithRelayChains;
519
+ };
520
+ type TDryRunXcmOptions<TApi, TRes> = WithApi<TDryRunXcmBaseOptions, TApi, TRes>;
499
521
  type TDryRunResult = {
500
522
  success: true;
501
523
  fee: bigint;
502
524
  weight?: TWeight;
525
+ forwardedXcms: any;
526
+ destParaId?: number;
503
527
  } | {
504
528
  success: false;
505
529
  failureReason: string;
@@ -601,6 +625,77 @@ type TGetTransferInfoOptionsBase = {
601
625
  };
602
626
  type TGetTransferInfoOptions<TApi, TRes> = WithApi<TGetTransferInfoOptionsBase, TApi, TRes>;
603
627
 
628
+ type TGetXcmFeeBaseOptions<TRes> = {
629
+ /**
630
+ * The transaction to calculate the fee for
631
+ */
632
+ tx: TRes;
633
+ /**
634
+ * The origin node
635
+ */
636
+ origin: TNodeDotKsmWithRelayChains;
637
+ /**
638
+ * The destination node
639
+ */
640
+ destination: TNodeDotKsmWithRelayChains;
641
+ /**
642
+ * The sender address
643
+ */
644
+ senderAddress: string;
645
+ address: string;
646
+ currency: TCurrencyInputWithAmount;
647
+ disableFallback: boolean;
648
+ };
649
+ type TGetXcmFeeOptions<TApi, TRes> = WithApi<TGetXcmFeeBaseOptions<TRes>, TApi, TRes>;
650
+ type TGetXcmFeeEstimateOptions<TApi, TRes> = Omit<TGetXcmFeeOptions<TApi, TRes>, 'disableFallback'>;
651
+ type TGetXcmFeeBuilderOptions = {
652
+ disableFallback: boolean;
653
+ };
654
+ type TGetFeeForOriginNodeBaseOptions<TRes> = {
655
+ tx: TRes;
656
+ origin: TNodeDotKsmWithRelayChains;
657
+ destination: TNodeDotKsmWithRelayChains;
658
+ senderAddress: string;
659
+ disableFallback: boolean;
660
+ };
661
+ type TGetFeeForOriginNodeOptions<TApi, TRes> = WithApi<TGetFeeForOriginNodeBaseOptions<TRes>, TApi, TRes>;
662
+ type TGetFeeForDestNodeBaseOptions = {
663
+ origin: TNodeDotKsmWithRelayChains;
664
+ destination: TNodeDotKsmWithRelayChains;
665
+ senderAddress: string;
666
+ address: string;
667
+ currency: TCurrencyInputWithAmount;
668
+ forwardedXcms: any;
669
+ disableFallback: boolean;
670
+ };
671
+ type TGetFeeForDestNodeOptions<TApi, TRes> = WithApi<TGetFeeForDestNodeBaseOptions, TApi, TRes>;
672
+ type TFeeType = 'dryRun' | 'paymentInfo';
673
+ type TXcmFeeDetail = {
674
+ fee: bigint;
675
+ currency: string;
676
+ feeType: TFeeType;
677
+ dryRunError?: string;
678
+ } | {
679
+ fee?: bigint;
680
+ currency?: string;
681
+ feeType?: TFeeType;
682
+ dryRunError: string;
683
+ };
684
+ type TGetXcmFeeResult = {
685
+ origin: TXcmFeeDetail;
686
+ destination: TXcmFeeDetail;
687
+ assetHub?: TXcmFeeDetail;
688
+ bridgeHub?: TXcmFeeDetail;
689
+ };
690
+ type TGetXcmFeeEstimateDetail = {
691
+ fee: bigint;
692
+ currency: string;
693
+ };
694
+ type TGetXcmFeeEstimateResult = {
695
+ origin: TGetXcmFeeEstimateDetail;
696
+ destination: TGetXcmFeeEstimateDetail;
697
+ };
698
+
604
699
  interface IPolkadotApi<TApi, TRes> {
605
700
  setApi(api?: TApiOrUrl<TApi>): void;
606
701
  getApi(): TApi;
@@ -628,7 +723,8 @@ interface IPolkadotApi<TApi, TRes> {
628
723
  blake2AsHex(data: Uint8Array): string;
629
724
  clone(): IPolkadotApi<TApi, TRes>;
630
725
  createApiForNode(node: TNodeWithRelayChains): Promise<IPolkadotApi<TApi, TRes>>;
631
- getDryRun(options: TDryRunBaseOptions<TRes>): Promise<TDryRunResult>;
726
+ getDryRunCall(options: TDryRunCallBaseOptions<TRes>): Promise<TDryRunResult>;
727
+ getDryRunXcm(options: TDryRunXcmBaseOptions): Promise<TDryRunResult>;
632
728
  getBridgeStatus(): Promise<TBridgeStatus>;
633
729
  setDisconnectAllowed(allowed: boolean): void;
634
730
  getDisconnectAllowed(): boolean;
@@ -747,8 +843,12 @@ declare class GeneralBuilder<TApi, TRes, T extends Partial<TSendBaseOptions> = o
747
843
  * @param address - The destination address.
748
844
  * @returns An instance of Builder
749
845
  */
750
- address(address: TAddress, senderAddress?: string): GeneralBuilder<TApi, TRes, T & {
846
+ address(address: TAddress): GeneralBuilder<TApi, TRes, T & {
847
+ address: TAddress;
848
+ }>;
849
+ address(address: TAddress, senderAddress: string): GeneralBuilder<TApi, TRes, T & {
751
850
  address: TAddress;
851
+ senderAddress: string;
752
852
  }>;
753
853
  /**
754
854
  * Sets the XCM version to be used for the transfer.
@@ -800,6 +900,18 @@ declare class GeneralBuilder<TApi, TRes, T extends Partial<TSendBaseOptions> = o
800
900
  */
801
901
  build(this: GeneralBuilder<TApi, TRes, TSendBaseOptions>): Promise<TRes>;
802
902
  dryRun(this: GeneralBuilder<TApi, TRes, TSendBaseOptions>, senderAddress: string): Promise<TDryRunResult>;
903
+ /**
904
+ * Estimates the XCM fee for the transfer using paymentInfo function.
905
+ *
906
+ * @returns An origin and destination fee estimate.
907
+ */
908
+ getXcmFeeEstimate(this: GeneralBuilder<TApi, TRes, TSendBaseOptionsWithSenderAddress>): Promise<TGetXcmFeeEstimateResult>;
909
+ /**
910
+ * Returns the XCM fee for the transfer using dryRun or paymentInfo function.
911
+ *
912
+ * @returns An origin and destination fee.
913
+ */
914
+ getXcmFee(this: GeneralBuilder<TApi, TRes, TSendBaseOptionsWithSenderAddress>, { disableFallback }?: TGetXcmFeeBuilderOptions): Promise<TGetXcmFeeResult>;
803
915
  /**
804
916
  * Returns the API instance used by the builder.
805
917
  *
@@ -841,7 +953,7 @@ declare abstract class ParachainNode<TApi, TRes> {
841
953
  getRelayToParaOverrides(): TRelayToParaOverrides;
842
954
  transferRelayToPara(options: TRelayToParaOptions<TApi, TRes>): TSerializedApiCall;
843
955
  createCurrencySpec(amount: TAmount, scenario: TScenario, version: Version, _asset?: TAsset, _isOverridenAsset?: boolean): TXcmVersioned<TMultiAsset[]>;
844
- createPolkadotXcmHeader(scenario: TScenario, version: Version, destination: TDestination, paraId?: number): TXcmVersioned<TMultiLocation>;
956
+ createVersionedDestination(scenario: TScenario, version: Version, destination: TDestination, paraId?: number): TXcmVersioned<TMultiLocation>;
845
957
  getNativeAssetSymbol(): string;
846
958
  transferLocal(options: TSendInternalOptions<TApi, TRes>): TRes;
847
959
  transferLocalNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
@@ -858,6 +970,15 @@ declare class Acala<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXT
858
970
  transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
859
971
  }
860
972
 
973
+ declare class Ajuna<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer, IPolkadotXCMTransfer {
974
+ constructor();
975
+ transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
976
+ transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
977
+ protected canUseXTokens({ asset, to: destination }: TSendInternalOptions<TApi, TRes>): boolean;
978
+ transferRelayToPara(): TSerializedApiCall;
979
+ transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
980
+ }
981
+
861
982
  declare class Altair<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
862
983
  constructor();
863
984
  private getCurrencySelection;
@@ -904,7 +1025,7 @@ declare class AssetHubPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> imp
904
1025
  handleEthBridgeNativeTransfer<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
905
1026
  handleEthBridgeTransfer<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
906
1027
  handleMythosTransfer<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TRes;
907
- handleBifrostEthTransfer: <TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi_1, TRes_1>, useDOTAsFeeAsset?: boolean) => TRes_1;
1028
+ handleBifrostEthTransfer: <TApi_1, TRes_1>(input: TPolkadotXCMTransferOptions<TApi_1, TRes_1>, useDOTAsFeeAsset?: boolean) => TRes_1;
908
1029
  patchInput<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TPolkadotXCMTransferOptions<TApi, TRes>;
909
1030
  private getSection;
910
1031
  private handleExecuteTransfer;
@@ -1025,11 +1146,6 @@ declare class BridgeHubPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> im
1025
1146
  getRelayToParaOverrides(): TRelayToParaOverrides;
1026
1147
  }
1027
1148
 
1028
- declare class Calamari<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
1029
- constructor();
1030
- transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
1031
- }
1032
-
1033
1149
  declare class Centrifuge<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
1034
1150
  constructor();
1035
1151
  private getCurrencySelection;
@@ -1113,6 +1229,27 @@ declare class Curio<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXT
1113
1229
  declare class Darwinia<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
1114
1230
  constructor();
1115
1231
  transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
1232
+ createCurrencySpec(amount: string, scenario: TScenario, version: Version, _asset?: TAsset): {
1233
+ V1: _paraspell_assets.TMultiAsset[];
1234
+ V2?: undefined;
1235
+ V3?: undefined;
1236
+ V4?: undefined;
1237
+ } | {
1238
+ V2: _paraspell_assets.TMultiAsset[];
1239
+ V1?: undefined;
1240
+ V3?: undefined;
1241
+ V4?: undefined;
1242
+ } | {
1243
+ V3: _paraspell_assets.TMultiAsset[];
1244
+ V1?: undefined;
1245
+ V2?: undefined;
1246
+ V4?: undefined;
1247
+ } | {
1248
+ V4: _paraspell_assets.TMultiAsset[];
1249
+ V1?: undefined;
1250
+ V2?: undefined;
1251
+ V3?: undefined;
1252
+ };
1116
1253
  transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
1117
1254
  }
1118
1255
 
@@ -1147,11 +1284,6 @@ declare class Interlay<TApi, TRes> extends ParachainNode<TApi, TRes> implements
1147
1284
  transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
1148
1285
  }
1149
1286
 
1150
- declare class InvArchTinker<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
1151
- constructor();
1152
- transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
1153
- }
1154
-
1155
1287
  declare class Karura<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
1156
1288
  constructor();
1157
1289
  transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
@@ -1306,6 +1438,7 @@ declare class Zeitgeist<TApi, TRes> extends ParachainNode<TApi, TRes> implements
1306
1438
  declare const nodes: <TApi, TRes>() => {
1307
1439
  AssetHubPolkadot: AssetHubPolkadot<TApi, TRes>;
1308
1440
  Acala: Acala<TApi, TRes>;
1441
+ Ajuna: Ajuna<TApi, TRes>;
1309
1442
  Astar: Astar<TApi, TRes>;
1310
1443
  Unique: Unique<TApi, TRes>;
1311
1444
  Crust: Crust<TApi, TRes>;
@@ -1328,10 +1461,8 @@ declare const nodes: <TApi, TRes>() => {
1328
1461
  Amplitude: Amplitude<TApi, TRes>;
1329
1462
  Basilisk: Basilisk<TApi, TRes>;
1330
1463
  BifrostKusama: BifrostKusama<TApi, TRes>;
1331
- Calamari: Calamari<TApi, TRes>;
1332
1464
  CrustShadow: CrustShadow<TApi, TRes>;
1333
1465
  Crab: Crab<TApi, TRes>;
1334
- InvArchTinker: InvArchTinker<TApi, TRes>;
1335
1466
  Karura: Karura<TApi, TRes>;
1336
1467
  Kintsugi: Kintsugi<TApi, TRes>;
1337
1468
  Moonriver: Moonriver<TApi, TRes>;
@@ -1405,6 +1536,18 @@ declare class InvalidAddressError extends Error {
1405
1536
  constructor(message: string);
1406
1537
  }
1407
1538
 
1539
+ /**
1540
+ * Error thrown when the Dry Run fails.
1541
+ */
1542
+ declare class InvalidParameterError extends Error {
1543
+ /**
1544
+ * Constructs a new InvalidParameterError.
1545
+ *
1546
+ * @param message - Required error message.
1547
+ */
1548
+ constructor(message: string);
1549
+ }
1550
+
1408
1551
  /**
1409
1552
  * Used to inform user, that Parachain they wish to use is not supported yet
1410
1553
  */
@@ -1494,9 +1637,13 @@ declare const transferMoonbeamToEth: <TApi, TRes>({ api, from, to, signer, addre
1494
1637
  declare const isEthersSigner: (signer: Signer | WalletClient) => signer is Signer;
1495
1638
  declare const isEthersContract: (contract: Contract | GetContractReturnType<Abi | readonly unknown[]>) => contract is Contract;
1496
1639
 
1640
+ declare const getXcmFee: <TApi, TRes>({ api, tx, origin, destination, senderAddress, address, currency, disableFallback }: TGetXcmFeeOptions<TApi, TRes>) => Promise<TGetXcmFeeResult>;
1641
+
1642
+ declare const getXcmFeeEstimate: <TApi, TRes>({ api, tx, origin, destination, address, senderAddress, currency }: TGetXcmFeeEstimateOptions<TApi, TRes>) => Promise<TGetXcmFeeEstimateResult>;
1643
+
1497
1644
  declare const getBridgeStatus: <TApi, TRes>(api: IPolkadotApi<TApi, TRes>) => Promise<TBridgeStatus>;
1498
1645
 
1499
- declare const getDryRun: <TApi, TRes>(options: TDryRunOptions<TApi, TRes>) => Promise<TDryRunResult>;
1646
+ declare const getDryRun: <TApi, TRes>(options: TDryRunCallOptions<TApi, TRes>) => Promise<TDryRunResult>;
1500
1647
 
1501
1648
  declare const send: <TApi, TRes>(options: TSendOptions<TApi, TRes>) => Promise<TRes>;
1502
1649
 
@@ -1549,5 +1696,5 @@ declare const validateAddress: (address: TAddress, node: TNodeWithRelayChains, i
1549
1696
  */
1550
1697
  declare const determineRelayChain: (node: TNodeWithRelayChains) => TRelaychain;
1551
1698
 
1552
- export { AssetClaimBuilder, BatchMode, BridgeHaltedError, Builder, DryRunFailedError, ETHEREUM_JUNCTION, ETH_CHAIN_ID, GeneralBuilder, IncompatibleNodesError, InvalidAddressError, NoXCMSupportImplementedError, NodeNotSupportedError, PolkadotXcmError, ScenarioNotSupportedError, Version, XTokensError, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, createApiInstanceForNode, createBeneficiaryMultiLocation, createVersionedBeneficiary, createX1Payload, determineRelayChain, generateAddressMultiLocationV4, getAssetBalance, getAssetBalanceInternal, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getBridgeStatus, getDryRun, getFees, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getParaEthTransferFees, getParaId, getTNode, getTransferInfo, getTransferableAmount, isEthersContract, isEthersSigner, resolveModuleError, resolveParaId, send, transferMoonbeamEvm, transferMoonbeamToEth, transferRelayToPara, transformMultiLocation, validateAddress, verifyEdOnDestination };
1553
- export type { IPolkadotApi, IPolkadotXCMTransfer, IXTokensTransfer, IXTransferTransfer, OneKey, TAddress, TApiOrUrl, TAssetClaimOptions, TAssetClaimOptionsBase, TBalanceResponse, TBatchOptions, TBifrostToken, TBridgeStatus, TCreateBeneficiaryOptions, TDestWeight, TDestination, TDryRunBaseOptions, TDryRunOptions, TDryRunResult, TEdJsonMap, TEvmBuilderOptions, TEvmBuilderOptionsBase, TEvmNodeFrom, TForeignAssetId, TForeignOrNativeAsset, TForeignOrTokenAsset, TGetAssetBalanceOptions, TGetAssetBalanceOptionsBase, TGetBalanceForeignOptions, TGetBalanceForeignOptionsBase, TGetBalanceNativeOptions, TGetBalanceNativeOptionsBase, TGetMaxForeignTransferableAmountOptions, TGetMaxForeignTransferableAmountOptionsBase, TGetMaxNativeTransferableAmountOptions, TGetMaxNativeTransferableAmountOptionsBase, TGetOriginFeeDetailsOptions, TGetOriginFeeDetailsOptionsBase, TGetTransferInfoOptions, TGetTransferInfoOptionsBase, TGetTransferableAmountOptions, TGetTransferableAmountOptionsBase, TMantaAsset, TModuleError, TNativeTokenAsset, TNodeConfig, TNodeConfigMap, TNodleAsset, TOriginFeeDetails, TOtherReserveAsset, TPolkadotXCMTransferOptions, TPolkadotXcmSection, TProviderEntry, TRelayToParaDestination, TRelayToParaOptions, TRelayToParaOverrides, TRelaychain, TReserveAsset, TScenario, TSelfReserveAsset, TSendBaseOptions, TSendInternalOptions, TSendOptions, TSerializeEthTransferOptions, TSerializedApiCall, TSerializedEthTransfer, TTransferInfo, TTransferLocalOptions, TVerifyEdOnDestinationOptions, TVerifyEdOnDestinationOptionsBase, TVersionClaimAssets, TWeight, TXTokensCurrencySelection, TXTokensSection, TXTokensTransferOptions, TXTransferSection, TXTransferTransferOptions, TXcmAsset, TXcmForeignAsset, TXcmPalletSection, TXcmVersioned, TZeitgeistAsset, WithApi };
1699
+ export { AssetClaimBuilder, BatchMode, BridgeHaltedError, Builder, DryRunFailedError, ETHEREUM_JUNCTION, ETH_CHAIN_ID, GeneralBuilder, IncompatibleNodesError, InvalidAddressError, InvalidParameterError, NoXCMSupportImplementedError, NodeNotSupportedError, PolkadotXcmError, ScenarioNotSupportedError, Version, XTokensError, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, createApiInstanceForNode, createBeneficiaryMultiLocation, createVersionedBeneficiary, createX1Payload, determineRelayChain, generateAddressMultiLocationV4, getAssetBalance, getAssetBalanceInternal, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getBridgeStatus, getDryRun, getFees, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getParaEthTransferFees, getParaId, getTNode, getTransferInfo, getTransferableAmount, getXcmFee, getXcmFeeEstimate, isEthersContract, isEthersSigner, resolveModuleError, resolveParaId, send, transferMoonbeamEvm, transferMoonbeamToEth, transferRelayToPara, transformMultiLocation, validateAddress, verifyEdOnDestination };
1700
+ export type { IPolkadotApi, IPolkadotXCMTransfer, IXTokensTransfer, IXTransferTransfer, OneKey, TAddress, TApiOrUrl, TAssetClaimOptions, TAssetClaimOptionsBase, TBalanceResponse, TBatchOptions, TBifrostToken, TBridgeStatus, TCreateBeneficiaryOptions, TDestWeight, TDestination, TDryRunCallBaseOptions, TDryRunCallOptions, TDryRunResult, TDryRunXcmBaseOptions, TDryRunXcmOptions, TEdJsonMap, TEvmBuilderOptions, TEvmBuilderOptionsBase, TEvmNodeFrom, TFeeType, TForeignAssetId, TForeignOrNativeAsset, TForeignOrTokenAsset, TGetAssetBalanceOptions, TGetAssetBalanceOptionsBase, TGetBalanceForeignOptions, TGetBalanceForeignOptionsBase, TGetBalanceNativeOptions, TGetBalanceNativeOptionsBase, TGetFeeForDestNodeBaseOptions, TGetFeeForDestNodeOptions, TGetFeeForOriginNodeBaseOptions, TGetFeeForOriginNodeOptions, TGetMaxForeignTransferableAmountOptions, TGetMaxForeignTransferableAmountOptionsBase, TGetMaxNativeTransferableAmountOptions, TGetMaxNativeTransferableAmountOptionsBase, TGetOriginFeeDetailsOptions, TGetOriginFeeDetailsOptionsBase, TGetTransferInfoOptions, TGetTransferInfoOptionsBase, TGetTransferableAmountOptions, TGetTransferableAmountOptionsBase, TGetXcmFeeBaseOptions, TGetXcmFeeBuilderOptions, TGetXcmFeeEstimateDetail, TGetXcmFeeEstimateOptions, TGetXcmFeeEstimateResult, TGetXcmFeeOptions, TGetXcmFeeResult, TMantaAsset, TModuleError, TNativeTokenAsset, TNodeConfig, TNodeConfigMap, TNodleAsset, TOriginFeeDetails, TOtherReserveAsset, TPolkadotXCMTransferOptions, TPolkadotXcmSection, TProviderEntry, TRelayToParaDestination, TRelayToParaOptions, TRelayToParaOverrides, TRelaychain, TReserveAsset, TScenario, TSelfReserveAsset, TSendBaseOptions, TSendBaseOptionsWithSenderAddress, TSendInternalOptions, TSendOptions, TSerializeEthTransferOptions, TSerializedApiCall, TSerializedEthTransfer, TTransferInfo, TTransferLocalOptions, TVerifyEdOnDestinationOptions, TVerifyEdOnDestinationOptionsBase, TVersionClaimAssets, TWeight, TXTokensCurrencySelection, TXTokensSection, TXTokensTransferOptions, TXTransferSection, TXTransferTransferOptions, TXcmAsset, TXcmFeeDetail, TXcmForeignAsset, TXcmPalletSection, TXcmVersioned, TZeitgeistAsset, WithApi };