Versions in this module Expand all Collapse all v0 v0.19.9 Oct 25, 2021 Changes in this version + type PrivateAccountAPI struct + func NewAPI(ethAPI *eth.PublicEthereumAPI, log log.Logger) *PrivateAccountAPI + func (api *PrivateAccountAPI) EcRecover(_ context.Context, data, sig hexutil.Bytes) (common.Address, error) + func (api *PrivateAccountAPI) ImportRawKey(privkey, password string) (common.Address, error) + func (api *PrivateAccountAPI) ListAccounts() ([]common.Address, error) + func (api *PrivateAccountAPI) LockAccount(address common.Address) bool + func (api *PrivateAccountAPI) NewAccount(password string) (common.Address, error) + func (api *PrivateAccountAPI) SendTransaction(_ context.Context, args rpctypes.SendTxArgs, _ string) (common.Hash, error) + func (api *PrivateAccountAPI) Sign(_ context.Context, data hexutil.Bytes, addr common.Address, _ string) (hexutil.Bytes, error) + func (api *PrivateAccountAPI) UnlockAccount(_ context.Context, addr common.Address, password string, _ *uint64) (bool, error)