# Account

NewAccountApi creates account module for client

func NewAccountApi(c *rpc.Client) *AccountApi

# Create

Create gets account by index from seed

func (a *AccountApi) Create(seedStr string, index uint32) (map[string]string, error)

# ForPublicKey

ForPublicKey returns address for public key

func (a *AccountApi) ForPublicKey(pubStr string) (types.Address, error)

# PublicKey

PublicKey returns public key for address

func (a *AccountApi) PublicKey(addr types.Address) string 

# Validate

Validate accepts a address string and checks if it's valid.

func (a *AccountApi) Validate(addr string) bool