Is there an easy way to get a list of all pallets storage versions? An output like this: [ Palletname, StorageVersion ]

Is it possible to query using curl and the rpc for the storage version of all pallets or does anyone have some commandline fu that can do this?


2 Answers 2


Getting the pallet version from polkadot-js-api is as simple as:

await api.query.system.palletVersion()

You can wrap this in a script to give you all of the pallet versions:

  • this is the palletversion, the storageVersion was the one i was looking for
    – flipchan
    Commented Aug 29, 2022 at 11:14
  • what do you exactly mean by storageVersion? is it something standard that all pallets have?
    – kianenigma
    Commented Aug 30, 2022 at 7:59

the way to do it with js is to loop the pallets and query storageVersion and validate the returned payload:


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.