Transaction creation and representation