NET
Get MAALCHAIN network details
net_version
Returns the current network id.
Parameters
None
Returns
String - The current network id.
Example
net_listening
Returns true if a client is actively listening for network connections.
Parameters
None
Returns
Boolean - true when listening, otherwise false.
Example
net_peerCount
Returns number of peers currently connected to the client.
Parameters
None
Returns
QUANTITY - integer of the number of connected peers.
Example
Last updated