The ability that gives a 30% chance to burn the attacker on contact is Flame Body (possessed by Pokémon like Magmar, Slugma, Volcarona, Talonflame).
Blaze—the starter Fire-type ability—does not burn on contact. Its effect: when the Pokémon's HP falls below 1/3, its Fire-type moves gain 50% power. That's it.
The confusion is common because both abilities are fire-related. But:
Other contact-burn abilities: Effect Spore (paralyze/poison/sleep), Poison Point (poison), Static (paralyze), Rough Skin / Iron Barbs (damage).
So if you want to burn enemies for touching you, breed for Flame Body—not Blaze.