Net
net_version
Returns the current network id.
Parameters
None
Returns
- String - The current network id.
Example
curl https://rpc.furtheon.org -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":83}'
net_listening
Returns true if a client is actively listening for network connections.
Parameters
None
Returns
- Boolean - true when listening, otherwise false.
Example
curl https://rpc.furtheon.org -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":83}'
net_peerCount
Returns number of peers currently connected to the client.
Parameters
None
Returns
- QUANTITY - integer of the number of connected peers.
Example
curl https://rpc.furtheon.org -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":1}'