Skip to content

Commit

Permalink
[vm] changed sendETHTransaction method
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Lenz committed Jun 22, 2018
1 parent 13e1c78 commit aadde5a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vm-raw/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ export default {
ethereumRequest: global.ethereumRequest,
/**
* @typedef {Object} TransactionParams
* @property {string} purpose
* @property {string} amount (in WEI!)
* @property {string} value (in WEI!)
* @property {string} to (address)
* @property {string} data
*
* @desc send an ethereum transaction
* @param {TransactionParams} transactionParams
* @param {function} callback will be called with transaction hash and error (null if no error)
* @param {function} callback will be called with the transaction (including TX hash). value, gasLimit, gasPrice must be base 10
*/
sendETHTransaction: global.sendETHTransaction
}

0 comments on commit aadde5a

Please sign in to comment.