added function for transaction tooltip title attribute