Added get_tx_data method