StatePointer.linearPointer - corda

corda / net.corda.core.contracts / StatePointer / linearPointer

# linearPointer

`fun <reified T : LinearState> linearPointer(state: T, isResolved: Boolean = true): LinearPointer<T>`

Creates a LinearPointer to the specified linear state.

### Parameters

`state` - The LinearState instance from which to construct a linear pointer.

`isResolved` - Determines whether the state pointer should be resolved to a reference input when included in a transaction.

Return
Returns a LinearPointer to the specified linear state.