How can I find out what token was sent from the transaction input?


This input is from some random transaction. I can find out how many tokens are transferred during the transaction but how can I see what token is being transferred? In my case, I need to know if USDT or USDC are being sent.

  • 1
    input is not enough to know that.. you need transaction and logs
    – Majd TL
    Dec 10, 2021 at 12:47
  • How can I check what token is being transferred having transaction hash and transaction input through for example Etherscan API?
    – Laralex
    Dec 10, 2021 at 13:16
  • one way is to check the destination "to" of the transaction. "to" could be the address of the erc20Token. take care this does not work for internal transfers transactions
    – Majd TL
    Dec 10, 2021 at 13:35
  • What about web3.js? Is there a simple way of getting what token is transferred using the transaction hash with web3.js?
    – Laralex
    Dec 10, 2021 at 13:57


Your Answer

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

Browse other questions tagged or ask your own question.