peer

fun peer(party: CordaX500Name, trace: Trace = Trace.newInstance(), externalTrace: Trace? = null, impersonatedActor: Actor? = null): InvocationContext

Creates an InvocationContext with InvocationOrigin.Peer origin.