mirror of https://github.com/status-im/web3.js.git
Merge pull request #241 from SilentCicero/master
Added sendRawTransaction RPC
This commit is contained in:
commit
ecde3345e0
|
@ -160,6 +160,13 @@ var getTransactionCount = new Method({
|
|||
outputFormatter: utils.toDecimal
|
||||
});
|
||||
|
||||
var sendRawTransaction = new Method({
|
||||
name: 'sendRawTransaction',
|
||||
call: 'eth_sendRawTransaction',
|
||||
params: 1,
|
||||
inputFormatter: []
|
||||
});
|
||||
|
||||
var sendTransaction = new Method({
|
||||
name: 'sendTransaction',
|
||||
call: 'eth_sendTransaction',
|
||||
|
@ -226,6 +233,7 @@ var methods = [
|
|||
getTransactionCount,
|
||||
call,
|
||||
estimateGas,
|
||||
sendRawTransaction,
|
||||
sendTransaction,
|
||||
compileSolidity,
|
||||
compileLLL,
|
||||
|
|
Loading…
Reference in New Issue