web3-0.9.0.0: Web3 API for Haskell.

CopyrightAlexander Krupenkin 2016-2018
LicenseBSD3
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.