Enchantment
Whenever one or more cards are put into an opponent's graveyard from their hand or library, you may exile the top card of each player's library. Until your next turn, you may cast a card from among those exiled cards and you may spend mana as though it were mana of any type to cast that spell.