Documentation
¶
Overview ¶
Package net implements RPC API bindings for methods in the "net" namespace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Listening ¶
func Listening() w3types.RPCCallerFactory[bool]
Listening returns whether the client is actively listening for network connections.
func PeerCount ¶
func PeerCount() w3types.RPCCallerFactory[int]
PeerCount returns the number of peers connected to the node.
func Version ¶
func Version() w3types.RPCCallerFactory[int]
Version returns the network ID (e.g. 1 for mainnet).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.