Add transaction type

Targets #191