eth: add new RPC method (personal.) SignAndSendTransaction

This commit is contained in:
Bas van Kervel
2016-05-12 19:32:04 +02:00
parent e798e4fd75
commit 64a6c2c1b6
6 changed files with 165 additions and 71 deletions

View File

@ -431,6 +431,12 @@ web3._extend({
name: 'importRawKey',
call: 'personal_importRawKey',
params: 2
}),
new web3._extend.Method({
name: 'signAndSendTransaction',
call: 'personal_signAndSendTransaction',
params: 2,
inputFormatter: [web3._extend.formatters.inputTransactionFormatter, null]
})
]
});