// Returns frontier, open block, change representative block,
// balance, last modified timestamp from local database
// and block count for account.
// Additionally returns representative, voting weight and
// pending balance for account, if respective parameters are set (>= v8.1).
Returns frontier, open block, change representative block,
balance, last modified timestamp from local database
and block count for account.
Additionally returns representative, voting weight and
pending balance for account, if respective parameters are set (>= v8.1).
// Returns frontier open block change representative block // balance last modified timestamp from local database // and block count for account . // Additionally returns representative voting weight and // pending balance for account if respective parameters are set ( > = v8 . 1 ) .
func AccountInfo(account string, representative, weight, pending bool) (map[string]string, error) {
	payload := map[string]interface{}{
		"account":        account,
		"representative": representative,
		"weight":         weight,
		"pending":        pending,
	}
	return client.fetchMap("account_info", payload, "")
}
func AccountInfo ( account string , representative , weight , pending bool ) ( map [ string ] string , error ) { payload := map [ string ] interface { } { " " : account , " " : representative , " " : weight , " " : pending , } return client . fetchMap ( " " , payload , " " ) }
Returns frontier, open block, change representative block,
balance, last modified timestamp from local database
and block count for account.
Returns frontier open block change representative block balance last modified timestamp from local database and block count for account .