Historical Rules · 18 February 2022
Rule 400.7c
Official source text from the 18 February 2022 Rules release
An ability of a permanent can reference information about the spell that became that permanent as it resolved, including what costs were paid to cast that spell or what mana was spent to pay those costs.