You will need some cash. Small businesses have credit/debit card minimums, especially at markets like La Boquería and Santa Caterina. Consider ordering some euros to pick up at your local branch before your trip. Some banks will have fees attached, others might just exchange the money at the official rate of the day.