corda / net.corda.contracts.clause / BilateralNetState / <init>

# <init>

`BilateralNetState(partyKeys: Set<CompositeKey>, template: Terms<P>)`

Subset of state, containing the elements which must match for two obligation transactions to be nettable. If two obligation state objects produce equal bilateral net states, they are considered safe to net directly. Bilateral states are used in close-out netting.