jsapi interface for parity_killAccount

This commit is contained in:
Jaco Greeff
2016-11-22 15:52:23 +01:00
parent 2d9369e5ba
commit 3db5e3e627
2 changed files with 23 additions and 0 deletions

View File

@@ -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')