@paraspell/sdk 7.2.3 → 7.2.4
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.cjs +784 -781
- package/dist/index.d.ts +155 -147
- package/dist/index.mjs +784 -781
- package/dist/papi/index.cjs +784 -781
- package/dist/papi/index.d.ts +156 -147
- package/dist/papi/index.mjs +784 -781
- package/package.json +1 -1
package/dist/papi/index.d.ts
CHANGED
|
@@ -10,9 +10,10 @@ type TApiOrUrl<TApi> = TApi | string;
|
|
|
10
10
|
interface IPolkadotApi<TApi, TRes> {
|
|
11
11
|
setApi(api?: TApiOrUrl<TApi>): void;
|
|
12
12
|
getApi(): TApi;
|
|
13
|
+
getApiOrUrl(): TApiOrUrl<TApi> | undefined;
|
|
13
14
|
init(node: TNodeWithRelayChains): Promise<void>;
|
|
14
15
|
createApiInstance: (wsUrl: string) => Promise<TApi>;
|
|
15
|
-
createAccountId(address: string):
|
|
16
|
+
createAccountId(address: string): THexString$1;
|
|
16
17
|
callTxMethod(serializedCall: TSerializedApiCall): TRes;
|
|
17
18
|
calculateTransactionFee(tx: TRes, address: string): Promise<bigint>;
|
|
18
19
|
getBalanceNative(address: string): Promise<bigint>;
|
|
@@ -45,6 +46,7 @@ declare abstract class ParachainNode<TApi, TRes> {
|
|
|
45
46
|
get assetCheckEnabled(): boolean;
|
|
46
47
|
protected canUseXTokens(_: TSendInternalOptions<TApi, TRes>): boolean;
|
|
47
48
|
transfer(options: TSendInternalOptions<TApi, TRes>): Promise<TRes>;
|
|
49
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
48
50
|
transferRelayToPara(options: TRelayToParaOptions<TApi, TRes>): TSerializedApiCall;
|
|
49
51
|
getProvider(): string;
|
|
50
52
|
createApiInstance(api: IPolkadotApi<TApi, TRes>): Promise<TApi>;
|
|
@@ -55,19 +57,19 @@ declare abstract class ParachainNode<TApi, TRes> {
|
|
|
55
57
|
|
|
56
58
|
declare class Acala<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
57
59
|
constructor();
|
|
58
|
-
transferXTokens<TApi, TRes>(input:
|
|
60
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
59
61
|
getProvider(): string;
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
declare class Unique<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
63
65
|
constructor();
|
|
64
|
-
transferXTokens<TApi, TRes>(input:
|
|
66
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
declare class Crust<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
68
70
|
constructor();
|
|
69
71
|
private getCurrencySelection;
|
|
70
|
-
transferXTokens<TApi, TRes>(input:
|
|
72
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
declare class BifrostPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer, IPolkadotXCMTransfer {
|
|
@@ -115,8 +117,8 @@ declare class BifrostPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> impl
|
|
|
115
117
|
VSToken2?: undefined;
|
|
116
118
|
VToken2?: undefined;
|
|
117
119
|
};
|
|
118
|
-
transferXTokens<TApi, TRes>(input:
|
|
119
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
120
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
121
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
120
122
|
protected canUseXTokens({ asset, destination }: TSendInternalOptions<TApi, TRes>): boolean;
|
|
121
123
|
getProvider(): string;
|
|
122
124
|
}
|
|
@@ -128,209 +130,210 @@ declare class Bitgreen<TApi, TRes> extends ParachainNode<TApi, TRes> {
|
|
|
128
130
|
declare class Centrifuge<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
129
131
|
constructor();
|
|
130
132
|
private getCurrencySelection;
|
|
131
|
-
transferXTokens<TApi, TRes>(input:
|
|
133
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
declare class ComposableFinance<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
135
137
|
constructor();
|
|
136
|
-
transferXTokens<TApi, TRes>(input:
|
|
138
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
declare class Hydration<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer, IPolkadotXCMTransfer {
|
|
140
142
|
private static NATIVE_ASSET_ID;
|
|
141
143
|
constructor();
|
|
142
|
-
transferToEthereum<TApi, TRes>(input:
|
|
143
|
-
transferToAssetHub<TApi, TRes>(input:
|
|
144
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
145
|
-
transferXTokens<TApi, TRes>(input:
|
|
144
|
+
transferToEthereum<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
145
|
+
transferToAssetHub<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TRes;
|
|
146
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
147
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
146
148
|
protected canUseXTokens({ destination, asset }: TSendInternalOptions<TApi, TRes>): boolean;
|
|
147
149
|
getProvider(): string;
|
|
148
150
|
}
|
|
149
151
|
|
|
150
152
|
declare class Interlay<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
151
153
|
constructor();
|
|
152
|
-
transferXTokens<TApi, TRes>(input:
|
|
154
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
declare class Litentry<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
156
158
|
constructor();
|
|
157
|
-
transferXTokens<TApi, TRes>(input:
|
|
159
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
158
160
|
}
|
|
159
161
|
|
|
160
162
|
declare class Moonbeam<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
161
163
|
constructor();
|
|
162
164
|
private getJunctions;
|
|
163
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
164
|
-
|
|
165
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
166
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
165
167
|
getProvider(): string;
|
|
166
168
|
}
|
|
167
169
|
|
|
168
170
|
declare class Parallel<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
169
171
|
constructor();
|
|
170
|
-
transferXTokens<TApi, TRes>(input:
|
|
172
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
171
173
|
}
|
|
172
174
|
|
|
173
175
|
declare class Altair<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
174
176
|
constructor();
|
|
175
177
|
private getCurrencySelection;
|
|
176
|
-
transferXTokens<TApi, TRes>(input:
|
|
178
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
177
179
|
}
|
|
178
180
|
|
|
179
181
|
declare class Amplitude<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
180
182
|
constructor();
|
|
181
|
-
transferXTokens<TApi, TRes>(input:
|
|
183
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
182
184
|
}
|
|
183
185
|
|
|
184
186
|
declare class Bajun<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
185
187
|
constructor();
|
|
186
|
-
transferXTokens<TApi, TRes>(input:
|
|
188
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
187
189
|
transferRelayToPara(): TSerializedApiCall;
|
|
188
190
|
}
|
|
189
191
|
|
|
190
192
|
declare class Basilisk<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
191
193
|
constructor();
|
|
192
|
-
transferXTokens<TApi, TRes>(input:
|
|
194
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
193
195
|
getProvider(): string;
|
|
194
196
|
}
|
|
195
197
|
|
|
196
198
|
declare class BifrostKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
197
199
|
constructor();
|
|
198
|
-
transferXTokens<TApi, TRes>(input:
|
|
200
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
199
201
|
getProvider(): string;
|
|
200
202
|
}
|
|
201
203
|
|
|
202
204
|
declare class Pioneer<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
203
205
|
constructor();
|
|
204
|
-
transferXTokens<TApi, TRes>(input:
|
|
206
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
205
207
|
}
|
|
206
208
|
|
|
207
209
|
declare class Turing<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
208
210
|
constructor();
|
|
209
|
-
transferXTokens<TApi, TRes>(input:
|
|
211
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
210
212
|
}
|
|
211
213
|
|
|
212
214
|
declare class Picasso<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
213
215
|
constructor();
|
|
214
|
-
transferXTokens<TApi, TRes>(input:
|
|
216
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
215
217
|
}
|
|
216
218
|
|
|
217
219
|
declare class ParallelHeiko<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
218
220
|
constructor();
|
|
219
|
-
transferXTokens<TApi, TRes>(input:
|
|
221
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
220
222
|
}
|
|
221
223
|
|
|
222
224
|
declare class Moonriver<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
223
225
|
constructor();
|
|
224
226
|
private getJunctions;
|
|
225
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
226
|
-
|
|
227
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
228
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
227
229
|
getProvider(): string;
|
|
228
230
|
}
|
|
229
231
|
|
|
230
232
|
declare class Kintsugi<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
231
233
|
constructor();
|
|
232
|
-
transferXTokens<TApi, TRes>(input:
|
|
234
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
233
235
|
}
|
|
234
236
|
|
|
235
237
|
declare class Calamari<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
236
238
|
constructor();
|
|
237
|
-
transferXTokens<TApi, TRes>(input:
|
|
239
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
238
240
|
}
|
|
239
241
|
|
|
240
242
|
declare class CrustShadow<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
241
243
|
constructor();
|
|
242
244
|
private getCurrencySelection;
|
|
243
|
-
transferXTokens<TApi, TRes>(input:
|
|
245
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
244
246
|
}
|
|
245
247
|
|
|
246
248
|
declare class Imbue<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
247
249
|
constructor();
|
|
248
|
-
transferXTokens<TApi, TRes>(input:
|
|
250
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
249
251
|
}
|
|
250
252
|
|
|
251
253
|
declare class Integritee<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
252
254
|
constructor();
|
|
253
|
-
transferXTokens<TApi, TRes>(input:
|
|
255
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
254
256
|
transferRelayToPara(): TSerializedApiCall;
|
|
255
257
|
}
|
|
256
258
|
|
|
257
259
|
declare class InvArchTinker<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
258
260
|
constructor();
|
|
259
|
-
transferXTokens<TApi, TRes>(input:
|
|
261
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
260
262
|
}
|
|
261
263
|
|
|
262
264
|
declare class Karura<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
263
265
|
constructor();
|
|
264
|
-
transferXTokens<TApi, TRes>(input:
|
|
266
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
265
267
|
getProvider(): string;
|
|
266
268
|
}
|
|
267
269
|
|
|
268
270
|
declare class AssetHubPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
269
271
|
constructor();
|
|
270
|
-
handleBridgeTransfer<TApi, TRes>(input:
|
|
271
|
-
handleEthBridgeTransfer<TApi, TRes>(input:
|
|
272
|
-
handleMythosTransfer<TApi, TRes>(input:
|
|
273
|
-
handleBifrostEthTransfer: <TApi_1, TRes_1>(input:
|
|
274
|
-
patchInput<TApi, TRes>(input:
|
|
272
|
+
handleBridgeTransfer<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>, targetChain: 'Polkadot' | 'Kusama'): TRes;
|
|
273
|
+
handleEthBridgeTransfer<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TRes;
|
|
274
|
+
handleMythosTransfer<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TRes;
|
|
275
|
+
handleBifrostEthTransfer: <TApi_1, TRes_1>(input: TPolkadotXCMTransferOptions<TApi_1, TRes_1>) => TRes_1;
|
|
276
|
+
patchInput<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TPolkadotXCMTransferOptions<TApi, TRes>;
|
|
275
277
|
private getSection;
|
|
276
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
277
|
-
|
|
278
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
279
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
278
280
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, asset?: TAsset, overridedMultiLocation?: TMultiLocation | TMultiAsset[]): TCurrencySelectionHeaderArr;
|
|
281
|
+
getProvider(): string;
|
|
279
282
|
}
|
|
280
283
|
|
|
281
284
|
declare class AssetHubKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
282
285
|
constructor();
|
|
283
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
284
|
-
|
|
286
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
287
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
285
288
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, asset?: TAsset, overridedMultiLocation?: TMultiLocation | TMultiAsset[]): TCurrencySelectionHeaderArr;
|
|
286
289
|
}
|
|
287
290
|
|
|
288
291
|
declare class CoretimeKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
289
292
|
constructor();
|
|
290
293
|
_assetCheckEnabled: boolean;
|
|
291
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
292
|
-
|
|
294
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
295
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
293
296
|
}
|
|
294
297
|
|
|
295
298
|
declare class CoretimePolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
296
299
|
constructor();
|
|
297
300
|
_assetCheckEnabled: boolean;
|
|
298
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
299
|
-
|
|
301
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
302
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
300
303
|
}
|
|
301
304
|
|
|
302
305
|
declare class Encointer<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
303
306
|
constructor();
|
|
304
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
305
|
-
|
|
307
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
308
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
306
309
|
}
|
|
307
310
|
|
|
308
311
|
declare class RobonomicsKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
309
312
|
constructor();
|
|
310
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
313
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
311
314
|
}
|
|
312
315
|
|
|
313
316
|
declare class RobonomicsPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
314
317
|
constructor();
|
|
315
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
318
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
316
319
|
}
|
|
317
320
|
|
|
318
321
|
declare class PeoplePolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
319
322
|
constructor();
|
|
320
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
321
|
-
|
|
323
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
324
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
322
325
|
}
|
|
323
326
|
|
|
324
327
|
declare class PeopleKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
325
328
|
constructor();
|
|
326
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
327
|
-
|
|
329
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
330
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
328
331
|
}
|
|
329
332
|
|
|
330
333
|
declare class Astar<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer, IXTokensTransfer {
|
|
331
334
|
constructor();
|
|
332
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
333
|
-
transferXTokens<TApi, TRes>(input:
|
|
335
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
336
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
334
337
|
protected canUseXTokens({ asset }: TSendInternalOptions<TApi, TRes>): boolean;
|
|
335
338
|
}
|
|
336
339
|
|
|
@@ -475,8 +478,8 @@ type TNodeAssets = {
|
|
|
475
478
|
};
|
|
476
479
|
type TAssetJsonMap = Record<TNodeWithRelayChains, TNodeAssets>;
|
|
477
480
|
|
|
478
|
-
type
|
|
479
|
-
type
|
|
481
|
+
type THexString$1 = `0x${string}`;
|
|
482
|
+
type TPolkadotXCMTransferOptions<TApi, TRes> = {
|
|
480
483
|
api: IPolkadotApi<TApi, TRes>;
|
|
481
484
|
header: TMultiLocationHeader;
|
|
482
485
|
addressSelection: TMultiLocationHeader;
|
|
@@ -492,7 +495,7 @@ type PolkadotXCMTransferInput<TApi, TRes> = {
|
|
|
492
495
|
version?: Version;
|
|
493
496
|
ahAddress?: string;
|
|
494
497
|
};
|
|
495
|
-
type
|
|
498
|
+
type TXTokensTransferOptions<TApi, TRes> = {
|
|
496
499
|
api: IPolkadotApi<TApi, TRes>;
|
|
497
500
|
asset: TAsset;
|
|
498
501
|
amount: string;
|
|
@@ -505,7 +508,7 @@ type XTokensTransferInput<TApi, TRes> = {
|
|
|
505
508
|
overridedCurrencyMultiLocation?: TMultiLocation | TMultiAsset[];
|
|
506
509
|
feeAsset?: TCurrency;
|
|
507
510
|
};
|
|
508
|
-
type
|
|
511
|
+
type TXTransferTransferOptions<TApi, TRes> = {
|
|
509
512
|
api: IPolkadotApi<TApi, TRes>;
|
|
510
513
|
asset: TAsset;
|
|
511
514
|
amount: string;
|
|
@@ -515,15 +518,15 @@ type XTransferTransferInput<TApi, TRes> = {
|
|
|
515
518
|
destination?: TDestination;
|
|
516
519
|
overridedCurrencyMultiLocation?: TMultiLocation | TMultiAsset[];
|
|
517
520
|
};
|
|
518
|
-
|
|
519
|
-
transferPolkadotXCM: <TApi, TRes>(input:
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
transferXTokens: <TApi, TRes>(input:
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
transferXTransfer: <TApi, TRes>(input:
|
|
526
|
-
}
|
|
521
|
+
interface IPolkadotXCMTransfer {
|
|
522
|
+
transferPolkadotXCM: <TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>) => Promise<TRes>;
|
|
523
|
+
}
|
|
524
|
+
interface IXTokensTransfer {
|
|
525
|
+
transferXTokens: <TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>) => TRes;
|
|
526
|
+
}
|
|
527
|
+
interface IXTransferTransfer {
|
|
528
|
+
transferXTransfer: <TApi, TRes>(input: TXTransferTransferOptions<TApi, TRes>) => TRes;
|
|
529
|
+
}
|
|
527
530
|
type TScenario = 'ParaToRelay' | 'ParaToPara' | 'RelayToPara';
|
|
528
531
|
/**
|
|
529
532
|
* The XCM version.
|
|
@@ -626,6 +629,10 @@ type TRelayToParaBaseOptions<TApi, TRes> = {
|
|
|
626
629
|
*/
|
|
627
630
|
amount: TAmount;
|
|
628
631
|
};
|
|
632
|
+
type TRelayToParaOverrides = {
|
|
633
|
+
section: TXcmPalletSection;
|
|
634
|
+
includeFee: boolean;
|
|
635
|
+
};
|
|
629
636
|
/**
|
|
630
637
|
* Options for transferring from a relay chain to a parachain
|
|
631
638
|
*/
|
|
@@ -635,7 +642,7 @@ type TSerializedApiCall = {
|
|
|
635
642
|
section: string;
|
|
636
643
|
parameters: Record<string, unknown>;
|
|
637
644
|
};
|
|
638
|
-
type
|
|
645
|
+
type TCheckKeepAliveOptions<TApi, TRes> = {
|
|
639
646
|
originApi: IPolkadotApi<TApi, TRes>;
|
|
640
647
|
address: string;
|
|
641
648
|
amount: string;
|
|
@@ -648,64 +655,65 @@ type TDestWeight = {
|
|
|
648
655
|
refTime: string;
|
|
649
656
|
proofSize: string;
|
|
650
657
|
};
|
|
651
|
-
type
|
|
652
|
-
type
|
|
653
|
-
type
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
type
|
|
657
|
-
type
|
|
658
|
-
type
|
|
659
|
-
type
|
|
660
|
-
type
|
|
661
|
-
type
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
658
|
+
type TXTransferSection = 'transfer';
|
|
659
|
+
type TXTokensSection = 'transfer' | 'transfer_multiasset' | 'transfer_multiassets';
|
|
660
|
+
type TPolkadotXcmSection = 'limited_teleport_assets' | 'limited_reserve_transfer_assets' | 'reserve_transfer_assets' | 'reserve_withdraw_assets' | 'transfer_assets';
|
|
661
|
+
type TXcmPalletSection = 'limited_teleport_assets' | 'reserve_transfer_assets' | 'limited_reserve_transfer_assets';
|
|
662
|
+
|
|
663
|
+
type TJunctionType = 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
|
|
664
|
+
type TNetworkId = string | null;
|
|
665
|
+
type TBodyId = string | null;
|
|
666
|
+
type TBodyPart = string | null;
|
|
667
|
+
type TStringOrNumber = string | number;
|
|
668
|
+
type TStringOrNumberOrBigInt = TStringOrNumber | bigint;
|
|
669
|
+
type THexString = string;
|
|
670
|
+
type TJunctionParachain = {
|
|
671
|
+
Parachain: TStringOrNumberOrBigInt | undefined;
|
|
672
|
+
};
|
|
673
|
+
type TJunctionAccountId32 = {
|
|
666
674
|
AccountId32: {
|
|
667
|
-
network?:
|
|
668
|
-
id:
|
|
675
|
+
network?: TNetworkId;
|
|
676
|
+
id: THexString;
|
|
669
677
|
};
|
|
670
|
-
}
|
|
671
|
-
|
|
678
|
+
};
|
|
679
|
+
type TJunctionAccountIndex64 = {
|
|
672
680
|
AccountIndex64: {
|
|
673
|
-
network:
|
|
674
|
-
index:
|
|
681
|
+
network: TNetworkId;
|
|
682
|
+
index: TStringOrNumberOrBigInt;
|
|
675
683
|
};
|
|
676
|
-
}
|
|
677
|
-
|
|
684
|
+
};
|
|
685
|
+
type TJunctionAccountKey20 = {
|
|
678
686
|
AccountKey20: {
|
|
679
|
-
network?:
|
|
680
|
-
key:
|
|
687
|
+
network?: TNetworkId;
|
|
688
|
+
key: THexString;
|
|
681
689
|
};
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
PalletInstance:
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
GeneralIndex:
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
+
};
|
|
691
|
+
type TJunctionPalletInstance = {
|
|
692
|
+
PalletInstance: TStringOrNumberOrBigInt;
|
|
693
|
+
};
|
|
694
|
+
type TJunctionGeneralIndex = {
|
|
695
|
+
GeneralIndex: TStringOrNumberOrBigInt;
|
|
696
|
+
};
|
|
697
|
+
type TJunctionGeneralKey = {
|
|
690
698
|
GeneralKey: {
|
|
691
|
-
length:
|
|
692
|
-
data:
|
|
699
|
+
length: TStringOrNumberOrBigInt;
|
|
700
|
+
data: THexString;
|
|
693
701
|
};
|
|
694
|
-
}
|
|
695
|
-
|
|
702
|
+
};
|
|
703
|
+
type TJunctionOnlyChild = {
|
|
696
704
|
OnlyChild: string;
|
|
697
|
-
}
|
|
698
|
-
|
|
705
|
+
};
|
|
706
|
+
type TJunctionPlurality = {
|
|
699
707
|
Plurality: {
|
|
700
|
-
id:
|
|
701
|
-
part:
|
|
708
|
+
id: TBodyId;
|
|
709
|
+
part: TBodyPart;
|
|
702
710
|
};
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
GlobalConsensus:
|
|
706
|
-
}
|
|
707
|
-
type TJunction =
|
|
708
|
-
interface
|
|
711
|
+
};
|
|
712
|
+
type TJunctionGlobalConsensus = {
|
|
713
|
+
GlobalConsensus: TNetworkId | object;
|
|
714
|
+
};
|
|
715
|
+
type TJunction = TJunctionParachain | TJunctionAccountId32 | TJunctionAccountIndex64 | TJunctionAccountKey20 | TJunctionPalletInstance | TJunctionGeneralIndex | TJunctionGeneralKey | TJunctionOnlyChild | TJunctionPlurality | TJunctionGlobalConsensus;
|
|
716
|
+
interface TJunctions {
|
|
709
717
|
Here?: null;
|
|
710
718
|
X1?: TJunction | [TJunction];
|
|
711
719
|
X2?: [TJunction, TJunction];
|
|
@@ -717,8 +725,8 @@ interface Junctions {
|
|
|
717
725
|
X8?: [TJunction, TJunction, TJunction, TJunction, TJunction, TJunction, TJunction, TJunction];
|
|
718
726
|
}
|
|
719
727
|
interface TMultiLocation {
|
|
720
|
-
parents:
|
|
721
|
-
interior:
|
|
728
|
+
parents: TStringOrNumber;
|
|
729
|
+
interior: TJunctions | 'Here';
|
|
722
730
|
}
|
|
723
731
|
type TMultiLocationHeader = {
|
|
724
732
|
[key in Version]?: TMultiLocation;
|
|
@@ -727,7 +735,7 @@ type TMultiLocationHeader = {
|
|
|
727
735
|
declare class Darwinia<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
728
736
|
constructor();
|
|
729
737
|
private getCurrencySelection;
|
|
730
|
-
transferXTokens<TApi, TRes>(input:
|
|
738
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
731
739
|
transferRelayToPara(): TSerializedApiCall;
|
|
732
740
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, _asset?: TAsset, overridedMultiLocation?: TMultiLocation): TCurrencySelectionHeaderArr;
|
|
733
741
|
getProvider(): string;
|
|
@@ -735,7 +743,7 @@ declare class Darwinia<TApi, TRes> extends ParachainNode<TApi, TRes> implements
|
|
|
735
743
|
|
|
736
744
|
declare class Crab<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
737
745
|
constructor();
|
|
738
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
746
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
739
747
|
transferRelayToPara(): TSerializedApiCall;
|
|
740
748
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, asset?: TAsset): TCurrencySelectionHeaderArr;
|
|
741
749
|
}
|
|
@@ -743,107 +751,107 @@ declare class Crab<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPol
|
|
|
743
751
|
declare class Quartz<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
744
752
|
constructor();
|
|
745
753
|
_assetCheckEnabled: boolean;
|
|
746
|
-
transferXTokens<TApi, TRes>(input:
|
|
754
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
747
755
|
}
|
|
748
756
|
|
|
749
757
|
declare class Shiden<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer, IXTokensTransfer {
|
|
750
758
|
constructor();
|
|
751
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
752
|
-
transferXTokens<TApi, TRes>(input:
|
|
759
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
760
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
753
761
|
protected canUseXTokens({ asset }: TSendInternalOptions<TApi, TRes>): boolean;
|
|
754
762
|
}
|
|
755
763
|
|
|
756
764
|
declare class Manta<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
757
765
|
constructor();
|
|
758
|
-
transferXTokens<TApi, TRes>(input:
|
|
766
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
759
767
|
}
|
|
760
768
|
|
|
761
769
|
declare class Nodle<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
762
770
|
constructor();
|
|
763
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
771
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
764
772
|
transferRelayToPara(): TSerializedApiCall;
|
|
765
773
|
}
|
|
766
774
|
|
|
767
775
|
declare class NeuroWeb<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
768
776
|
constructor();
|
|
769
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
777
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
770
778
|
}
|
|
771
779
|
|
|
772
780
|
declare class Pendulum<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
773
781
|
constructor();
|
|
774
|
-
transferXTokens<TApi, TRes>(input:
|
|
782
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
775
783
|
transferRelayToPara(): TSerializedApiCall;
|
|
776
784
|
}
|
|
777
785
|
|
|
778
786
|
declare class Polkadex<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
779
787
|
constructor();
|
|
780
|
-
transferXTokens<TApi, TRes>(input:
|
|
788
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
781
789
|
getProvider(): string;
|
|
782
790
|
}
|
|
783
791
|
|
|
784
792
|
declare class Zeitgeist<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
785
793
|
constructor();
|
|
786
794
|
private getCurrencySelection;
|
|
787
|
-
transferXTokens<TApi, TRes>(input:
|
|
795
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
788
796
|
}
|
|
789
797
|
|
|
790
798
|
declare class Collectives<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
791
799
|
constructor();
|
|
792
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
793
|
-
|
|
800
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
801
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
794
802
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, asset?: TAsset): TCurrencySelectionHeaderArr;
|
|
795
803
|
}
|
|
796
804
|
|
|
797
805
|
declare class Khala<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTransferTransfer {
|
|
798
806
|
constructor();
|
|
799
|
-
transferXTransfer<TApi, TRes>(input:
|
|
807
|
+
transferXTransfer<TApi, TRes>(input: TXTransferTransferOptions<TApi, TRes>): TRes;
|
|
800
808
|
}
|
|
801
809
|
|
|
802
810
|
declare class Phala<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTransferTransfer {
|
|
803
811
|
constructor();
|
|
804
|
-
transferXTransfer<TApi, TRes>(input:
|
|
812
|
+
transferXTransfer<TApi, TRes>(input: TXTransferTransferOptions<TApi, TRes>): TRes;
|
|
805
813
|
}
|
|
806
814
|
|
|
807
815
|
declare class Subsocial<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
808
816
|
constructor();
|
|
809
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
817
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
810
818
|
}
|
|
811
819
|
|
|
812
820
|
declare class KiltSpiritnet<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
813
821
|
constructor();
|
|
814
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
822
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
815
823
|
transferRelayToPara(): TSerializedApiCall;
|
|
816
824
|
getProvider(): string;
|
|
817
825
|
}
|
|
818
826
|
|
|
819
827
|
declare class Curio<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
820
828
|
constructor();
|
|
821
|
-
transferXTokens<TApi, TRes>(input:
|
|
829
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
822
830
|
}
|
|
823
831
|
|
|
824
832
|
declare class BridgeHubPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
825
833
|
constructor();
|
|
826
834
|
_assetCheckEnabled: boolean;
|
|
827
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
828
|
-
|
|
835
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
836
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
829
837
|
}
|
|
830
838
|
|
|
831
839
|
declare class BridgeHubKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
832
840
|
constructor();
|
|
833
841
|
_assetCheckEnabled: boolean;
|
|
834
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
835
|
-
|
|
842
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
843
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
836
844
|
}
|
|
837
845
|
|
|
838
846
|
declare class Mythos<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
839
847
|
constructor();
|
|
840
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
848
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
841
849
|
transferRelayToPara(): TSerializedApiCall;
|
|
842
850
|
}
|
|
843
851
|
|
|
844
852
|
declare class Peaq<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
845
853
|
constructor();
|
|
846
|
-
transferXTokens<TApi, TRes>(input:
|
|
854
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
847
855
|
transferRelayToPara(): TSerializedApiCall;
|
|
848
856
|
getProvider(): string;
|
|
849
857
|
}
|
|
@@ -851,7 +859,7 @@ declare class Peaq<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTo
|
|
|
851
859
|
declare class Polimec<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
852
860
|
constructor();
|
|
853
861
|
private getAssetMultiLocation;
|
|
854
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
862
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
855
863
|
transferRelayToPara(options: TRelayToParaOptions<TApi, TRes>): TSerializedApiCall;
|
|
856
864
|
getProvider(): string;
|
|
857
865
|
}
|
|
@@ -1068,6 +1076,7 @@ type TNodeConfig = {
|
|
|
1068
1076
|
type TNodeConfigMap = Record<TNodeDotKsmWithRelayChains, TNodeConfig>;
|
|
1069
1077
|
|
|
1070
1078
|
declare const send: <TApi, TRes>(options: TSendOptions<TApi, TRes>) => Promise<TRes>;
|
|
1079
|
+
|
|
1071
1080
|
declare const transferRelayToPara: <TApi, TRes>(options: TRelayToParaOptions<TApi, TRes>) => Promise<TRes>;
|
|
1072
1081
|
|
|
1073
1082
|
declare const buildEthTransferOptions: ({ currency, to, address, destAddress, amount }: TSerializeEthTransferOptions) => Promise<TSerializedEthTransfer>;
|
|
@@ -1703,4 +1712,4 @@ declare const getNodeProvider: (node: TNodeDotKsmWithRelayChains) => string;
|
|
|
1703
1712
|
*/
|
|
1704
1713
|
declare const getParaId: (node: TNodeDotKsmWithRelayChains) => number;
|
|
1705
1714
|
|
|
1706
|
-
export { BatchMode, Builder,
|
|
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 };
|