anyone can tell me what a context on a currencytransaction is?
It's the object that caused the CT to be created. Usually a PurchaseItem, but could also be a Post, User (for admin generated transactions), etc. Look in lib/currency_transaction_factory.rb a