@paraspell/pallets 11.0.1 → 11.1.1

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
@@ -38,7 +38,7 @@ pnpm | npm install || yarn add @paraspell/pallets
38
38
 
39
39
  To use this functionality you first have to import it in the following way.
40
40
  ```ts
41
- import { getDefaultPallet, getSupportedPallets, getPalletIndex, SUPPORTED_PALLETS } from '@paraspell/pallets'
41
+ import { getDefaultPallet, getSupportedPallets, getPalletIndex, SUPPORTED_PALLETS, getNativeAssetsPallet, getOtherAssetsPallets } from '@paraspell/pallets'
42
42
  ```
43
43
 
44
44
  ### Get default XCM pallet
@@ -69,6 +69,21 @@ This returns all supported XCM pallets supported by compatible Parachains as con
69
69
  console.log(SUPPORTED_PALLETS)
70
70
  ```
71
71
 
72
+
73
+ ### Print local pallets for native assets
74
+
75
+ Following function returns all pallets for local transfers of native assets for specific chain.
76
+ ```ts
77
+ getNativeAssetsPallet(chain: TChain)
78
+ ```
79
+
80
+ ### Print local pallets for foreign assets
81
+
82
+ Following function returns all pallets for local transfers of foreign assets for specific chain.
83
+ ```ts
84
+ getOtherAssetsPallets(chain: TChain)
85
+ ```
86
+
72
87
  ## 💻 Tests
73
88
 
74
89
  - Run compilation using `pnpm compile`