corda / net.corda.core.node.services / NetworkMapCache / getAnyNotary

getAnyNotary

open fun getAnyNotary(type: ServiceType? = null): Party?

Returns a notary identity advertised by any of the nodes on the network (chosen at random)

Parameters

type - Limits the result to notaries of the specified type (optional)