@paraspell/sdk-pjs 11.9.0 → 11.9.2

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 CHANGED
@@ -90,7 +90,7 @@ For full documentation with examples on this feature head over to [official docu
90
90
  const builder = Builder(/*chain api/builder_config/ws_url_string/ws_url_array - optional*/)
91
91
  .from(CHAIN)
92
92
  .to(CHAIN /*,customParaId - optional*/ | Location object /*Only works for PolkadotXCM pallet*/)
93
- .currency({id: currencyID, amount: amount} | {symbol: currencySymbol, amount: amount} | {symbol: Native('currencySymbol'), amount: amount} | {symbol: Foreign('currencySymbol'), amount: amount} | {symbol: ForeignAbstract('currencySymbol'), amount: amount} | {location: AssetLocationString, amount: amount | AssetLocationJson, amount: amount} | {location: Override('Custom Location'), amount: amount} | [{currencySelection /*for example symbol: symbol or id: id, or location: location*/, amount: amount}, {currencySelection}, ..])
93
+ .currency({id: currencyID, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: currencySymbol, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Native('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Foreign('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: ForeignAbstract('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {location: AssetLocationString, amount: amount /*Use "ALL" to transfer everything*/ | AssetLocationJson, amount: amount /*Use "ALL" to transfer everything*/} | {location: Override('Custom Location'), amount: amount /*Use "ALL" to transfer everything*/} | [{currencySelection /*for example symbol: symbol or id: id, or location: location*/, amount: amount /*Use "ALL" to transfer everything*/}, {currencySelection}, ..])
94
94
  .address(address | Location object /*If you are sending through xTokens, you need to pass the destination and address Location in one object (x2)*/)
95
95
  .senderAddress(address) // - OPTIONAL but strongly recommended as it is automatically ignored when not needed - Used when origin is AssetHub with feeAsset or when sending to AssetHub to prevent asset traps by auto-swapping to DOT to have DOT ED.
96
96
  /*.ahAddress(ahAddress) - OPTIONAL - used when origin is EVM chain and XCM goes through AssetHub (Multihop transfer where we are unable to convert Key20 to ID32 address eg. origin: Moonbeam & destination: Ethereum (Multihop goes from Moonbeam > AssetHub > BridgeHub > Ethereum)
@@ -126,7 +126,7 @@ await builder.disconnect()
126
126
  const builder = Builder(/*chain api/builder_config/ws_url_string/ws_url_array - optional*/)
127
127
  .from(RELAY_CHAIN) // Kusama | Polkadot | Westend | Paseo
128
128
  .to(CHAIN/*,customParaId - optional*/ | Location object)
129
- .currency({symbol: 'DOT', amount: amount})
129
+ .currency({symbol: 'DOT', amount: amount /*Use "ALL" to transfer everything*/})
130
130
  .address(address | Location object)
131
131
  /*.xcmVersion(Version.V3/V4/V5) //Optional parameter for manual override of XCM Version used in call
132
132
  .customPallet('Pallet','pallet_function') //Optional parameter for manual override of XCM Pallet and function used in call (If they are named differently on some chain but syntax stays the same). Both pallet name and function required. Pallet name must be CamelCase, function name snake_case.*/
@@ -159,7 +159,7 @@ await builder.disconnect()
159
159
  const builder = Builder(/*chain api/builder_config/ws_url_string/ws_url_array - optional*/)
160
160
  .from(CHAIN)
161
161
  .to(RELAY_CHAIN) // Kusama | Polkadot | Westend | Paseo
162
- .currency({symbol: 'DOT', amount: amount})
162
+ .currency({symbol: 'DOT', amount: amount /*Use "ALL" to transfer everything*/})
163
163
  .address(address | Location object)
164
164
  /*.xcmVersion(Version.V3/V4/V5) //Optional parameter for manual override of XCM Version used in call
165
165
  .customPallet('Pallet','pallet_function') //Optional parameter for manual override of XCM Pallet and function used in call (If they are named differently on some chain but syntax stays the same). Both pallet name and function required. Pallet name must be CamelCase, function name snake_case.*/
@@ -192,7 +192,7 @@ await builder.disconnect()
192
192
  const builder = Builder(/*chain api/builder_config/ws_url_string/ws_url_array - optional*/)
193
193
  .from(CHAIN)
194
194
  .to(CHAIN) //Has to be the same as the origin (from)
195
- .currency({id: currencyID, amount: amount} | {symbol: currencySymbol, amount: amount} | {symbol: Native('currencySymbol'), amount: amount} | {symbol: Foreign('currencySymbol'), amount: amount} | {symbol: ForeignAbstract('currencySymbol'), amount: amount} | {location: AssetLocationString, amount: amount | AssetLocationJson, amount: amount} | {location: Override('Custom Location'), amount: amount} | [{currencySelection /*for example symbol: symbol or id: id, or location: location*/, amount: amount}, {currencySelection}, ..])
195
+ .currency({id: currencyID, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: currencySymbol, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Native('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Foreign('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: ForeignAbstract('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {location: AssetLocationString, amount: amount /*Use "ALL" to transfer everything*/ | AssetLocationJson, amount: amount /*Use "ALL" to transfer everything*/} | {location: Override('Custom Location'), amount: amount /*Use "ALL" to transfer everything*/} | [{currencySelection /*for example symbol: symbol or id: id, or location: location*/, amount: amount /*Use "ALL" to transfer everything*/}, {currencySelection}, ..])
196
196
  .address(address)
197
197
 
198
198
  const tx = await builder.build()
@@ -247,7 +247,7 @@ await builder.disconnect()
247
247
  //Claim XCM trapped assets from the selected chain
248
248
  const builder = Builder(/*chain api/builder_config/ws_url_string/ws_url_array - optional*/)
249
249
  .claimFrom(CHAIN)
250
- .currency({id: currencyID, amount: amount} | {symbol: currencySymbol, amount: amount} | {symbol: Native('currencySymbol'), amount: amount} | {symbol: Foreign('currencySymbol'), amount: amount} | {symbol: ForeignAbstract('currencySymbol'), amount: amount} | {location: AssetLocationString, amount: amount | AssetLocationJson, amount: amount} | [{currencySelection /*for example symbol: symbol or id: id, or location: location*/, amount: amount}, {currencySelection}, ..]
250
+ .currency({id: currencyID, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: currencySymbol, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Native('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Foreign('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: ForeignAbstract('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {location: AssetLocationString, amount: amount /*Use "ALL" to transfer everything*/ | AssetLocationJson, amount: amount /*Use "ALL" to transfer everything*/} | [{currencySelection /*for example symbol: symbol or id: id, or location: location*/, amount: amount /*Use "ALL" to transfer everything*/}, {currencySelection}, ..]
251
251
  )
252
252
  .address(address | Location object)
253
253
  /*.xcmVersion(Version.V3) Optional parameter, by default chain specific version. XCM Version ENUM if a different XCM version is needed (Supported V3 & V4 & V5). Requires importing Version enum.*/
@@ -264,7 +264,7 @@ await builder.disconnect()
264
264
  const result = await Builder(/*chain api/builder_config/ws_url_string/ws_url_array - optional*/)
265
265
  .from(CHAIN)
266
266
  .to(CHAIN_2)
267
- .currency({id: currencyID, amount: amount} | {symbol: currencySymbol, amount: amount} | {symbol: Native('currencySymbol'), amount: amount} | {symbol: Foreign('currencySymbol'), amount: amount} | {symbol: ForeignAbstract('currencySymbol'), amount: amount} | {location: AssetLocationString, amount: amount | AssetLocationJson, amount: amount} | {location: Override('Custom Location'), amount: amount} | {[{currencySelection, isFeeAsset?: true /* for example symbol: symbol or id: id, or Location: Location*/, amount: amount}]})
267
+ .currency({id: currencyID, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: currencySymbol, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Native('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Foreign('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: ForeignAbstract('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {location: AssetLocationString, amount: amount /*Use "ALL" to transfer everything*/ | AssetLocationJson, amount: amount /*Use "ALL" to transfer everything*/} | {location: Override('Custom Location'), amount: amount /*Use "ALL" to transfer everything*/} | {[{currencySelection, isFeeAsset?: true /* for example symbol: symbol or id: id, or Location: Location*/, amount: amount /*Use "ALL" to transfer everything*/}]})
268
268
  /*.feeAsset(CURRENCY) - Optional parameter when origin === AssetHubPolkadot and TX is supposed to be paid in same fee asset as selected currency.*/
269
269
  .address(ADDRESS)
270
270
  .senderAddress(SENDER_ADDRESS)
@@ -284,7 +284,7 @@ More on this feature in [official documentation](https://paraspell.github.io/doc
284
284
  const result = await Builder(/*chain api/builder_config/ws_url_string/ws_url_array - optional*/)
285
285
  .from(CHAIN)
286
286
  .to(CHAIN_2)
287
- .currency({id: currencyID, amount: amount} | {symbol: currencySymbol, amount: amount} | {symbol: Native('currencySymbol'), amount: amount} | {symbol: Foreign('currencySymbol'), amount: amount} | {symbol: ForeignAbstract('currencySymbol'), amount: amount} | {location: AssetLocationString, amount: amount | AssetLocationJson, amount: amount} | {location: Override('Custom Location'), amount: amount} | {[{currencySelection, isFeeAsset?: true /* for example symbol: symbol or id: id, or Location: Location*/, amount: amount}]})
287
+ .currency({id: currencyID, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: currencySymbol, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Native('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Foreign('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: ForeignAbstract('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {location: AssetLocationString, amount: amount /*Use "ALL" to transfer everything*/ | AssetLocationJson, amount: amount /*Use "ALL" to transfer everything*/} | {location: Override('Custom Location'), amount: amount /*Use "ALL" to transfer everything*/} | {[{currencySelection, isFeeAsset?: true /* for example symbol: symbol or id: id, or Location: Location*/, amount: amount /*Use "ALL" to transfer everything*/}]})
288
288
  /*.feeAsset(CURRENCY) - Optional parameter when origin === AssetHubPolkadot and TX is supposed to be paid in same fee asset as selected currency.*/
289
289
  .address(ADDRESS)
290
290
  .senderAddress(SENDER_ADDRESS)
@@ -307,7 +307,7 @@ const builder = await Builder({
307
307
  })
308
308
  .from(CHAIN)
309
309
  .to(CHAIN)
310
- .currency({id: currencyID, amount: amount} | {symbol: currencySymbol, amount: amount} | {symbol: Native('currencySymbol'), amount: amount} | {symbol: Foreign('currencySymbol'), amount: amount} | {symbol: ForeignAbstract('currencySymbol'), amount: amount} | {location: AssetLocationString, amount: amount | AssetLocationJson, amount: amount} | {location: Override('Custom Location'), amount: amount} | [{currencySelection, isFeeAsset?: true /* for example symbol: symbol or id: id, or Location: Location*/, amount: amount}])
310
+ .currency({id: currencyID, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: currencySymbol, amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Native('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: Foreign('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {symbol: ForeignAbstract('currencySymbol'), amount: amount /*Use "ALL" to transfer everything*/} | {location: AssetLocationString, amount: amount /*Use "ALL" to transfer everything*/ | AssetLocationJson, amount: amount /*Use "ALL" to transfer everything*/} | {location: Override('Custom Location'), amount: amount /*Use "ALL" to transfer everything*/} | [{currencySelection, isFeeAsset?: true /* for example symbol: symbol or id: id, or Location: Location*/, amount: amount /*Use "ALL" to transfer everything*/}])
311
311
  .address(address)
312
312
 
313
313
  const tx = await builder.build()
package/dist/index.cjs CHANGED
@@ -353,7 +353,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
353
353
  _context2.n = 2;
354
354
  break;
355
355
  }
356
- return _context2.a(2, this.createApiInstance(apiConfig));
356
+ return _context2.a(2, this.createApiInstance(apiConfig, chain));
357
357
  case 2:
358
358
  return _context2.a(2, apiConfig);
359
359
  }
@@ -367,7 +367,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
367
367
  }, {
368
368
  key: "createApiInstance",
369
369
  value: function () {
370
- var _createApiInstance = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(wsUrl) {
370
+ var _createApiInstance = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(wsUrl, _chain) {
371
371
  var wsProvider;
372
372
  return _regenerator().w(function (_context3) {
373
373
  while (1) switch (_context3.n) {
@@ -379,7 +379,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
379
379
  }
380
380
  }, _callee3);
381
381
  }));
382
- function createApiInstance(_x5) {
382
+ function createApiInstance(_x5, _x6) {
383
383
  return _createApiInstance.apply(this, arguments);
384
384
  }
385
385
  return createApiInstance;
@@ -452,7 +452,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
452
452
  }
453
453
  }, _callee4);
454
454
  }));
455
- function calculateTransactionFee(_x6, _x7) {
455
+ function calculateTransactionFee(_x7, _x8) {
456
456
  return _calculateTransactionFee.apply(this, arguments);
457
457
  }
458
458
  return calculateTransactionFee;
@@ -476,7 +476,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
476
476
  }
477
477
  }, _callee5, this);
478
478
  }));
479
- function quoteAhPrice(_x8, _x9, _x0) {
479
+ function quoteAhPrice(_x9, _x0, _x1) {
480
480
  return _quoteAhPrice.apply(this, arguments);
481
481
  }
482
482
  return quoteAhPrice;
@@ -502,7 +502,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
502
502
  }
503
503
  }, _callee6, this);
504
504
  }));
505
- function getBalanceNative(_x1) {
505
+ function getBalanceNative(_x10) {
506
506
  return _getBalanceNative.apply(this, arguments);
507
507
  }
508
508
  return getBalanceNative;
@@ -526,7 +526,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
526
526
  }
527
527
  }, _callee7, this);
528
528
  }));
529
- function getBalanceForeignPolkadotXcm(_x10, _x11, _x12) {
529
+ function getBalanceForeignPolkadotXcm(_x11, _x12, _x13) {
530
530
  return _getBalanceForeignPolkadotXcm.apply(this, arguments);
531
531
  }
532
532
  return getBalanceForeignPolkadotXcm;
@@ -548,7 +548,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
548
548
  }
549
549
  }, _callee8, this);
550
550
  }));
551
- function getMythosForeignBalance(_x13) {
551
+ function getMythosForeignBalance(_x14) {
552
552
  return _getMythosForeignBalance.apply(this, arguments);
553
553
  }
554
554
  return getMythosForeignBalance;
@@ -570,7 +570,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
570
570
  }
571
571
  }, _callee9, this);
572
572
  }));
573
- function getBalanceForeignAssetsPallet(_x14, _x15) {
573
+ function getBalanceForeignAssetsPallet(_x15, _x16) {
574
574
  return _getBalanceForeignAssetsPallet.apply(this, arguments);
575
575
  }
576
576
  return getBalanceForeignAssetsPallet;
@@ -592,7 +592,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
592
592
  }
593
593
  }, _callee0, this);
594
594
  }));
595
- function getForeignAssetsByIdBalance(_x16, _x17) {
595
+ function getForeignAssetsByIdBalance(_x17, _x18) {
596
596
  return _getForeignAssetsByIdBalance.apply(this, arguments);
597
597
  }
598
598
  return getForeignAssetsByIdBalance;
@@ -615,7 +615,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
615
615
  }
616
616
  }, _callee1, this);
617
617
  }));
618
- function getBalanceForeignBifrost(_x18, _x19) {
618
+ function getBalanceForeignBifrost(_x19, _x20) {
619
619
  return _getBalanceForeignBifrost.apply(this, arguments);
620
620
  }
621
621
  return getBalanceForeignBifrost;
@@ -639,7 +639,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
639
639
  }
640
640
  }, _callee10, this);
641
641
  }));
642
- function getBalanceNativeAcala(_x20, _x21) {
642
+ function getBalanceNativeAcala(_x21, _x22) {
643
643
  return _getBalanceNativeAcala.apply(this, arguments);
644
644
  }
645
645
  return getBalanceNativeAcala;
@@ -675,7 +675,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
675
675
  }
676
676
  }, _callee11, this);
677
677
  }));
678
- function getBalanceForeignXTokens(_x22, _x23, _x24) {
678
+ function getBalanceForeignXTokens(_x23, _x24, _x25) {
679
679
  return _getBalanceForeignXTokens.apply(this, arguments);
680
680
  }
681
681
  return getBalanceForeignXTokens;
@@ -697,7 +697,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
697
697
  }
698
698
  }, _callee12, this);
699
699
  }));
700
- function getBalanceAssetsPallet(_x25, _x26) {
700
+ function getBalanceAssetsPallet(_x26, _x27) {
701
701
  return _getBalanceAssetsPallet.apply(this, arguments);
702
702
  }
703
703
  return getBalanceAssetsPallet;
@@ -738,7 +738,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
738
738
  }
739
739
  }, _callee13, this);
740
740
  }));
741
- function getFromRpc(_x27, _x28, _x29) {
741
+ function getFromRpc(_x28, _x29, _x30) {
742
742
  return _getFromRpc.apply(this, arguments);
743
743
  }
744
744
  return getFromRpc;
@@ -769,7 +769,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
769
769
  }
770
770
  }, _callee14);
771
771
  }));
772
- function createApiForChain(_x30) {
772
+ function createApiForChain(_x31) {
773
773
  return _createApiForChain.apply(this, arguments);
774
774
  }
775
775
  return createApiForChain;
@@ -808,7 +808,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
808
808
  }
809
809
  }, _callee15);
810
810
  }));
811
- return function performDryRunCall(_x32) {
811
+ return function performDryRunCall(_x33) {
812
812
  return _ref5.apply(this, arguments);
813
813
  };
814
814
  }();
@@ -939,7 +939,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
939
939
  }
940
940
  }, _callee16, this, [[7, 9], [2, 4]]);
941
941
  }));
942
- function getDryRunCall(_x31) {
942
+ function getDryRunCall(_x32) {
943
943
  return _getDryRunCall.apply(this, arguments);
944
944
  }
945
945
  return getDryRunCall;
@@ -967,7 +967,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
967
967
  }
968
968
  }, _callee17, this);
969
969
  }));
970
- function getXcmPaymentApiFee(_x33, _x34, _x35) {
970
+ function getXcmPaymentApiFee(_x34, _x35, _x36) {
971
971
  return _getXcmPaymentApiFee.apply(this, arguments);
972
972
  }
973
973
  return getXcmPaymentApiFee;
@@ -989,7 +989,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
989
989
  }
990
990
  }, _callee18, this);
991
991
  }));
992
- function getXcmWeight(_x36) {
992
+ function getXcmWeight(_x37) {
993
993
  return _getXcmWeight.apply(this, arguments);
994
994
  }
995
995
  return getXcmWeight;
@@ -1081,7 +1081,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
1081
1081
  }
1082
1082
  }, _callee19, this);
1083
1083
  }));
1084
- function getDryRunXcm(_x37) {
1084
+ function getDryRunXcm(_x38) {
1085
1085
  return _getDryRunXcm.apply(this, arguments);
1086
1086
  }
1087
1087
  return getDryRunXcm;
@@ -1134,7 +1134,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
1134
1134
  }
1135
1135
  }, _callee21, this);
1136
1136
  }));
1137
- function convertLocationToAccount(_x38) {
1137
+ function convertLocationToAccount(_x39) {
1138
1138
  return _convertLocationToAccount.apply(this, arguments);
1139
1139
  }
1140
1140
  return convertLocationToAccount;
package/dist/index.mjs CHANGED
@@ -352,7 +352,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
352
352
  _context2.n = 2;
353
353
  break;
354
354
  }
355
- return _context2.a(2, this.createApiInstance(apiConfig));
355
+ return _context2.a(2, this.createApiInstance(apiConfig, chain));
356
356
  case 2:
357
357
  return _context2.a(2, apiConfig);
358
358
  }
@@ -366,7 +366,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
366
366
  }, {
367
367
  key: "createApiInstance",
368
368
  value: function () {
369
- var _createApiInstance = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(wsUrl) {
369
+ var _createApiInstance = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(wsUrl, _chain) {
370
370
  var wsProvider;
371
371
  return _regenerator().w(function (_context3) {
372
372
  while (1) switch (_context3.n) {
@@ -378,7 +378,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
378
378
  }
379
379
  }, _callee3);
380
380
  }));
381
- function createApiInstance(_x5) {
381
+ function createApiInstance(_x5, _x6) {
382
382
  return _createApiInstance.apply(this, arguments);
383
383
  }
384
384
  return createApiInstance;
@@ -451,7 +451,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
451
451
  }
452
452
  }, _callee4);
453
453
  }));
454
- function calculateTransactionFee(_x6, _x7) {
454
+ function calculateTransactionFee(_x7, _x8) {
455
455
  return _calculateTransactionFee.apply(this, arguments);
456
456
  }
457
457
  return calculateTransactionFee;
@@ -475,7 +475,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
475
475
  }
476
476
  }, _callee5, this);
477
477
  }));
478
- function quoteAhPrice(_x8, _x9, _x0) {
478
+ function quoteAhPrice(_x9, _x0, _x1) {
479
479
  return _quoteAhPrice.apply(this, arguments);
480
480
  }
481
481
  return quoteAhPrice;
@@ -501,7 +501,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
501
501
  }
502
502
  }, _callee6, this);
503
503
  }));
504
- function getBalanceNative(_x1) {
504
+ function getBalanceNative(_x10) {
505
505
  return _getBalanceNative.apply(this, arguments);
506
506
  }
507
507
  return getBalanceNative;
@@ -525,7 +525,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
525
525
  }
526
526
  }, _callee7, this);
527
527
  }));
528
- function getBalanceForeignPolkadotXcm(_x10, _x11, _x12) {
528
+ function getBalanceForeignPolkadotXcm(_x11, _x12, _x13) {
529
529
  return _getBalanceForeignPolkadotXcm.apply(this, arguments);
530
530
  }
531
531
  return getBalanceForeignPolkadotXcm;
@@ -547,7 +547,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
547
547
  }
548
548
  }, _callee8, this);
549
549
  }));
550
- function getMythosForeignBalance(_x13) {
550
+ function getMythosForeignBalance(_x14) {
551
551
  return _getMythosForeignBalance.apply(this, arguments);
552
552
  }
553
553
  return getMythosForeignBalance;
@@ -569,7 +569,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
569
569
  }
570
570
  }, _callee9, this);
571
571
  }));
572
- function getBalanceForeignAssetsPallet(_x14, _x15) {
572
+ function getBalanceForeignAssetsPallet(_x15, _x16) {
573
573
  return _getBalanceForeignAssetsPallet.apply(this, arguments);
574
574
  }
575
575
  return getBalanceForeignAssetsPallet;
@@ -591,7 +591,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
591
591
  }
592
592
  }, _callee0, this);
593
593
  }));
594
- function getForeignAssetsByIdBalance(_x16, _x17) {
594
+ function getForeignAssetsByIdBalance(_x17, _x18) {
595
595
  return _getForeignAssetsByIdBalance.apply(this, arguments);
596
596
  }
597
597
  return getForeignAssetsByIdBalance;
@@ -614,7 +614,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
614
614
  }
615
615
  }, _callee1, this);
616
616
  }));
617
- function getBalanceForeignBifrost(_x18, _x19) {
617
+ function getBalanceForeignBifrost(_x19, _x20) {
618
618
  return _getBalanceForeignBifrost.apply(this, arguments);
619
619
  }
620
620
  return getBalanceForeignBifrost;
@@ -638,7 +638,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
638
638
  }
639
639
  }, _callee10, this);
640
640
  }));
641
- function getBalanceNativeAcala(_x20, _x21) {
641
+ function getBalanceNativeAcala(_x21, _x22) {
642
642
  return _getBalanceNativeAcala.apply(this, arguments);
643
643
  }
644
644
  return getBalanceNativeAcala;
@@ -674,7 +674,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
674
674
  }
675
675
  }, _callee11, this);
676
676
  }));
677
- function getBalanceForeignXTokens(_x22, _x23, _x24) {
677
+ function getBalanceForeignXTokens(_x23, _x24, _x25) {
678
678
  return _getBalanceForeignXTokens.apply(this, arguments);
679
679
  }
680
680
  return getBalanceForeignXTokens;
@@ -696,7 +696,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
696
696
  }
697
697
  }, _callee12, this);
698
698
  }));
699
- function getBalanceAssetsPallet(_x25, _x26) {
699
+ function getBalanceAssetsPallet(_x26, _x27) {
700
700
  return _getBalanceAssetsPallet.apply(this, arguments);
701
701
  }
702
702
  return getBalanceAssetsPallet;
@@ -737,7 +737,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
737
737
  }
738
738
  }, _callee13, this);
739
739
  }));
740
- function getFromRpc(_x27, _x28, _x29) {
740
+ function getFromRpc(_x28, _x29, _x30) {
741
741
  return _getFromRpc.apply(this, arguments);
742
742
  }
743
743
  return getFromRpc;
@@ -768,7 +768,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
768
768
  }
769
769
  }, _callee14);
770
770
  }));
771
- function createApiForChain(_x30) {
771
+ function createApiForChain(_x31) {
772
772
  return _createApiForChain.apply(this, arguments);
773
773
  }
774
774
  return createApiForChain;
@@ -807,7 +807,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
807
807
  }
808
808
  }, _callee15);
809
809
  }));
810
- return function performDryRunCall(_x32) {
810
+ return function performDryRunCall(_x33) {
811
811
  return _ref5.apply(this, arguments);
812
812
  };
813
813
  }();
@@ -938,7 +938,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
938
938
  }
939
939
  }, _callee16, this, [[7, 9], [2, 4]]);
940
940
  }));
941
- function getDryRunCall(_x31) {
941
+ function getDryRunCall(_x32) {
942
942
  return _getDryRunCall.apply(this, arguments);
943
943
  }
944
944
  return getDryRunCall;
@@ -966,7 +966,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
966
966
  }
967
967
  }, _callee17, this);
968
968
  }));
969
- function getXcmPaymentApiFee(_x33, _x34, _x35) {
969
+ function getXcmPaymentApiFee(_x34, _x35, _x36) {
970
970
  return _getXcmPaymentApiFee.apply(this, arguments);
971
971
  }
972
972
  return getXcmPaymentApiFee;
@@ -988,7 +988,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
988
988
  }
989
989
  }, _callee18, this);
990
990
  }));
991
- function getXcmWeight(_x36) {
991
+ function getXcmWeight(_x37) {
992
992
  return _getXcmWeight.apply(this, arguments);
993
993
  }
994
994
  return getXcmWeight;
@@ -1080,7 +1080,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
1080
1080
  }
1081
1081
  }, _callee19, this);
1082
1082
  }));
1083
- function getDryRunXcm(_x37) {
1083
+ function getDryRunXcm(_x38) {
1084
1084
  return _getDryRunXcm.apply(this, arguments);
1085
1085
  }
1086
1086
  return getDryRunXcm;
@@ -1133,7 +1133,7 @@ var PolkadotJsApi = /*#__PURE__*/function () {
1133
1133
  }
1134
1134
  }, _callee21, this);
1135
1135
  }));
1136
- function convertLocationToAccount(_x38) {
1136
+ function convertLocationToAccount(_x39) {
1137
1137
  return _convertLocationToAccount.apply(this, arguments);
1138
1138
  }
1139
1139
  return convertLocationToAccount;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-pjs",
3
- "version": "11.9.0",
3
+ "version": "11.9.2",
4
4
  "description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,7 +27,7 @@
27
27
  "@snowbridge/contract-types": "0.2.0",
28
28
  "ethers": "^6.15.0",
29
29
  "viem": "^2.37.9",
30
- "@paraspell/sdk-core": "11.9.0"
30
+ "@paraspell/sdk-core": "11.9.2"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@polkadot/api": ">= 16.0 < 17",