added support for creating tx hash