@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.cjs CHANGED
@@ -603,10 +603,10 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
603
603
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
604
604
  };
605
605
 
606
- // derrived from https://github.com/kodadot/packages/blob/main/minimark/src/common/types.ts
607
606
  exports.Version = void 0;
608
607
  (function (Version) {
609
608
  Version["V1"] = "V1";
609
+ Version["V2"] = "V2";
610
610
  Version["V3"] = "V3";
611
611
  })(exports.Version || (exports.Version = {}));
612
612
  exports.Parents = void 0;
@@ -982,6 +982,11 @@ var Astar$3 = {
982
982
  symbol: "aSEED",
983
983
  decimals: 12
984
984
  },
985
+ {
986
+ assetId: "18446744073709551634",
987
+ symbol: "xcPEN",
988
+ decimals: 12
989
+ },
985
990
  {
986
991
  assetId: "1336",
987
992
  symbol: "TDOT",
@@ -1136,6 +1141,11 @@ var Centrifuge$3 = {
1136
1141
  symbol: "localUSDC",
1137
1142
  decimals: 6
1138
1143
  },
1144
+ {
1145
+ assetId: "1615768079",
1146
+ symbol: "NS3SR",
1147
+ decimals: 6
1148
+ },
1139
1149
  {
1140
1150
  assetId: "100006",
1141
1151
  symbol: "LpCeloUSDC",
@@ -1190,6 +1200,11 @@ var Centrifuge$3 = {
1190
1200
  assetId: "4139607887",
1191
1201
  symbol: "LTF",
1192
1202
  decimals: 6
1203
+ },
1204
+ {
1205
+ assetId: "1615768079",
1206
+ symbol: "NS3JR",
1207
+ decimals: 6
1193
1208
  }
1194
1209
  ]
1195
1210
  };
@@ -1369,48 +1384,68 @@ var HydraDX$3 = {
1369
1384
  ],
1370
1385
  otherAssets: [
1371
1386
  {
1372
- assetId: "7",
1373
- symbol: "USDC",
1387
+ assetId: "100",
1388
+ symbol: "4-Pool",
1389
+ decimals: 18
1390
+ },
1391
+ {
1392
+ assetId: "0",
1393
+ symbol: "HDX",
1394
+ decimals: 12
1395
+ },
1396
+ {
1397
+ assetId: "10",
1398
+ symbol: "USDT",
1374
1399
  decimals: 6
1375
1400
  },
1376
1401
  {
1377
- assetId: "20",
1402
+ assetId: "4",
1378
1403
  symbol: "WETH",
1379
1404
  decimals: 18
1380
1405
  },
1381
1406
  {
1382
- assetId: "13",
1383
- symbol: "CFG",
1384
- decimals: 18
1407
+ assetId: "21",
1408
+ symbol: "USDC",
1409
+ decimals: 6
1385
1410
  },
1386
1411
  {
1387
- assetId: "26",
1388
- symbol: "NODL",
1389
- decimals: 11
1412
+ assetId: "28",
1413
+ symbol: "KILT",
1414
+ decimals: 15
1390
1415
  },
1391
1416
  {
1392
- assetId: "5",
1393
- symbol: "DOT",
1394
- decimals: 10
1417
+ assetId: "20",
1418
+ symbol: "WETH",
1419
+ decimals: 18
1395
1420
  },
1396
1421
  {
1397
- assetId: "100",
1398
- symbol: "4-Pool",
1422
+ assetId: "101",
1423
+ symbol: "2-Pool",
1399
1424
  decimals: 18
1400
1425
  },
1401
1426
  {
1402
- assetId: "8",
1403
- symbol: "PHA",
1427
+ assetId: "16",
1428
+ symbol: "GLMR",
1429
+ decimals: 18
1430
+ },
1431
+ {
1432
+ assetId: "11",
1433
+ symbol: "iBTC",
1434
+ decimals: 8
1435
+ },
1436
+ {
1437
+ assetId: "1000099",
1438
+ symbol: "ACA",
1404
1439
  decimals: 12
1405
1440
  },
1406
1441
  {
1407
- assetId: "1",
1408
- symbol: "LRNA",
1442
+ assetId: "14",
1443
+ symbol: "BNC",
1409
1444
  decimals: 12
1410
1445
  },
1411
1446
  {
1412
- assetId: "101",
1413
- symbol: "2-Pool",
1447
+ assetId: "6",
1448
+ symbol: "APE",
1414
1449
  decimals: 18
1415
1450
  },
1416
1451
  {
@@ -1419,64 +1454,84 @@ var HydraDX$3 = {
1419
1454
  decimals: 8
1420
1455
  },
1421
1456
  {
1422
- assetId: "9",
1423
- symbol: "ASTR",
1457
+ assetId: "15",
1458
+ symbol: "vDOT",
1459
+ decimals: 10
1460
+ },
1461
+ {
1462
+ assetId: "2",
1463
+ symbol: "DAI",
1424
1464
  decimals: 18
1425
1465
  },
1426
1466
  {
1427
- assetId: "16",
1428
- symbol: "GLMR",
1467
+ assetId: "13",
1468
+ symbol: "CFG",
1429
1469
  decimals: 18
1430
1470
  },
1431
1471
  {
1432
- assetId: "14",
1433
- symbol: "BNC",
1472
+ assetId: "27",
1473
+ symbol: "CRU",
1434
1474
  decimals: 12
1435
1475
  },
1436
1476
  {
1437
- assetId: "21",
1438
- symbol: "USDC",
1439
- decimals: 6
1477
+ assetId: "102",
1478
+ symbol: "2-Pool",
1479
+ decimals: 18
1440
1480
  },
1441
1481
  {
1442
- assetId: "15",
1443
- symbol: "vDOT",
1482
+ assetId: "5",
1483
+ symbol: "DOT",
1444
1484
  decimals: 10
1445
1485
  },
1446
1486
  {
1447
- assetId: "24",
1448
- symbol: "SUB",
1449
- decimals: 10
1487
+ assetId: "18",
1488
+ symbol: "DAI",
1489
+ decimals: 18
1450
1490
  },
1451
1491
  {
1452
- assetId: "22",
1492
+ assetId: "7",
1453
1493
  symbol: "USDC",
1454
1494
  decimals: 6
1455
1495
  },
1456
1496
  {
1457
- assetId: "2",
1458
- symbol: "DAI",
1459
- decimals: 18
1497
+ assetId: "26",
1498
+ symbol: "NODL",
1499
+ decimals: 11
1460
1500
  },
1461
1501
  {
1462
- assetId: "10",
1463
- symbol: "USDT",
1502
+ assetId: "22",
1503
+ symbol: "USDC",
1464
1504
  decimals: 6
1465
1505
  },
1466
1506
  {
1467
- assetId: "0",
1468
- symbol: "HDX",
1507
+ assetId: "24",
1508
+ symbol: "SUB",
1509
+ decimals: 10
1510
+ },
1511
+ {
1512
+ assetId: "8",
1513
+ symbol: "PHA",
1469
1514
  decimals: 12
1470
1515
  },
1471
1516
  {
1472
- assetId: "6",
1473
- symbol: "APE",
1474
- decimals: 18
1517
+ assetId: "1000100",
1518
+ symbol: "LDOT",
1519
+ decimals: 10
1475
1520
  },
1476
1521
  {
1477
- assetId: "11",
1478
- symbol: "iBTC",
1479
- decimals: 8
1522
+ assetId: "1",
1523
+ symbol: "LRNA",
1524
+ decimals: 12
1525
+ },
1526
+ {
1527
+ assetId: "12",
1528
+ symbol: "ZTG",
1529
+ decimals: 10
1530
+ },
1531
+ {
1532
+ assetId: "1000081",
1533
+ symbol: "PEN",
1534
+ decimals: 12
1480
1535
  },
1481
1536
  {
1482
1537
  assetId: "3",
@@ -1489,8 +1544,8 @@ var HydraDX$3 = {
1489
1544
  decimals: 10
1490
1545
  },
1491
1546
  {
1492
- assetId: "18",
1493
- symbol: "DAI",
1547
+ assetId: "25",
1548
+ symbol: "UNQ",
1494
1549
  decimals: 18
1495
1550
  },
1496
1551
  {
@@ -1499,19 +1554,9 @@ var HydraDX$3 = {
1499
1554
  decimals: 6
1500
1555
  },
1501
1556
  {
1502
- assetId: "4",
1503
- symbol: "WETH",
1504
- decimals: 18
1505
- },
1506
- {
1507
- assetId: "25",
1508
- symbol: "UNQ",
1557
+ assetId: "9",
1558
+ symbol: "ASTR",
1509
1559
  decimals: 18
1510
- },
1511
- {
1512
- assetId: "12",
1513
- symbol: "ZTG",
1514
- decimals: 10
1515
1560
  }
1516
1561
  ]
1517
1562
  };
@@ -1551,6 +1596,11 @@ var Interlay$3 = {
1551
1596
  symbol: "WBNB.wh",
1552
1597
  decimals: 18
1553
1598
  },
1599
+ {
1600
+ assetId: "13",
1601
+ symbol: "HDX",
1602
+ decimals: 12
1603
+ },
1554
1604
  {
1555
1605
  assetId: "5",
1556
1606
  symbol: "TBTC.wh",
@@ -1600,6 +1650,11 @@ var Interlay$3 = {
1600
1650
  assetId: "4",
1601
1651
  symbol: "DAI.wh",
1602
1652
  decimals: 18
1653
+ },
1654
+ {
1655
+ assetId: "12",
1656
+ symbol: "USDC",
1657
+ decimals: 6
1603
1658
  }
1604
1659
  ]
1605
1660
  };
@@ -1637,11 +1692,21 @@ var Moonbeam$3 = {
1637
1692
  symbol: "ZTG",
1638
1693
  decimals: 10
1639
1694
  },
1695
+ {
1696
+ assetId: "283870493414747423842723289889816153538",
1697
+ symbol: "UNQ",
1698
+ decimals: 18
1699
+ },
1640
1700
  {
1641
1701
  assetId: "90225766094594282577230355136633846906",
1642
1702
  symbol: "PDEX",
1643
1703
  decimals: 12
1644
1704
  },
1705
+ {
1706
+ assetId: "314077021455772878282433861213184736939",
1707
+ symbol: "PEAQ",
1708
+ decimals: 18
1709
+ },
1645
1710
  {
1646
1711
  assetId: "144012926827374458669278577633504620722",
1647
1712
  symbol: "FIL",
@@ -1692,6 +1757,11 @@ var Moonbeam$3 = {
1692
1757
  symbol: "LDOT",
1693
1758
  decimals: 10
1694
1759
  },
1760
+ {
1761
+ assetId: "124463719055550872076363892993240202694",
1762
+ symbol: "DED",
1763
+ decimals: 10
1764
+ },
1695
1765
  {
1696
1766
  assetId: "224077081838586484055667086558292981199",
1697
1767
  symbol: "ASTR",
@@ -1707,6 +1777,11 @@ var Moonbeam$3 = {
1707
1777
  symbol: "USDC",
1708
1778
  decimals: 6
1709
1779
  },
1780
+ {
1781
+ assetId: "142155548796783636521833385094843759961",
1782
+ symbol: "BNCS",
1783
+ decimals: 12
1784
+ },
1710
1785
  {
1711
1786
  assetId: "89994634370519791027168048838578580624",
1712
1787
  symbol: "SUB",
@@ -1727,6 +1802,11 @@ var Moonbeam$3 = {
1727
1802
  symbol: "vGLMR",
1728
1803
  decimals: 18
1729
1804
  },
1805
+ {
1806
+ assetId: "289989900872525819559124583375550296953",
1807
+ symbol: "vMANTA",
1808
+ decimals: 18
1809
+ },
1730
1810
  {
1731
1811
  assetId: "110021739665376159354538090254163045594",
1732
1812
  symbol: "aUSD",
@@ -1792,11 +1872,21 @@ var Moonbeam$3 = {
1792
1872
  symbol: "vFIL",
1793
1873
  decimals: 18
1794
1874
  },
1875
+ {
1876
+ assetId: "114018676402354620972806895487280206446",
1877
+ symbol: "vASTR",
1878
+ decimals: 18
1879
+ },
1795
1880
  {
1796
1881
  assetId: "238111524681612888331172110363070489924",
1797
1882
  symbol: "OTP",
1798
1883
  decimals: 12
1799
1884
  },
1885
+ {
1886
+ assetId: "112679793397406599376365943185137098326",
1887
+ symbol: "STINK",
1888
+ decimals: 10
1889
+ },
1800
1890
  {
1801
1891
  assetId: "132685552157663328694213725410064821485",
1802
1892
  symbol: "PHA",
@@ -2008,16 +2098,36 @@ var AssetHubPolkadot$3 = {
2008
2098
  }
2009
2099
  ],
2010
2100
  otherAssets: [
2101
+ {
2102
+ assetId: "9999",
2103
+ symbol: "TOM",
2104
+ decimals: 10
2105
+ },
2011
2106
  {
2012
2107
  assetId: "100",
2013
2108
  symbol: "WETH",
2014
2109
  decimals: 18
2015
2110
  },
2111
+ {
2112
+ assetId: "482",
2113
+ symbol: "HUB",
2114
+ decimals: 10
2115
+ },
2016
2116
  {
2017
2117
  assetId: "123",
2018
2118
  symbol: "123",
2019
2119
  decimals: 20
2020
2120
  },
2121
+ {
2122
+ assetId: "9000",
2123
+ symbol: "PLAY",
2124
+ decimals: 10
2125
+ },
2126
+ {
2127
+ assetId: "69420",
2128
+ symbol: "GABE",
2129
+ decimals: 20
2130
+ },
2021
2131
  {
2022
2132
  assetId: "25518",
2023
2133
  symbol: "BEER",
@@ -2073,6 +2183,11 @@ var AssetHubPolkadot$3 = {
2073
2183
  symbol: "Cypress",
2074
2184
  decimals: 0
2075
2185
  },
2186
+ {
2187
+ assetId: "7777",
2188
+ symbol: "FUM",
2189
+ decimals: 10
2190
+ },
2076
2191
  {
2077
2192
  assetId: "11",
2078
2193
  symbol: "web3",
@@ -2083,6 +2198,11 @@ var AssetHubPolkadot$3 = {
2083
2198
  symbol: "DED",
2084
2199
  decimals: 18
2085
2200
  },
2201
+ {
2202
+ assetId: "111",
2203
+ symbol: "DEMO",
2204
+ decimals: 6
2205
+ },
2086
2206
  {
2087
2207
  assetId: "555",
2088
2208
  symbol: "GAME",
@@ -2103,6 +2223,16 @@ var AssetHubPolkadot$3 = {
2103
2223
  symbol: "TST",
2104
2224
  decimals: 10
2105
2225
  },
2226
+ {
2227
+ assetId: "8889",
2228
+ symbol: "BNDT",
2229
+ decimals: 10
2230
+ },
2231
+ {
2232
+ assetId: "8886",
2233
+ symbol: "BANDIT",
2234
+ decimals: 10
2235
+ },
2106
2236
  {
2107
2237
  assetId: "42069",
2108
2238
  symbol: "STINK",
@@ -2113,6 +2243,16 @@ var AssetHubPolkadot$3 = {
2113
2243
  symbol: "TRQ",
2114
2244
  decimals: 18
2115
2245
  },
2246
+ {
2247
+ assetId: "9002",
2248
+ symbol: "TAPE",
2249
+ decimals: 10
2250
+ },
2251
+ {
2252
+ assetId: "33",
2253
+ symbol: "COCOA",
2254
+ decimals: 10
2255
+ },
2116
2256
  {
2117
2257
  assetId: "15",
2118
2258
  symbol: "Meme",
@@ -2123,6 +2263,11 @@ var AssetHubPolkadot$3 = {
2123
2263
  symbol: "BTC",
2124
2264
  decimals: 20
2125
2265
  },
2266
+ {
2267
+ assetId: "9527",
2268
+ symbol: "LSCAT",
2269
+ decimals: 10
2270
+ },
2126
2271
  {
2127
2272
  assetId: "868367",
2128
2273
  symbol: "VSC",
@@ -2141,13 +2286,18 @@ var AssetHubPolkadot$3 = {
2141
2286
  {
2142
2287
  assetId: "18",
2143
2288
  symbol: "DOTA",
2144
- decimals: 18
2289
+ decimals: 4
2145
2290
  },
2146
2291
  {
2147
2292
  assetId: "7",
2148
2293
  symbol: "lucky7",
2149
2294
  decimals: 20
2150
2295
  },
2296
+ {
2297
+ assetId: "4294967295",
2298
+ symbol: "(>'')>",
2299
+ decimals: 0
2300
+ },
2151
2301
  {
2152
2302
  assetId: "1984",
2153
2303
  symbol: "USDt",
@@ -2178,6 +2328,21 @@ var AssetHubPolkadot$3 = {
2178
2328
  symbol: "HAM",
2179
2329
  decimals: 10
2180
2330
  },
2331
+ {
2332
+ assetId: "9003",
2333
+ symbol: "KTRL",
2334
+ decimals: 10
2335
+ },
2336
+ {
2337
+ assetId: "1313",
2338
+ symbol: "GGI",
2339
+ decimals: 6
2340
+ },
2341
+ {
2342
+ assetId: "24",
2343
+ symbol: "PRDOG",
2344
+ decimals: 10
2345
+ },
2181
2346
  {
2182
2347
  assetId: "2023",
2183
2348
  symbol: "dot",
@@ -2193,11 +2358,26 @@ var AssetHubPolkadot$3 = {
2193
2358
  symbol: "HOOT",
2194
2359
  decimals: 6
2195
2360
  },
2361
+ {
2362
+ assetId: "404",
2363
+ symbol: "clay",
2364
+ decimals: 20
2365
+ },
2196
2366
  {
2197
2367
  assetId: "1000",
2198
2368
  symbol: "BRZ",
2199
2369
  decimals: 6
2200
2370
  },
2371
+ {
2372
+ assetId: "8008",
2373
+ symbol: "HOBO",
2374
+ decimals: 2
2375
+ },
2376
+ {
2377
+ assetId: "6666",
2378
+ symbol: "CHAOS",
2379
+ decimals: 10
2380
+ },
2201
2381
  {
2202
2382
  assetId: "1",
2203
2383
  symbol: "no1",
@@ -2208,11 +2388,26 @@ var AssetHubPolkadot$3 = {
2208
2388
  symbol: "USDcp",
2209
2389
  decimals: 0
2210
2390
  },
2391
+ {
2392
+ assetId: "31337",
2393
+ symbol: "WUD",
2394
+ decimals: 10
2395
+ },
2211
2396
  {
2212
2397
  assetId: "3",
2213
2398
  symbol: "DOT",
2214
2399
  decimals: 20
2215
2400
  },
2401
+ {
2402
+ assetId: "6969",
2403
+ symbol: "LEEMO",
2404
+ decimals: 10
2405
+ },
2406
+ {
2407
+ assetId: "1983",
2408
+ symbol: "KAS",
2409
+ decimals: 12
2410
+ },
2216
2411
  {
2217
2412
  assetId: "1337",
2218
2413
  symbol: "USDC",
@@ -2223,6 +2418,21 @@ var AssetHubPolkadot$3 = {
2223
2418
  symbol: "DANGER",
2224
2419
  decimals: 8
2225
2420
  },
2421
+ {
2422
+ assetId: "17",
2423
+ symbol: "WIFD",
2424
+ decimals: 10
2425
+ },
2426
+ {
2427
+ assetId: "25",
2428
+ symbol: "T54",
2429
+ decimals: 10
2430
+ },
2431
+ {
2432
+ assetId: "69",
2433
+ symbol: "DAL",
2434
+ decimals: 18
2435
+ },
2226
2436
  {
2227
2437
  assetId: "23",
2228
2438
  symbol: "PINK",
@@ -2233,6 +2443,26 @@ var AssetHubPolkadot$3 = {
2233
2443
  symbol: "HASH",
2234
2444
  decimals: 18
2235
2445
  },
2446
+ {
2447
+ assetId: "9001",
2448
+ symbol: "BOMB",
2449
+ decimals: 10
2450
+ },
2451
+ {
2452
+ assetId: "149",
2453
+ symbol: "EDU",
2454
+ decimals: 10
2455
+ },
2456
+ {
2457
+ assetId: "1980",
2458
+ symbol: "GAVIN",
2459
+ decimals: 0
2460
+ },
2461
+ {
2462
+ assetId: "4157",
2463
+ symbol: "PDOG",
2464
+ decimals: 10
2465
+ },
2236
2466
  {
2237
2467
  assetId: "660301",
2238
2468
  symbol: "GRL",
@@ -2248,10 +2478,20 @@ var AssetHubPolkadot$3 = {
2248
2478
  symbol: "CUBO",
2249
2479
  decimals: 9
2250
2480
  },
2481
+ {
2482
+ assetId: "888",
2483
+ symbol: "ASX",
2484
+ decimals: 10
2485
+ },
2251
2486
  {
2252
2487
  assetId: "2024",
2253
2488
  symbol: "WOOD",
2254
2489
  decimals: 10
2490
+ },
2491
+ {
2492
+ assetId: "2230",
2493
+ symbol: "GBILL",
2494
+ decimals: 8
2255
2495
  }
2256
2496
  ]
2257
2497
  };
@@ -2612,6 +2852,19 @@ var Imbue$3 = {
2612
2852
  otherAssets: [
2613
2853
  ]
2614
2854
  };
2855
+ var KiltSpiritnet$3 = {
2856
+ paraId: 2086,
2857
+ relayChainAssetSymbol: "DOT",
2858
+ nativeAssetSymbol: "KILT",
2859
+ nativeAssets: [
2860
+ {
2861
+ symbol: "KILT",
2862
+ decimals: 15
2863
+ }
2864
+ ],
2865
+ otherAssets: [
2866
+ ]
2867
+ };
2615
2868
  var Integritee$3 = {
2616
2869
  paraId: 2015,
2617
2870
  relayChainAssetSymbol: "KSM",
@@ -3177,6 +3430,11 @@ var Moonriver$3 = {
3177
3430
  symbol: "HKO",
3178
3431
  decimals: 12
3179
3432
  },
3433
+ {
3434
+ assetId: "138512078356357941985706694377215053953",
3435
+ symbol: "TNKR",
3436
+ decimals: 12
3437
+ },
3180
3438
  {
3181
3439
  assetId: "328179947973504579459046439826496046832",
3182
3440
  symbol: "KBTC",
@@ -3925,6 +4183,11 @@ var Shiden$3 = {
3925
4183
  symbol: "SYG",
3926
4184
  decimals: 10
3927
4185
  },
4186
+ {
4187
+ assetId: "18446744073709551634",
4188
+ symbol: "BILL",
4189
+ decimals: 8
4190
+ },
3928
4191
  {
3929
4192
  assetId: "18446744073709551626",
3930
4193
  symbol: "SKU",
@@ -4053,6 +4316,11 @@ var AssetHubKusama$3 = {
4053
4316
  symbol: "USDC",
4054
4317
  decimals: 4
4055
4318
  },
4319
+ {
4320
+ assetId: "120",
4321
+ symbol: "OAT",
4322
+ decimals: 4
4323
+ },
4056
4324
  {
4057
4325
  assetId: "1111",
4058
4326
  symbol: "MTVD",
@@ -4368,6 +4636,11 @@ var AssetHubKusama$3 = {
4368
4636
  symbol: "PNN",
4369
4637
  decimals: 10
4370
4638
  },
4639
+ {
4640
+ assetId: "1121",
4641
+ symbol: "OAT",
4642
+ decimals: 12
4643
+ },
4371
4644
  {
4372
4645
  assetId: "117",
4373
4646
  symbol: "TNKR",
@@ -4473,6 +4746,11 @@ var AssetHubKusama$3 = {
4473
4746
  symbol: "HEI",
4474
4747
  decimals: 10
4475
4748
  },
4749
+ {
4750
+ assetId: "1311",
4751
+ symbol: "GCT",
4752
+ decimals: 4
4753
+ },
4476
4754
  {
4477
4755
  assetId: "7",
4478
4756
  symbol: "DOS",
@@ -4568,6 +4846,11 @@ var AssetHubKusama$3 = {
4568
4846
  symbol: "SATS",
4569
4847
  decimals: 1
4570
4848
  },
4849
+ {
4850
+ assetId: "177",
4851
+ symbol: "KST",
4852
+ decimals: 4
4853
+ },
4571
4854
  {
4572
4855
  assetId: "3000",
4573
4856
  symbol: "GRAIN",
@@ -5259,6 +5542,11 @@ var Zeitgeist$3 = {
5259
5542
  symbol: "USDC",
5260
5543
  decimals: 6
5261
5544
  },
5545
+ {
5546
+ assetId: "4",
5547
+ symbol: "USDC",
5548
+ decimals: 6
5549
+ },
5262
5550
  {
5263
5551
  assetId: "2",
5264
5552
  symbol: "WSX",
@@ -5273,6 +5561,11 @@ var Zeitgeist$3 = {
5273
5561
  assetId: "0",
5274
5562
  symbol: "DOT",
5275
5563
  decimals: 10
5564
+ },
5565
+ {
5566
+ assetId: "5",
5567
+ symbol: "USDT",
5568
+ decimals: 6
5276
5569
  }
5277
5570
  ]
5278
5571
  };
@@ -5495,6 +5788,7 @@ var assets = {
5495
5788
  CrustShadow: CrustShadow$3,
5496
5789
  Encointer: Encointer$3,
5497
5790
  Imbue: Imbue$3,
5791
+ KiltSpiritnet: KiltSpiritnet$3,
5498
5792
  Integritee: Integritee$3,
5499
5793
  InvArchTinker: InvArchTinker$3,
5500
5794
  Karura: Karura$3,
@@ -5554,6 +5848,7 @@ var assetsMapJson = /*#__PURE__*/Object.freeze({
5554
5848
  InvArchTinker: InvArchTinker$3,
5555
5849
  Karura: Karura$3,
5556
5850
  Khala: Khala$3,
5851
+ KiltSpiritnet: KiltSpiritnet$3,
5557
5852
  Kintsugi: Kintsugi$3,
5558
5853
  Litentry: Litentry$3,
5559
5854
  Litmus: Litmus$3,
@@ -5803,6 +6098,7 @@ var ParachainNode = /*#__PURE__*/function () {
5803
6098
  destination = options.destination,
5804
6099
  paraIdTo = options.paraIdTo,
5805
6100
  overridedCurrencyMultiLocation = options.overridedCurrencyMultiLocation,
6101
+ feeAsset = options.feeAsset,
5806
6102
  _options$serializedAp = options.serializedApiCallEnabled,
5807
6103
  serializedApiCallEnabled = _options$serializedAp === void 0 ? false : _options$serializedAp;
5808
6104
  var scenario = destination !== undefined ? 'ParaToPara' : 'ParaToRelay';
@@ -5820,6 +6116,7 @@ var ParachainNode = /*#__PURE__*/function () {
5820
6116
  paraIdTo: paraId,
5821
6117
  destination: destination,
5822
6118
  overridedCurrencyMultiLocation: overridedCurrencyMultiLocation,
6119
+ feeAsset: feeAsset,
5823
6120
  serializedApiCallEnabled: serializedApiCallEnabled
5824
6121
  });
5825
6122
  } else if (supportsXTransfer(this)) {
@@ -5843,6 +6140,7 @@ var ParachainNode = /*#__PURE__*/function () {
5843
6140
  currencySelection: this.createCurrencySpec(amount, scenario, this.version, currencyId, overridedCurrencyMultiLocation),
5844
6141
  scenario: scenario,
5845
6142
  currencySymbol: currencySymbol,
6143
+ feeAsset: feeAsset,
5846
6144
  serializedApiCallEnabled: serializedApiCallEnabled
5847
6145
  });
5848
6146
  } else {
@@ -5883,7 +6181,7 @@ var ParachainNode = /*#__PURE__*/function () {
5883
6181
  }
5884
6182
  }, {
5885
6183
  key: "createCurrencySpec",
5886
- value: function createCurrencySpec$1(amount, scenario, version, currencyId, overridedMultiLocation) {
6184
+ value: function createCurrencySpec$1(amount, scenario, version, _, overridedMultiLocation) {
5887
6185
  return createCurrencySpec(amount, version, scenario === 'ParaToRelay' ? exports.Parents.ONE : exports.Parents.ZERO, overridedMultiLocation);
5888
6186
  }
5889
6187
  }, {
@@ -5929,6 +6227,12 @@ var getCurrencySelection = function getCurrencySelection(_ref2, isAssetHub, curr
5929
6227
  }
5930
6228
  return currencySelection;
5931
6229
  };
6230
+ var getParameters = function getParameters(isAssetHub, currencySelection, addressSelection, amount, fees, feeAsset) {
6231
+ if (isAssetHub) {
6232
+ return feeAsset !== undefined ? [currencySelection, feeAsset, addressSelection, fees] : [currencySelection, addressSelection, fees];
6233
+ }
6234
+ return [currencySelection, amount, addressSelection, fees];
6235
+ };
5932
6236
  // eslint-disable-next-line @typescript-eslint/no-extraneous-class
5933
6237
  var XTokensTransferImpl = /*#__PURE__*/function () {
5934
6238
  function XTokensTransferImpl() {
@@ -5937,12 +6241,14 @@ var XTokensTransferImpl = /*#__PURE__*/function () {
5937
6241
  return _createClass(XTokensTransferImpl, null, [{
5938
6242
  key: "transferXTokens",
5939
6243
  value: function transferXTokens(input, currencySelection) {
6244
+ var _api$tx$module;
5940
6245
  var fees = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Unlimited';
5941
6246
  var pallet = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'XTokens';
5942
6247
  var api = input.api,
5943
6248
  amount = input.amount,
5944
6249
  addressSelection = input.addressSelection,
5945
6250
  destination = input.destination,
6251
+ feeAsset = input.feeAsset,
5946
6252
  serializedApiCallEnabled = input.serializedApiCallEnabled;
5947
6253
  var isMultiLocationDestination = _typeof(destination) === 'object';
5948
6254
  if (isMultiLocationDestination) {
@@ -5952,14 +6258,15 @@ var XTokensTransferImpl = /*#__PURE__*/function () {
5952
6258
  var isAssetHub = destination === 'AssetHubPolkadot' || destination === 'AssetHubKusama';
5953
6259
  var modifiedCurrencySelection = getCurrencySelection(input, isAssetHub, currencySelection);
5954
6260
  var section = isAssetHub ? 'transferMultiasset' : 'transfer';
6261
+ var parameters = getParameters(isAssetHub, modifiedCurrencySelection, addressSelection, amount, fees, feeAsset);
5955
6262
  if (serializedApiCallEnabled === true) {
5956
6263
  return {
5957
6264
  module: module,
5958
6265
  section: section,
5959
- parameters: isAssetHub ? [modifiedCurrencySelection, addressSelection, fees] : [modifiedCurrencySelection, amount, addressSelection, fees]
6266
+ parameters: parameters
5960
6267
  };
5961
6268
  }
5962
- return isAssetHub ? api.tx[module][section](modifiedCurrencySelection, addressSelection, fees) : api.tx[module][section](modifiedCurrencySelection, amount, addressSelection, fees);
6269
+ return (_api$tx$module = api.tx[module])[section].apply(_api$tx$module, _toConsumableArray(parameters));
5963
6270
  }
5964
6271
  }]);
5965
6272
  }();
@@ -6621,6 +6928,7 @@ var Karura$2 = /*#__PURE__*/function (_ParachainNode) {
6621
6928
  }(ParachainNode);
6622
6929
 
6623
6930
  // Contains basic structure of polkadotXCM call
6931
+ var DEFAULT_FEE_ASSET = 0;
6624
6932
  // eslint-disable-next-line @typescript-eslint/no-extraneous-class
6625
6933
  var PolkadotXCMTransferImpl = /*#__PURE__*/function () {
6626
6934
  function PolkadotXCMTransferImpl() {
@@ -6633,16 +6941,18 @@ var PolkadotXCMTransferImpl = /*#__PURE__*/function () {
6633
6941
  header = _ref.header,
6634
6942
  addressSelection = _ref.addressSelection,
6635
6943
  currencySelection = _ref.currencySelection,
6944
+ _ref$feeAsset = _ref.feeAsset,
6945
+ feeAsset = _ref$feeAsset === void 0 ? DEFAULT_FEE_ASSET : _ref$feeAsset,
6636
6946
  serializedApiCallEnabled = _ref.serializedApiCallEnabled;
6637
6947
  var fees = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
6638
6948
  if (serializedApiCallEnabled === true) {
6639
6949
  return {
6640
6950
  module: 'polkadotXcm',
6641
6951
  section: method,
6642
- parameters: [header, addressSelection, currencySelection, 0].concat(_toConsumableArray(fees !== undefined ? [fees] : []))
6952
+ parameters: [header, addressSelection, currencySelection, feeAsset].concat(_toConsumableArray(fees !== undefined ? [fees] : []))
6643
6953
  };
6644
6954
  }
6645
- return fees !== undefined ? api.tx.polkadotXcm[method](header, addressSelection, currencySelection, 0, fees) : api.tx.polkadotXcm[method](header, addressSelection, currencySelection, 0);
6955
+ return fees !== undefined ? api.tx.polkadotXcm[method](header, addressSelection, currencySelection, feeAsset, fees) : api.tx.polkadotXcm[method](header, addressSelection, currencySelection, feeAsset);
6646
6956
  }
6647
6957
  }]);
6648
6958
  }();
@@ -6730,7 +7040,7 @@ var CoretimeKusama$2 = /*#__PURE__*/function (_ParachainNode) {
6730
7040
  function CoretimeKusama() {
6731
7041
  var _this;
6732
7042
  _classCallCheck(this, CoretimeKusama);
6733
- _this = _callSuper(this, CoretimeKusama, ['CoretimeKusama', 'KusamaCoretime', 'kusama', exports.Version.V3]);
7043
+ _this = _callSuper(this, CoretimeKusama, ['CoretimeKusama', 'kusamaCoretime', 'kusama', exports.Version.V3]);
6734
7044
  _this._assetCheckEnabled = false;
6735
7045
  return _this;
6736
7046
  }
@@ -7197,16 +7507,21 @@ var getDestination = function getDestination(_ref) {
7197
7507
  return recipientAddress;
7198
7508
  }
7199
7509
  var isEthAddress = ethers.ethers.utils.isAddress(recipientAddress);
7510
+ var addressJunction = isEthAddress ? {
7511
+ AccountKey20: {
7512
+ key: recipientAddress
7513
+ }
7514
+ } : {
7515
+ AccountId32: {
7516
+ id: createAccID(api, recipientAddress)
7517
+ }
7518
+ };
7200
7519
  return {
7201
- parents: 1,
7520
+ parents: exports.Parents.ONE,
7202
7521
  interior: {
7203
7522
  X2: [{
7204
7523
  Parachain: paraId
7205
- }, _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign({}, isEthAddress ? {
7206
- key: recipientAddress
7207
- } : {
7208
- id: createAccID(api, recipientAddress)
7209
- }))]
7524
+ }, addressJunction]
7210
7525
  }
7211
7526
  };
7212
7527
  };
@@ -7228,7 +7543,7 @@ var XTransferTransferImpl = /*#__PURE__*/function () {
7228
7543
  if (isMultiLocationDestination) {
7229
7544
  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.');
7230
7545
  }
7231
- var currencySpec = createCurrencySpec(amount, exports.Version.V1, exports.Parents.ZERO, overridedCurrencyMultiLocation)[exports.Version.V1][0];
7546
+ var currencySpec = Object.values(createCurrencySpec(amount, exports.Version.V1, exports.Parents.ZERO, overridedCurrencyMultiLocation))[0][0];
7232
7547
  var dest = getDestination(input);
7233
7548
  if (serializedApiCallEnabled === true) {
7234
7549
  return {
@@ -7287,8 +7602,30 @@ var Subsocial$2 = /*#__PURE__*/function (_ParachainNode) {
7287
7602
  return _createClass(Subsocial);
7288
7603
  }(ParachainNode);
7289
7604
 
7605
+ var KiltSpiritnet$2 = /*#__PURE__*/function (_ParachainNode) {
7606
+ function KiltSpiritnet() {
7607
+ _classCallCheck(this, KiltSpiritnet);
7608
+ return _callSuper(this, KiltSpiritnet, ['KiltSpiritnet', 'kilt', 'polkadot', exports.Version.V2]);
7609
+ }
7610
+ _inherits(KiltSpiritnet, _ParachainNode);
7611
+ return _createClass(KiltSpiritnet, [{
7612
+ key: "transferPolkadotXCM",
7613
+ value: function transferPolkadotXCM(input) {
7614
+ if (input.scenario !== 'ParaToPara') {
7615
+ throw new ScenarioNotSupportedError('KiltSpiritnet', input.scenario);
7616
+ }
7617
+ return PolkadotXCMTransferImpl.transferPolkadotXCM(input, 'reserveTransferAssets');
7618
+ }
7619
+ }, {
7620
+ key: "transferRelayToPara",
7621
+ value: function transferRelayToPara() {
7622
+ throw new NodeNotSupportedError();
7623
+ }
7624
+ }]);
7625
+ }(ParachainNode);
7626
+
7290
7627
  // Contains supported Parachains and exports supported XCM Pallets
7291
- 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'];
7628
+ 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'];
7292
7629
  var NODES_WITH_RELAY_CHAINS = [].concat(NODE_NAMES, ['Polkadot', 'Kusama']);
7293
7630
  var nodes = {
7294
7631
  AssetHubPolkadot: new AssetHubPolkadot$2(),
@@ -7341,7 +7678,8 @@ var nodes = {
7341
7678
  Collectives: new Collectives$2(),
7342
7679
  Khala: new Khala$2(),
7343
7680
  Phala: new Phala$2(),
7344
- Subsocial: new Subsocial$2()
7681
+ Subsocial: new Subsocial$2(),
7682
+ KiltSpiritnet: new KiltSpiritnet$2()
7345
7683
  };
7346
7684
  var SUPPORTED_PALLETS = ['XTokens', 'OrmlXTokens', 'PolkadotXcm', 'RelayerXcm', 'XTransfer'];
7347
7685
 
@@ -7367,7 +7705,7 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
7367
7705
  var isEthAddress = ethers.ethers.utils.isAddress(recipientAddress);
7368
7706
  if (scenario === 'ParaToRelay') {
7369
7707
  return _defineProperty({}, version, {
7370
- parents: pallet === 'XTokens' ? 1 : 0,
7708
+ parents: pallet === 'XTokens' ? exports.Parents.ONE : exports.Parents.ZERO,
7371
7709
  interior: {
7372
7710
  X1: {
7373
7711
  AccountId32: Object.assign(Object.assign({}, version === exports.Version.V1 && {
@@ -7381,46 +7719,60 @@ var generateAddressPayload = function generateAddressPayload(api, scenario, pall
7381
7719
  }
7382
7720
  if (scenario === 'ParaToPara' && pallet === 'XTokens') {
7383
7721
  return _defineProperty({}, version, {
7384
- parents: 1,
7722
+ parents: exports.Parents.ONE,
7385
7723
  interior: {
7386
7724
  X2: [{
7387
7725
  Parachain: nodeId
7388
- }, _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign(Object.assign({}, version === exports.Version.V1 && {
7389
- network: 'any'
7390
- }), isEthAddress ? {
7391
- key: recipientAddress
7726
+ }, isEthAddress ? {
7727
+ AccountKey20: Object.assign(Object.assign({}, version === exports.Version.V1 && {
7728
+ network: 'any'
7729
+ }), {
7730
+ key: recipientAddress
7731
+ })
7392
7732
  } : {
7393
- id: createAccID(api, recipientAddress)
7394
- }))]
7733
+ AccountId32: Object.assign(Object.assign({}, version === exports.Version.V1 && {
7734
+ network: 'any'
7735
+ }), {
7736
+ id: createAccID(api, recipientAddress)
7737
+ })
7738
+ }]
7395
7739
  }
7396
7740
  });
7397
7741
  }
7398
7742
  if (scenario === 'ParaToPara' && pallet === 'PolkadotXcm') {
7399
7743
  return _defineProperty({}, version, {
7400
- parents: 0,
7744
+ parents: exports.Parents.ZERO,
7401
7745
  interior: {
7402
- X1: _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign(Object.assign({}, version === exports.Version.V1 && {
7403
- network: 'any'
7404
- }), isEthAddress ? {
7405
- key: recipientAddress
7746
+ X1: isEthAddress ? {
7747
+ AccountKey20: Object.assign(Object.assign({}, version === exports.Version.V1 && {
7748
+ network: 'any'
7749
+ }), {
7750
+ key: recipientAddress
7751
+ })
7406
7752
  } : {
7407
- id: createAccID(api, recipientAddress)
7408
- }))
7753
+ AccountId32: Object.assign(Object.assign({}, version === exports.Version.V1 && {
7754
+ network: 'any'
7755
+ }), {
7756
+ id: createAccID(api, recipientAddress)
7757
+ })
7758
+ }
7409
7759
  }
7410
7760
  });
7411
7761
  }
7412
- return {
7413
- V3: {
7414
- parents: 0,
7415
- interior: {
7416
- X1: _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign({}, isEthAddress ? {
7762
+ return _defineProperty({}, exports.Version.V3, {
7763
+ parents: exports.Parents.ZERO,
7764
+ interior: {
7765
+ X1: isEthAddress ? {
7766
+ AccountKey20: {
7417
7767
  key: recipientAddress
7418
- } : {
7768
+ }
7769
+ } : {
7770
+ AccountId32: {
7419
7771
  id: createAccID(api, recipientAddress)
7420
- }))
7772
+ }
7421
7773
  }
7422
7774
  }
7423
- };
7775
+ });
7424
7776
  };
7425
7777
  var getNode = function getNode(node) {
7426
7778
  return nodes[node];
@@ -7566,7 +7918,7 @@ var Litentry$1 = "100000000000";
7566
7918
  var Moonbeam$1 = "0";
7567
7919
  var Parallel$1 = "100000000000";
7568
7920
  var AssetHubKusama$1 = "3333333";
7569
- var CoretimeKusama$1 = "3333333";
7921
+ var CoretimeKusama$1 = "33333333";
7570
7922
  var Encointer$1 = "33333333";
7571
7923
  var Altair$1 = "1000000000000";
7572
7924
  var Amplitude$1 = "1000000000";
@@ -7606,6 +7958,7 @@ var Collectives$1 = "1000000000";
7606
7958
  var Khala$1 = "10000000000";
7607
7959
  var Phala$1 = "10000000000";
7608
7960
  var Subsocial$1 = "100000000";
7961
+ var KiltSpiritnet$1 = "10000000000000";
7609
7962
  var existentialDeposits = {
7610
7963
  AssetHubPolkadot: AssetHubPolkadot$1,
7611
7964
  Acala: Acala$1,
@@ -7659,7 +8012,8 @@ var existentialDeposits = {
7659
8012
  Collectives: Collectives$1,
7660
8013
  Khala: Khala$1,
7661
8014
  Phala: Phala$1,
7662
- Subsocial: Subsocial$1
8015
+ Subsocial: Subsocial$1,
8016
+ KiltSpiritnet: KiltSpiritnet$1
7663
8017
  };
7664
8018
 
7665
8019
  var edMapJson = /*#__PURE__*/Object.freeze({
@@ -7692,6 +8046,7 @@ var edMapJson = /*#__PURE__*/Object.freeze({
7692
8046
  InvArchTinker: InvArchTinker$1,
7693
8047
  Karura: Karura$1,
7694
8048
  Khala: Khala$1,
8049
+ KiltSpiritnet: KiltSpiritnet$1,
7695
8050
  Kintsugi: Kintsugi$1,
7696
8051
  Kusama: Kusama,
7697
8052
  Litentry: Litentry$1,
@@ -7989,6 +8344,12 @@ var ParaToParaBuilder = /*#__PURE__*/function () {
7989
8344
  this.paraIdTo = paraIdTo;
7990
8345
  }
7991
8346
  return _createClass(ParaToParaBuilder, [{
8347
+ key: "feeAsset",
8348
+ value: function feeAsset(_feeAsset) {
8349
+ this._feeAsset = _feeAsset;
8350
+ return this;
8351
+ }
8352
+ }, {
7992
8353
  key: "amount",
7993
8354
  value: function amount(_amount) {
7994
8355
  this._amount = _amount;
@@ -8017,6 +8378,7 @@ var ParaToParaBuilder = /*#__PURE__*/function () {
8017
8378
  address: this._address,
8018
8379
  destination: this.to,
8019
8380
  paraIdTo: this.paraIdTo,
8381
+ feeAsset: this._feeAsset,
8020
8382
  destApiForKeepAlive: this._destApi
8021
8383
  };
8022
8384
  }
@@ -8069,11 +8431,12 @@ var ParaToParaBuilder = /*#__PURE__*/function () {
8069
8431
  }();
8070
8432
 
8071
8433
  var ParaToRelayBuilder = /*#__PURE__*/function () {
8072
- function ParaToRelayBuilder(api, from, amount) {
8434
+ function ParaToRelayBuilder(api, from, amount, feeAsset) {
8073
8435
  _classCallCheck(this, ParaToRelayBuilder);
8074
8436
  this.api = api;
8075
8437
  this.from = from;
8076
8438
  this.amount = amount;
8439
+ this.feeAsset = feeAsset;
8077
8440
  }
8078
8441
  return _createClass(ParaToRelayBuilder, [{
8079
8442
  key: "address",
@@ -8097,6 +8460,7 @@ var ParaToRelayBuilder = /*#__PURE__*/function () {
8097
8460
  currency: currency,
8098
8461
  amount: this.amount,
8099
8462
  address: this._address,
8463
+ feeAsset: this.feeAsset,
8100
8464
  destApiForKeepAlive: this._destApi
8101
8465
  };
8102
8466
  }
@@ -8142,8 +8506,8 @@ var ParaToRelayBuilder = /*#__PURE__*/function () {
8142
8506
  }
8143
8507
  }], [{
8144
8508
  key: "create",
8145
- value: function create(api, from, amount) {
8146
- return new ParaToRelayBuilder(api, from, amount);
8509
+ value: function create(api, from, amount, feeAsset) {
8510
+ return new ParaToRelayBuilder(api, from, amount, feeAsset);
8147
8511
  }
8148
8512
  }]);
8149
8513
  }();
@@ -8194,10 +8558,16 @@ var FromGeneralBuilder = /*#__PURE__*/function () {
8194
8558
  value: function to(node, paraIdTo) {
8195
8559
  return new ToGeneralBuilder(this.api, this.from, node, paraIdTo);
8196
8560
  }
8561
+ }, {
8562
+ key: "feeAsset",
8563
+ value: function feeAsset(_feeAsset) {
8564
+ this._feeAsset = _feeAsset;
8565
+ return this;
8566
+ }
8197
8567
  }, {
8198
8568
  key: "amount",
8199
8569
  value: function amount(_amount) {
8200
- return ParaToRelayBuilder.create(this.api, this.from, _amount);
8570
+ return ParaToRelayBuilder.create(this.api, this.from, _amount, this._feeAsset);
8201
8571
  }
8202
8572
  }, {
8203
8573
  key: "closeChannel",
@@ -8378,11 +8748,11 @@ var checkKeepAlive = function checkKeepAlive(_ref) {
8378
8748
 
8379
8749
  var sendCommon = function sendCommon(options) {
8380
8750
  return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8381
- var _a, api, origin, currency, amount, address, destination, paraIdTo, destApiForKeepAlive, _options$serializedAp, serializedApiCallEnabled, asset, isMultiLocationDestination, isMultiLocationCurrency, originRelayChainSymbol, destinationRelayChainSymbol, originNode, assetCheckEnabled, apiWithFallback, amountStr, currencyStr, currencyId;
8751
+ 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;
8382
8752
  return _regeneratorRuntime().wrap(function _callee$(_context) {
8383
8753
  while (1) switch (_context.prev = _context.next) {
8384
8754
  case 0:
8385
- 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;
8755
+ 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;
8386
8756
  if (!(typeof currency === 'number' && currency > Number.MAX_SAFE_INTEGER)) {
8387
8757
  _context.next = 3;
8388
8758
  break;
@@ -8479,6 +8849,7 @@ var sendCommon = function sendCommon(options) {
8479
8849
  destination: destination,
8480
8850
  paraIdTo: paraIdTo,
8481
8851
  overridedCurrencyMultiLocation: _typeof(currency) === 'object' ? currency : undefined,
8852
+ feeAsset: feeAsset,
8482
8853
  serializedApiCallEnabled: serializedApiCallEnabled
8483
8854
  }));
8484
8855
  case 43:
@@ -8992,6 +9363,12 @@ var Subsocial = {
8992
9363
  "PolkadotXcm"
8993
9364
  ]
8994
9365
  };
9366
+ var KiltSpiritnet = {
9367
+ defaultPallet: "PolkadotXcm",
9368
+ supportedPallets: [
9369
+ "PolkadotXcm"
9370
+ ]
9371
+ };
8995
9372
  var pallets = {
8996
9373
  AssetHubPolkadot: AssetHubPolkadot,
8997
9374
  Acala: Acala,
@@ -9043,7 +9420,8 @@ var pallets = {
9043
9420
  Collectives: Collectives,
9044
9421
  Khala: Khala,
9045
9422
  Phala: Phala,
9046
- Subsocial: Subsocial
9423
+ Subsocial: Subsocial,
9424
+ KiltSpiritnet: KiltSpiritnet
9047
9425
  };
9048
9426
 
9049
9427
  var palletsMapJson = /*#__PURE__*/Object.freeze({
@@ -9076,6 +9454,7 @@ var palletsMapJson = /*#__PURE__*/Object.freeze({
9076
9454
  InvArchTinker: InvArchTinker,
9077
9455
  Karura: Karura,
9078
9456
  Khala: Khala,
9457
+ KiltSpiritnet: KiltSpiritnet,
9079
9458
  Kintsugi: Kintsugi,
9080
9459
  Litentry: Litentry,
9081
9460
  Litmus: Litmus,