1

http://api.etherscan.io/api?module=account&action=tokentx&address=0x4e83362442b8d1bec281594cea3050c8eb01311c&startblock=0&endblock=999999999&sort=asc&apikey=YourApiKeyToken

I am test etherscan for getting token transactions, it shows up but the token name and token symbol show empty, and some token the token name and symbol shows but some not, all created long time ago. Is this a bug? Thanks

3
  • is this token api documented somewhere? All I can see at Etherscan is that it can show the total supply field and account balance for a token. Where did you get this API for getting token transactions? etherscan.io/apis#tokens
    – Nulik
    Commented Aug 24, 2018 at 12:52
  • in account section, not in token
    – Louis
    Commented Aug 24, 2018 at 14:49
  • I believe there is something wrong with Etherscan, because the contract address that holds the tokens is not 0xecf8f87f810ecf450940c9f60066b4a7a501d6a7, but 0x7f6ECcbcA710E8B5af7d837c7e2E406844538E10 , if we talk about the first transaction with hash 0x5f2cd76fd3656686e356bc02cc91d8d0726a16936fd08e67ed30467053225a86
    – Nulik
    Commented Aug 24, 2018 at 15:26

1 Answer 1

1

This is not a bug. Etherscan will only show information such as the token name, symbol, total supply etc. if a token contract adheres to the ERC20 specification and provides that information using the appropriate functions.

For example, for token 0xecf8f87f810ecf450940c9f60066b4a7a501d6a7, this does not appear to be the case. They don't provide the name and symbol values as required by the specification, and are thus non-ERC20 compliant.

2

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.