Fully generate and submit the transaction