Fix template for createTransaction