acct

package
v0.10.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2021 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountManager

type AccountManager struct {
}

account manager communicate with various backends for signing transactions.

func New

func New() (*AccountManager, error)

func (AccountManager) APIs

func (a AccountManager) APIs() []rpc.API

func (*AccountManager) Start

func (a *AccountManager) Start() error

func (*AccountManager) Stop

func (a *AccountManager) Stop() error

type PublicAccountManagerAPI

type PublicAccountManagerAPI struct {
	// contains filtered or unexported fields
}

PublicEthereumAPI provides an API to access Ethereum full node-related information.

func NewPublicAccountManagerAPI

func NewPublicAccountManagerAPI(a *AccountManager) *PublicAccountManagerAPI

NewPublicEthereumAPI creates a new Ethereum protocol API for full nodes.

func (*PublicAccountManagerAPI) GetBalance

func (api *PublicAccountManagerAPI) GetBalance() int32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL