@paraspell/sdk 5.1.0 → 5.2.0

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.mjs CHANGED
@@ -601,10 +601,10 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
601
601
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
602
602
  };
603
603
 
604
- // derrived from https://github.com/kodadot/packages/blob/main/minimark/src/common/types.ts
605
604
  var Version;
606
605
  (function (Version) {
607
606
  Version["V1"] = "V1";
607
+ Version["V2"] = "V2";
608
608
  Version["V3"] = "V3";
609
609
  })(Version || (Version = {}));
610
610
  var Parents;
@@ -980,6 +980,11 @@ var Astar$3 = {
980
980
  symbol: "aSEED",
981
981
  decimals: 12
982
982
  },
983
+ {
984
+ assetId: "18446744073709551634",
985
+ symbol: "xcPEN",
986
+ decimals: 12
987
+ },
983
988
  {
984
989
  assetId: "1336",
985
990
  symbol: "TDOT",
@@ -1134,6 +1139,11 @@ var Centrifuge$3 = {
1134
1139
  symbol: "localUSDC",
1135
1140
  decimals: 6
1136
1141
  },
1142
+ {
1143
+ assetId: "1615768079",
1144
+ symbol: "NS3SR",
1145
+ decimals: 6
1146
+ },
1137
1147
  {
1138
1148
  assetId: "100006",
1139
1149
  symbol: "LpCeloUSDC",
@@ -1188,6 +1198,11 @@ var Centrifuge$3 = {
1188
1198
  assetId: "4139607887",
1189
1199
  symbol: "LTF",
1190
1200
  decimals: 6
1201
+ },
1202
+ {
1203
+ assetId: "1615768079",
1204
+ symbol: "NS3JR",
1205
+ decimals: 6
1191
1206
  }
1192
1207
  ]
1193
1208
  };
@@ -1367,48 +1382,68 @@ var HydraDX$3 = {
1367
1382
  ],
1368
1383
  otherAssets: [
1369
1384
  {
1370
- assetId: "7",
1371
- symbol: "USDC",
1385
+ assetId: "100",
1386
+ symbol: "4-Pool",
1387
+ decimals: 18
1388
+ },
1389
+ {
1390
+ assetId: "0",
1391
+ symbol: "HDX",
1392
+ decimals: 12
1393
+ },
1394
+ {
1395
+ assetId: "10",
1396
+ symbol: "USDT",
1372
1397
  decimals: 6
1373
1398
  },
1374
1399
  {
1375
- assetId: "20",
1400
+ assetId: "4",
1376
1401
  symbol: "WETH",
1377
1402
  decimals: 18
1378
1403
  },
1379
1404
  {
1380
- assetId: "13",
1381
- symbol: "CFG",
1382
- decimals: 18
1405
+ assetId: "21",
1406
+ symbol: "USDC",
1407
+ decimals: 6
1383
1408
  },
1384
1409
  {
1385
- assetId: "26",
1386
- symbol: "NODL",
1387
- decimals: 11
1410
+ assetId: "28",
1411
+ symbol: "KILT",
1412
+ decimals: 15
1388
1413
  },
1389
1414
  {
1390
- assetId: "5",
1391
- symbol: "DOT",
1392
- decimals: 10
1415
+ assetId: "20",
1416
+ symbol: "WETH",
1417
+ decimals: 18
1393
1418
  },
1394
1419
  {
1395
- assetId: "100",
1396
- symbol: "4-Pool",
1420
+ assetId: "101",
1421
+ symbol: "2-Pool",
1397
1422
  decimals: 18
1398
1423
  },
1399
1424
  {
1400
- assetId: "8",
1401
- symbol: "PHA",
1425
+ assetId: "16",
1426
+ symbol: "GLMR",
1427
+ decimals: 18
1428
+ },
1429
+ {
1430
+ assetId: "11",
1431
+ symbol: "iBTC",
1432
+ decimals: 8
1433
+ },
1434
+ {
1435
+ assetId: "1000099",
1436
+ symbol: "ACA",
1402
1437
  decimals: 12
1403
1438
  },
1404
1439
  {
1405
- assetId: "1",
1406
- symbol: "LRNA",
1440
+ assetId: "14",
1441
+ symbol: "BNC",
1407
1442
  decimals: 12
1408
1443
  },
1409
1444
  {
1410
- assetId: "101",
1411
- symbol: "2-Pool",
1445
+ assetId: "6",
1446
+ symbol: "APE",
1412
1447
  decimals: 18
1413
1448
  },
1414
1449
  {
@@ -1417,64 +1452,84 @@ var HydraDX$3 = {
1417
1452
  decimals: 8
1418
1453
  },
1419
1454
  {
1420
- assetId: "9",
1421
- symbol: "ASTR",
1455
+ assetId: "15",
1456
+ symbol: "vDOT",
1457
+ decimals: 10
1458
+ },
1459
+ {
1460
+ assetId: "2",
1461
+ symbol: "DAI",
1422
1462
  decimals: 18
1423
1463
  },
1424
1464
  {
1425
- assetId: "16",
1426
- symbol: "GLMR",
1465
+ assetId: "13",
1466
+ symbol: "CFG",
1427
1467
  decimals: 18
1428
1468
  },
1429
1469
  {
1430
- assetId: "14",
1431
- symbol: "BNC",
1470
+ assetId: "27",
1471
+ symbol: "CRU",
1432
1472
  decimals: 12
1433
1473
  },
1434
1474
  {
1435
- assetId: "21",
1436
- symbol: "USDC",
1437
- decimals: 6
1475
+ assetId: "102",
1476
+ symbol: "2-Pool",
1477
+ decimals: 18
1438
1478
  },
1439
1479
  {
1440
- assetId: "15",
1441
- symbol: "vDOT",
1480
+ assetId: "5",
1481
+ symbol: "DOT",
1442
1482
  decimals: 10
1443
1483
  },
1444
1484
  {
1445
- assetId: "24",
1446
- symbol: "SUB",
1447
- decimals: 10
1485
+ assetId: "18",
1486
+ symbol: "DAI",
1487
+ decimals: 18
1448
1488
  },
1449
1489
  {
1450
- assetId: "22",
1490
+ assetId: "7",
1451
1491
  symbol: "USDC",
1452
1492
  decimals: 6
1453
1493
  },
1454
1494
  {
1455
- assetId: "2",
1456
- symbol: "DAI",
1457
- decimals: 18
1495
+ assetId: "26",
1496
+ symbol: "NODL",
1497
+ decimals: 11
1458
1498
  },
1459
1499
  {
1460
- assetId: "10",
1461
- symbol: "USDT",
1500
+ assetId: "22",
1501
+ symbol: "USDC",
1462
1502
  decimals: 6
1463
1503
  },
1464
1504
  {
1465
- assetId: "0",
1466
- symbol: "HDX",
1505
+ assetId: "24",
1506
+ symbol: "SUB",
1507
+ decimals: 10
1508
+ },
1509
+ {
1510
+ assetId: "8",
1511
+ symbol: "PHA",
1467
1512
  decimals: 12
1468
1513
  },
1469
1514
  {
1470
- assetId: "6",
1471
- symbol: "APE",
1472
- decimals: 18
1515
+ assetId: "1000100",
1516
+ symbol: "LDOT",
1517
+ decimals: 10
1473
1518
  },
1474
1519
  {
1475
- assetId: "11",
1476
- symbol: "iBTC",
1477
- decimals: 8
1520
+ assetId: "1",
1521
+ symbol: "LRNA",
1522
+ decimals: 12
1523
+ },
1524
+ {
1525
+ assetId: "12",
1526
+ symbol: "ZTG",
1527
+ decimals: 10
1528
+ },
1529
+ {
1530
+ assetId: "1000081",
1531
+ symbol: "PEN",
1532
+ decimals: 12
1478
1533
  },
1479
1534
  {
1480
1535
  assetId: "3",
@@ -1487,8 +1542,8 @@ var HydraDX$3 = {
1487
1542
  decimals: 10
1488
1543
  },
1489
1544
  {
1490
- assetId: "18",
1491
- symbol: "DAI",
1545
+ assetId: "25",
1546
+ symbol: "UNQ",
1492
1547
  decimals: 18
1493
1548
  },
1494
1549
  {
@@ -1497,19 +1552,9 @@ var HydraDX$3 = {
1497
1552
  decimals: 6
1498
1553
  },
1499
1554
  {
1500
- assetId: "4",
1501
- symbol: "WETH",
1502
- decimals: 18
1503
- },
1504
- {
1505
- assetId: "25",
1506
- symbol: "UNQ",
1555
+ assetId: "9",
1556
+ symbol: "ASTR",
1507
1557
  decimals: 18
1508
- },
1509
- {
1510
- assetId: "12",
1511
- symbol: "ZTG",
1512
- decimals: 10
1513
1558
  }
1514
1559
  ]
1515
1560
  };
@@ -1549,6 +1594,11 @@ var Interlay$3 = {
1549
1594
  symbol: "WBNB.wh",
1550
1595
  decimals: 18
1551
1596
  },
1597
+ {
1598
+ assetId: "13",
1599
+ symbol: "HDX",
1600
+ decimals: 12
1601
+ },
1552
1602
  {
1553
1603
  assetId: "5",
1554
1604
  symbol: "TBTC.wh",
@@ -1598,6 +1648,11 @@ var Interlay$3 = {
1598
1648
  assetId: "4",
1599
1649
  symbol: "DAI.wh",
1600
1650
  decimals: 18
1651
+ },
1652
+ {
1653
+ assetId: "12",
1654
+ symbol: "USDC",
1655
+ decimals: 6
1601
1656
  }
1602
1657
  ]
1603
1658
  };
@@ -1635,11 +1690,21 @@ var Moonbeam$3 = {
1635
1690
  symbol: "ZTG",
1636
1691
  decimals: 10
1637
1692
  },
1693
+ {
1694
+ assetId: "283870493414747423842723289889816153538",
1695
+ symbol: "UNQ",
1696
+ decimals: 18
1697
+ },
1638
1698
  {
1639
1699
  assetId: "90225766094594282577230355136633846906",
1640
1700
  symbol: "PDEX",
1641
1701
  decimals: 12
1642
1702
  },
1703
+ {
1704
+ assetId: "314077021455772878282433861213184736939",
1705
+ symbol: "PEAQ",
1706
+ decimals: 18
1707
+ },
1643
1708
  {
1644
1709
  assetId: "144012926827374458669278577633504620722",
1645
1710
  symbol: "FIL",
@@ -1690,6 +1755,11 @@ var Moonbeam$3 = {
1690
1755
  symbol: "LDOT",
1691
1756
  decimals: 10
1692
1757
  },
1758
+ {
1759
+ assetId: "124463719055550872076363892993240202694",
1760
+ symbol: "DED",
1761
+ decimals: 10
1762
+ },
1693
1763
  {
1694
1764
  assetId: "224077081838586484055667086558292981199",
1695
1765
  symbol: "ASTR",
@@ -1705,6 +1775,11 @@ var Moonbeam$3 = {
1705
1775
  symbol: "USDC",
1706
1776
  decimals: 6
1707
1777
  },
1778
+ {
1779
+ assetId: "142155548796783636521833385094843759961",
1780
+ symbol: "BNCS",
1781
+ decimals: 12
1782
+ },
1708
1783
  {
1709
1784
  assetId: "89994634370519791027168048838578580624",
1710
1785
  symbol: "SUB",
@@ -1725,6 +1800,11 @@ var Moonbeam$3 = {
1725
1800
  symbol: "vGLMR",
1726
1801
  decimals: 18
1727
1802
  },
1803
+ {
1804
+ assetId: "289989900872525819559124583375550296953",
1805
+ symbol: "vMANTA",
1806
+ decimals: 18
1807
+ },
1728
1808
  {
1729
1809
  assetId: "110021739665376159354538090254163045594",
1730
1810
  symbol: "aUSD",
@@ -1790,11 +1870,21 @@ var Moonbeam$3 = {
1790
1870
  symbol: "vFIL",
1791
1871
  decimals: 18
1792
1872
  },
1873
+ {
1874
+ assetId: "114018676402354620972806895487280206446",
1875
+ symbol: "vASTR",
1876
+ decimals: 18
1877
+ },
1793
1878
  {
1794
1879
  assetId: "238111524681612888331172110363070489924",
1795
1880
  symbol: "OTP",
1796
1881
  decimals: 12
1797
1882
  },
1883
+ {
1884
+ assetId: "112679793397406599376365943185137098326",
1885
+ symbol: "STINK",
1886
+ decimals: 10
1887
+ },
1798
1888
  {
1799
1889
  assetId: "132685552157663328694213725410064821485",
1800
1890
  symbol: "PHA",
@@ -2006,16 +2096,36 @@ var AssetHubPolkadot$3 = {
2006
2096
  }
2007
2097
  ],
2008
2098
  otherAssets: [
2099
+ {
2100
+ assetId: "9999",
2101
+ symbol: "TOM",
2102
+ decimals: 10
2103
+ },
2009
2104
  {
2010
2105
  assetId: "100",
2011
2106
  symbol: "WETH",
2012
2107
  decimals: 18
2013
2108
  },
2109
+ {
2110
+ assetId: "482",
2111
+ symbol: "HUB",
2112
+ decimals: 10
2113
+ },
2014
2114
  {
2015
2115
  assetId: "123",
2016
2116
  symbol: "123",
2017
2117
  decimals: 20
2018
2118
  },
2119
+ {
2120
+ assetId: "9000",
2121
+ symbol: "PLAY",
2122
+ decimals: 10
2123
+ },
2124
+ {
2125
+ assetId: "69420",
2126
+ symbol: "GABE",
2127
+ decimals: 20
2128
+ },
2019
2129
  {
2020
2130
  assetId: "25518",
2021
2131
  symbol: "BEER",
@@ -2071,6 +2181,11 @@ var AssetHubPolkadot$3 = {
2071
2181
  symbol: "Cypress",
2072
2182
  decimals: 0
2073
2183
  },
2184
+ {
2185
+ assetId: "7777",
2186
+ symbol: "FUM",
2187
+ decimals: 10
2188
+ },
2074
2189
  {
2075
2190
  assetId: "11",
2076
2191
  symbol: "web3",
@@ -2081,6 +2196,11 @@ var AssetHubPolkadot$3 = {
2081
2196
  symbol: "DED",
2082
2197
  decimals: 18
2083
2198
  },
2199
+ {
2200
+ assetId: "111",
2201
+ symbol: "DEMO",
2202
+ decimals: 6
2203
+ },
2084
2204
  {
2085
2205
  assetId: "555",
2086
2206
  symbol: "GAME",
@@ -2101,6 +2221,16 @@ var AssetHubPolkadot$3 = {
2101
2221
  symbol: "TST",
2102
2222
  decimals: 10
2103
2223
  },
2224
+ {
2225
+ assetId: "8889",
2226
+ symbol: "BNDT",
2227
+ decimals: 10
2228
+ },
2229
+ {
2230
+ assetId: "8886",
2231
+ symbol: "BANDIT",
2232
+ decimals: 10
2233
+ },
2104
2234
  {
2105
2235
  assetId: "42069",
2106
2236
  symbol: "STINK",
@@ -2111,6 +2241,16 @@ var AssetHubPolkadot$3 = {
2111
2241
  symbol: "TRQ",
2112
2242
  decimals: 18
2113
2243
  },
2244
+ {
2245
+ assetId: "9002",
2246
+ symbol: "TAPE",
2247
+ decimals: 10
2248
+ },
2249
+ {
2250
+ assetId: "33",
2251
+ symbol: "COCOA",
2252
+ decimals: 10
2253
+ },
2114
2254
  {
2115
2255
  assetId: "15",
2116
2256
  symbol: "Meme",
@@ -2121,6 +2261,11 @@ var AssetHubPolkadot$3 = {
2121
2261
  symbol: "BTC",
2122
2262
  decimals: 20
2123
2263
  },
2264
+ {
2265
+ assetId: "9527",
2266
+ symbol: "LSCAT",
2267
+ decimals: 10
2268
+ },
2124
2269
  {
2125
2270
  assetId: "868367",
2126
2271
  symbol: "VSC",
@@ -2139,13 +2284,18 @@ var AssetHubPolkadot$3 = {
2139
2284
  {
2140
2285
  assetId: "18",
2141
2286
  symbol: "DOTA",
2142
- decimals: 18
2287
+ decimals: 4
2143
2288
  },
2144
2289
  {
2145
2290
  assetId: "7",
2146
2291
  symbol: "lucky7",
2147
2292
  decimals: 20
2148
2293
  },
2294
+ {
2295
+ assetId: "4294967295",
2296
+ symbol: "(>'')>",
2297
+ decimals: 0
2298
+ },
2149
2299
  {
2150
2300
  assetId: "1984",
2151
2301
  symbol: "USDt",
@@ -2176,6 +2326,21 @@ var AssetHubPolkadot$3 = {
2176
2326
  symbol: "HAM",
2177
2327
  decimals: 10
2178
2328
  },
2329
+ {
2330
+ assetId: "9003",
2331
+ symbol: "KTRL",
2332
+ decimals: 10
2333
+ },
2334
+ {
2335
+ assetId: "1313",
2336
+ symbol: "GGI",
2337
+ decimals: 6
2338
+ },
2339
+ {
2340
+ assetId: "24",
2341
+ symbol: "PRDOG",
2342
+ decimals: 10
2343
+ },
2179
2344
  {
2180
2345
  assetId: "2023",
2181
2346
  symbol: "dot",
@@ -2191,11 +2356,26 @@ var AssetHubPolkadot$3 = {
2191
2356
  symbol: "HOOT",
2192
2357
  decimals: 6
2193
2358
  },
2359
+ {
2360
+ assetId: "404",
2361
+ symbol: "clay",
2362
+ decimals: 20
2363
+ },
2194
2364
  {
2195
2365
  assetId: "1000",
2196
2366
  symbol: "BRZ",
2197
2367
  decimals: 6
2198
2368
  },
2369
+ {
2370
+ assetId: "8008",
2371
+ symbol: "HOBO",
2372
+ decimals: 2
2373
+ },
2374
+ {
2375
+ assetId: "6666",
2376
+ symbol: "CHAOS",
2377
+ decimals: 10
2378
+ },
2199
2379
  {
2200
2380
  assetId: "1",
2201
2381
  symbol: "no1",
@@ -2206,11 +2386,26 @@ var AssetHubPolkadot$3 = {
2206
2386
  symbol: "USDcp",
2207
2387
  decimals: 0
2208
2388
  },
2389
+ {
2390
+ assetId: "31337",
2391
+ symbol: "WUD",
2392
+ decimals: 10
2393
+ },
2209
2394
  {
2210
2395
  assetId: "3",
2211
2396
  symbol: "DOT",
2212
2397
  decimals: 20
2213
2398
  },
2399
+ {
2400
+ assetId: "6969",
2401
+ symbol: "LEEMO",
2402
+ decimals: 10
2403
+ },
2404
+ {
2405
+ assetId: "1983",
2406
+ symbol: "KAS",
2407
+ decimals: 12
2408
+ },
2214
2409
  {
2215
2410
  assetId: "1337",
2216
2411
  symbol: "USDC",
@@ -2221,6 +2416,21 @@ var AssetHubPolkadot$3 = {
2221
2416
  symbol: "DANGER",
2222
2417
  decimals: 8
2223
2418
  },
2419
+ {
2420
+ assetId: "17",
2421
+ symbol: "WIFD",
2422
+ decimals: 10
2423
+ },
2424
+ {
2425
+ assetId: "25",
2426
+ symbol: "T54",
2427
+ decimals: 10
2428
+ },
2429
+ {
2430
+ assetId: "69",
2431
+ symbol: "DAL",
2432
+ decimals: 18
2433
+ },
2224
2434
  {
2225
2435
  assetId: "23",
2226
2436
  symbol: "PINK",
@@ -2231,6 +2441,26 @@ var AssetHubPolkadot$3 = {
2231
2441
  symbol: "HASH",
2232
2442
  decimals: 18
2233
2443
  },
2444
+ {
2445
+ assetId: "9001",
2446
+ symbol: "BOMB",
2447
+ decimals: 10
2448
+ },
2449
+ {
2450
+ assetId: "149",
2451
+ symbol: "EDU",
2452
+ decimals: 10
2453
+ },
2454
+ {
2455
+ assetId: "1980",
2456
+ symbol: "GAVIN",
2457
+ decimals: 0
2458
+ },
2459
+ {
2460
+ assetId: "4157",
2461
+ symbol: "PDOG",
2462
+ decimals: 10
2463
+ },
2234
2464
  {
2235
2465
  assetId: "660301",
2236
2466
  symbol: "GRL",
@@ -2246,10 +2476,20 @@ var AssetHubPolkadot$3 = {
2246
2476
  symbol: "CUBO",
2247
2477
  decimals: 9
2248
2478
  },
2479
+ {
2480
+ assetId: "888",
2481
+ symbol: "ASX",
2482
+ decimals: 10
2483
+ },
2249
2484
  {
2250
2485
  assetId: "2024",
2251
2486
  symbol: "WOOD",
2252
2487
  decimals: 10
2488
+ },
2489
+ {
2490
+ assetId: "2230",
2491
+ symbol: "GBILL",
2492
+ decimals: 8
2253
2493
  }
2254
2494
  ]
2255
2495
  };
@@ -2610,6 +2850,19 @@ var Imbue$3 = {
2610
2850
  otherAssets: [
2611
2851
  ]
2612
2852
  };
2853
+ var KiltSpiritnet$3 = {
2854
+ paraId: 2086,
2855
+ relayChainAssetSymbol: "DOT",
2856
+ nativeAssetSymbol: "KILT",
2857
+ nativeAssets: [
2858
+ {
2859
+ symbol: "KILT",
2860
+ decimals: 15
2861
+ }
2862
+ ],
2863
+ otherAssets: [
2864
+ ]
2865
+ };
2613
2866
  var Integritee$3 = {
2614
2867
  paraId: 2015,
2615
2868
  relayChainAssetSymbol: "KSM",
@@ -3175,6 +3428,11 @@ var Moonriver$3 = {
3175
3428
  symbol: "HKO",
3176
3429
  decimals: 12
3177
3430
  },
3431
+ {
3432
+ assetId: "138512078356357941985706694377215053953",
3433
+ symbol: "TNKR",
3434
+ decimals: 12
3435
+ },
3178
3436
  {
3179
3437
  assetId: "328179947973504579459046439826496046832",
3180
3438
  symbol: "KBTC",
@@ -3923,6 +4181,11 @@ var Shiden$3 = {
3923
4181
  symbol: "SYG",
3924
4182
  decimals: 10
3925
4183
  },
4184
+ {
4185
+ assetId: "18446744073709551634",
4186
+ symbol: "BILL",
4187
+ decimals: 8
4188
+ },
3926
4189
  {
3927
4190
  assetId: "18446744073709551626",
3928
4191
  symbol: "SKU",
@@ -4051,6 +4314,11 @@ var AssetHubKusama$3 = {
4051
4314
  symbol: "USDC",
4052
4315
  decimals: 4
4053
4316
  },
4317
+ {
4318
+ assetId: "120",
4319
+ symbol: "OAT",
4320
+ decimals: 4
4321
+ },
4054
4322
  {
4055
4323
  assetId: "1111",
4056
4324
  symbol: "MTVD",
@@ -4366,6 +4634,11 @@ var AssetHubKusama$3 = {
4366
4634
  symbol: "PNN",
4367
4635
  decimals: 10
4368
4636
  },
4637
+ {
4638
+ assetId: "1121",
4639
+ symbol: "OAT",
4640
+ decimals: 12
4641
+ },
4369
4642
  {
4370
4643
  assetId: "117",
4371
4644
  symbol: "TNKR",
@@ -4471,6 +4744,11 @@ var AssetHubKusama$3 = {
4471
4744
  symbol: "HEI",
4472
4745
  decimals: 10
4473
4746
  },
4747
+ {
4748
+ assetId: "1311",
4749
+ symbol: "GCT",
4750
+ decimals: 4
4751
+ },
4474
4752
  {
4475
4753
  assetId: "7",
4476
4754
  symbol: "DOS",
@@ -4566,6 +4844,11 @@ var AssetHubKusama$3 = {
4566
4844
  symbol: "SATS",
4567
4845
  decimals: 1
4568
4846
  },
4847
+ {
4848
+ assetId: "177",
4849
+ symbol: "KST",
4850
+ decimals: 4
4851
+ },
4569
4852
  {
4570
4853
  assetId: "3000",
4571
4854
  symbol: "GRAIN",
@@ -5257,6 +5540,11 @@ var Zeitgeist$3 = {
5257
5540
  symbol: "USDC",
5258
5541
  decimals: 6
5259
5542
  },
5543
+ {
5544
+ assetId: "4",
5545
+ symbol: "USDC",
5546
+ decimals: 6
5547
+ },
5260
5548
  {
5261
5549
  assetId: "2",
5262
5550
  symbol: "WSX",
@@ -5271,6 +5559,11 @@ var Zeitgeist$3 = {
5271
5559
  assetId: "0",
5272
5560
  symbol: "DOT",
5273
5561
  decimals: 10
5562
+ },
5563
+ {
5564
+ assetId: "5",
5565
+ symbol: "USDT",
5566
+ decimals: 6
5274
5567
  }
5275
5568
  ]
5276
5569
  };
@@ -5493,6 +5786,7 @@ var assets = {
5493
5786
  CrustShadow: CrustShadow$3,
5494
5787
  Encointer: Encointer$3,
5495
5788
  Imbue: Imbue$3,
5789
+ KiltSpiritnet: KiltSpiritnet$3,
5496
5790
  Integritee: Integritee$3,
5497
5791
  InvArchTinker: InvArchTinker$3,
5498
5792
  Karura: Karura$3,
@@ -5552,6 +5846,7 @@ var assetsMapJson = /*#__PURE__*/Object.freeze({
5552
5846
  InvArchTinker: InvArchTinker$3,
5553
5847
  Karura: Karura$3,
5554
5848
  Khala: Khala$3,
5849
+ KiltSpiritnet: KiltSpiritnet$3,
5555
5850
  Kintsugi: Kintsugi$3,
5556
5851
  Litentry: Litentry$3,
5557
5852
  Litmus: Litmus$3,
@@ -5801,6 +6096,7 @@ var ParachainNode = /*#__PURE__*/function () {
5801
6096
  destination = options.destination,
5802
6097
  paraIdTo = options.paraIdTo,
5803
6098
  overridedCurrencyMultiLocation = options.overridedCurrencyMultiLocation,
6099
+ feeAsset = options.feeAsset,
5804
6100
  _options$serializedAp = options.serializedApiCallEnabled,
5805
6101
  serializedApiCallEnabled = _options$serializedAp === void 0 ? false : _options$serializedAp;
5806
6102
  var scenario = destination !== undefined ? 'ParaToPara' : 'ParaToRelay';
@@ -5818,6 +6114,7 @@ var ParachainNode = /*#__PURE__*/function () {
5818
6114
  paraIdTo: paraId,
5819
6115
  destination: destination,
5820
6116
  overridedCurrencyMultiLocation: overridedCurrencyMultiLocation,
6117
+ feeAsset: feeAsset,
5821
6118
  serializedApiCallEnabled: serializedApiCallEnabled
5822
6119
  });
5823
6120
  } else if (supportsXTransfer(this)) {
@@ -5841,6 +6138,7 @@ var ParachainNode = /*#__PURE__*/function () {
5841
6138
  currencySelection: this.createCurrencySpec(amount, scenario, this.version, currencyId, overridedCurrencyMultiLocation),
5842
6139
  scenario: scenario,
5843
6140
  currencySymbol: currencySymbol,
6141
+ feeAsset: feeAsset,
5844
6142
  serializedApiCallEnabled: serializedApiCallEnabled
5845
6143
  });
5846
6144
  } else {
@@ -5881,7 +6179,7 @@ var ParachainNode = /*#__PURE__*/function () {
5881
6179
  }
5882
6180
  }, {
5883
6181
  key: "createCurrencySpec",
5884
- value: function createCurrencySpec$1(amount, scenario, version, currencyId, overridedMultiLocation) {
6182
+ value: function createCurrencySpec$1(amount, scenario, version, _, overridedMultiLocation) {
5885
6183
  return createCurrencySpec(amount, version, scenario === 'ParaToRelay' ? Parents.ONE : Parents.ZERO, overridedMultiLocation);
5886
6184
  }
5887
6185
  }, {
@@ -5927,6 +6225,12 @@ var getCurrencySelection = function getCurrencySelection(_ref2, isAssetHub, curr
5927
6225
  }
5928
6226
  return currencySelection;
5929
6227
  };
6228
+ var getParameters = function getParameters(isAssetHub, currencySelection, addressSelection, amount, fees, feeAsset) {
6229
+ if (isAssetHub) {
6230
+ return feeAsset !== undefined ? [currencySelection, feeAsset, addressSelection, fees] : [currencySelection, addressSelection, fees];
6231
+ }
6232
+ return [currencySelection, amount, addressSelection, fees];
6233
+ };
5930
6234
  // eslint-disable-next-line @typescript-eslint/no-extraneous-class
5931
6235
  var XTokensTransferImpl = /*#__PURE__*/function () {
5932
6236
  function XTokensTransferImpl() {
@@ -5935,12 +6239,14 @@ var XTokensTransferImpl = /*#__PURE__*/function () {
5935
6239
  return _createClass(XTokensTransferImpl, null, [{
5936
6240
  key: "transferXTokens",
5937
6241
  value: function transferXTokens(input, currencySelection) {
6242
+ var _api$tx$module;
5938
6243
  var fees = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Unlimited';
5939
6244
  var pallet = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'XTokens';
5940
6245
  var api = input.api,
5941
6246
  amount = input.amount,
5942
6247
  addressSelection = input.addressSelection,
5943
6248
  destination = input.destination,
6249
+ feeAsset = input.feeAsset,
5944
6250
  serializedApiCallEnabled = input.serializedApiCallEnabled;
5945
6251
  var isMultiLocationDestination = _typeof(destination) === 'object';
5946
6252
  if (isMultiLocationDestination) {
@@ -5950,14 +6256,15 @@ var XTokensTransferImpl = /*#__PURE__*/function () {
5950
6256
  var isAssetHub = destination === 'AssetHubPolkadot' || destination === 'AssetHubKusama';
5951
6257
  var modifiedCurrencySelection = getCurrencySelection(input, isAssetHub, currencySelection);
5952
6258
  var section = isAssetHub ? 'transferMultiasset' : 'transfer';
6259
+ var parameters = getParameters(isAssetHub, modifiedCurrencySelection, addressSelection, amount, fees, feeAsset);
5953
6260
  if (serializedApiCallEnabled === true) {
5954
6261
  return {
5955
6262
  module: module,
5956
6263
  section: section,
5957
- parameters: isAssetHub ? [modifiedCurrencySelection, addressSelection, fees] : [modifiedCurrencySelection, amount, addressSelection, fees]
6264
+ parameters: parameters
5958
6265
  };
5959
6266
  }
5960
- return isAssetHub ? api.tx[module][section](modifiedCurrencySelection, addressSelection, fees) : api.tx[module][section](modifiedCurrencySelection, amount, addressSelection, fees);
6267
+ return (_api$tx$module = api.tx[module])[section].apply(_api$tx$module, _toConsumableArray(parameters));
5961
6268
  }
5962
6269
  }]);
5963
6270
  }();
@@ -6619,6 +6926,7 @@ var Karura$2 = /*#__PURE__*/function (_ParachainNode) {
6619
6926
  }(ParachainNode);
6620
6927
 
6621
6928
  // Contains basic structure of polkadotXCM call
6929
+ var DEFAULT_FEE_ASSET = 0;
6622
6930
  // eslint-disable-next-line @typescript-eslint/no-extraneous-class
6623
6931
  var PolkadotXCMTransferImpl = /*#__PURE__*/function () {
6624
6932
  function PolkadotXCMTransferImpl() {
@@ -6631,16 +6939,18 @@ var PolkadotXCMTransferImpl = /*#__PURE__*/function () {
6631
6939
  header = _ref.header,
6632
6940
  addressSelection = _ref.addressSelection,
6633
6941
  currencySelection = _ref.currencySelection,
6942
+ _ref$feeAsset = _ref.feeAsset,
6943
+ feeAsset = _ref$feeAsset === void 0 ? DEFAULT_FEE_ASSET : _ref$feeAsset,
6634
6944
  serializedApiCallEnabled = _ref.serializedApiCallEnabled;
6635
6945
  var fees = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
6636
6946
  if (serializedApiCallEnabled === true) {
6637
6947
  return {
6638
6948
  module: 'polkadotXcm',
6639
6949
  section: method,
6640
- parameters: [header, addressSelection, currencySelection, 0].concat(_toConsumableArray(fees !== undefined ? [fees] : []))
6950
+ parameters: [header, addressSelection, currencySelection, feeAsset].concat(_toConsumableArray(fees !== undefined ? [fees] : []))
6641
6951
  };
6642
6952
  }
6643
- return fees !== undefined ? api.tx.polkadotXcm[method](header, addressSelection, currencySelection, 0, fees) : api.tx.polkadotXcm[method](header, addressSelection, currencySelection, 0);
6953
+ return fees !== undefined ? api.tx.polkadotXcm[method](header, addressSelection, currencySelection, feeAsset, fees) : api.tx.polkadotXcm[method](header, addressSelection, currencySelection, feeAsset);
6644
6954
  }
6645
6955
  }]);
6646
6956
  }();
@@ -6728,7 +7038,7 @@ var CoretimeKusama$2 = /*#__PURE__*/function (_ParachainNode) {
6728
7038
  function CoretimeKusama() {
6729
7039
  var _this;
6730
7040
  _classCallCheck(this, CoretimeKusama);
6731
- _this = _callSuper(this, CoretimeKusama, ['CoretimeKusama', 'KusamaCoretime', 'kusama', Version.V3]);
7041
+ _this = _callSuper(this, CoretimeKusama, ['CoretimeKusama', 'kusamaCoretime', 'kusama', Version.V3]);
6732
7042
  _this._assetCheckEnabled = false;
6733
7043
  return _this;
6734
7044
  }
@@ -7195,16 +7505,21 @@ var getDestination = function getDestination(_ref) {
7195
7505
  return recipientAddress;
7196
7506
  }
7197
7507
  var isEthAddress = ethers.utils.isAddress(recipientAddress);
7508
+ var addressJunction = isEthAddress ? {
7509
+ AccountKey20: {
7510
+ key: recipientAddress
7511
+ }
7512
+ } : {
7513
+ AccountId32: {
7514
+ id: createAccID(api, recipientAddress)
7515
+ }
7516
+ };
7198
7517
  return {
7199
- parents: 1,
7518
+ parents: Parents.ONE,
7200
7519
  interior: {
7201
7520
  X2: [{
7202
7521
  Parachain: paraId
7203
- }, _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign({}, isEthAddress ? {
7204
- key: recipientAddress
7205
- } : {
7206
- id: createAccID(api, recipientAddress)
7207
- }))]
7522
+ }, addressJunction]
7208
7523
  }
7209
7524
  };
7210
7525
  };
@@ -7226,7 +7541,7 @@ var XTransferTransferImpl = /*#__PURE__*/function () {
7226
7541
  if (isMultiLocationDestination) {
7227
7542
  throw new Error('Multilocation destinations are not supported for specific transfer you are trying to create. In special cases such as xTokens or xTransfer pallet try using address multilocation instead (for both destination and address in same multilocation set (eg. X2 - Parachain, Address). For further assistance please open issue in our repository.');
7228
7543
  }
7229
- var currencySpec = createCurrencySpec(amount, Version.V1, Parents.ZERO, overridedCurrencyMultiLocation)[Version.V1][0];
7544
+ var currencySpec = Object.values(createCurrencySpec(amount, Version.V1, Parents.ZERO, overridedCurrencyMultiLocation))[0][0];
7230
7545
  var dest = getDestination(input);
7231
7546
  if (serializedApiCallEnabled === true) {
7232
7547
  return {
@@ -7285,8 +7600,30 @@ var Subsocial$2 = /*#__PURE__*/function (_ParachainNode) {
7285
7600
  return _createClass(Subsocial);
7286
7601
  }(ParachainNode);
7287
7602
 
7603
+ var KiltSpiritnet$2 = /*#__PURE__*/function (_ParachainNode) {
7604
+ function KiltSpiritnet() {
7605
+ _classCallCheck(this, KiltSpiritnet);
7606
+ return _callSuper(this, KiltSpiritnet, ['KiltSpiritnet', 'kilt', 'polkadot', Version.V2]);
7607
+ }
7608
+ _inherits(KiltSpiritnet, _ParachainNode);
7609
+ return _createClass(KiltSpiritnet, [{
7610
+ key: "transferPolkadotXCM",
7611
+ value: function transferPolkadotXCM(input) {
7612
+ if (input.scenario !== 'ParaToPara') {
7613
+ throw new ScenarioNotSupportedError('KiltSpiritnet', input.scenario);
7614
+ }
7615
+ return PolkadotXCMTransferImpl.transferPolkadotXCM(input, 'reserveTransferAssets');
7616
+ }
7617
+ }, {
7618
+ key: "transferRelayToPara",
7619
+ value: function transferRelayToPara() {
7620
+ throw new NodeNotSupportedError();
7621
+ }
7622
+ }]);
7623
+ }(ParachainNode);
7624
+
7288
7625
  // Contains supported Parachains and exports supported XCM Pallets
7289
- var NODE_NAMES = ['AssetHubPolkadot', 'Acala', 'Astar', 'BifrostPolkadot', 'Bitgreen', 'Centrifuge', 'ComposableFinance', 'Darwinia', 'HydraDX', 'Interlay', 'Litentry', 'Moonbeam', 'Parallel', 'AssetHubKusama', 'CoretimeKusama', 'Encointer', 'Altair', 'Amplitude', 'Bajun', 'Basilisk', 'BifrostKusama', 'Pioneer', 'Calamari', 'CrustShadow', 'Crab', 'Imbue', 'Integritee', 'InvArchTinker', 'Karura', 'Kintsugi', 'Litmus', 'Mangata', 'Moonriver', 'ParallelHeiko', 'Picasso', 'Quartz', 'Robonomics', 'Shiden', 'Turing', 'Unique', 'Crust', 'Manta', 'Nodle', 'NeuroWeb', 'Pendulum', 'Polkadex', 'Zeitgeist', 'Collectives', 'Khala', 'Phala', 'Subsocial'];
7626
+ var NODE_NAMES = ['AssetHubPolkadot', 'Acala', 'Astar', 'BifrostPolkadot', 'Bitgreen', 'Centrifuge', 'ComposableFinance', 'Darwinia', 'HydraDX', 'Interlay', 'Litentry', 'Moonbeam', 'Parallel', 'AssetHubKusama', 'CoretimeKusama', 'Encointer', 'Altair', 'Amplitude', 'Bajun', 'Basilisk', 'BifrostKusama', 'Pioneer', 'Calamari', 'CrustShadow', 'Crab', 'Imbue', 'Integritee', 'InvArchTinker', 'Karura', 'Kintsugi', 'Litmus', 'Mangata', 'Moonriver', 'ParallelHeiko', 'Picasso', 'Quartz', 'Robonomics', 'Shiden', 'Turing', 'Unique', 'Crust', 'Manta', 'Nodle', 'NeuroWeb', 'Pendulum', 'Polkadex', 'Zeitgeist', 'Collectives', 'Khala', 'Phala', 'Subsocial', 'KiltSpiritnet'];
7290
7627
  var NODES_WITH_RELAY_CHAINS = [].concat(NODE_NAMES, ['Polkadot', 'Kusama']);
7291
7628
  var nodes = {
7292
7629
  AssetHubPolkadot: new AssetHubPolkadot$2(),
@@ -7339,7 +7676,8 @@ var nodes = {
7339
7676
  Collectives: new Collectives$2(),
7340
7677
  Khala: new Khala$2(),
7341
7678
  Phala: new Phala$2(),
7342
- Subsocial: new Subsocial$2()
7679
+ Subsocial: new Subsocial$2(),
7680
+ KiltSpiritnet: new KiltSpiritnet$2()
7343
7681
  };
7344
7682
  var SUPPORTED_PALLETS = ['XTokens', 'OrmlXTokens', 'PolkadotXcm', 'RelayerXcm', 'XTransfer'];
7345
7683
 
@@ -7365,7 +7703,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
7365
7703
  var isEthAddress = ethers.utils.isAddress(recipientAddress);
7366
7704
  if (scenario === 'ParaToRelay') {
7367
7705
  return _defineProperty({}, version, {
7368
- parents: pallet === 'XTokens' ? 1 : 0,
7706
+ parents: pallet === 'XTokens' ? Parents.ONE : Parents.ZERO,
7369
7707
  interior: {
7370
7708
  X1: {
7371
7709
  AccountId32: Object.assign(Object.assign({}, version === Version.V1 && {
@@ -7379,46 +7717,60 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
7379
7717
  }
7380
7718
  if (scenario === 'ParaToPara' && pallet === 'XTokens') {
7381
7719
  return _defineProperty({}, version, {
7382
- parents: 1,
7720
+ parents: Parents.ONE,
7383
7721
  interior: {
7384
7722
  X2: [{
7385
7723
  Parachain: nodeId
7386
- }, _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign(Object.assign({}, version === Version.V1 && {
7387
- network: 'any'
7388
- }), isEthAddress ? {
7389
- key: recipientAddress
7724
+ }, isEthAddress ? {
7725
+ AccountKey20: Object.assign(Object.assign({}, version === Version.V1 && {
7726
+ network: 'any'
7727
+ }), {
7728
+ key: recipientAddress
7729
+ })
7390
7730
  } : {
7391
- id: createAccID(api, recipientAddress)
7392
- }))]
7731
+ AccountId32: Object.assign(Object.assign({}, version === Version.V1 && {
7732
+ network: 'any'
7733
+ }), {
7734
+ id: createAccID(api, recipientAddress)
7735
+ })
7736
+ }]
7393
7737
  }
7394
7738
  });
7395
7739
  }
7396
7740
  if (scenario === 'ParaToPara' && pallet === 'PolkadotXcm') {
7397
7741
  return _defineProperty({}, version, {
7398
- parents: 0,
7742
+ parents: Parents.ZERO,
7399
7743
  interior: {
7400
- X1: _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign(Object.assign({}, version === Version.V1 && {
7401
- network: 'any'
7402
- }), isEthAddress ? {
7403
- key: recipientAddress
7744
+ X1: isEthAddress ? {
7745
+ AccountKey20: Object.assign(Object.assign({}, version === Version.V1 && {
7746
+ network: 'any'
7747
+ }), {
7748
+ key: recipientAddress
7749
+ })
7404
7750
  } : {
7405
- id: createAccID(api, recipientAddress)
7406
- }))
7751
+ AccountId32: Object.assign(Object.assign({}, version === Version.V1 && {
7752
+ network: 'any'
7753
+ }), {
7754
+ id: createAccID(api, recipientAddress)
7755
+ })
7756
+ }
7407
7757
  }
7408
7758
  });
7409
7759
  }
7410
- return {
7411
- V3: {
7412
- parents: 0,
7413
- interior: {
7414
- X1: _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign({}, isEthAddress ? {
7760
+ return _defineProperty({}, Version.V3, {
7761
+ parents: Parents.ZERO,
7762
+ interior: {
7763
+ X1: isEthAddress ? {
7764
+ AccountKey20: {
7415
7765
  key: recipientAddress
7416
- } : {
7766
+ }
7767
+ } : {
7768
+ AccountId32: {
7417
7769
  id: createAccID(api, recipientAddress)
7418
- }))
7770
+ }
7419
7771
  }
7420
7772
  }
7421
- };
7773
+ });
7422
7774
  };
7423
7775
  var getNode = function getNode(node) {
7424
7776
  return nodes[node];
@@ -7564,7 +7916,7 @@ var Litentry$1 = "100000000000";
7564
7916
  var Moonbeam$1 = "0";
7565
7917
  var Parallel$1 = "100000000000";
7566
7918
  var AssetHubKusama$1 = "3333333";
7567
- var CoretimeKusama$1 = "3333333";
7919
+ var CoretimeKusama$1 = "33333333";
7568
7920
  var Encointer$1 = "33333333";
7569
7921
  var Altair$1 = "1000000000000";
7570
7922
  var Amplitude$1 = "1000000000";
@@ -7604,6 +7956,7 @@ var Collectives$1 = "1000000000";
7604
7956
  var Khala$1 = "10000000000";
7605
7957
  var Phala$1 = "10000000000";
7606
7958
  var Subsocial$1 = "100000000";
7959
+ var KiltSpiritnet$1 = "10000000000000";
7607
7960
  var existentialDeposits = {
7608
7961
  AssetHubPolkadot: AssetHubPolkadot$1,
7609
7962
  Acala: Acala$1,
@@ -7657,7 +8010,8 @@ var existentialDeposits = {
7657
8010
  Collectives: Collectives$1,
7658
8011
  Khala: Khala$1,
7659
8012
  Phala: Phala$1,
7660
- Subsocial: Subsocial$1
8013
+ Subsocial: Subsocial$1,
8014
+ KiltSpiritnet: KiltSpiritnet$1
7661
8015
  };
7662
8016
 
7663
8017
  var edMapJson = /*#__PURE__*/Object.freeze({
@@ -7690,6 +8044,7 @@ var edMapJson = /*#__PURE__*/Object.freeze({
7690
8044
  InvArchTinker: InvArchTinker$1,
7691
8045
  Karura: Karura$1,
7692
8046
  Khala: Khala$1,
8047
+ KiltSpiritnet: KiltSpiritnet$1,
7693
8048
  Kintsugi: Kintsugi$1,
7694
8049
  Kusama: Kusama,
7695
8050
  Litentry: Litentry$1,
@@ -7987,6 +8342,12 @@ var ParaToParaBuilder = /*#__PURE__*/function () {
7987
8342
  this.paraIdTo = paraIdTo;
7988
8343
  }
7989
8344
  return _createClass(ParaToParaBuilder, [{
8345
+ key: "feeAsset",
8346
+ value: function feeAsset(_feeAsset) {
8347
+ this._feeAsset = _feeAsset;
8348
+ return this;
8349
+ }
8350
+ }, {
7990
8351
  key: "amount",
7991
8352
  value: function amount(_amount) {
7992
8353
  this._amount = _amount;
@@ -8015,6 +8376,7 @@ var ParaToParaBuilder = /*#__PURE__*/function () {
8015
8376
  address: this._address,
8016
8377
  destination: this.to,
8017
8378
  paraIdTo: this.paraIdTo,
8379
+ feeAsset: this._feeAsset,
8018
8380
  destApiForKeepAlive: this._destApi
8019
8381
  };
8020
8382
  }
@@ -8067,11 +8429,12 @@ var ParaToParaBuilder = /*#__PURE__*/function () {
8067
8429
  }();
8068
8430
 
8069
8431
  var ParaToRelayBuilder = /*#__PURE__*/function () {
8070
- function ParaToRelayBuilder(api, from, amount) {
8432
+ function ParaToRelayBuilder(api, from, amount, feeAsset) {
8071
8433
  _classCallCheck(this, ParaToRelayBuilder);
8072
8434
  this.api = api;
8073
8435
  this.from = from;
8074
8436
  this.amount = amount;
8437
+ this.feeAsset = feeAsset;
8075
8438
  }
8076
8439
  return _createClass(ParaToRelayBuilder, [{
8077
8440
  key: "address",
@@ -8095,6 +8458,7 @@ var ParaToRelayBuilder = /*#__PURE__*/function () {
8095
8458
  currency: currency,
8096
8459
  amount: this.amount,
8097
8460
  address: this._address,
8461
+ feeAsset: this.feeAsset,
8098
8462
  destApiForKeepAlive: this._destApi
8099
8463
  };
8100
8464
  }
@@ -8140,8 +8504,8 @@ var ParaToRelayBuilder = /*#__PURE__*/function () {
8140
8504
  }
8141
8505
  }], [{
8142
8506
  key: "create",
8143
- value: function create(api, from, amount) {
8144
- return new ParaToRelayBuilder(api, from, amount);
8507
+ value: function create(api, from, amount, feeAsset) {
8508
+ return new ParaToRelayBuilder(api, from, amount, feeAsset);
8145
8509
  }
8146
8510
  }]);
8147
8511
  }();
@@ -8192,10 +8556,16 @@ var FromGeneralBuilder = /*#__PURE__*/function () {
8192
8556
  value: function to(node, paraIdTo) {
8193
8557
  return new ToGeneralBuilder(this.api, this.from, node, paraIdTo);
8194
8558
  }
8559
+ }, {
8560
+ key: "feeAsset",
8561
+ value: function feeAsset(_feeAsset) {
8562
+ this._feeAsset = _feeAsset;
8563
+ return this;
8564
+ }
8195
8565
  }, {
8196
8566
  key: "amount",
8197
8567
  value: function amount(_amount) {
8198
- return ParaToRelayBuilder.create(this.api, this.from, _amount);
8568
+ return ParaToRelayBuilder.create(this.api, this.from, _amount, this._feeAsset);
8199
8569
  }
8200
8570
  }, {
8201
8571
  key: "closeChannel",
@@ -8376,11 +8746,11 @@ var checkKeepAlive = function checkKeepAlive(_ref) {
8376
8746
 
8377
8747
  var sendCommon = function sendCommon(options) {
8378
8748
  return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8379
- var _a, api, origin, currency, amount, address, destination, paraIdTo, destApiForKeepAlive, _options$serializedAp, serializedApiCallEnabled, asset, isMultiLocationDestination, isMultiLocationCurrency, originRelayChainSymbol, destinationRelayChainSymbol, originNode, assetCheckEnabled, apiWithFallback, amountStr, currencyStr, currencyId;
8749
+ var _a, api, origin, currency, amount, address, destination, paraIdTo, destApiForKeepAlive, feeAsset, _options$serializedAp, serializedApiCallEnabled, asset, isMultiLocationDestination, isMultiLocationCurrency, originRelayChainSymbol, destinationRelayChainSymbol, originNode, assetCheckEnabled, apiWithFallback, amountStr, currencyStr, currencyId;
8380
8750
  return _regeneratorRuntime().wrap(function _callee$(_context) {
8381
8751
  while (1) switch (_context.prev = _context.next) {
8382
8752
  case 0:
8383
- api = options.api, origin = options.origin, currency = options.currency, amount = options.amount, address = options.address, destination = options.destination, paraIdTo = options.paraIdTo, destApiForKeepAlive = options.destApiForKeepAlive, _options$serializedAp = options.serializedApiCallEnabled, serializedApiCallEnabled = _options$serializedAp === void 0 ? false : _options$serializedAp;
8753
+ api = options.api, origin = options.origin, currency = options.currency, amount = options.amount, address = options.address, destination = options.destination, paraIdTo = options.paraIdTo, destApiForKeepAlive = options.destApiForKeepAlive, feeAsset = options.feeAsset, _options$serializedAp = options.serializedApiCallEnabled, serializedApiCallEnabled = _options$serializedAp === void 0 ? false : _options$serializedAp;
8384
8754
  if (!(typeof currency === 'number' && currency > Number.MAX_SAFE_INTEGER)) {
8385
8755
  _context.next = 3;
8386
8756
  break;
@@ -8477,6 +8847,7 @@ var sendCommon = function sendCommon(options) {
8477
8847
  destination: destination,
8478
8848
  paraIdTo: paraIdTo,
8479
8849
  overridedCurrencyMultiLocation: _typeof(currency) === 'object' ? currency : undefined,
8850
+ feeAsset: feeAsset,
8480
8851
  serializedApiCallEnabled: serializedApiCallEnabled
8481
8852
  }));
8482
8853
  case 43:
@@ -8990,6 +9361,12 @@ var Subsocial = {
8990
9361
  "PolkadotXcm"
8991
9362
  ]
8992
9363
  };
9364
+ var KiltSpiritnet = {
9365
+ defaultPallet: "PolkadotXcm",
9366
+ supportedPallets: [
9367
+ "PolkadotXcm"
9368
+ ]
9369
+ };
8993
9370
  var pallets = {
8994
9371
  AssetHubPolkadot: AssetHubPolkadot,
8995
9372
  Acala: Acala,
@@ -9041,7 +9418,8 @@ var pallets = {
9041
9418
  Collectives: Collectives,
9042
9419
  Khala: Khala,
9043
9420
  Phala: Phala,
9044
- Subsocial: Subsocial
9421
+ Subsocial: Subsocial,
9422
+ KiltSpiritnet: KiltSpiritnet
9045
9423
  };
9046
9424
 
9047
9425
  var palletsMapJson = /*#__PURE__*/Object.freeze({
@@ -9074,6 +9452,7 @@ var palletsMapJson = /*#__PURE__*/Object.freeze({
9074
9452
  InvArchTinker: InvArchTinker,
9075
9453
  Karura: Karura,
9076
9454
  Khala: Khala,
9455
+ KiltSpiritnet: KiltSpiritnet,
9077
9456
  Kintsugi: Kintsugi,
9078
9457
  Litentry: Litentry,
9079
9458
  Litmus: Litmus,