corda / net.corda.core.messaging / CordaRPCOps / protocolVersion

protocolVersion

open val protocolVersion: Int

Overrides RPCOps.protocolVersion

Returns the RPC protocol version, which is the same the node's Platform Version. Exists since version 1 so guaranteed to be present.

Getter

Returns the RPC protocol version. Exists since version 0 so guaranteed to be present.