Decode transaction in the pubsub example.