한국어
cURL
curl --request POST \ --url https://rpc.quai.network/cyprus1/ \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "method": "net_listening", "params": [], "id": 1 } '
{ "jsonrpc": "2.0", "result": true, "id": 1 }
Returns an indicator of whether client is listening for network connections.
2.0
"2.0"
The name of the method to be invoked.
net_listening
"net_listening"
net_listening does not require any params.
[]
A unique identifier for the request.
1
Successful response
If true, the node is listening. If false, the node is not listening.
true
false
이 페이지가 도움이 되었나요?