core.node.subsystems / NetworkMapCache / getRecommended

# getRecommended

`abstract fun getRecommended(type: ServiceType, contract: Contract, vararg party: Party): NodeInfo?`

Get a recommended node that advertises a service, and is suitable for the specified contract and parties. Implementations might understand, for example, the correct regulator to use for specific contracts/parties, or the appropriate oracle for a contract.