net_listening

Parameters

None

Returns

  • Boolean - Returns true when the client is listening; otherwise false.

Example

Request

curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":64}'

Response

{"jsonrpc":"2.0","id":64,"result":true}