Added sendRawTransaction
This commit is contained in:
parent
4228b02cd0
commit
86d9b5875d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue