diff --git a/subscribe_message.go b/subscribe_message.go index 26e435d..c846999 100644 --- a/subscribe_message.go +++ b/subscribe_message.go @@ -9,6 +9,7 @@ type SubscribeMessage struct { } type SubscribeMessageBody struct { - Method string `json:"method"` - Params interface{} `json:"params,omitempty"` + Version string `json:"jsonrpc"` + Method string `json:"method"` + Params interface{} `json:"params,omitempty"` }