📍admin.removePeer()

Description: Removes a peer from the network using its enode.

Parameters

Name

Type

Description

enode

string

Enode of the peer you want to remove.

Returns

Type

Description

boolean

Indicates whether the peer has been successfully removed.

Last updated