Get the transaction from the txdb if available.