web3-simple-helpers
v1.8.6
Published
Basic methods that allow interaction with the Ethereum blockchain.
Downloads
102
Readme
web3-simple-helpers
Description
Basic methods that allow interaction with the Ethereum blockchain.
Methods
General
- getContractInstance(contract)
- getErrorMessage(err)
- compareAddresses(address1, address2)
- getSplitAddress(address)
- async convertEthPrice(currency)
- fromUnixTimestampToDate(unixTimestamp)
- fromDateToUnixTimestamp(date)
Connect
- async call(contract, method, params = [], options, success, error)
- async transaction(contract, method, params = [], sender, options, handleError)
- async pastEvents(contract, event, options, func)
- async latestEvents(contract, event, options, func)