eth_getTransactionByHash - Optimism

Returns the information about a transaction requested by transaction hash. In the response object, blockHash, blockNumber, and transactionIndex are null when the transaction is pending.

Language
URL
Click Try It! to start a request and see the response here!