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]
|
inputFormatter: [formatters.inputTransactionFormatter]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var sign = new Method({
|
||||||
|
name: 'sign',
|
||||||
|
call: 'eth_sign',
|
||||||
|
params: 2,
|
||||||
|
inputFormatter: [formatters.inputAddressFormatter, null]
|
||||||
|
});
|
||||||
|
|
||||||
var call = new Method({
|
var call = new Method({
|
||||||
name: 'call',
|
name: 'call',
|
||||||
call: 'eth_call',
|
call: 'eth_call',
|
||||||
|
@ -264,6 +271,7 @@ var methods = function () {
|
||||||
estimateGas,
|
estimateGas,
|
||||||
sendRawTransaction,
|
sendRawTransaction,
|
||||||
sendTransaction,
|
sendTransaction,
|
||||||
|
sign,
|
||||||
compileSolidity,
|
compileSolidity,
|
||||||
compileLLL,
|
compileLLL,
|
||||||
compileSerpent,
|
compileSerpent,
|
||||||
|
|
Loading…
Reference in New Issue