Geth RPC docs:


Returns the receipt of a transaction by transaction hash.

Note That the receipt is not available for pending transactions.

What is the reason why Receipt not available for pending transactions?

1 Answer 1


A Transaction receipt gives data about the state after the transaction is mined, the hash of the trie which stores these receipts is included in the block headers. If you want to check the details of a pending transaction, then you can use eth_getTransaction method.

  • I need details about script that call to contract. In case Receipt, I can parse log messages and get information (at example about token transfers on ERC 20). Unconfirmed transaction also should be parsed is any other way then code own script parser?
    – bitaps.com
    Commented Jun 30, 2017 at 14:04
  • Sounds like eth_call might be useful in your case Commented Sep 20, 2018 at 3:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.