Skip to main content

JSONRPC_VERSION

Constant JSONRPC_VERSION 

Source
pub const JSONRPC_VERSION: &str = "2.0";
Expand description

The version string every KLP message carries in the jsonrpc field. Pinned to "2.0" per the JSON-RPC spec; KLP doesn’t negotiate a different RPC version — protocol evolution happens through the handshake’s protocol field (SPEC §2.12.6).