From 86d9b5875d5249adea8f66a3153f98ba592bd8d5 Mon Sep 17 00:00:00 2001 From: Nick Dodson Date: Thu, 18 Jun 2015 13:25:57 -0400 Subject: [PATCH] Added sendRawTransaction --- lib/web3/eth.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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,