Skip to main content
POST
net_peerCount

ボディ

application/json
jsonrpc
enum<string>
必須
利用可能なオプション:
2.0
例:

"2.0"

method
enum<string>
必須

The name of the method to be invoked.

利用可能なオプション:
net_peerCount
例:

"net_peerCount"

params
array
必須

net_peerCount does not require any params.

例:
id
integer
必須

A unique identifier for the request.

例:

1

レスポンス

200 - application/json

Successful response

jsonrpc
string
例:

"2.0"

result
string

The number of connected peers.

例:

"0x3"

id
integer
例:

1