I will need the following data of the outgoing transaction with a transaction hash given by the user: sender, recipient, transferred token amount.

I was able to get sender and recepient data with getTransactionReceipt function using web3 library.

But I don't know which token is sent and how much is the amount how can I get it? can you help me?

1 Answer 1


I'm sorry this is not an answer per-se, but I do not have enough reputation to comment.

To see such information, you can check the transaction on a block explorer like bscscan or etherscan depending on the network or you can use a tool like tenderly

  • yes i look bscscan etc. but I need to do this control with code.
    – Berkant
    Aug 4, 2022 at 14:36
  • Check out Adam Kipnis and Tomer's answers they both cover how that can be achieved. They did a better job than I ever will
    – Starbody
    Aug 4, 2022 at 14:46
  • I'm happy to be of some help.
    – Starbody
    Aug 5, 2022 at 8:38

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.