check if data are bytes in get_tx_info