Add a transaction sample.