ReferencedStateAndRef - corda

corda / net.corda.core.contracts / ReferencedStateAndRef

# ReferencedStateAndRef

`data class ReferencedStateAndRef<out T : ContractState>`

A wrapper for a StateAndRef indicating that it should be added to a transaction as a reference input state.

### Constructors

#### <init> | A wrapper for a StateAndRef indicating that it should be added to a transaction as a reference input state. `ReferencedStateAndRef(stateAndRef: StateAndRef<T>)`

### Properties

#### stateAndRef | `val stateAndRef: StateAndRef<T>`