@paraspell/sdk 7.2.4 → 7.2.6
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 +15 -4
- package/dist/index.cjs +3010 -2418
- package/dist/index.d.ts +82 -38
- package/dist/index.mjs +3007 -2418
- package/dist/papi/index.cjs +2833 -2240
- package/dist/papi/index.d.ts +82 -38
- package/dist/papi/index.mjs +2830 -2240
- package/package.json +18 -18
package/dist/index.d.ts
CHANGED
|
@@ -102,6 +102,7 @@ declare class Centrifuge<TApi, TRes> extends ParachainNode<TApi, TRes> implement
|
|
|
102
102
|
constructor();
|
|
103
103
|
private getCurrencySelection;
|
|
104
104
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
105
|
+
getProvider(): string;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
declare class ComposableFinance<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
@@ -172,11 +173,6 @@ declare class BifrostKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implem
|
|
|
172
173
|
getProvider(): string;
|
|
173
174
|
}
|
|
174
175
|
|
|
175
|
-
declare class Pioneer<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
176
|
-
constructor();
|
|
177
|
-
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
176
|
declare class Turing<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
181
177
|
constructor();
|
|
182
178
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
@@ -221,12 +217,6 @@ declare class Imbue<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXT
|
|
|
221
217
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
222
218
|
}
|
|
223
219
|
|
|
224
|
-
declare class Integritee<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
225
|
-
constructor();
|
|
226
|
-
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
227
|
-
transferRelayToPara(): TSerializedApiCall;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
220
|
declare class InvArchTinker<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
231
221
|
constructor();
|
|
232
222
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
@@ -293,6 +283,7 @@ declare class PeoplePolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> imple
|
|
|
293
283
|
constructor();
|
|
294
284
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
295
285
|
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
286
|
+
getProvider(): string;
|
|
296
287
|
}
|
|
297
288
|
|
|
298
289
|
declare class PeopleKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
@@ -426,14 +417,13 @@ type AtLeastOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Ke
|
|
|
426
417
|
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
|
|
427
418
|
}[Keys];
|
|
428
419
|
type TBaseAsset = {
|
|
429
|
-
symbol
|
|
420
|
+
symbol: string;
|
|
430
421
|
decimals?: number;
|
|
431
422
|
manuallyAdded?: boolean;
|
|
432
423
|
alias?: string;
|
|
424
|
+
existentialDeposit?: string;
|
|
433
425
|
};
|
|
434
|
-
type TNativeAsset = TBaseAsset
|
|
435
|
-
symbol: string;
|
|
436
|
-
};
|
|
426
|
+
type TNativeAsset = TBaseAsset;
|
|
437
427
|
type TForeignAsset = TBaseAsset & AtLeastOne<{
|
|
438
428
|
assetId?: string;
|
|
439
429
|
multiLocation?: object;
|
|
@@ -754,12 +744,6 @@ declare class Pendulum<TApi, TRes> extends ParachainNode<TApi, TRes> implements
|
|
|
754
744
|
transferRelayToPara(): TSerializedApiCall;
|
|
755
745
|
}
|
|
756
746
|
|
|
757
|
-
declare class Polkadex<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
758
|
-
constructor();
|
|
759
|
-
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
760
|
-
getProvider(): string;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
747
|
declare class Zeitgeist<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
764
748
|
constructor();
|
|
765
749
|
private getCurrencySelection;
|
|
@@ -838,19 +822,19 @@ declare class Polimec<TApi, TRes> extends ParachainNode<TApi, TRes> implements I
|
|
|
838
822
|
/**
|
|
839
823
|
* Supported nodes excluding relay chains and Ethereum.
|
|
840
824
|
*/
|
|
841
|
-
declare const NODE_NAMES_DOT_KSM: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "CoretimePolkadot", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "
|
|
825
|
+
declare const NODE_NAMES_DOT_KSM: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "CoretimePolkadot", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Calamari", "CrustShadow", "Crab", "Imbue", "InvArchTinker", "Karura", "Kintsugi", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "RobonomicsKusama", "RobonomicsPolkadot", "PeoplePolkadot", "PeopleKusama", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio", "Mythos", "Peaq", "Polimec"];
|
|
842
826
|
/**
|
|
843
827
|
* Supported nodes including Ethereum.
|
|
844
828
|
*/
|
|
845
|
-
declare const NODE_NAMES: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "CoretimePolkadot", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "
|
|
829
|
+
declare const NODE_NAMES: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "CoretimePolkadot", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Calamari", "CrustShadow", "Crab", "Imbue", "InvArchTinker", "Karura", "Kintsugi", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "RobonomicsKusama", "RobonomicsPolkadot", "PeoplePolkadot", "PeopleKusama", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio", "Mythos", "Peaq", "Polimec", "Ethereum"];
|
|
846
830
|
/**
|
|
847
831
|
* Supported nodes including relay chains and Ethereum.
|
|
848
832
|
*/
|
|
849
|
-
declare const NODES_WITH_RELAY_CHAINS: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "CoretimePolkadot", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "
|
|
833
|
+
declare const NODES_WITH_RELAY_CHAINS: readonly ["AssetHubPolkadot", "Acala", "Astar", "BifrostPolkadot", "Bitgreen", "BridgeHubPolkadot", "BridgeHubKusama", "Centrifuge", "ComposableFinance", "Darwinia", "Hydration", "Interlay", "Litentry", "Moonbeam", "Parallel", "AssetHubKusama", "CoretimeKusama", "CoretimePolkadot", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Calamari", "CrustShadow", "Crab", "Imbue", "InvArchTinker", "Karura", "Kintsugi", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "RobonomicsKusama", "RobonomicsPolkadot", "PeoplePolkadot", "PeopleKusama", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio", "Mythos", "Peaq", "Polimec", "Ethereum", "Polkadot", "Kusama"];
|
|
850
834
|
/**
|
|
851
835
|
* Supported nodes including relay chains and excluding Ethereum.
|
|
852
836
|
*/
|
|
853
|
-
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", "CoretimePolkadot", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "
|
|
837
|
+
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", "CoretimePolkadot", "Encointer", "Altair", "Amplitude", "Bajun", "Basilisk", "BifrostKusama", "Calamari", "CrustShadow", "Crab", "Imbue", "InvArchTinker", "Karura", "Kintsugi", "Moonriver", "ParallelHeiko", "Picasso", "Quartz", "RobonomicsKusama", "RobonomicsPolkadot", "PeoplePolkadot", "PeopleKusama", "Shiden", "Turing", "Unique", "Crust", "Manta", "Nodle", "NeuroWeb", "Pendulum", "Zeitgeist", "Collectives", "Khala", "Phala", "Subsocial", "KiltSpiritnet", "Curio", "Mythos", "Peaq", "Polimec", "Polkadot", "Kusama"];
|
|
854
838
|
declare const nodes: <TApi, TRes>() => {
|
|
855
839
|
AssetHubPolkadot: AssetHubPolkadot<TApi, TRes>;
|
|
856
840
|
Acala: Acala<TApi, TRes>;
|
|
@@ -878,12 +862,10 @@ declare const nodes: <TApi, TRes>() => {
|
|
|
878
862
|
Bajun: Bajun<TApi, TRes>;
|
|
879
863
|
Basilisk: Basilisk<TApi, TRes>;
|
|
880
864
|
BifrostKusama: BifrostKusama<TApi, TRes>;
|
|
881
|
-
Pioneer: Pioneer<TApi, TRes>;
|
|
882
865
|
Calamari: Calamari<TApi, TRes>;
|
|
883
866
|
CrustShadow: CrustShadow<TApi, TRes>;
|
|
884
867
|
Crab: Crab<TApi, TRes>;
|
|
885
868
|
Imbue: Imbue<TApi, TRes>;
|
|
886
|
-
Integritee: Integritee<TApi, TRes>;
|
|
887
869
|
InvArchTinker: InvArchTinker<TApi, TRes>;
|
|
888
870
|
Karura: Karura<TApi, TRes>;
|
|
889
871
|
Kintsugi: Kintsugi<TApi, TRes>;
|
|
@@ -901,7 +883,6 @@ declare const nodes: <TApi, TRes>() => {
|
|
|
901
883
|
Nodle: Nodle<TApi, TRes>;
|
|
902
884
|
NeuroWeb: NeuroWeb<TApi, TRes>;
|
|
903
885
|
Pendulum: Pendulum<TApi, TRes>;
|
|
904
|
-
Polkadex: Polkadex<TApi, TRes>;
|
|
905
886
|
Zeitgeist: Zeitgeist<TApi, TRes>;
|
|
906
887
|
Collectives: Collectives<TApi, TRes>;
|
|
907
888
|
Khala: Khala<TApi, TRes>;
|
|
@@ -1056,6 +1037,7 @@ interface IPolkadotApi<TApi, TRes> {
|
|
|
1056
1037
|
callTxMethod(serializedCall: TSerializedApiCall): TRes;
|
|
1057
1038
|
calculateTransactionFee(tx: TRes, address: string): Promise<bigint>;
|
|
1058
1039
|
getBalanceNative(address: string): Promise<bigint>;
|
|
1040
|
+
getBalanceNativeAcala(address: string, symbol: string): Promise<bigint>;
|
|
1059
1041
|
getBalanceForeignPolkadotXcm(address: string, id?: string): Promise<bigint>;
|
|
1060
1042
|
getMythosForeignBalance(address: string): Promise<bigint>;
|
|
1061
1043
|
getAssetHubForeignBalance(address: string, multiLocation: TMultiLocation): Promise<bigint>;
|
|
@@ -1129,6 +1111,12 @@ type TGetBalanceNativeOptionsBase = {
|
|
|
1129
1111
|
* The node on which to query the balance.
|
|
1130
1112
|
*/
|
|
1131
1113
|
node: TNodeDotKsmWithRelayChains;
|
|
1114
|
+
/**
|
|
1115
|
+
* The native currency to query.
|
|
1116
|
+
*/
|
|
1117
|
+
currency?: {
|
|
1118
|
+
symbol: string;
|
|
1119
|
+
};
|
|
1132
1120
|
};
|
|
1133
1121
|
/**
|
|
1134
1122
|
* Retrieves the balance of a foreign asset for a given account on a specified node.
|
|
@@ -1191,6 +1179,58 @@ type TGetOriginFeeDetailsOptionsBase = {
|
|
|
1191
1179
|
*/
|
|
1192
1180
|
feeMarginPercentage?: number;
|
|
1193
1181
|
};
|
|
1182
|
+
type TGetMaxNativeTransferableAmountOptionsBase = {
|
|
1183
|
+
/**
|
|
1184
|
+
* The address of the account.
|
|
1185
|
+
*/
|
|
1186
|
+
address: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* The node on which to query the balance.
|
|
1189
|
+
*/
|
|
1190
|
+
node: TNodeDotKsmWithRelayChains;
|
|
1191
|
+
/**
|
|
1192
|
+
* The currency to query.
|
|
1193
|
+
*/
|
|
1194
|
+
currency?: {
|
|
1195
|
+
symbol: string;
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
type TGetMaxForeignTransferableAmountOptionsBase = {
|
|
1199
|
+
/**
|
|
1200
|
+
* The address of the account.
|
|
1201
|
+
*/
|
|
1202
|
+
address: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* The node on which to query the balance.
|
|
1205
|
+
*/
|
|
1206
|
+
node: TNodePolkadotKusama;
|
|
1207
|
+
/**
|
|
1208
|
+
* The currency to query.
|
|
1209
|
+
*/
|
|
1210
|
+
currency: TCurrencyCore;
|
|
1211
|
+
};
|
|
1212
|
+
type TGetTransferableAmountOptionsBase = {
|
|
1213
|
+
/**
|
|
1214
|
+
* The address of the account.
|
|
1215
|
+
*/
|
|
1216
|
+
address: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* The node on which to query the balance.
|
|
1219
|
+
*/
|
|
1220
|
+
node: TNodeDotKsmWithRelayChains;
|
|
1221
|
+
/**
|
|
1222
|
+
* The currency to query.
|
|
1223
|
+
*/
|
|
1224
|
+
currency: TCurrencyCore;
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* Retrieves the existential deposit value for a given node.
|
|
1229
|
+
*
|
|
1230
|
+
* @param node - The node for which to get the existential deposit.
|
|
1231
|
+
* @returns The existential deposit as a string if available; otherwise, null.
|
|
1232
|
+
*/
|
|
1233
|
+
declare const getExistentialDeposit: (node: TNodeWithRelayChains, currency?: TCurrencyCore) => string | null;
|
|
1194
1234
|
|
|
1195
1235
|
/**
|
|
1196
1236
|
* Retrieves the assets object for a given node containing the native and foreign assets.
|
|
@@ -1274,14 +1314,6 @@ declare const getAssetDecimals: (node: TNodeWithRelayChains, symbol: string) =>
|
|
|
1274
1314
|
*/
|
|
1275
1315
|
declare const getTNode: (paraId: number, ecosystem: TRelayChainType) => TNodeDotKsmWithRelayChains | null;
|
|
1276
1316
|
|
|
1277
|
-
/**
|
|
1278
|
-
* Retrieves the existential deposit value for a given node.
|
|
1279
|
-
*
|
|
1280
|
-
* @param node - The node for which to get the existential deposit.
|
|
1281
|
-
* @returns The existential deposit as a string if available; otherwise, null.
|
|
1282
|
-
*/
|
|
1283
|
-
declare const getExistentialDeposit: (node: TNodeDotKsmWithRelayChains) => string | null;
|
|
1284
|
-
|
|
1285
1317
|
declare const Native: (symbol: string) => TSymbolSpecifier;
|
|
1286
1318
|
declare const Foreign: (symbol: string) => TSymbolSpecifier;
|
|
1287
1319
|
declare const ForeignAbstract: (symbol: string) => TSymbolSpecifier;
|
|
@@ -1340,6 +1372,15 @@ declare const claimAssets: (options: TAssetClaimOptionsBase & {
|
|
|
1340
1372
|
declare const getOriginFeeDetails: (options: TGetOriginFeeDetailsOptionsBase & {
|
|
1341
1373
|
api?: TPjsApiOrUrl;
|
|
1342
1374
|
}) => Promise<TOriginFeeDetails>;
|
|
1375
|
+
declare const getMaxNativeTransferableAmount: (options: TGetMaxNativeTransferableAmountOptionsBase & {
|
|
1376
|
+
api?: TPjsApiOrUrl;
|
|
1377
|
+
}) => Promise<bigint>;
|
|
1378
|
+
declare const getMaxForeignTransferableAmount: (options: TGetMaxForeignTransferableAmountOptionsBase & {
|
|
1379
|
+
api?: TPjsApiOrUrl;
|
|
1380
|
+
}) => Promise<bigint>;
|
|
1381
|
+
declare const getTransferableAmount: (options: TGetTransferableAmountOptionsBase & {
|
|
1382
|
+
api?: TPjsApiOrUrl;
|
|
1383
|
+
}) => Promise<bigint>;
|
|
1343
1384
|
|
|
1344
1385
|
declare const assets_Foreign: typeof Foreign;
|
|
1345
1386
|
declare const assets_ForeignAbstract: typeof ForeignAbstract;
|
|
@@ -1355,6 +1396,8 @@ declare const assets_getAssetsObject: typeof getAssetsObject;
|
|
|
1355
1396
|
declare const assets_getBalanceForeign: typeof getBalanceForeign;
|
|
1356
1397
|
declare const assets_getBalanceNative: typeof getBalanceNative;
|
|
1357
1398
|
declare const assets_getExistentialDeposit: typeof getExistentialDeposit;
|
|
1399
|
+
declare const assets_getMaxForeignTransferableAmount: typeof getMaxForeignTransferableAmount;
|
|
1400
|
+
declare const assets_getMaxNativeTransferableAmount: typeof getMaxNativeTransferableAmount;
|
|
1358
1401
|
declare const assets_getNativeAssetSymbol: typeof getNativeAssetSymbol;
|
|
1359
1402
|
declare const assets_getNativeAssets: typeof getNativeAssets;
|
|
1360
1403
|
declare const assets_getOriginFeeDetails: typeof getOriginFeeDetails;
|
|
@@ -1363,10 +1406,11 @@ declare const assets_getRelayChainSymbol: typeof getRelayChainSymbol;
|
|
|
1363
1406
|
declare const assets_getSupportedAssets: typeof getSupportedAssets;
|
|
1364
1407
|
declare const assets_getTNode: typeof getTNode;
|
|
1365
1408
|
declare const assets_getTransferInfo: typeof getTransferInfo;
|
|
1409
|
+
declare const assets_getTransferableAmount: typeof getTransferableAmount;
|
|
1366
1410
|
declare const assets_hasSupportForAsset: typeof hasSupportForAsset;
|
|
1367
1411
|
declare const assets_isNodeEvm: typeof isNodeEvm;
|
|
1368
1412
|
declare namespace assets {
|
|
1369
|
-
export { assets_Foreign as Foreign, assets_ForeignAbstract as ForeignAbstract, assets_Native as Native, assets_Override as Override, assets_claimAssets as claimAssets, assets_getAllAssetsSymbols as getAllAssetsSymbols, assets_getAssetBalance as getAssetBalance, assets_getAssetDecimals as getAssetDecimals, assets_getAssetId as getAssetId, assets_getAssets as getAssets, assets_getAssetsObject as getAssetsObject, assets_getBalanceForeign as getBalanceForeign, assets_getBalanceNative as getBalanceNative, assets_getExistentialDeposit as getExistentialDeposit, assets_getNativeAssetSymbol as getNativeAssetSymbol, assets_getNativeAssets as getNativeAssets, assets_getOriginFeeDetails as getOriginFeeDetails, assets_getOtherAssets as getOtherAssets, assets_getRelayChainSymbol as getRelayChainSymbol, assets_getSupportedAssets as getSupportedAssets, assets_getTNode as getTNode, assets_getTransferInfo as getTransferInfo, assets_hasSupportForAsset as hasSupportForAsset, assets_isNodeEvm as isNodeEvm };
|
|
1413
|
+
export { assets_Foreign as Foreign, assets_ForeignAbstract as ForeignAbstract, assets_Native as Native, assets_Override as Override, assets_claimAssets as claimAssets, assets_getAllAssetsSymbols as getAllAssetsSymbols, assets_getAssetBalance as getAssetBalance, assets_getAssetDecimals as getAssetDecimals, assets_getAssetId as getAssetId, assets_getAssets as getAssets, assets_getAssetsObject as getAssetsObject, assets_getBalanceForeign as getBalanceForeign, assets_getBalanceNative as getBalanceNative, assets_getExistentialDeposit as getExistentialDeposit, assets_getMaxForeignTransferableAmount as getMaxForeignTransferableAmount, assets_getMaxNativeTransferableAmount as getMaxNativeTransferableAmount, assets_getNativeAssetSymbol as getNativeAssetSymbol, assets_getNativeAssets as getNativeAssets, assets_getOriginFeeDetails as getOriginFeeDetails, assets_getOtherAssets as getOtherAssets, assets_getRelayChainSymbol as getRelayChainSymbol, assets_getSupportedAssets as getSupportedAssets, assets_getTNode as getTNode, assets_getTransferInfo as getTransferInfo, assets_getTransferableAmount as getTransferableAmount, assets_hasSupportForAsset as hasSupportForAsset, assets_isNodeEvm as isNodeEvm };
|
|
1370
1414
|
}
|
|
1371
1415
|
|
|
1372
1416
|
/**
|
|
@@ -1730,4 +1774,4 @@ declare const getNodeProvider: (node: TNodeDotKsmWithRelayChains) => string;
|
|
|
1730
1774
|
*/
|
|
1731
1775
|
declare const getParaId: (node: TNodeDotKsmWithRelayChains) => number;
|
|
1732
1776
|
|
|
1733
|
-
export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, EvmBuilder, type Extrinsic, Foreign, ForeignAbstract, GeneralBuilder, type IPolkadotXCMTransfer, type IXTokensTransfer, type IXTransferTransfer, IncompatibleNodesError, InvalidAddressError, InvalidCurrencyError, NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Native, NoXCMSupportImplementedError, NodeNotSupportedError, Override, Parents, SUPPORTED_PALLETS, ScenarioNotSupportedError, type TAddress, type TAmount, type TAsset, type TAssetJsonMap, type TBatchOptions, type TBifrostToken, type TCheckKeepAliveOptions, type TCurrency, type TCurrencyCore, type TCurrencyCoreV1, type TCurrencyInput, type TCurrencySelection, type TCurrencySelectionHeader, type TCurrencySelectionHeaderArr, type TCurrencySelectionV4, type TCurrencySymbol, type TCurrencySymbolValue, type TDestWeight, type TDestination, type TEdJsonMap, type TEvmBuilderOptions, type TForeignAsset, type TForeignAssetId, type TForeignOrNativeAsset, type TForeignOrTokenAsset, type TGetTransferInfoOptions, type TGetTransferInfoOptionsBase, type THexString$1 as THexString, type TJunction, type TJunctionParachain, type TJunctionType, type TJunctions, type TMantaAsset, type TMultiAsset, type TMultiAssetV3, type TMultiAssetV4, type TMultiLocation, type TMultiLocationHeader, type TMultiLocationValue, type TMultiLocationValueWithOverride, type TNativeAsset, type TNativeTokenAsset, type TNode, type TNodeAssets, type TNodeConfig, type TNodeConfigMap, type TNodeDotKsmWithRelayChains, type TNodePolkadotKusama, type TNodeWithRelayChains, type TNodleAsset, type TOptionalEvmBuilderOptions, type TOriginFeeDetails, type TOtherReserveAsset, type TOverrideMultiLocationSpecifier, type TPallet, type TPalletJsonMap, type TPalletMap, type TPjsApi, type TPjsApiOrUrl, type TPolkadotXCMTransferOptions, type TPolkadotXcmSection, type TProviderEntry, type TRelayChainSymbol, type TRelayChainType, type TRelayToParaDestination, type TRelayToParaOptions, type TRelayToParaOverrides, type TReserveAsset, type TScenario, type TSelfReserveAsset, type TSendBaseOptions, type TSendInternalOptions, type TSendOptions, type TSerializeEthTransferOptions, type TSerializedApiCall, type TSerializedEthTransfer, type TSymbolSpecifier, type TTransferInfo, type TVersionClaimAssets, type TXTokensCurrencySelection, type TXTokensSection, type TXTokensTransferOptions, type TXTransferSection, type TXTransferTransferOptions, type TXcmAsset, type TXcmForeignAsset, type TXcmPalletSection, type TZeitgeistAsset, type UseKeepAliveFinalBuilder, Version, assets, buildEthTransferOptions, claimAssets, createApiInstanceForNode, createPolkadotJsApiCall, determineRelayChain, getAllAssetsSymbols, getAssetBalance, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getBalanceForeign, getBalanceNative, getDefaultPallet, getExistentialDeposit, getNativeAssetSymbol, getNativeAssets, getNode, getNodeConfig, getNodeProvider, getNodeProviders, getOriginFeeDetails, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedAssets, getSupportedPallets, getTNode, getTransferInfo, hasSupportForAsset, isForeignAsset, isNodeEvm, isRelayChain, send, transferRelayToPara, transfer as xcmPallet };
|
|
1777
|
+
export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, EvmBuilder, type Extrinsic, Foreign, ForeignAbstract, GeneralBuilder, type IPolkadotXCMTransfer, type IXTokensTransfer, type IXTransferTransfer, IncompatibleNodesError, InvalidAddressError, InvalidCurrencyError, NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Native, NoXCMSupportImplementedError, NodeNotSupportedError, Override, Parents, SUPPORTED_PALLETS, ScenarioNotSupportedError, type TAddress, type TAmount, type TAsset, type TAssetJsonMap, type TBatchOptions, type TBifrostToken, type TCheckKeepAliveOptions, type TCurrency, type TCurrencyCore, type TCurrencyCoreV1, type TCurrencyInput, type TCurrencySelection, type TCurrencySelectionHeader, type TCurrencySelectionHeaderArr, type TCurrencySelectionV4, type TCurrencySymbol, type TCurrencySymbolValue, type TDestWeight, type TDestination, type TEdJsonMap, type TEvmBuilderOptions, type TForeignAsset, type TForeignAssetId, type TForeignOrNativeAsset, type TForeignOrTokenAsset, type TGetTransferInfoOptions, type TGetTransferInfoOptionsBase, type THexString$1 as THexString, type TJunction, type TJunctionParachain, type TJunctionType, type TJunctions, type TMantaAsset, type TMultiAsset, type TMultiAssetV3, type TMultiAssetV4, type TMultiLocation, type TMultiLocationHeader, type TMultiLocationValue, type TMultiLocationValueWithOverride, type TNativeAsset, type TNativeTokenAsset, type TNode, type TNodeAssets, type TNodeConfig, type TNodeConfigMap, type TNodeDotKsmWithRelayChains, type TNodePolkadotKusama, type TNodeWithRelayChains, type TNodleAsset, type TOptionalEvmBuilderOptions, type TOriginFeeDetails, type TOtherReserveAsset, type TOverrideMultiLocationSpecifier, type TPallet, type TPalletJsonMap, type TPalletMap, type TPjsApi, type TPjsApiOrUrl, type TPolkadotXCMTransferOptions, type TPolkadotXcmSection, type TProviderEntry, type TRelayChainSymbol, type TRelayChainType, type TRelayToParaDestination, type TRelayToParaOptions, type TRelayToParaOverrides, type TReserveAsset, type TScenario, type TSelfReserveAsset, type TSendBaseOptions, type TSendInternalOptions, type TSendOptions, type TSerializeEthTransferOptions, type TSerializedApiCall, type TSerializedEthTransfer, type TSymbolSpecifier, type TTransferInfo, type TVersionClaimAssets, type TXTokensCurrencySelection, type TXTokensSection, type TXTokensTransferOptions, type TXTransferSection, type TXTransferTransferOptions, type TXcmAsset, type TXcmForeignAsset, type TXcmPalletSection, type TZeitgeistAsset, type UseKeepAliveFinalBuilder, Version, assets, buildEthTransferOptions, claimAssets, createApiInstanceForNode, createPolkadotJsApiCall, determineRelayChain, getAllAssetsSymbols, getAssetBalance, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getBalanceForeign, getBalanceNative, getDefaultPallet, getExistentialDeposit, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getNativeAssetSymbol, getNativeAssets, getNode, getNodeConfig, getNodeProvider, getNodeProviders, getOriginFeeDetails, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedAssets, getSupportedPallets, getTNode, getTransferInfo, getTransferableAmount, hasSupportForAsset, isForeignAsset, isNodeEvm, isRelayChain, send, transferRelayToPara, transfer as xcmPallet };
|