net.corda.contracts / CommercialPaper / generateMove

generateMove

fun generateMove(tx: TransactionBuilder, paper: StateAndRef<State>, newOwner: PublicKeyTree): Unit

Updates the given partial transaction with an input/output/command to reassign ownership of the paper.