getTransaction

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

Language