Added support for checking whether the transaction Id has already been used