Versions in this module Expand all Collapse all v1 v1.0.0 Mar 26, 2021 Changes in this version + type ErrorMessageJSON struct + Code *big.Int + Message string + type ErrorResponseJSON struct + Error *ErrorMessageJSON + ID *big.Int + Jsonrpc string + type PubSubAPI struct + func NewAPI(clientCtx context.CLIContext) *PubSubAPI + type Server struct + func NewServer(clientCtx context.CLIContext, wsAddr string) *Server + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (s *Server) Start() + type SubscriptionNotification struct + Jsonrpc string + Method string + Params *SubscriptionResult + type SubscriptionResponseJSON struct + ID float64 + Jsonrpc string + Result interface{} + type SubscriptionResult struct + Result interface{} + Subscription rpc.ID