Account is needed for sending transactions to blockchain
Typically account is provided by node. In this case node manage accounts: encrypt and decrypt private keys, manipulate files etc. In other case web3 can derive account from private key and send to node already signed transactions.
Methods
withAccount :: JsonRpc m => a -> t m b -> m bRun computation with given account credentials
send :: (JsonRpc m, Method args) => args -> t m (Either HexString TxReceipt)Send transaction to contract, like a
writecommandcall :: (JsonRpc m, Method args, AbiGet result) => args -> t m resultCall constant method of contract, like a read command
Instances3Account
Account LocalKey LocalKeyAccountDefined in web3-ethereum-1.1.0.1 · Network.Ethereum.Account.LocalKeyAccount Personal PersonalAccountDefined in web3-ethereum-1.1.0.1 · Network.Ethereum.Account.PersonalAccount () DefaultAccountDefined in web3-ethereum-1.1.0.1 · Network.Ethereum.Account.Default · orphan