2

I've tested getTransactionReceipt(), to get all detail about transaction with amount of token transfer. Also tested getTransaction but it returns only Ether transferred value. Is there any other method using which I can get amount of token transferred?

2
  • 1
    Tokens are not native and are controlled by a smart contract. You have to check the events emitted by the particular smart contract to know the amount of tokens transferred.
    – Sanjay S B
    Sep 19, 2019 at 5:51
  • @SanjaySB, it means that the web3 methods will returns native information onlu i.e address?
    – Rudrika
    Sep 19, 2019 at 6:28

0

Your Answer

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