Documentation ¶
Overview ¶
Package rpc contains RPC handler methods and utilities to start Stratos Web3-compatibly JSON-RPC server.
Index ¶
Constants ¶
View Source
const ( CosmosNamespace = "cosmos" Web3Namespace = "web3" EthNamespace = "eth" PersonalNamespace = "personal" NetNamespace = "net" TxPoolNamespace = "txpool" DebugNamespace = "debug" MinerNamespace = "miner" )
RPC namespaces and API version
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Web3Server ¶ added in v0.10.0
type Web3Server struct {
// contains filtered or unexported fields
}
func NewWeb3Server ¶ added in v0.10.0
func NewWeb3Server(cfg config.Config, logger log.Logger) *Web3Server
Click to show internal directories.
Click to hide internal directories.