4

I am using EtherScan API for finding Ethererum Stats however I see no option to find details for a particular transaction. How can I do the same?

  • 1
    yes got sorted, I actually found some geth APIs as part of EtherScan only. It had that option. Your link provided could also be used. – garg10may Sep 16 '17 at 14:39
  • Okay, that's cool and interesting – Achala Dissanayake Sep 16 '17 at 14:41
4

EtherScan API also provides a API for transaction details which I missed. It's part of Geth/Parity Proxy APIs by name eth_getTransactionByHash

  • Are you able to get information what ERC20 token was transferred and how many. eth_getTransactionByHash Doesn't share token details and qty. Thanks – Mangesh Sep 7 '18 at 12:30
2

If you go to the EtherScan Transaction API it says the version is Beta. So they may not have implemented it yet.

You may use the EtherChain Transaction API, they have it implemented to get a transaction by hash.

Transactions - GetTransaction

Returns a transaction by its hash.

[GET] https://etherchain.org/api/tx/:id

Parameter Field:id, Type: String, Description : The hash of the transaction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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