// GetAccount calls the /accounts endpoint of the API.
GetAccount calls the /accounts endpoint of the API.
// GetAccount calls the / accounts endpoint of the API .
func (c *Client) GetAccount(account [32]byte) (*Account, error) {
	path := RouteAccount + "/" + hex.EncodeToString(account[:])
	var res Account
	if err := c.RequestJSON(path, ReqGet, nil, &res); err != nil {
		return nil, err
	}
	return &res, nil
}
func ( c * Client ) GetAccount ( account [ 32 ] byte ) ( * Account , error ) { path := RouteAccount + " " + hex . EncodeToString ( account [ : ] ) var res Account if err := c . RequestJSON ( path , ReqGet , nil , & res ) ; err != nil { return nil , err } return & res , nil }
GetAccount calls the /accounts endpoint of the API.
GetAccount calls the / accounts endpoint of the API .