🌐 net_listening - Base Chain
Returns
Returns true
when the client is actively listening for network connections, otherwise false
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
👍
net_listening
always returns true
when using Chainnodes.org (opens in a new tab) Base endpoints
Need RPC API keys?
Get 12.5M archival requests for free today.
Parameters
None
Request
POST https://base-mainnet.chainnodes.org/YOUR-API-KEY
Example
- HTTPS POST Request with a JSON RPC call in the body
- Replace YOUR-API-KEY with the API key from your Chainnodes.org Dashboard
- You can use a different supported network by replacing
base-mainnet
curl https://base-mainnet.chainnodes.org/YOUR-API-KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":1}'
Related Methods
- net_version - Get the current network ID
- net_peerCount - Get the number of peers currently connected to the node
- eth_syncing - Check if the node is currently synchronizing with the network
💡 Confusing?
Ask our experienced blockchain developers in Telegram
JSON-RPC Base API Documentation by CHAINNODES is based on Reth node client. Contact us if you are interested in specific methods that are only available on geth, besu, Nethermind or Erigon