Mediated, amperometric biosensor for glucose-6-phosphate monitoring based on entrapped glucose-6-phosphate dehydrogenase, Mg2+ ions, tetracyanoquinodimethane, and nicotinamide adenine dinucleotide phosphate in carbon paste.