data class StateAndRef<out T : ContractState>
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these.
<init> |
A StateAndRef is simply a (state, ref) pair. For instance, a vault (which holds available assets) contains these. StateAndRef(state: TransactionState<T>, ref: StateRef) |
ref |
val ref: StateRef |
state |
val state: TransactionState<T> |
referenced |
For adding StateAndRefs as references to a TransactionBuilder. fun referenced(): ReferencedStateAndRef<T> |