web3-ethereum-1.0.0.0: Ethereum support for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2021
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Network.Ethereum.Api.Net

Description

Ethereum node JSON-RPC API methods with net_ prefix.

Synopsis

Documentation

version :: JsonRpc m => m Text Source #

Returns the current network id.

listening :: JsonRpc m => m Bool Source #

Returns true if client is actively listening for network connections.

peerCount :: JsonRpc m => m Quantity Source #

Returns number of peers currently connected to the client.