MyCrypto/common/libs/transaction.js
William O'Beirne 7541d6f486 Estimate gas (WIP) (#102)
* relayout rpc code, start contract helper

* Dont ask for estimate if theres no value

* Split out conversion of ether to wei hex into lib function.

* big.js -> bignumber.js
2017-08-07 22:45:08 -05:00

15 lines
215 B
JavaScript

// @flow
export type TransactionWithoutGas = {|
from?: string,
to: string,
gasPrice?: string,
value?: string,
data?: string
|};
export type Transaction = {|
...TransactionWithoutGas,
gas: string
|};