mirror of https://github.com/status-im/web3.js.git
Added sendRawTransaction
This commit is contained in:
parent
4228b02cd0
commit
86d9b5875d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue