Added methods for saving and broadcasting transactions.