Is it possible to retrieve the locked balance of an account from the account data queried from api.query.system.account? If not, what is the right way to do so? I'm looking for the stash locked in bonds, democracy, election and vesting.

1 Answer 1


The locked values are stored in balances.locks and the vesting information in vesting.vesting.

The locks has identifiers that point to the specific pallets that performed the locks.

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.