@paraspell/sdk 0.0.18 → 0.0.19
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 +7 -0
- package/dist/index.cjs +1337 -560
- package/dist/index.d.ts +18 -9
- package/dist/index.mjs +1337 -560
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -104,8 +104,15 @@ paraspell.assets.getAllAssetsSymbols(node: TNode)
|
|
|
104
104
|
//Checks if node supports particular asset. (Both native and foreign assets are searched). Returns boolean
|
|
105
105
|
paraspell.assets.hasSupportForAsset(node: TNode, symbol: string)
|
|
106
106
|
|
|
107
|
+
//Get decimals for specific asset
|
|
108
|
+
paraspell.assets.getAssetDecimals(node: TNode, symbol: string)
|
|
109
|
+
|
|
110
|
+
//Get specific node id
|
|
111
|
+
paraspell.assets.getParaId(node: TNode)
|
|
112
|
+
|
|
107
113
|
//Import all compatible nodes as constant:
|
|
108
114
|
paraspell.NODE_NAMES
|
|
115
|
+
|
|
109
116
|
```
|
|
110
117
|
|
|
111
118
|
##### Example of usage can be found in the UI repository [here](https://github.com/paraspell/ui) or in the Astarot repository [here](https://github.com/paraspell/astarot)
|