@paraspell/sdk-core 14.2.2 → 14.3.3
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 +1 -15
- package/dist/index.mjs +779 -732
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -120,7 +120,6 @@ declare abstract class PolkadotApi<TApi, TRes, TSigner, TCustomChain extends str
|
|
|
120
120
|
}>;
|
|
121
121
|
abstract getXcmWeight(xcm: any): Promise<TWeight>;
|
|
122
122
|
abstract getXcmPaymentApiFee(chain: TSubstrateChain, localXcm: any, forwardedXcm: any, asset: TAssetInfo, version: Version, transformXcm: boolean): Promise<bigint>;
|
|
123
|
-
abstract getEvmStorage(contract: string, slot: string): Promise<string>;
|
|
124
123
|
abstract getFromRpc(module: string, method: string, key: string): Promise<string>;
|
|
125
124
|
abstract blake2AsHex(data: Uint8Array): string;
|
|
126
125
|
abstract clone(): PolkadotApi<TApi, TRes, TSigner, TCustomChain>;
|
|
@@ -335,13 +334,6 @@ declare class CoretimeWestend<TApi, TRes, TSigner, TCustomChain extends string =
|
|
|
335
334
|
constructor();
|
|
336
335
|
}
|
|
337
336
|
|
|
338
|
-
declare class Crab<TApi, TRes, TSigner, TCustomChain extends string = never> extends SubstrateChain<TApi, TRes, TSigner, TCustomChain> implements IPolkadotXCMTransfer<TApi, TRes, TSigner, TCustomChain> {
|
|
339
|
-
constructor();
|
|
340
|
-
transferPolkadotXCM(input: TPolkadotXCMTransferOptions<TApi, TRes, TSigner, TCustomChain>): Promise<TRes>;
|
|
341
|
-
isRelayToParaEnabled(): boolean;
|
|
342
|
-
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes, TSigner, TCustomChain>): TRes;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
337
|
declare class Crust<TApi, TRes, TSigner, TCustomChain extends string = never> extends SubstrateChain<TApi, TRes, TSigner, TCustomChain> implements IXTokensTransfer<TApi, TRes, TSigner, TCustomChain> {
|
|
346
338
|
constructor();
|
|
347
339
|
private getCurrencySelection;
|
|
@@ -461,10 +453,6 @@ declare class NeuroWeb<TApi, TRes, TSigner, TCustomChain extends string = never>
|
|
|
461
453
|
transferLocalNonNativeAsset(options: TTransferLocalOptions<TApi, TRes, TSigner, TCustomChain>): TRes;
|
|
462
454
|
}
|
|
463
455
|
|
|
464
|
-
declare class NeuroWebPaseo<TApi, TRes, TSigner, TCustomChain extends string = never> extends NeuroWeb<TApi, TRes, TSigner, TCustomChain> {
|
|
465
|
-
constructor();
|
|
466
|
-
}
|
|
467
|
-
|
|
468
456
|
declare class Paseo<TApi, TRes, TSigner, TCustomChain extends string = never> extends Polkadot<TApi, TRes, TSigner, TCustomChain> {
|
|
469
457
|
constructor();
|
|
470
458
|
}
|
|
@@ -569,7 +557,6 @@ declare const chains: <TApi, TRes, TSigner>() => {
|
|
|
569
557
|
BifrostKusama: BifrostKusama<TApi, TRes, TSigner, never>;
|
|
570
558
|
Curio: Curio<TApi, TRes, TSigner, never>;
|
|
571
559
|
CrustShadow: CrustShadow<TApi, TRes, TSigner, never>;
|
|
572
|
-
Crab: Crab<TApi, TRes, TSigner, never>;
|
|
573
560
|
Karura: Karura<TApi, TRes, TSigner, never>;
|
|
574
561
|
PeopleKusama: PeopleKusama<TApi, TRes, TSigner, never>;
|
|
575
562
|
Shiden: Shiden<TApi, TRes, TSigner, never>;
|
|
@@ -586,7 +573,6 @@ declare const chains: <TApi, TRes, TSigner>() => {
|
|
|
586
573
|
PeoplePaseo: PeoplePaseo<TApi, TRes, TSigner, never>;
|
|
587
574
|
HeimaPaseo: HeimaPaseo<TApi, TRes, TSigner, never>;
|
|
588
575
|
HydrationPaseo: HydrationPaseo<TApi, TRes, TSigner, never>;
|
|
589
|
-
NeuroWebPaseo: NeuroWebPaseo<TApi, TRes, TSigner, never>;
|
|
590
576
|
Ethereum: Ethereum<TApi, TRes, TSigner>;
|
|
591
577
|
EthereumTestnet: EthereumTestnet<TApi, TRes, TSigner>;
|
|
592
578
|
};
|
|
@@ -2526,7 +2512,7 @@ declare const reverseTransformLocation: (location: TLocation) => TLocation;
|
|
|
2526
2512
|
|
|
2527
2513
|
declare const normalizeAmount: (amount: bigint) => bigint;
|
|
2528
2514
|
|
|
2529
|
-
declare const resolveDestChain: <TApi, TRes, TSigner, TCustomChain extends string = never>(api: PolkadotApi<TApi, TRes, TSigner, TCustomChain>, originChain: TSubstrateChain | TCustomChain, paraId: number | undefined) => "AssetHubPolkadot" | "Acala" | "Ajuna" | "Astar" | "BifrostPolkadot" | "BridgeHubPolkadot" | "Centrifuge" | "Darwinia" | "EnergyWebX" | "Hydration" | "Heima" | "Jamton" | "CoretimePolkadot" | "Collectives" | "Crust" | "NeuroWeb" | "Pendulum" | "Mythos" | "Peaq" | "PeoplePolkadot" | "Unique" | "Xode" | "AssetHubKusama" | "BridgeHubKusama" | "Karura" | "CoretimeKusama" | "Encointer" | "Basilisk" | "BifrostKusama" | "Curio" | "CrustShadow" | "
|
|
2515
|
+
declare const resolveDestChain: <TApi, TRes, TSigner, TCustomChain extends string = never>(api: PolkadotApi<TApi, TRes, TSigner, TCustomChain>, originChain: TSubstrateChain | TCustomChain, paraId: number | undefined) => "AssetHubPolkadot" | "Acala" | "Ajuna" | "Astar" | "BifrostPolkadot" | "BridgeHubPolkadot" | "Centrifuge" | "Darwinia" | "EnergyWebX" | "Hydration" | "Heima" | "Jamton" | "CoretimePolkadot" | "Collectives" | "Crust" | "NeuroWeb" | "Pendulum" | "Mythos" | "Peaq" | "PeoplePolkadot" | "Unique" | "Xode" | "AssetHubKusama" | "BridgeHubKusama" | "Karura" | "CoretimeKusama" | "Encointer" | "Basilisk" | "BifrostKusama" | "Curio" | "CrustShadow" | "RobonomicsPolkadot" | "PeopleKusama" | "Shiden" | "AssetHubWestend" | "BridgeHubWestend" | "CollectivesWestend" | "CoretimeWestend" | "Penpal" | "PeopleWestend" | "AssetHubPaseo" | "EnergyWebXPaseo" | "HeimaPaseo" | "HydrationPaseo" | "PeoplePaseo" | undefined;
|
|
2530
2516
|
|
|
2531
2517
|
declare const resolveParaId: <TApi, TRes, TSigner, TCustomChain extends string = never>(paraId: number | undefined, destination: TDestination, api: PolkadotApi<TApi, TRes, TSigner, TCustomChain>) => number | undefined;
|
|
2532
2518
|
|