0

For example, DOT has 10 but can I check it in Polkadot JS Apps? I want to apply it to all parachain assets.

2 Answers 2

3

The system_properties RPC call returns the on-chain properties for the connected chain.

Additionally, if using the JS API, it is also extracted and available on api.registry.chainDecimals, api.registry.chainSS58 and api.registry.chainTokens. (For each parachain, you need to get it from the chain itself)

2

for native asset like DOT in polkadot is defined in chain spec and you can check here https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot.api.onfinality.io%2Fpublic-ws#/settings/metadata

for multiple fungible asset chain like statemine you may check it from storage in asset module

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.