generate Close Out Netting
fun <P : Any> generateCloseOutNetting(tx: TransactionBuilder, signer: AbstractParty, vararg inputs: StateAndRef<Obligation.State<P>>)
Generate a transaction performing close-out netting of two or more states.
Parameters
signer
the party which will sign the transaction. Must be one of the obligor or beneficiary.
inputs
two or more states, which must be compatible for bilateral netting (same issuance definitions, and same parties involved).