To find all the assets and qty currently being locked, here is what I do:
- listlockunspent to get a list of {txid,vout}
- For each outpoint, getrawtransaction txid vout.
- for each raw transaction, decoderawtransaction.
- parse it to obtain the assets metadata.
Is there a shorter way?