POST
/
95e61622bf6a8af293978377718e3b77
/
jsonrpc
/
net_listening
net_listening
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/net_listening \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "net_listening",
  "id": 64,
  "params": []
}'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": true
}
TRON API method that returns whether the client is actively listening for network connections, providing an Ethereum-compatible interface for checking TRON node connectivity status.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • jsonrpc — the JSON-RPC protocol version (always “2.0”)
  • method — the method name (always “net_listening”)
  • params — empty array (no parameters required)
  • id — request identifier (number or string)

Response

  • jsonrpc — the JSON-RPC protocol version (“2.0”)
  • id — the request identifier that matches the request
  • result — boolean value indicating whether the client is listening for connections

Use case

The jsonrpc net_listening method is used for:
  • Checking if the TRON node is actively listening for network connections
  • Implementing health checks and monitoring systems for node connectivity through Web3 interfaces
  • Building node diagnostics tools that verify network participation status
  • Creating resilient dApp architectures that can detect and respond to node connectivity issues

Body

application/json

Response

200 - application/json

Boolean indicating whether the client is listening for connections

The response is of type object.