POSTnet_listening

Tron Mainnethttps://tron-mainnet.nodit.io/

Returns whether the node is listening for incoming network connections.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsobject[]required

This method takes no parameters. Pass an empty array.

Responses

No response body.

X-API-KEY
RequestCU0
cURL
curl -X POST "https://tron-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "net_listening"
  }'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": true
}