ethane 1.0.2

An alternative web3 implementation with the aim of being slim and simple
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::Rpc;
use crate::types::U64;

pub fn net_version() -> Rpc<String> {
    Rpc::new("net_version")
}

pub fn net_peer_count() -> Rpc<U64> {
    Rpc::new("net_peerCount")
}

pub fn net_listening() -> Rpc<bool> {
    Rpc::new("net_listening")
}