Versions in this module Expand all Collapse all v0 v0.12.4 Mar 30, 2022 v0.12.3 Mar 30, 2022 Changes in this version + type PrivateAccountAPI struct + func NewAPI(logger log.Logger, clientCtx client.Context, backend backend.Backend) *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) InitializeWallet(_ context.Context, url string) (string, error) + func (api *PrivateAccountAPI) ListAccounts() ([]common.Address, error) + func (api *PrivateAccountAPI) ListWallets() []RawWallet + func (api *PrivateAccountAPI) LockAccount(address common.Address) bool + func (api *PrivateAccountAPI) NewAccount(password string) (common.Address, error) + func (api *PrivateAccountAPI) SendTransaction(_ context.Context, args evmtypes.TransactionArgs, _ 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, _ string, _ *uint64) (bool, error) + func (api *PrivateAccountAPI) Unpair(_ context.Context, url, pin string) error + type RawWallet struct + Accounts []accounts.Account + Failure string + Status string + URL string