API:GetQuestTP QuestDetail

Returns the amount of Talent Points the Quest will give you. GetQuestTP_QuestDetail

Returns
Talent Points

Example
/script DEFAULT_CHAT_FRAME:AddMessage(GetQuestTP_QuestDetail);