POSTnet_peerCount
Tron Mainnet
https://tron-mainnet.nodit.io/Returns the number of peers connected to the node.
Request Body
This method takes no parameters. Pass an empty array.
Responses
응답 본문이 없습니다.
https://tron-mainnet.nodit.io/Returns the number of peers connected to the node.
This method takes no parameters. Pass an empty array.
응답 본문이 없습니다.
curl -X POST "https://tron-mainnet.nodit.io/" \
-H "X-API-KEY: {YOUR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"id": 1,
"jsonrpc": "2.0",
"method": "net_peerCount",
"params": []
}'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1e"
}Last updated