Skip to content
BLOBPEDIAby Unity Nodes
Documentation/rpc/JSON-RPC methodView on rpc
rpc/JSON-RPC method

p2p.Ping

**Ping pings the selected peer and returns time it took or error. **

Auth level: admin

Params:

[{"name":"peer","description":"peer.ID","summary":"","schema":{"examples":["CovLVG4fQcqUS6DmoMxAwVJGNW6PMzfwTG6BHW9NH9TLGHcbRfvPVc3JVhnufK3HTzStoTo"],"type":["string"]},"required":true,"deprecated":false}]

Result:

{"name":"time.Duration","description":"time.Duration","summary":"","schema":{"examples":[1000000000],"type":["integer"]},"required":true,"deprecated":false}