public Optional<Integer> getEngineJsonRpcPort() {
    return engineJsonRpc.map(service -> service.socketAddress().getPort());
  }
Gets engine json rpc port.

@return the engine json rpc port
app/src/main/java/org/hyperledger/besu/Runner.java