added optional currency to transaction

Needed for CHF for example.