corda-runtime-os icon indicating copy to clipboard operation
corda-runtime-os copied to clipboard

Need more metadata from a named query

Open countfloyd opened this issue 1 year ago • 0 comments

When using a VaultNamedParameterizedQuery in a flow, it always returns a ResultSet with a List<StateAndRef<T>> where T is a ContractState. This gives you access to the contract state itself, the notary name, notary key, encumbrance group, and a state ref. However, it would be great if one could get more information about the state like the recorded timestamp and a consumed timestamp or flag.

countfloyd avatar Mar 25 '24 21:03 countfloyd