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

p2p.BlockPeer

**BlockPeer adds a peer to the set of blocked peers and closes any existing connection to that peer. **

Auth level: admin

Params:

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

Result:

{"name":"Null","description":"Null","schema":{"type":["null"]},"required":true,"deprecated":false}