This repository was archived by the owner on Feb 9, 2024. It is now read-only.
useink@1.7.2
New Features
Add formatting helpers
- Add
planckToDecimal-> convert a balance to a decimal - Add
planckToDecimalFormatted-> convert a balance to a decimal with the token symbol - Add
decimalToPlanck-> convert a decimal to a planck
Add hooks
- Add
useChainDecimals()-> Get the decimals for a chain. e.g.12 - Add
useTokenSymbol()-> Get the chain token symbol. e.g.ROC
Add core functions
- Add
chainDecimals()touseink/core-> Get the decimals for a chain. e.g.12 - Add
chainTokenSymbol()touseink/core-> Get the chain token symbol. e.g.ROC
Feature Improvements
txPaymentInfo- use spread operator to avoid the necessity to pass in multiple args
Maintenance
- Update polkadot-js dependencies