diff --git a/lib/web3/methods/eth.js b/lib/web3/methods/eth.js index 9624932..5b44528 100644 --- a/lib/web3/methods/eth.js +++ b/lib/web3/methods/eth.js @@ -202,6 +202,13 @@ var methods = function () { inputFormatter: [formatters.inputTransactionFormatter] }); + var sign = new Method({ + name: 'sign', + call: 'eth_sign', + params: 2, + inputFormatter: [formatters.inputAddressFormatter, null] + }); + var call = new Method({ name: 'call', call: 'eth_call', @@ -264,6 +271,7 @@ var methods = function () { estimateGas, sendRawTransaction, sendTransaction, + sign, compileSolidity, compileLLL, compileSerpent,