jsapi interface for parity_killAccount
This commit is contained in:
@@ -123,6 +123,11 @@ export default class Parity {
|
||||
.then((accounts) => (accounts || []).map(outAddress));
|
||||
}
|
||||
|
||||
killAccount (account, password) {
|
||||
return this._transport
|
||||
.execute('parity_killAccount', inAddress(account), password);
|
||||
}
|
||||
|
||||
listGethAccounts () {
|
||||
return this._transport
|
||||
.execute('parity_listGethAccounts')
|
||||
|
||||
Reference in New Issue
Block a user