Versions in this module Expand all Collapse all v0 v0.4.4 Jul 9, 2021 Changes in this version + type PrivateAccountAPI struct + func NewAPI(ethAPI *eth.PublicAPI) *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, pwrd string) (common.Hash, error) + func (api *PrivateAccountAPI) Sign(_ context.Context, data hexutil.Bytes, addr common.Address, pwrd string) (hexutil.Bytes, error) + func (api *PrivateAccountAPI) UnlockAccount(_ context.Context, addr common.Address, _ string, _ *uint64) (bool, error)