Querying for encumbered states


We have an asset that can be encumbered. Is there a way using the Vault API to query for:

1. states that are not encumbered
2. states that are encumbered


Mike Hearn

Unfortunately, I don't think so. Encumbrances were implemented as far as needed to avoid changing the data model in future, but not further. This approach to implementing things is a bit unconventional but was used a lot to great effect in Bitcoin, and so we did the same. We aren't working on encumbrances at the moment, so a PR to extend the vault's support for them would be welcomed!