NET

Get MAALCHAIN network details

Returns the current network id.

None

  • String - The current network id.

curl  https://node1-mainnet.maalscan.io -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":83}'

net_listeningarrow-up-right

Returns true if a client is actively listening for network connections.

None

  • Boolean - true when listening, otherwise false.

net_peerCountarrow-up-right

Returns number of peers currently connected to the client.

None

  • QUANTITY - integer of the number of connected peers.

Last updated