I am using Etherscan API to get transaction and other details for addresses.
I need to find out no. of tokens transferred between two addresses. For Ex – for Below TxHash I see 1564+ tokens transferred. When I use this API call I see from
and to
address but not token value.
Best Answer
Here's json result from your api call:
Please take care of the input field:
First 4 bytes is method hash:
Next 32 bytes is target address:
Last 32 bytes is value of ERC20 tokens transferred:
0x54ca7578dcf8bb7aa0 = 1.5641152016500001e+21