简体中文
cURL
curl --request POST \ --url https://rpc.quai.network/cyprus1/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "net_peerCount", "params": [], "id": 1 }'
{ "jsonrpc": "2.0", "result": "0x3", "id": 1 }
Returns the number of peers currently connected to the client.
注意: 此页面尚未翻译成中文。以下内容为英文原版。
Successful response
The response is of type object.
object
此页面对您有帮助吗?