change tx example to use two-argument method signature instead of a single string