added admin API
This commit is contained in:
committed by
Bas van Kervel
parent
08d72a9245
commit
cc9ae39933
@ -5,6 +5,13 @@ web3.extend({
|
||||
property: 'network',
|
||||
methods:
|
||||
[
|
||||
new web3.extend.Method({
|
||||
name: 'addPeer',
|
||||
call: 'net_addPeer',
|
||||
params: 1,
|
||||
inputFormatter: [web3.extend.utils.formatInputString],
|
||||
outputFormatter: web3.extend.formatters.formatOutputBool
|
||||
}),
|
||||
new web3.extend.Method({
|
||||
name: 'id',
|
||||
call: 'net_id',
|
||||
|
Reference in New Issue
Block a user