added eth_sign

This commit is contained in:
Fabian Vogelsteller 2015-12-03 14:02:57 +01:00
parent 03479e0107
commit 5ef460b993
1 changed files with 8 additions and 0 deletions

View File

@ -202,6 +202,13 @@ var methods = function () {
inputFormatter: [formatters.inputTransactionFormatter] inputFormatter: [formatters.inputTransactionFormatter]
}); });
var sign = new Method({
name: 'sign',
call: 'eth_sign',
params: 2,
inputFormatter: [formatters.inputAddressFormatter, null]
});
var call = new Method({ var call = new Method({
name: 'call', name: 'call',
call: 'eth_call', call: 'eth_call',
@ -264,6 +271,7 @@ var methods = function () {
estimateGas, estimateGas,
sendRawTransaction, sendRawTransaction,
sendTransaction, sendTransaction,
sign,
compileSolidity, compileSolidity,
compileLLL, compileLLL,
compileSerpent, compileSerpent,