admin¶
Admin related features
-
class
aioethereum.management.admin.AdminMixin¶ Bases:
object-
coroutine
admin_addPeer(url)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#admin_addpeer
Parameters: url (str) – Enode url of peer Return type: bool
-
coroutine
admin_datadir()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#admin_datadir
Returns: path Return type: str
-
coroutine
admin_nodeInfo()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#admin_nodeinfo
Returns: info Return type: dict
-
coroutine
admin_peers()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#admin_peers
Returns: info Return type: list
-
coroutine
admin_setSolc(path='/usr/bin/solc')¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#admin_setsolc
NOT AVAILABLE
-
coroutine
admin_startRPC(host='localhost', port=8545, cors=None, apis=None)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#admin_startrpc
Parameters: - host (str) – Network interface to open the listener socket (optional)
- port (int) – Network port to open the listener socket (optional)
- cors (str) – Cross-origin resource sharing header to use (optional)
- apis (str) – API modules to offer over this interface (optional)
Return type: bool
-
coroutine
admin_startWS(host='localhost', port=8546, cors=None, apis=None)¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#admin_startws
Parameters: - host (str) – Network interface to open the listener socket (optional)
- port (int) – Network port to open the listener socket (optional)
- cors (str) – Cross-origin resource sharing header to use (optional)
- apis (str) – API modules to offer over this interface (optional)
Return type: bool
-
coroutine
admin_stopRPC()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#admin_stoprpc
Return type: bool
-
coroutine
admin_stopWS()¶ https://github.com/ethereum/go-ethereum/wiki/Management-APIs#admin_stopws
Return type: bool
-
coroutine