3

I want to get the list of Parathreads in my network.

In this previous question: How to list all the parachains in a Polkadot network? it explains how to get a list of all parachains in the relay chain, querying the storage Parachains.

If I query the ParaLifecycles storage I get the whole list of Para IDs (Parachains and Parathreads) and in my app I can filter this list to have only the parathreads list. But is there a better way to get only the list of Parathreads?

1 Answer 1

4

I believe you are already following the best approach one could use at the moment, because Paras in paras_registrar keeps every registered paraId along with its ParaInfo, but then you won't be able to filter which of those are parathreads / parachains.

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.