📍admin.addPeer()

Description: Adds a peer to the network using its enode.

Parameters

Name

Type

Description

enode

string

Enode of the peer you want to add.

Returns

Type

Description

boolean

Indicates whether the enode has been successfully added (true) or not (false).

Last updated