new ETH(string, number, Safe, table)
Constructor
Parameters:
| Name | Type | Description |
|---|---|---|
string |
name | name of asset |
number |
id | identity number of asset defined in BIP44 |
Safe |
walletSafe | Safe to keep wallets |
table |
walletStore | Wallet table that store wallet info |
- Source:
- hdwallet/chains/eth.js
Methods
-
<async> signTransaction(number, object, string)
-
Sign transaction
Parameters:
Name Type Description numberwid structured transaction to be signed objecttx structured transaction to be signed stringpath path in HD wallet used to sign - Source:
- hdwallet/chains/eth.js
Returns:
signed buffer- Type
- Buffer