Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2024 Changes in this version + const CosmosNamespace + const DebugNamespace + const EthNamespace + const MinerNamespace + const NetNamespace + const PersonalNamespace + const TxPoolNamespace + const Web3Namespace + func GetRPCAPIs(ctx *server.Context, clientCtx client.Context, tmWSClient *rpcclient.WSClient, ...) []rpc.API + func RegisterAPINamespace(ns string, creator APICreator) error + type APICreator = func(ctx *server.Context, clientCtx client.Context, ...) []rpc.API + type ErrorMessageJSON struct + Code *big.Int + Message string + type ErrorResponseJSON struct + Error *ErrorMessageJSON + ID *big.Int + Jsonrpc string + 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 + type WebsocketsServer interface + Start func() + func NewWebsocketsServer(clientCtx client.Context, logger log.Logger, tmWSClient *rpcclient.WSClient, ...) WebsocketsServer