POST
/
2fc1de7f08c0465f6a28e3c355e0cb14
curl --request POST \
  --url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "net_listening",
  "id": 1
}'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": true
}

Base API method net_listening checks if the client is actively listening for network connections. This method is useful for diagnosing network issues or confirming the node’s network status.

Get you own node endpoint today

Start 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

This method does not require any parameters.

Response

  • result — a boolean value indicating whether the client is actively listening for network connections.

Use case

The net_listening method is essential for:

  • Network administrators and node operators to verify the operational status of their Base client.
  • Developers and services that need to ensure their node is correctly configured to participate in the network.
  • Automated systems that monitor the health and connectivity of Base nodes.

Body

application/json

Response

200 - application/json
Whether the client is listening for network connections

The response is of type object.