Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetBackend ¶
type NetBackend interface { NetAPI }
NetBackend is the collection of methods required to satisfy the net RPC API.
type Web3Backend ¶
type Web3Backend interface {
ClientVersion() string
}
Web3Backend is the collection of methods required to satisfy the net RPC API.
func NewWeb3API ¶
func NewWeb3API(b Web3Backend) Web3Backend
NewWeb3API creates a new web3 API instance.
Click to show internal directories.
Click to hide internal directories.