Is there any code that can do this automatically by pulling a transaction ID off the blockchain (which would import the details)?
I can write such program. Are you ready to pay for it?
And why do you want to check the txid? It is so boring!
Why not to pass the blockId (hash or height) to a program and check all transactions in block?