@paraspell/sdk-core 10.10.10 → 10.11.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/README.md +4 -0
- package/dist/index.cjs +379 -373
- package/dist/index.d.ts +65 -20
- package/dist/index.mjs +378 -376
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _paraspell_sdk_common from '@paraspell/sdk-common';
|
|
|
2
2
|
import { TMultiLocation, TNodeDotKsmWithRelayChains, TNodeWithRelayChains, Version, TRelayChain, TNodePolkadotKusama, TNode, TJunction, TEcosystemType, TJunctions } from '@paraspell/sdk-common';
|
|
3
3
|
export * from '@paraspell/sdk-common';
|
|
4
4
|
import * as _paraspell_assets from '@paraspell/assets';
|
|
5
|
-
import { TCurrencyInputWithAmount, TCurrencyInput, WithAmount, TAsset, TMultiAsset, TMultiAssetWithFee, TCurrencyCore,
|
|
5
|
+
import { TCurrencyInputWithAmount, TCurrencyInput, WithAmount, TAsset, TMultiAsset, TMultiAssetWithFee, TAmount, TCurrencyCore, WithComplexAmount, TAssetWithLocation, TForeignAssetWithId, TForeignAsset } from '@paraspell/assets';
|
|
6
6
|
export * from '@paraspell/assets';
|
|
7
7
|
import { TPallet } from '@paraspell/pallets';
|
|
8
8
|
export * from '@paraspell/pallets';
|
|
@@ -189,8 +189,8 @@ type TDestWeight = {
|
|
|
189
189
|
};
|
|
190
190
|
type TXTransferMethod = 'transfer';
|
|
191
191
|
type TXTokensMethod = 'transfer' | 'transfer_multiasset' | 'transfer_multiassets';
|
|
192
|
-
type TPolkadotXcmMethod = 'limited_teleport_assets' | 'limited_reserve_transfer_assets' | '
|
|
193
|
-
type TXcmPalletMethod = 'limited_teleport_assets' | '
|
|
192
|
+
type TPolkadotXcmMethod = 'limited_teleport_assets' | 'limited_reserve_transfer_assets' | 'reserve_withdraw_assets' | 'transfer_assets';
|
|
193
|
+
type TXcmPalletMethod = 'limited_teleport_assets' | 'limited_reserve_transfer_assets';
|
|
194
194
|
type TWeight = {
|
|
195
195
|
refTime: bigint;
|
|
196
196
|
proofSize: bigint;
|
|
@@ -271,7 +271,7 @@ declare class AssetClaimBuilder<TApi, TRes, T extends Partial<TAssetClaimOptions
|
|
|
271
271
|
* @param multiAssets - An array of assets to claim in a multi-asset format.
|
|
272
272
|
* @returns An instance of Builder
|
|
273
273
|
*/
|
|
274
|
-
fungible(multiAssets: TMultiAsset[]): AssetClaimBuilder<TApi, TRes, T & {
|
|
274
|
+
fungible(multiAssets: TMultiAsset<TAmount>[]): AssetClaimBuilder<TApi, TRes, T & {
|
|
275
275
|
multiAssets: TMultiAsset[];
|
|
276
276
|
}>;
|
|
277
277
|
/**
|
|
@@ -578,7 +578,7 @@ type TGetOriginFeeDetailsOptionsBase = {
|
|
|
578
578
|
/**
|
|
579
579
|
* The currency to transfer.
|
|
580
580
|
*/
|
|
581
|
-
currency:
|
|
581
|
+
currency: WithComplexAmount<TCurrencyCore>;
|
|
582
582
|
/**
|
|
583
583
|
* The origin account.
|
|
584
584
|
*/
|
|
@@ -747,6 +747,11 @@ type TBatchOptions = {
|
|
|
747
747
|
*/
|
|
748
748
|
mode: BatchMode;
|
|
749
749
|
};
|
|
750
|
+
type TBuilderOptions<TApi> = TApi | TBuilderConfig<TApi>;
|
|
751
|
+
type TBuilderConfig<TApi> = {
|
|
752
|
+
apiOverrides?: Partial<Record<TNodeWithRelayChains, TApi>>;
|
|
753
|
+
development?: boolean;
|
|
754
|
+
};
|
|
750
755
|
|
|
751
756
|
type TProviderEntry = {
|
|
752
757
|
name: string;
|
|
@@ -1046,6 +1051,18 @@ declare class InvalidParameterError extends Error {
|
|
|
1046
1051
|
constructor(message: string);
|
|
1047
1052
|
}
|
|
1048
1053
|
|
|
1054
|
+
/**
|
|
1055
|
+
* Error development mode is on and no API override is provided for a specific chain.
|
|
1056
|
+
*/
|
|
1057
|
+
declare class MissingChainApiError extends Error {
|
|
1058
|
+
/**
|
|
1059
|
+
* Constructs a new MissingChainApiError.
|
|
1060
|
+
*
|
|
1061
|
+
* @param chain - The node for which the API is missing.
|
|
1062
|
+
*/
|
|
1063
|
+
constructor(chain: TNodeWithRelayChains);
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1049
1066
|
/**
|
|
1050
1067
|
* Used to inform user, that Parachain they wish to use is not supported yet
|
|
1051
1068
|
*/
|
|
@@ -1211,7 +1228,7 @@ type TGetOriginXcmFeeBaseOptions<TRes> = {
|
|
|
1211
1228
|
origin: TNodeDotKsmWithRelayChains;
|
|
1212
1229
|
destination: TNodeWithRelayChains;
|
|
1213
1230
|
senderAddress: string;
|
|
1214
|
-
currency:
|
|
1231
|
+
currency: WithComplexAmount<TCurrencyCore>;
|
|
1215
1232
|
feeAsset?: TCurrencyInput;
|
|
1216
1233
|
disableFallback: boolean;
|
|
1217
1234
|
};
|
|
@@ -1295,9 +1312,8 @@ type TGetXcmFeeEstimateResult = {
|
|
|
1295
1312
|
};
|
|
1296
1313
|
|
|
1297
1314
|
interface IPolkadotApi<TApi, TRes> {
|
|
1298
|
-
|
|
1315
|
+
getConfig(): TBuilderOptions<TApiOrUrl<TApi>> | undefined;
|
|
1299
1316
|
getApi(): TApi;
|
|
1300
|
-
getApiOrUrl(): TApiOrUrl<TApi> | undefined;
|
|
1301
1317
|
init(node: TNodeWithRelayChains, clientTtlMs?: number): Promise<void>;
|
|
1302
1318
|
createApiInstance: (wsUrl: string | string[]) => Promise<TApi>;
|
|
1303
1319
|
accountToHex(address: string, isPrefixed?: boolean): string;
|
|
@@ -1357,7 +1373,7 @@ declare abstract class ParachainNode<TApi, TRes> {
|
|
|
1357
1373
|
transfer(options: TSendInternalOptions<TApi, TRes>): Promise<TRes>;
|
|
1358
1374
|
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
1359
1375
|
transferRelayToPara(options: TRelayToParaOptions<TApi, TRes>): TSerializedApiCall;
|
|
1360
|
-
createCurrencySpec(amount:
|
|
1376
|
+
createCurrencySpec(amount: bigint, scenario: TScenario, version: Version, _asset?: TAsset, _isOverridenAsset?: boolean): TMultiAsset;
|
|
1361
1377
|
getNativeAssetSymbol(): string;
|
|
1362
1378
|
transferLocal(options: TSendInternalOptions<TApi, TRes>): TRes;
|
|
1363
1379
|
transferLocalNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
@@ -1403,7 +1419,7 @@ declare class AssetHubKusama<TApi, TRes> extends ParachainNode<TApi, TRes> imple
|
|
|
1403
1419
|
constructor();
|
|
1404
1420
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
1405
1421
|
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
1406
|
-
createCurrencySpec(amount:
|
|
1422
|
+
createCurrencySpec(amount: bigint, scenario: TScenario, version: Version, asset?: TAsset, isOverridenAsset?: boolean): _paraspell_assets.TMultiAsset;
|
|
1407
1423
|
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
1408
1424
|
}
|
|
1409
1425
|
|
|
@@ -1418,7 +1434,7 @@ declare class AssetHubPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> imp
|
|
|
1418
1434
|
private getMethod;
|
|
1419
1435
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
1420
1436
|
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
1421
|
-
createCurrencySpec(amount:
|
|
1437
|
+
createCurrencySpec(amount: bigint, scenario: TScenario, version: Version, asset?: TAsset, isOverriddenAsset?: boolean): _paraspell_assets.TMultiAsset;
|
|
1422
1438
|
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
1423
1439
|
}
|
|
1424
1440
|
|
|
@@ -1573,7 +1589,7 @@ declare class Crab<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPol
|
|
|
1573
1589
|
constructor();
|
|
1574
1590
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
1575
1591
|
transferRelayToPara(): TSerializedApiCall;
|
|
1576
|
-
createCurrencySpec(amount:
|
|
1592
|
+
createCurrencySpec(amount: bigint, scenario: TScenario, version: Version, _asset?: TAsset): _paraspell_assets.TMultiAsset;
|
|
1577
1593
|
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
1578
1594
|
}
|
|
1579
1595
|
|
|
@@ -1599,7 +1615,7 @@ declare class Curio<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXT
|
|
|
1599
1615
|
declare class Darwinia<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
1600
1616
|
constructor();
|
|
1601
1617
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
1602
|
-
createCurrencySpec(amount:
|
|
1618
|
+
createCurrencySpec(amount: bigint, scenario: TScenario, version: Version, _asset?: TAsset): _paraspell_assets.TMultiAsset;
|
|
1603
1619
|
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
1604
1620
|
}
|
|
1605
1621
|
|
|
@@ -1609,6 +1625,16 @@ declare class Encointer<TApi, TRes> extends ParachainNode<TApi, TRes> implements
|
|
|
1609
1625
|
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
1610
1626
|
}
|
|
1611
1627
|
|
|
1628
|
+
declare class EnergyWebX<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
1629
|
+
constructor(chain?: TNodePolkadotKusama, info?: string, type?: TEcosystemType, version?: Version);
|
|
1630
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
1631
|
+
transferRelayToPara(): TSerializedApiCall;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
declare class EnergyWebXPaseo<TApi, TRes> extends EnergyWebX<TApi, TRes> {
|
|
1635
|
+
constructor();
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1612
1638
|
declare class Heima<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
1613
1639
|
constructor(chain?: TNodePolkadotKusama, info?: string, type?: TEcosystemType, version?: Version);
|
|
1614
1640
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
@@ -1634,6 +1660,17 @@ declare class HydrationPaseo<TApi, TRes> extends Hydration<TApi, TRes> {
|
|
|
1634
1660
|
constructor();
|
|
1635
1661
|
}
|
|
1636
1662
|
|
|
1663
|
+
declare class IntegriteeKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
1664
|
+
constructor(chain?: TNodePolkadotKusama, info?: string, type?: TEcosystemType, version?: Version);
|
|
1665
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
1666
|
+
transferRelayToPara(): TSerializedApiCall;
|
|
1667
|
+
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes>): TRes;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
declare class IntegriteePaseo<TApi, TRes> extends IntegriteeKusama<TApi, TRes> {
|
|
1671
|
+
constructor();
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1637
1674
|
declare class Interlay<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
1638
1675
|
constructor();
|
|
1639
1676
|
getCurrencySelection(asset: TAsset): TForeignOrTokenAsset;
|
|
@@ -1849,7 +1886,9 @@ declare const nodes: <TApi, TRes>() => {
|
|
|
1849
1886
|
Centrifuge: Centrifuge<TApi, TRes>;
|
|
1850
1887
|
ComposableFinance: ComposableFinance<TApi, TRes>;
|
|
1851
1888
|
Darwinia: Darwinia<TApi, TRes>;
|
|
1889
|
+
EnergyWebX: EnergyWebX<TApi, TRes>;
|
|
1852
1890
|
Hydration: Hydration<TApi, TRes>;
|
|
1891
|
+
IntegriteeKusama: IntegriteeKusama<TApi, TRes>;
|
|
1853
1892
|
Interlay: Interlay<TApi, TRes>;
|
|
1854
1893
|
Heima: Heima<TApi, TRes>;
|
|
1855
1894
|
Jamton: Jamton<TApi, TRes>;
|
|
@@ -1896,13 +1935,15 @@ declare const nodes: <TApi, TRes>() => {
|
|
|
1896
1935
|
AssetHubPaseo: AssetHubPaseo<TApi, TRes>;
|
|
1897
1936
|
BridgeHubPaseo: BridgeHubPaseo<TApi, TRes>;
|
|
1898
1937
|
CoretimePaseo: CoretimePaseo<TApi, TRes>;
|
|
1938
|
+
EnergyWebXPaseo: EnergyWebXPaseo<TApi, TRes>;
|
|
1939
|
+
IntegriteePaseo: IntegriteePaseo<TApi, TRes>;
|
|
1940
|
+
KiltPaseo: KiltPaseo<TApi, TRes>;
|
|
1899
1941
|
PAssetHub: PAssetHub<TApi, TRes>;
|
|
1900
1942
|
PeoplePaseo: PeoplePaseo<TApi, TRes>;
|
|
1901
1943
|
AjunaPaseo: AjunaPaseo<TApi, TRes>;
|
|
1902
1944
|
BifrostPaseo: BifrostPaseo<TApi, TRes>;
|
|
1903
1945
|
HeimaPaseo: HeimaPaseo<TApi, TRes>;
|
|
1904
1946
|
HydrationPaseo: HydrationPaseo<TApi, TRes>;
|
|
1905
|
-
KiltPaseo: KiltPaseo<TApi, TRes>;
|
|
1906
1947
|
LaosPaseo: LaosPaseo<TApi, TRes>;
|
|
1907
1948
|
NeuroWebPaseo: NeuroWebPaseo<TApi, TRes>;
|
|
1908
1949
|
NodlePaseo: NodlePaseo<TApi, TRes>;
|
|
@@ -1999,6 +2040,10 @@ declare const addXcmVersionHeader: <T, V extends Version>(obj: T, version: V) =>
|
|
|
1999
2040
|
declare const assertToIsString: (to: TDestination, overrideMsg?: string) => asserts to is Exclude<TDestination, TMultiLocation>;
|
|
2000
2041
|
declare const assertAddressIsString: (address: TAddress) => asserts address is Exclude<TAddress, TMultiLocation>;
|
|
2001
2042
|
declare const assertHasLocation: (asset: TAsset) => asserts asset is TAssetWithLocation;
|
|
2043
|
+
declare const assertHasId: (asset: TAsset) => asserts asset is TForeignAssetWithId;
|
|
2044
|
+
declare const assertIsForeign: (asset: TAsset) => asserts asset is TForeignAsset;
|
|
2045
|
+
|
|
2046
|
+
declare const isConfig: <TApi>(value: any) => value is TBuilderConfig<TApi>;
|
|
2002
2047
|
|
|
2003
2048
|
declare const getChainVersion: <TApi, TRes>(chain: TNodeWithRelayChains) => Version;
|
|
2004
2049
|
|
|
@@ -2046,11 +2091,11 @@ declare const localizeLocation: (node: TNodeWithRelayChains, multiLocation: TMul
|
|
|
2046
2091
|
|
|
2047
2092
|
declare const reverseTransformMultiLocation: (multiLocation: TMultiLocation) => TMultiLocation;
|
|
2048
2093
|
|
|
2049
|
-
declare const createMultiAsset: (version: Version, amount:
|
|
2050
|
-
declare const createVersionedMultiAssets: (version: Version, amount:
|
|
2094
|
+
declare const createMultiAsset: (version: Version, amount: bigint, multiLocation: TMultiLocation) => TMultiAsset;
|
|
2095
|
+
declare const createVersionedMultiAssets: (version: Version, amount: bigint, multiLocation: TMultiLocation) => OneKey<Version, TMultiAsset[]>;
|
|
2051
2096
|
|
|
2052
|
-
declare const maybeOverrideMultiAssets: (version: Version, amount:
|
|
2053
|
-
declare const maybeOverrideMultiAsset: (version: Version, amount:
|
|
2097
|
+
declare const maybeOverrideMultiAssets: (version: Version, amount: bigint, multiAssets: TMultiAsset[], overriddenCurrency?: TMultiLocation | TMultiAsset[]) => TMultiAsset[];
|
|
2098
|
+
declare const maybeOverrideMultiAsset: (version: Version, amount: bigint, multiAsset: TMultiAsset, overriddenCurrency?: TMultiLocation | TMultiAsset[]) => TMultiAsset;
|
|
2054
2099
|
|
|
2055
2100
|
declare const sortMultiAssets: (assets: TMultiAsset[]) => TMultiAsset[];
|
|
2056
2101
|
|
|
@@ -2083,5 +2128,5 @@ declare const handleToAhTeleport: <TApi, TRes>(origin: TNodePolkadotKusama, inpu
|
|
|
2083
2128
|
|
|
2084
2129
|
declare const validateAddress: (address: TAddress, node: TNodeWithRelayChains, isDestination?: boolean) => void;
|
|
2085
2130
|
|
|
2086
|
-
export { AssetClaimBuilder, BatchMode, BridgeHaltedError, Builder, DRY_RUN_CLIENT_TIMEOUT_MS, DryRunFailedError, ETHEREUM_JUNCTION, ETH_CHAIN_ID, GeneralBuilder, IncompatibleNodesError, InvalidAddressError, InvalidParameterError, NoXCMSupportImplementedError, NodeNotSupportedError, PolkadotXcmError, ScenarioNotSupportedError, TX_CLIENT_TIMEOUT_MS, TransferToAhNotSupported, UnableToComputeError, XTokensError, addEthereumBridgeFees, addXcmVersionHeader, assertAddressIsString, assertHasLocation, assertToIsString, blake2b256, blake2b512, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, convertSs58, createApiInstanceForNode, createAssetsFilter, createBaseExecuteXcm, createBeneficiaryLocXTokens, createBeneficiaryLocation, createDirectExecuteXcm, createExecuteCall, createExecuteExchangeXcm, createMultiAsset, createVersionedMultiAssets, createX1Payload, deriveAccountId, dryRun, dryRunOrigin, encodeSs58, getAssetBalance, getAssetBalanceInternal, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getBridgeStatus, getChainLocation, getChainVersion, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getOriginXcmFee, getOriginXcmFeeEstimate, getParaEthTransferFees, getParaId, getRelayChainOf, getTNode, getTransferInfo, getTransferableAmount, getTransferableAmountInternal, getXcmFee, getXcmFeeEstimate, handleExecuteTransfer, handleSwapExecuteTransfer, handleToAhTeleport, localizeLocation, maybeOverrideMultiAsset, maybeOverrideMultiAssets, padFee, padFeeBy, resolveModuleError, resolveParaId, reverseTransformMultiLocation, send, sortMultiAssets, transferMoonbeamEvm, transferMoonbeamToEth, transferRelayToPara, traverseXcmHops, validateAddress, verifyEdOnDestination };
|
|
2087
|
-
export type { HopProcessParams, HopTraversalConfig, HopTraversalResult, IPolkadotApi, IPolkadotXCMTransfer, IXTokensTransfer, IXTransferTransfer, OneKey, TAddress, TApiOrUrl, TAssetClaimOptions, TAssetClaimOptionsBase, TAttemptDryRunFeeOptions, TBalanceResponse, TBatchOptions, TBifrostToken, TBridgeStatus, TConditionalXcmFeeDetail, TConditionalXcmFeeHopInfo, TCreateBaseSwapXcmOptions, TCreateBaseTransferXcmOptions, TCreateBeneficiaryOptions, TCreateBeneficiaryXTokensOptions, TCreateSwapXcmInternalOptions, TCreateSwapXcmOptions, TCreateTransferXcmOptions, TDestWeight, TDestXcmFeeDetail, TDestination, TDryRunBaseOptions, TDryRunCallBaseOptions, TDryRunCallOptions, TDryRunChain, TDryRunNodeFailure, TDryRunNodeResult, TDryRunNodeResultInternal, TDryRunNodeSuccess, TDryRunOptions, TDryRunResult, TDryRunXcmBaseOptions, TDryRunXcmOptions, TEdJsonMap, TEvmBuilderOptions, TEvmBuilderOptionsBase, TEvmNodeFrom, TFeeType, TForeignAssetId, TForeignOrNativeAsset, TForeignOrTokenAsset, TGetAssetBalanceOptions, TGetAssetBalanceOptionsBase, TGetBalanceForeignOptions, TGetBalanceForeignOptionsBase, TGetBalanceNativeOptions, TGetBalanceNativeOptionsBase, TGetFeeForDestNodeBaseOptions, TGetFeeForDestNodeOptions, TGetMaxForeignTransferableAmountOptions, TGetMaxForeignTransferableAmountOptionsBase, TGetMaxNativeTransferableAmountOptions, TGetMaxNativeTransferableAmountOptionsBase, TGetOriginFeeDetailsOptions, TGetOriginFeeDetailsOptionsBase, TGetOriginXcmFeeBaseOptions, TGetOriginXcmFeeEstimateOptions, TGetOriginXcmFeeOptions, TGetReverseTxFeeOptions, TGetTransferInfoOptions, TGetTransferInfoOptionsBase, TGetTransferableAmountOptions, TGetTransferableAmountOptionsBase, TGetXcmFeeBaseOptions, TGetXcmFeeBuilderOptions, TGetXcmFeeEstimateDetail, TGetXcmFeeEstimateOptions, TGetXcmFeeEstimateResult, TGetXcmFeeOptions, TGetXcmFeeResult, THopInfo, THopTransferInfo, THubKey, TMantaAsset, TModuleError, TNativeTokenAsset, TNodeConfig, TNodeConfigMap, TNodleAsset, TOriginFeeDetails, TOtherReserveAsset, TPolkadotXCMTransferOptions, TPolkadotXcmMethod, TProviderEntry, TRelayToParaDestination, TRelayToParaOptions, TRelayToParaOverrides, TReserveAsset, TScenario, TSelfReserveAsset, TSendBaseOptions, TSendBaseOptionsWithSenderAddress, TSendInternalOptions, TSendOptions, TSerializeEthTransferOptions, TSerializedApiCall, TSerializedEthTransfer, TSwapFeeEstimates, TTransferFeeEstimates, TTransferInfo, TTransferLocalOptions, TVerifyEdOnDestinationOptions, TVerifyEdOnDestinationOptionsBase, TWeight, TXTokensCurrencySelection, TXTokensMethod, TXTokensTransferOptions, TXTransferMethod, TXTransferTransferOptions, TXcmAsset, TXcmFeeBase, TXcmFeeChain, TXcmFeeDetail, TXcmFeeDetailWithFallback, TXcmFeeHopInfo, TXcmForeignAsset, TXcmPalletMethod, TXcmVersioned, TZeitgeistAsset, WithApi, WithRequiredSenderAddress, XcmFeeHopResult };
|
|
2131
|
+
export { AssetClaimBuilder, BatchMode, BridgeHaltedError, Builder, DRY_RUN_CLIENT_TIMEOUT_MS, DryRunFailedError, ETHEREUM_JUNCTION, ETH_CHAIN_ID, GeneralBuilder, IncompatibleNodesError, InvalidAddressError, InvalidParameterError, MissingChainApiError, NoXCMSupportImplementedError, NodeNotSupportedError, PolkadotXcmError, ScenarioNotSupportedError, TX_CLIENT_TIMEOUT_MS, TransferToAhNotSupported, UnableToComputeError, XTokensError, addEthereumBridgeFees, addXcmVersionHeader, assertAddressIsString, assertHasId, assertHasLocation, assertIsForeign, assertToIsString, blake2b256, blake2b512, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, convertSs58, createApiInstanceForNode, createAssetsFilter, createBaseExecuteXcm, createBeneficiaryLocXTokens, createBeneficiaryLocation, createDirectExecuteXcm, createExecuteCall, createExecuteExchangeXcm, createMultiAsset, createVersionedMultiAssets, createX1Payload, deriveAccountId, dryRun, dryRunOrigin, encodeSs58, getAssetBalance, getAssetBalanceInternal, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getBridgeStatus, getChainLocation, getChainVersion, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getOriginXcmFee, getOriginXcmFeeEstimate, getParaEthTransferFees, getParaId, getRelayChainOf, getTNode, getTransferInfo, getTransferableAmount, getTransferableAmountInternal, getXcmFee, getXcmFeeEstimate, handleExecuteTransfer, handleSwapExecuteTransfer, handleToAhTeleport, isConfig, localizeLocation, maybeOverrideMultiAsset, maybeOverrideMultiAssets, padFee, padFeeBy, resolveModuleError, resolveParaId, reverseTransformMultiLocation, send, sortMultiAssets, transferMoonbeamEvm, transferMoonbeamToEth, transferRelayToPara, traverseXcmHops, validateAddress, verifyEdOnDestination };
|
|
2132
|
+
export type { HopProcessParams, HopTraversalConfig, HopTraversalResult, IPolkadotApi, IPolkadotXCMTransfer, IXTokensTransfer, IXTransferTransfer, OneKey, TAddress, TApiOrUrl, TAssetClaimOptions, TAssetClaimOptionsBase, TAttemptDryRunFeeOptions, TBalanceResponse, TBatchOptions, TBifrostToken, TBridgeStatus, TBuilderConfig, TBuilderOptions, TConditionalXcmFeeDetail, TConditionalXcmFeeHopInfo, TCreateBaseSwapXcmOptions, TCreateBaseTransferXcmOptions, TCreateBeneficiaryOptions, TCreateBeneficiaryXTokensOptions, TCreateSwapXcmInternalOptions, TCreateSwapXcmOptions, TCreateTransferXcmOptions, TDestWeight, TDestXcmFeeDetail, TDestination, TDryRunBaseOptions, TDryRunCallBaseOptions, TDryRunCallOptions, TDryRunChain, TDryRunNodeFailure, TDryRunNodeResult, TDryRunNodeResultInternal, TDryRunNodeSuccess, TDryRunOptions, TDryRunResult, TDryRunXcmBaseOptions, TDryRunXcmOptions, TEdJsonMap, TEvmBuilderOptions, TEvmBuilderOptionsBase, TEvmNodeFrom, TFeeType, TForeignAssetId, TForeignOrNativeAsset, TForeignOrTokenAsset, TGetAssetBalanceOptions, TGetAssetBalanceOptionsBase, TGetBalanceForeignOptions, TGetBalanceForeignOptionsBase, TGetBalanceNativeOptions, TGetBalanceNativeOptionsBase, TGetFeeForDestNodeBaseOptions, TGetFeeForDestNodeOptions, TGetMaxForeignTransferableAmountOptions, TGetMaxForeignTransferableAmountOptionsBase, TGetMaxNativeTransferableAmountOptions, TGetMaxNativeTransferableAmountOptionsBase, TGetOriginFeeDetailsOptions, TGetOriginFeeDetailsOptionsBase, TGetOriginXcmFeeBaseOptions, TGetOriginXcmFeeEstimateOptions, TGetOriginXcmFeeOptions, TGetReverseTxFeeOptions, TGetTransferInfoOptions, TGetTransferInfoOptionsBase, TGetTransferableAmountOptions, TGetTransferableAmountOptionsBase, TGetXcmFeeBaseOptions, TGetXcmFeeBuilderOptions, TGetXcmFeeEstimateDetail, TGetXcmFeeEstimateOptions, TGetXcmFeeEstimateResult, TGetXcmFeeOptions, TGetXcmFeeResult, THopInfo, THopTransferInfo, THubKey, TMantaAsset, TModuleError, TNativeTokenAsset, TNodeConfig, TNodeConfigMap, TNodleAsset, TOriginFeeDetails, TOtherReserveAsset, TPolkadotXCMTransferOptions, TPolkadotXcmMethod, TProviderEntry, TRelayToParaDestination, TRelayToParaOptions, TRelayToParaOverrides, TReserveAsset, TScenario, TSelfReserveAsset, TSendBaseOptions, TSendBaseOptionsWithSenderAddress, TSendInternalOptions, TSendOptions, TSerializeEthTransferOptions, TSerializedApiCall, TSerializedEthTransfer, TSwapFeeEstimates, TTransferFeeEstimates, TTransferInfo, TTransferLocalOptions, TVerifyEdOnDestinationOptions, TVerifyEdOnDestinationOptionsBase, TWeight, TXTokensCurrencySelection, TXTokensMethod, TXTokensTransferOptions, TXTransferMethod, TXTransferTransferOptions, TXcmAsset, TXcmFeeBase, TXcmFeeChain, TXcmFeeDetail, TXcmFeeDetailWithFallback, TXcmFeeHopInfo, TXcmForeignAsset, TXcmPalletMethod, TXcmVersioned, TZeitgeistAsset, WithApi, WithRequiredSenderAddress, XcmFeeHopResult };
|