query trxid for y_m