mirror of https://github.com/status-im/web3.js.git
added eth_sign
This commit is contained in:
parent
03479e0107
commit
5ef460b993
|
@ -202,6 +202,13 @@ var methods = function () {
|
|||
inputFormatter: [formatters.inputTransactionFormatter]
|
||||
});
|
||||
|
||||
var sign = new Method({
|
||||
name: 'sign',
|
||||
call: 'eth_sign',
|
||||
params: 2,
|
||||
inputFormatter: [formatters.inputAddressFormatter, null]
|
||||
});
|
||||
|
||||
var call = new Method({
|
||||
name: 'call',
|
||||
call: 'eth_call',
|
||||
|
@ -264,6 +271,7 @@ var methods = function () {
|
|||
estimateGas,
|
||||
sendRawTransaction,
|
||||
sendTransaction,
|
||||
sign,
|
||||
compileSolidity,
|
||||
compileLLL,
|
||||
compileSerpent,
|
||||
|
|
Loading…
Reference in New Issue