web3.eth.getTransactionReceipt return null

I have a transaction with hash 0x6a261d48183ef0c04f518b1aef0ff54d4fc915be25124a3a27a09078a8304c9b etherscan have my transaction detail

but when i do:


they return null.

How can i get the transaction detail. It is on Rinkeby

Hi @duanth94, and welcome to the Infura community!

From the Etherscan link you provided, it looks like the transaction was sent back in November of 2019 and actually failed, which is why you’re getting null values, as it didn’t go through. You should be able to send a new transaction and those methods should work.