diff --git a/lib/web3/eth.js b/lib/web3/eth.js index 87a2b29..5a8ec83 100644 --- a/lib/web3/eth.js +++ b/lib/web3/eth.js @@ -160,6 +160,13 @@ var getTransactionCount = new Method({ outputFormatter: utils.toDecimal }); +var sendRawTransaction = new Method({ + name: 'sendRawTransaction', + call: 'eth_sendRawTransaction', + params: 1, + inputFormatter: [null] +}); + var sendTransaction = new Method({ name: 'sendTransaction', call: 'eth_sendTransaction', @@ -226,6 +233,7 @@ var methods = [ getTransactionCount, call, estimateGas, + sendRawTransaction, sendTransaction, compileSolidity, compileLLL,