Added sendRawTransaction

This commit is contained in:
Nick Dodson 2015-06-18 13:25:57 -04:00
parent 4228b02cd0
commit 86d9b5875d
1 changed files with 8 additions and 0 deletions

View File

@ -160,6 +160,13 @@ var getTransactionCount = new Method({
outputFormatter: utils.toDecimal outputFormatter: utils.toDecimal
}); });
var sendRawTransaction = new Method({
name: 'sendRawTransaction',
call: 'eth_sendRawTransaction',
params: 1,
inputFormatter: [null]
});
var sendTransaction = new Method({ var sendTransaction = new Method({
name: 'sendTransaction', name: 'sendTransaction',
call: 'eth_sendTransaction', call: 'eth_sendTransaction',
@ -226,6 +233,7 @@ var methods = [
getTransactionCount, getTransactionCount,
call, call,
estimateGas, estimateGas,
sendRawTransaction,
sendTransaction, sendTransaction,
compileSolidity, compileSolidity,
compileLLL, compileLLL,