@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/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ declare abstract class ParachainNode<TApi, TRes> {
|
|
|
17
17
|
get assetCheckEnabled(): boolean;
|
|
18
18
|
protected canUseXTokens(_: TSendInternalOptions<TApi, TRes>): boolean;
|
|
19
19
|
transfer(options: TSendInternalOptions<TApi, TRes>): Promise<TRes>;
|
|
20
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
20
21
|
transferRelayToPara(options: TRelayToParaOptions<TApi, TRes>): TSerializedApiCall;
|
|
21
22
|
getProvider(): string;
|
|
22
23
|
createApiInstance(api: IPolkadotApi<TApi, TRes>): Promise<TApi>;
|
|
@@ -27,19 +28,19 @@ declare abstract class ParachainNode<TApi, TRes> {
|
|
|
27
28
|
|
|
28
29
|
declare class Acala<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
29
30
|
constructor();
|
|
30
|
-
transferXTokens<TApi, TRes>(input:
|
|
31
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
31
32
|
getProvider(): string;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
declare class Unique<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
35
36
|
constructor();
|
|
36
|
-
transferXTokens<TApi, TRes>(input:
|
|
37
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
declare class Crust<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
40
41
|
constructor();
|
|
41
42
|
private getCurrencySelection;
|
|
42
|
-
transferXTokens<TApi, TRes>(input:
|
|
43
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
declare class BifrostPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer, IPolkadotXCMTransfer {
|
|
@@ -87,8 +88,8 @@ declare class BifrostPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> impl
|
|
|
87
88
|
VSToken2?: undefined;
|
|
88
89
|
VToken2?: undefined;
|
|
89
90
|
};
|
|
90
|
-
transferXTokens<TApi, TRes>(input:
|
|
91
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
91
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
92
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
92
93
|
protected canUseXTokens({ asset, destination }: TSendInternalOptions<TApi, TRes>): boolean;
|
|
93
94
|
getProvider(): string;
|
|
94
95
|
}
|
|
@@ -100,209 +101,210 @@ declare class Bitgreen<TApi, TRes> extends ParachainNode<TApi, TRes> {
|
|
|
100
101
|
declare class Centrifuge<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
101
102
|
constructor();
|
|
102
103
|
private getCurrencySelection;
|
|
103
|
-
transferXTokens<TApi, TRes>(input:
|
|
104
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
declare class ComposableFinance<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
107
108
|
constructor();
|
|
108
|
-
transferXTokens<TApi, TRes>(input:
|
|
109
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
declare class Hydration<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer, IPolkadotXCMTransfer {
|
|
112
113
|
private static NATIVE_ASSET_ID;
|
|
113
114
|
constructor();
|
|
114
|
-
transferToEthereum<TApi, TRes>(input:
|
|
115
|
-
transferToAssetHub<TApi, TRes>(input:
|
|
116
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
117
|
-
transferXTokens<TApi, TRes>(input:
|
|
115
|
+
transferToEthereum<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
116
|
+
transferToAssetHub<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TRes;
|
|
117
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
118
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
118
119
|
protected canUseXTokens({ destination, asset }: TSendInternalOptions<TApi, TRes>): boolean;
|
|
119
120
|
getProvider(): string;
|
|
120
121
|
}
|
|
121
122
|
|
|
122
123
|
declare class Interlay<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
123
124
|
constructor();
|
|
124
|
-
transferXTokens<TApi, TRes>(input:
|
|
125
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
declare class Litentry<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
128
129
|
constructor();
|
|
129
|
-
transferXTokens<TApi, TRes>(input:
|
|
130
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
declare class Moonbeam<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
133
134
|
constructor();
|
|
134
135
|
private getJunctions;
|
|
135
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
136
|
-
|
|
136
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
137
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
137
138
|
getProvider(): string;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
declare class Parallel<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
141
142
|
constructor();
|
|
142
|
-
transferXTokens<TApi, TRes>(input:
|
|
143
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
declare class Altair<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
146
147
|
constructor();
|
|
147
148
|
private getCurrencySelection;
|
|
148
|
-
transferXTokens<TApi, TRes>(input:
|
|
149
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
declare class Amplitude<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
152
153
|
constructor();
|
|
153
|
-
transferXTokens<TApi, TRes>(input:
|
|
154
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
154
155
|
}
|
|
155
156
|
|
|
156
157
|
declare class Bajun<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
157
158
|
constructor();
|
|
158
|
-
transferXTokens<TApi, TRes>(input:
|
|
159
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
159
160
|
transferRelayToPara(): TSerializedApiCall;
|
|
160
161
|
}
|
|
161
162
|
|
|
162
163
|
declare class Basilisk<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
163
164
|
constructor();
|
|
164
|
-
transferXTokens<TApi, TRes>(input:
|
|
165
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
165
166
|
getProvider(): string;
|
|
166
167
|
}
|
|
167
168
|
|
|
168
169
|
declare class BifrostKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
169
170
|
constructor();
|
|
170
|
-
transferXTokens<TApi, TRes>(input:
|
|
171
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
171
172
|
getProvider(): string;
|
|
172
173
|
}
|
|
173
174
|
|
|
174
175
|
declare class Pioneer<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
175
176
|
constructor();
|
|
176
|
-
transferXTokens<TApi, TRes>(input:
|
|
177
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
declare class Turing<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
180
181
|
constructor();
|
|
181
|
-
transferXTokens<TApi, TRes>(input:
|
|
182
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
182
183
|
}
|
|
183
184
|
|
|
184
185
|
declare class Picasso<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
185
186
|
constructor();
|
|
186
|
-
transferXTokens<TApi, TRes>(input:
|
|
187
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
declare class ParallelHeiko<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
190
191
|
constructor();
|
|
191
|
-
transferXTokens<TApi, TRes>(input:
|
|
192
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
declare class Moonriver<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
195
196
|
constructor();
|
|
196
197
|
private getJunctions;
|
|
197
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
198
|
-
|
|
198
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
199
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
199
200
|
getProvider(): string;
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
declare class Kintsugi<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
203
204
|
constructor();
|
|
204
|
-
transferXTokens<TApi, TRes>(input:
|
|
205
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
205
206
|
}
|
|
206
207
|
|
|
207
208
|
declare class Calamari<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
208
209
|
constructor();
|
|
209
|
-
transferXTokens<TApi, TRes>(input:
|
|
210
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
210
211
|
}
|
|
211
212
|
|
|
212
213
|
declare class CrustShadow<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
213
214
|
constructor();
|
|
214
215
|
private getCurrencySelection;
|
|
215
|
-
transferXTokens<TApi, TRes>(input:
|
|
216
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
216
217
|
}
|
|
217
218
|
|
|
218
219
|
declare class Imbue<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
219
220
|
constructor();
|
|
220
|
-
transferXTokens<TApi, TRes>(input:
|
|
221
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
221
222
|
}
|
|
222
223
|
|
|
223
224
|
declare class Integritee<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
224
225
|
constructor();
|
|
225
|
-
transferXTokens<TApi, TRes>(input:
|
|
226
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
226
227
|
transferRelayToPara(): TSerializedApiCall;
|
|
227
228
|
}
|
|
228
229
|
|
|
229
230
|
declare class InvArchTinker<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
230
231
|
constructor();
|
|
231
|
-
transferXTokens<TApi, TRes>(input:
|
|
232
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
232
233
|
}
|
|
233
234
|
|
|
234
235
|
declare class Karura<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
235
236
|
constructor();
|
|
236
|
-
transferXTokens<TApi, TRes>(input:
|
|
237
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
237
238
|
getProvider(): string;
|
|
238
239
|
}
|
|
239
240
|
|
|
240
241
|
declare class AssetHubPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
241
242
|
constructor();
|
|
242
|
-
handleBridgeTransfer<TApi, TRes>(input:
|
|
243
|
-
handleEthBridgeTransfer<TApi, TRes>(input:
|
|
244
|
-
handleMythosTransfer<TApi, TRes>(input:
|
|
245
|
-
handleBifrostEthTransfer: <TApi_1, TRes_1>(input:
|
|
246
|
-
patchInput<TApi, TRes>(input:
|
|
243
|
+
handleBridgeTransfer<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>, targetChain: 'Polkadot' | 'Kusama'): TRes;
|
|
244
|
+
handleEthBridgeTransfer<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TRes;
|
|
245
|
+
handleMythosTransfer<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TRes;
|
|
246
|
+
handleBifrostEthTransfer: <TApi_1, TRes_1>(input: TPolkadotXCMTransferOptions<TApi_1, TRes_1>) => TRes_1;
|
|
247
|
+
patchInput<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): TPolkadotXCMTransferOptions<TApi, TRes>;
|
|
247
248
|
private getSection;
|
|
248
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
249
|
-
|
|
249
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
250
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
250
251
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, asset?: TAsset, overridedMultiLocation?: TMultiLocation | TMultiAsset[]): TCurrencySelectionHeaderArr;
|
|
252
|
+
getProvider(): string;
|
|
251
253
|
}
|
|
252
254
|
|
|
253
255
|
declare class AssetHubKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
254
256
|
constructor();
|
|
255
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
256
|
-
|
|
257
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
258
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
257
259
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, asset?: TAsset, overridedMultiLocation?: TMultiLocation | TMultiAsset[]): TCurrencySelectionHeaderArr;
|
|
258
260
|
}
|
|
259
261
|
|
|
260
262
|
declare class CoretimeKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
261
263
|
constructor();
|
|
262
264
|
_assetCheckEnabled: boolean;
|
|
263
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
264
|
-
|
|
265
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
266
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
265
267
|
}
|
|
266
268
|
|
|
267
269
|
declare class CoretimePolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
268
270
|
constructor();
|
|
269
271
|
_assetCheckEnabled: boolean;
|
|
270
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
271
|
-
|
|
272
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
273
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
272
274
|
}
|
|
273
275
|
|
|
274
276
|
declare class Encointer<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
275
277
|
constructor();
|
|
276
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
277
|
-
|
|
278
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
279
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
278
280
|
}
|
|
279
281
|
|
|
280
282
|
declare class RobonomicsKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
281
283
|
constructor();
|
|
282
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
284
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
283
285
|
}
|
|
284
286
|
|
|
285
287
|
declare class RobonomicsPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
286
288
|
constructor();
|
|
287
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
289
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
288
290
|
}
|
|
289
291
|
|
|
290
292
|
declare class PeoplePolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
291
293
|
constructor();
|
|
292
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
293
|
-
|
|
294
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
295
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
294
296
|
}
|
|
295
297
|
|
|
296
298
|
declare class PeopleKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
297
299
|
constructor();
|
|
298
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
299
|
-
|
|
300
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
301
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
300
302
|
}
|
|
301
303
|
|
|
302
304
|
declare class Astar<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer, IXTokensTransfer {
|
|
303
305
|
constructor();
|
|
304
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
305
|
-
transferXTokens<TApi, TRes>(input:
|
|
306
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
307
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
306
308
|
protected canUseXTokens({ asset }: TSendInternalOptions<TApi, TRes>): boolean;
|
|
307
309
|
}
|
|
308
310
|
|
|
@@ -447,8 +449,8 @@ type TNodeAssets = {
|
|
|
447
449
|
};
|
|
448
450
|
type TAssetJsonMap = Record<TNodeWithRelayChains, TNodeAssets>;
|
|
449
451
|
|
|
450
|
-
type
|
|
451
|
-
type
|
|
452
|
+
type THexString$1 = `0x${string}`;
|
|
453
|
+
type TPolkadotXCMTransferOptions<TApi, TRes> = {
|
|
452
454
|
api: IPolkadotApi<TApi, TRes>;
|
|
453
455
|
header: TMultiLocationHeader;
|
|
454
456
|
addressSelection: TMultiLocationHeader;
|
|
@@ -464,7 +466,7 @@ type PolkadotXCMTransferInput<TApi, TRes> = {
|
|
|
464
466
|
version?: Version;
|
|
465
467
|
ahAddress?: string;
|
|
466
468
|
};
|
|
467
|
-
type
|
|
469
|
+
type TXTokensTransferOptions<TApi, TRes> = {
|
|
468
470
|
api: IPolkadotApi<TApi, TRes>;
|
|
469
471
|
asset: TAsset;
|
|
470
472
|
amount: string;
|
|
@@ -477,7 +479,7 @@ type XTokensTransferInput<TApi, TRes> = {
|
|
|
477
479
|
overridedCurrencyMultiLocation?: TMultiLocation | TMultiAsset[];
|
|
478
480
|
feeAsset?: TCurrency;
|
|
479
481
|
};
|
|
480
|
-
type
|
|
482
|
+
type TXTransferTransferOptions<TApi, TRes> = {
|
|
481
483
|
api: IPolkadotApi<TApi, TRes>;
|
|
482
484
|
asset: TAsset;
|
|
483
485
|
amount: string;
|
|
@@ -487,15 +489,15 @@ type XTransferTransferInput<TApi, TRes> = {
|
|
|
487
489
|
destination?: TDestination;
|
|
488
490
|
overridedCurrencyMultiLocation?: TMultiLocation | TMultiAsset[];
|
|
489
491
|
};
|
|
490
|
-
|
|
491
|
-
transferPolkadotXCM: <TApi, TRes>(input:
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
transferXTokens: <TApi, TRes>(input:
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
transferXTransfer: <TApi, TRes>(input:
|
|
498
|
-
}
|
|
492
|
+
interface IPolkadotXCMTransfer {
|
|
493
|
+
transferPolkadotXCM: <TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>) => Promise<TRes>;
|
|
494
|
+
}
|
|
495
|
+
interface IXTokensTransfer {
|
|
496
|
+
transferXTokens: <TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>) => TRes;
|
|
497
|
+
}
|
|
498
|
+
interface IXTransferTransfer {
|
|
499
|
+
transferXTransfer: <TApi, TRes>(input: TXTransferTransferOptions<TApi, TRes>) => TRes;
|
|
500
|
+
}
|
|
499
501
|
type TScenario = 'ParaToRelay' | 'ParaToPara' | 'RelayToPara';
|
|
500
502
|
/**
|
|
501
503
|
* The XCM version.
|
|
@@ -598,6 +600,10 @@ type TRelayToParaBaseOptions<TApi, TRes> = {
|
|
|
598
600
|
*/
|
|
599
601
|
amount: TAmount;
|
|
600
602
|
};
|
|
603
|
+
type TRelayToParaOverrides = {
|
|
604
|
+
section: TXcmPalletSection;
|
|
605
|
+
includeFee: boolean;
|
|
606
|
+
};
|
|
601
607
|
/**
|
|
602
608
|
* Options for transferring from a relay chain to a parachain
|
|
603
609
|
*/
|
|
@@ -607,7 +613,7 @@ type TSerializedApiCall = {
|
|
|
607
613
|
section: string;
|
|
608
614
|
parameters: Record<string, unknown>;
|
|
609
615
|
};
|
|
610
|
-
type
|
|
616
|
+
type TCheckKeepAliveOptions<TApi, TRes> = {
|
|
611
617
|
originApi: IPolkadotApi<TApi, TRes>;
|
|
612
618
|
address: string;
|
|
613
619
|
amount: string;
|
|
@@ -620,64 +626,65 @@ type TDestWeight = {
|
|
|
620
626
|
refTime: string;
|
|
621
627
|
proofSize: string;
|
|
622
628
|
};
|
|
623
|
-
type
|
|
624
|
-
type
|
|
625
|
-
type
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
type
|
|
629
|
-
type
|
|
630
|
-
type
|
|
631
|
-
type
|
|
632
|
-
type
|
|
633
|
-
type
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
629
|
+
type TXTransferSection = 'transfer';
|
|
630
|
+
type TXTokensSection = 'transfer' | 'transfer_multiasset' | 'transfer_multiassets';
|
|
631
|
+
type TPolkadotXcmSection = 'limited_teleport_assets' | 'limited_reserve_transfer_assets' | 'reserve_transfer_assets' | 'reserve_withdraw_assets' | 'transfer_assets';
|
|
632
|
+
type TXcmPalletSection = 'limited_teleport_assets' | 'reserve_transfer_assets' | 'limited_reserve_transfer_assets';
|
|
633
|
+
|
|
634
|
+
type TJunctionType = 'Parachain' | 'AccountId32' | 'AccountIndex64' | 'AccountKey20' | 'PalletInstance' | 'GeneralIndex' | 'GeneralKey' | 'OnlyChild' | 'Plurality' | 'GlobalConsensus';
|
|
635
|
+
type TNetworkId = string | null;
|
|
636
|
+
type TBodyId = string | null;
|
|
637
|
+
type TBodyPart = string | null;
|
|
638
|
+
type TStringOrNumber = string | number;
|
|
639
|
+
type TStringOrNumberOrBigInt = TStringOrNumber | bigint;
|
|
640
|
+
type THexString = string;
|
|
641
|
+
type TJunctionParachain = {
|
|
642
|
+
Parachain: TStringOrNumberOrBigInt | undefined;
|
|
643
|
+
};
|
|
644
|
+
type TJunctionAccountId32 = {
|
|
638
645
|
AccountId32: {
|
|
639
|
-
network?:
|
|
640
|
-
id:
|
|
646
|
+
network?: TNetworkId;
|
|
647
|
+
id: THexString;
|
|
641
648
|
};
|
|
642
|
-
}
|
|
643
|
-
|
|
649
|
+
};
|
|
650
|
+
type TJunctionAccountIndex64 = {
|
|
644
651
|
AccountIndex64: {
|
|
645
|
-
network:
|
|
646
|
-
index:
|
|
652
|
+
network: TNetworkId;
|
|
653
|
+
index: TStringOrNumberOrBigInt;
|
|
647
654
|
};
|
|
648
|
-
}
|
|
649
|
-
|
|
655
|
+
};
|
|
656
|
+
type TJunctionAccountKey20 = {
|
|
650
657
|
AccountKey20: {
|
|
651
|
-
network?:
|
|
652
|
-
key:
|
|
658
|
+
network?: TNetworkId;
|
|
659
|
+
key: THexString;
|
|
653
660
|
};
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
PalletInstance:
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
GeneralIndex:
|
|
660
|
-
}
|
|
661
|
-
|
|
661
|
+
};
|
|
662
|
+
type TJunctionPalletInstance = {
|
|
663
|
+
PalletInstance: TStringOrNumberOrBigInt;
|
|
664
|
+
};
|
|
665
|
+
type TJunctionGeneralIndex = {
|
|
666
|
+
GeneralIndex: TStringOrNumberOrBigInt;
|
|
667
|
+
};
|
|
668
|
+
type TJunctionGeneralKey = {
|
|
662
669
|
GeneralKey: {
|
|
663
|
-
length:
|
|
664
|
-
data:
|
|
670
|
+
length: TStringOrNumberOrBigInt;
|
|
671
|
+
data: THexString;
|
|
665
672
|
};
|
|
666
|
-
}
|
|
667
|
-
|
|
673
|
+
};
|
|
674
|
+
type TJunctionOnlyChild = {
|
|
668
675
|
OnlyChild: string;
|
|
669
|
-
}
|
|
670
|
-
|
|
676
|
+
};
|
|
677
|
+
type TJunctionPlurality = {
|
|
671
678
|
Plurality: {
|
|
672
|
-
id:
|
|
673
|
-
part:
|
|
679
|
+
id: TBodyId;
|
|
680
|
+
part: TBodyPart;
|
|
674
681
|
};
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
GlobalConsensus:
|
|
678
|
-
}
|
|
679
|
-
type TJunction =
|
|
680
|
-
interface
|
|
682
|
+
};
|
|
683
|
+
type TJunctionGlobalConsensus = {
|
|
684
|
+
GlobalConsensus: TNetworkId | object;
|
|
685
|
+
};
|
|
686
|
+
type TJunction = TJunctionParachain | TJunctionAccountId32 | TJunctionAccountIndex64 | TJunctionAccountKey20 | TJunctionPalletInstance | TJunctionGeneralIndex | TJunctionGeneralKey | TJunctionOnlyChild | TJunctionPlurality | TJunctionGlobalConsensus;
|
|
687
|
+
interface TJunctions {
|
|
681
688
|
Here?: null;
|
|
682
689
|
X1?: TJunction | [TJunction];
|
|
683
690
|
X2?: [TJunction, TJunction];
|
|
@@ -689,8 +696,8 @@ interface Junctions {
|
|
|
689
696
|
X8?: [TJunction, TJunction, TJunction, TJunction, TJunction, TJunction, TJunction, TJunction];
|
|
690
697
|
}
|
|
691
698
|
interface TMultiLocation {
|
|
692
|
-
parents:
|
|
693
|
-
interior:
|
|
699
|
+
parents: TStringOrNumber;
|
|
700
|
+
interior: TJunctions | 'Here';
|
|
694
701
|
}
|
|
695
702
|
type TMultiLocationHeader = {
|
|
696
703
|
[key in Version]?: TMultiLocation;
|
|
@@ -699,7 +706,7 @@ type TMultiLocationHeader = {
|
|
|
699
706
|
declare class Darwinia<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
700
707
|
constructor();
|
|
701
708
|
private getCurrencySelection;
|
|
702
|
-
transferXTokens<TApi, TRes>(input:
|
|
709
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
703
710
|
transferRelayToPara(): TSerializedApiCall;
|
|
704
711
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, _asset?: TAsset, overridedMultiLocation?: TMultiLocation): TCurrencySelectionHeaderArr;
|
|
705
712
|
getProvider(): string;
|
|
@@ -707,7 +714,7 @@ declare class Darwinia<TApi, TRes> extends ParachainNode<TApi, TRes> implements
|
|
|
707
714
|
|
|
708
715
|
declare class Crab<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
709
716
|
constructor();
|
|
710
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
717
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
711
718
|
transferRelayToPara(): TSerializedApiCall;
|
|
712
719
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, asset?: TAsset): TCurrencySelectionHeaderArr;
|
|
713
720
|
}
|
|
@@ -715,107 +722,107 @@ declare class Crab<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPol
|
|
|
715
722
|
declare class Quartz<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
716
723
|
constructor();
|
|
717
724
|
_assetCheckEnabled: boolean;
|
|
718
|
-
transferXTokens<TApi, TRes>(input:
|
|
725
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
719
726
|
}
|
|
720
727
|
|
|
721
728
|
declare class Shiden<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer, IXTokensTransfer {
|
|
722
729
|
constructor();
|
|
723
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
724
|
-
transferXTokens<TApi, TRes>(input:
|
|
730
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
731
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
725
732
|
protected canUseXTokens({ asset }: TSendInternalOptions<TApi, TRes>): boolean;
|
|
726
733
|
}
|
|
727
734
|
|
|
728
735
|
declare class Manta<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
729
736
|
constructor();
|
|
730
|
-
transferXTokens<TApi, TRes>(input:
|
|
737
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
731
738
|
}
|
|
732
739
|
|
|
733
740
|
declare class Nodle<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
734
741
|
constructor();
|
|
735
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
742
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
736
743
|
transferRelayToPara(): TSerializedApiCall;
|
|
737
744
|
}
|
|
738
745
|
|
|
739
746
|
declare class NeuroWeb<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
740
747
|
constructor();
|
|
741
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
748
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
742
749
|
}
|
|
743
750
|
|
|
744
751
|
declare class Pendulum<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
745
752
|
constructor();
|
|
746
|
-
transferXTokens<TApi, TRes>(input:
|
|
753
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
747
754
|
transferRelayToPara(): TSerializedApiCall;
|
|
748
755
|
}
|
|
749
756
|
|
|
750
757
|
declare class Polkadex<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
751
758
|
constructor();
|
|
752
|
-
transferXTokens<TApi, TRes>(input:
|
|
759
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
753
760
|
getProvider(): string;
|
|
754
761
|
}
|
|
755
762
|
|
|
756
763
|
declare class Zeitgeist<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
757
764
|
constructor();
|
|
758
765
|
private getCurrencySelection;
|
|
759
|
-
transferXTokens<TApi, TRes>(input:
|
|
766
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
760
767
|
}
|
|
761
768
|
|
|
762
769
|
declare class Collectives<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
763
770
|
constructor();
|
|
764
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
765
|
-
|
|
771
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
772
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
766
773
|
createCurrencySpec(amount: string, scenario: TScenario, version: Version, asset?: TAsset): TCurrencySelectionHeaderArr;
|
|
767
774
|
}
|
|
768
775
|
|
|
769
776
|
declare class Khala<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTransferTransfer {
|
|
770
777
|
constructor();
|
|
771
|
-
transferXTransfer<TApi, TRes>(input:
|
|
778
|
+
transferXTransfer<TApi, TRes>(input: TXTransferTransferOptions<TApi, TRes>): TRes;
|
|
772
779
|
}
|
|
773
780
|
|
|
774
781
|
declare class Phala<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTransferTransfer {
|
|
775
782
|
constructor();
|
|
776
|
-
transferXTransfer<TApi, TRes>(input:
|
|
783
|
+
transferXTransfer<TApi, TRes>(input: TXTransferTransferOptions<TApi, TRes>): TRes;
|
|
777
784
|
}
|
|
778
785
|
|
|
779
786
|
declare class Subsocial<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
780
787
|
constructor();
|
|
781
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
788
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
782
789
|
}
|
|
783
790
|
|
|
784
791
|
declare class KiltSpiritnet<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
785
792
|
constructor();
|
|
786
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
793
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
787
794
|
transferRelayToPara(): TSerializedApiCall;
|
|
788
795
|
getProvider(): string;
|
|
789
796
|
}
|
|
790
797
|
|
|
791
798
|
declare class Curio<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
792
799
|
constructor();
|
|
793
|
-
transferXTokens<TApi, TRes>(input:
|
|
800
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
794
801
|
}
|
|
795
802
|
|
|
796
803
|
declare class BridgeHubPolkadot<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
797
804
|
constructor();
|
|
798
805
|
_assetCheckEnabled: boolean;
|
|
799
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
800
|
-
|
|
806
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
807
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
801
808
|
}
|
|
802
809
|
|
|
803
810
|
declare class BridgeHubKusama<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
804
811
|
constructor();
|
|
805
812
|
_assetCheckEnabled: boolean;
|
|
806
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
807
|
-
|
|
813
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
814
|
+
getRelayToParaOverrides(): TRelayToParaOverrides;
|
|
808
815
|
}
|
|
809
816
|
|
|
810
817
|
declare class Mythos<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
811
818
|
constructor();
|
|
812
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
819
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
813
820
|
transferRelayToPara(): TSerializedApiCall;
|
|
814
821
|
}
|
|
815
822
|
|
|
816
823
|
declare class Peaq<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTokensTransfer {
|
|
817
824
|
constructor();
|
|
818
|
-
transferXTokens<TApi, TRes>(input:
|
|
825
|
+
transferXTokens<TApi, TRes>(input: TXTokensTransferOptions<TApi, TRes>): TRes;
|
|
819
826
|
transferRelayToPara(): TSerializedApiCall;
|
|
820
827
|
getProvider(): string;
|
|
821
828
|
}
|
|
@@ -823,7 +830,7 @@ declare class Peaq<TApi, TRes> extends ParachainNode<TApi, TRes> implements IXTo
|
|
|
823
830
|
declare class Polimec<TApi, TRes> extends ParachainNode<TApi, TRes> implements IPolkadotXCMTransfer {
|
|
824
831
|
constructor();
|
|
825
832
|
private getAssetMultiLocation;
|
|
826
|
-
transferPolkadotXCM<TApi, TRes>(input:
|
|
833
|
+
transferPolkadotXCM<TApi, TRes>(input: TPolkadotXCMTransferOptions<TApi, TRes>): Promise<TRes>;
|
|
827
834
|
transferRelayToPara(options: TRelayToParaOptions<TApi, TRes>): TSerializedApiCall;
|
|
828
835
|
getProvider(): string;
|
|
829
836
|
}
|
|
@@ -1042,9 +1049,10 @@ type TNodeConfigMap = Record<TNodeDotKsmWithRelayChains, TNodeConfig>;
|
|
|
1042
1049
|
interface IPolkadotApi<TApi, TRes> {
|
|
1043
1050
|
setApi(api?: TApiOrUrl<TApi>): void;
|
|
1044
1051
|
getApi(): TApi;
|
|
1052
|
+
getApiOrUrl(): TApiOrUrl<TApi> | undefined;
|
|
1045
1053
|
init(node: TNodeWithRelayChains): Promise<void>;
|
|
1046
1054
|
createApiInstance: (wsUrl: string) => Promise<TApi>;
|
|
1047
|
-
createAccountId(address: string):
|
|
1055
|
+
createAccountId(address: string): THexString$1;
|
|
1048
1056
|
callTxMethod(serializedCall: TSerializedApiCall): TRes;
|
|
1049
1057
|
calculateTransactionFee(tx: TRes, address: string): Promise<bigint>;
|
|
1050
1058
|
getBalanceNative(address: string): Promise<bigint>;
|
|
@@ -1722,4 +1730,4 @@ declare const getNodeProvider: (node: TNodeDotKsmWithRelayChains) => string;
|
|
|
1722
1730
|
*/
|
|
1723
1731
|
declare const getParaId: (node: TNodeDotKsmWithRelayChains) => number;
|
|
1724
1732
|
|
|
1725
|
-
export { BatchMode, Builder,
|
|
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 };
|