Shared JSON-RPC send helper used by Deribit example adapters.
Summary
Functions
Sends a JSON-RPC request map over a WebSocket client, normalising :ok to {:ok, %{}}.
Functions
@spec send_json_rpc(ZenWebsocket.Client.t(), map()) :: {:ok, map()} | {:error, term()}
Sends a JSON-RPC request map over a WebSocket client, normalising :ok to {:ok, %{}}.