Description Usage Arguments Value See Also Examples
admin_addPeer
request to add a new remote node to the list of tracked
static nodes.
1 | admin_addPeer(enode)
|
enode |
String - URL of the remote peer to start tracking. |
Boolean - true
the peer was accepted for tracking or
false
if some error occurred.
Other admin functions: admin_datadir
,
admin_nodeInfo
, admin_peers
,
admin_setSolc
,
admin_startRPC
,
admin_startWS
, admin_stopRPC
,
admin_stopWS
, gethr
1 2 3 | admin_addPeer('enode://c1a07558238c0b31657450dd34a558752d63150ce334f3e99b9187
262b612f48a713a083cd1601bfe3bba761a908264320885633fa81d6d6ca0ef7a6e84a2bcd
@[127.0.0.1]:30301')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.