@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/papi/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ interface IPolkadotApi<TApi, TRes> {
|
|
|
17
17
|
callTxMethod(serializedCall: TSerializedApiCall): TRes;
|
|
18
18
|
calculateTransactionFee(tx: TRes, address: string): Promise<bigint>;
|
|
19
19
|
getBalanceNative(address: string): Promise<bigint>;
|
|
20
|
+
getBalanceNativeAcala(address: string, symbol: string): Promise<bigint>;
|
|
20
21
|
getBalanceForeignPolkadotXcm(address: string, id?: string): Promise<bigint>;
|
|
21
22
|
getMythosForeignBalance(address: string): Promise<bigint>;
|
|
22
23
|
getAssetHubForeignBalance(address: string, multiLocation: TMultiLocation): Promise<bigint>;
|
|
@@ -131,6 +132,7 @@ declare class Centrifuge<TApi, TRes> extends ParachainNode<TApi, TRes> implement
|
|
|
131
132
|
constructor();
|
|
132
133
|
private getCurrencySelection;
|
|
133
134
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
135
|
+
getProvider(): string;
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
declare class ComposableFinance<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
@@ -201,11 +203,6 @@ declare class BifrostKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implem
|
|
|
201
203
|
getProvider(): string;
|
|
202
204
|
}
|
|
203
205
|
|
|
204
|
-
declare class Pioneer<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
205
|
-
constructor();
|
|
206
|
-
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
206
|
declare class Turing<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
210
207
|
constructor();
|
|
211
208
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
@@ -250,12 +247,6 @@ declare class Imbue<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXT
|
|
|
250
247
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
251
248
|
}
|
|
252
249
|
|
|
253
|
-
declare class Integritee<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
254
|
-
constructor();
|
|
255
|
-
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
256
|
-
transferRelayToPara(): TSerializedApiCall;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
250
|
declare class InvArchTinker<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
260
251
|
constructor();
|
|
261
252
|
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
@@ -322,6 +313,7 @@ declare class PeoplePolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> imple
|
|
|
322
313
|
constructor();
|
|
323
314
|
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
324
315
|
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
316
|
+
getProvider(): string;
|
|
325
317
|
}
|
|
326
318
|
|
|
327
319
|
declare class PeopleKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
@@ -455,14 +447,13 @@ type AtLeastOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Ke
|
|
|
455
447
|
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
|
|
456
448
|
}[Keys];
|
|
457
449
|
type TBaseAsset = {
|
|
458
|
-
symbol
|
|
450
|
+
symbol: string;
|
|
459
451
|
decimals?: number;
|
|
460
452
|
manuallyAdded?: boolean;
|
|
461
453
|
alias?: string;
|
|
454
|
+
existentialDeposit?: string;
|
|
462
455
|
};
|
|
463
|
-
type TNativeAsset = TBaseAsset
|
|
464
|
-
symbol: string;
|
|
465
|
-
};
|
|
456
|
+
type TNativeAsset = TBaseAsset;
|
|
466
457
|
type TForeignAsset = TBaseAsset & AtLeastOne<{
|
|
467
458
|
assetId?: string;
|
|
468
459
|
multiLocation?: object;
|
|
@@ -783,12 +774,6 @@ declare class Pendulum<TApi, TRes> extends ParachainNode<TApi, TRes> implements
|
|
|
783
774
|
transferRelayToPara(): TSerializedApiCall;
|
|
784
775
|
}
|
|
785
776
|
|
|
786
|
-
declare class Polkadex<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
787
|
-
constructor();
|
|
788
|
-
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
789
|
-
getProvider(): string;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
777
|
declare class Zeitgeist<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
793
778
|
constructor();
|
|
794
779
|
private getCurrencySelection;
|
|
@@ -867,19 +852,19 @@ declare class Polimec<TApi, TRes> extends ParachainNode<TApi, TRes> implements I
|
|
|
867
852
|
/**
|
|
868
853
|
* Supported nodes excluding relay chains and Ethereum.
|
|
869
854
|
*/
|
|
870
|
-
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", "
|
|
855
|
+
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"];
|
|
871
856
|
/**
|
|
872
857
|
* Supported nodes including Ethereum.
|
|
873
858
|
*/
|
|
874
|
-
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", "
|
|
859
|
+
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"];
|
|
875
860
|
/**
|
|
876
861
|
* Supported nodes including relay chains and Ethereum.
|
|
877
862
|
*/
|
|
878
|
-
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", "
|
|
863
|
+
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"];
|
|
879
864
|
/**
|
|
880
865
|
* Supported nodes including relay chains and excluding Ethereum.
|
|
881
866
|
*/
|
|
882
|
-
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", "
|
|
867
|
+
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"];
|
|
883
868
|
declare const nodes: <TApi, TRes>() => {
|
|
884
869
|
AssetHubPolkadot: AssetHubPolkadot<TApi, TRes>;
|
|
885
870
|
Acala: Acala<TApi, TRes>;
|
|
@@ -907,12 +892,10 @@ declare const nodes: <TApi, TRes>() => {
|
|
|
907
892
|
Bajun: Bajun<TApi, TRes>;
|
|
908
893
|
Basilisk: Basilisk<TApi, TRes>;
|
|
909
894
|
BifrostKusama: BifrostKusama<TApi, TRes>;
|
|
910
|
-
Pioneer: Pioneer<TApi, TRes>;
|
|
911
895
|
Calamari: Calamari<TApi, TRes>;
|
|
912
896
|
CrustShadow: CrustShadow<TApi, TRes>;
|
|
913
897
|
Crab: Crab<TApi, TRes>;
|
|
914
898
|
Imbue: Imbue<TApi, TRes>;
|
|
915
|
-
Integritee: Integritee<TApi, TRes>;
|
|
916
899
|
InvArchTinker: InvArchTinker<TApi, TRes>;
|
|
917
900
|
Karura: Karura<TApi, TRes>;
|
|
918
901
|
Kintsugi: Kintsugi<TApi, TRes>;
|
|
@@ -930,7 +913,6 @@ declare const nodes: <TApi, TRes>() => {
|
|
|
930
913
|
Nodle: Nodle<TApi, TRes>;
|
|
931
914
|
NeuroWeb: NeuroWeb<TApi, TRes>;
|
|
932
915
|
Pendulum: Pendulum<TApi, TRes>;
|
|
933
|
-
Polkadex: Polkadex<TApi, TRes>;
|
|
934
916
|
Zeitgeist: Zeitgeist<TApi, TRes>;
|
|
935
917
|
Collectives: Collectives<TApi, TRes>;
|
|
936
918
|
Khala: Khala<TApi, TRes>;
|
|
@@ -1111,6 +1093,12 @@ type TGetBalanceNativeOptionsBase = {
|
|
|
1111
1093
|
* The node on which to query the balance.
|
|
1112
1094
|
*/
|
|
1113
1095
|
node: TNodeDotKsmWithRelayChains;
|
|
1096
|
+
/**
|
|
1097
|
+
* The native currency to query.
|
|
1098
|
+
*/
|
|
1099
|
+
currency?: {
|
|
1100
|
+
symbol: string;
|
|
1101
|
+
};
|
|
1114
1102
|
};
|
|
1115
1103
|
/**
|
|
1116
1104
|
* Retrieves the balance of a foreign asset for a given account on a specified node.
|
|
@@ -1173,6 +1161,58 @@ type TGetOriginFeeDetailsOptionsBase = {
|
|
|
1173
1161
|
*/
|
|
1174
1162
|
feeMarginPercentage?: number;
|
|
1175
1163
|
};
|
|
1164
|
+
type TGetMaxNativeTransferableAmountOptionsBase = {
|
|
1165
|
+
/**
|
|
1166
|
+
* The address of the account.
|
|
1167
|
+
*/
|
|
1168
|
+
address: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* The node on which to query the balance.
|
|
1171
|
+
*/
|
|
1172
|
+
node: TNodeDotKsmWithRelayChains;
|
|
1173
|
+
/**
|
|
1174
|
+
* The currency to query.
|
|
1175
|
+
*/
|
|
1176
|
+
currency?: {
|
|
1177
|
+
symbol: string;
|
|
1178
|
+
};
|
|
1179
|
+
};
|
|
1180
|
+
type TGetMaxForeignTransferableAmountOptionsBase = {
|
|
1181
|
+
/**
|
|
1182
|
+
* The address of the account.
|
|
1183
|
+
*/
|
|
1184
|
+
address: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* The node on which to query the balance.
|
|
1187
|
+
*/
|
|
1188
|
+
node: TNodePolkadotKusama;
|
|
1189
|
+
/**
|
|
1190
|
+
* The currency to query.
|
|
1191
|
+
*/
|
|
1192
|
+
currency: TCurrencyCore;
|
|
1193
|
+
};
|
|
1194
|
+
type TGetTransferableAmountOptionsBase = {
|
|
1195
|
+
/**
|
|
1196
|
+
* The address of the account.
|
|
1197
|
+
*/
|
|
1198
|
+
address: string;
|
|
1199
|
+
/**
|
|
1200
|
+
* The node on which to query the balance.
|
|
1201
|
+
*/
|
|
1202
|
+
node: TNodeDotKsmWithRelayChains;
|
|
1203
|
+
/**
|
|
1204
|
+
* The currency to query.
|
|
1205
|
+
*/
|
|
1206
|
+
currency: TCurrencyCore;
|
|
1207
|
+
};
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Retrieves the existential deposit value for a given node.
|
|
1211
|
+
*
|
|
1212
|
+
* @param node - The node for which to get the existential deposit.
|
|
1213
|
+
* @returns The existential deposit as a string if available; otherwise, null.
|
|
1214
|
+
*/
|
|
1215
|
+
declare const getExistentialDeposit: (node: TNodeWithRelayChains, currency?: TCurrencyCore) => string | null;
|
|
1176
1216
|
|
|
1177
1217
|
/**
|
|
1178
1218
|
* Retrieves the assets object for a given node containing the native and foreign assets.
|
|
@@ -1256,14 +1296,6 @@ declare const getAssetDecimals: (node: TNodeWithRelayChains, symbol: string) =>
|
|
|
1256
1296
|
*/
|
|
1257
1297
|
declare const getTNode: (paraId: number, ecosystem: TRelayChainType) => TNodeDotKsmWithRelayChains | null;
|
|
1258
1298
|
|
|
1259
|
-
/**
|
|
1260
|
-
* Retrieves the existential deposit value for a given node.
|
|
1261
|
-
*
|
|
1262
|
-
* @param node - The node for which to get the existential deposit.
|
|
1263
|
-
* @returns The existential deposit as a string if available; otherwise, null.
|
|
1264
|
-
*/
|
|
1265
|
-
declare const getExistentialDeposit: (node: TNodeDotKsmWithRelayChains) => string | null;
|
|
1266
|
-
|
|
1267
1299
|
declare const Native: (symbol: string) => TSymbolSpecifier;
|
|
1268
1300
|
declare const Foreign: (symbol: string) => TSymbolSpecifier;
|
|
1269
1301
|
declare const ForeignAbstract: (symbol: string) => TSymbolSpecifier;
|
|
@@ -1322,6 +1354,15 @@ declare const claimAssets: (options: TAssetClaimOptionsBase & {
|
|
|
1322
1354
|
declare const getOriginFeeDetails: (options: TGetOriginFeeDetailsOptionsBase & {
|
|
1323
1355
|
api?: TPapiApiOrUrl;
|
|
1324
1356
|
}) => Promise<TOriginFeeDetails>;
|
|
1357
|
+
declare const getMaxNativeTransferableAmount: (options: TGetMaxNativeTransferableAmountOptionsBase & {
|
|
1358
|
+
api?: TPapiApiOrUrl;
|
|
1359
|
+
}) => Promise<bigint>;
|
|
1360
|
+
declare const getMaxForeignTransferableAmount: (options: TGetMaxForeignTransferableAmountOptionsBase & {
|
|
1361
|
+
api?: TPapiApiOrUrl;
|
|
1362
|
+
}) => Promise<bigint>;
|
|
1363
|
+
declare const getTransferableAmount: (options: TGetTransferableAmountOptionsBase & {
|
|
1364
|
+
api?: TPapiApiOrUrl;
|
|
1365
|
+
}) => Promise<bigint>;
|
|
1325
1366
|
|
|
1326
1367
|
declare const assets_Foreign: typeof Foreign;
|
|
1327
1368
|
declare const assets_ForeignAbstract: typeof ForeignAbstract;
|
|
@@ -1337,6 +1378,8 @@ declare const assets_getAssetsObject: typeof getAssetsObject;
|
|
|
1337
1378
|
declare const assets_getBalanceForeign: typeof getBalanceForeign;
|
|
1338
1379
|
declare const assets_getBalanceNative: typeof getBalanceNative;
|
|
1339
1380
|
declare const assets_getExistentialDeposit: typeof getExistentialDeposit;
|
|
1381
|
+
declare const assets_getMaxForeignTransferableAmount: typeof getMaxForeignTransferableAmount;
|
|
1382
|
+
declare const assets_getMaxNativeTransferableAmount: typeof getMaxNativeTransferableAmount;
|
|
1340
1383
|
declare const assets_getNativeAssetSymbol: typeof getNativeAssetSymbol;
|
|
1341
1384
|
declare const assets_getNativeAssets: typeof getNativeAssets;
|
|
1342
1385
|
declare const assets_getOriginFeeDetails: typeof getOriginFeeDetails;
|
|
@@ -1345,10 +1388,11 @@ declare const assets_getRelayChainSymbol: typeof getRelayChainSymbol;
|
|
|
1345
1388
|
declare const assets_getSupportedAssets: typeof getSupportedAssets;
|
|
1346
1389
|
declare const assets_getTNode: typeof getTNode;
|
|
1347
1390
|
declare const assets_getTransferInfo: typeof getTransferInfo;
|
|
1391
|
+
declare const assets_getTransferableAmount: typeof getTransferableAmount;
|
|
1348
1392
|
declare const assets_hasSupportForAsset: typeof hasSupportForAsset;
|
|
1349
1393
|
declare const assets_isNodeEvm: typeof isNodeEvm;
|
|
1350
1394
|
declare namespace assets {
|
|
1351
|
-
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 };
|
|
1395
|
+
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 };
|
|
1352
1396
|
}
|
|
1353
1397
|
|
|
1354
1398
|
/**
|
|
@@ -1712,4 +1756,4 @@ declare const getNodeProvider: (node: TNodeDotKsmWithRelayChains) => string;
|
|
|
1712
1756
|
*/
|
|
1713
1757
|
declare const getParaId: (node: TNodeDotKsmWithRelayChains) => number;
|
|
1714
1758
|
|
|
1715
|
-
export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, EvmBuilder, 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 TPapiApi, type TPapiApiOrUrl, type TPapiTransaction, 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, createPapiApiCall, 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, index as xcmPallet };
|
|
1759
|
+
export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, EvmBuilder, 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 TPapiApi, type TPapiApiOrUrl, type TPapiTransaction, 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, createPapiApiCall, 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, index as xcmPallet };
|