ADMIN methods
version
- P2P protocol version.name
- Client name.caps
- List of Ethereum sub-protocol capabilities.network
- Local and remote addresses established at time of bonding with the peer. The remote address might not match the hex value forport
. The remote address depends on which node initiated the connection.port
- Port on the remote node on which P2P discovery is listening.id
- Node public key. Excluding the0x
prefix, the node public key is the ID in the enode URLenode://<id ex 0x>@<host>:<port>
.protocols
- Current state of peer includingdifficulty
andhead
.head
is the hash of the highest known block for the peer.
BODY
Example Request
Example Response
POST : admin_removePeer
Removes a static node.
Parameters
string
: Enode URL of peer to remove.
Returns
result
: boolean
- true
if peer removed or false
if peer not a static node).
BODY
Last updated