net_listening

net_listening - Celo

net_listening. Checks if the client is actively listening for network connections

net_listening - celo [Value: 0CU]
Checks if the client is actively listening for network connections
Use cases

Use cases

  • Broadcast a signed transaction to the network
  • Validate and execute a pre-signed transaction
  • Submit transaction for inclusion in the next block
Constraints

Constraints

  • Requires valid signed transaction data
  • Network connectivity must be active and stable
  • Node must support raw transaction broadcasting
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request POST \
     --url https://celo.drpc.org \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "net_listening"
}
'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xb1770efb14906e509893b6190359658208ae64d0c56e22f748a1b0869885559e"
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200
RReturns true if the client is listening for network connections, false otherwise.

Response params

object
idinteger
jsonrpcstring
resultboolean