Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

balance result different from ethscan #26

Open
allanwakes opened this issue Oct 10, 2019 · 0 comments
Open

balance result different from ethscan #26

allanwakes opened this issue Oct 10, 2019 · 0 comments

Comments

@allanwakes
Copy link

Really appreciate this tool, helped me a lot!

I run tokenbalance in docker.
I found that the erc20 balance result for the same wallet against the same contract is different from the result on ethscan (when decimal is large? result is the same when decimal is 6).
for example:
curl http://localhost:8080/token/0x514910771af9ca656af840dff83e8264ecf986ca/0xdc4252e99397371ada045040a28c05025bae7101

result:
{"token":"0x514910771AF9Ca656af840dff83E8264EcF986CA","wallet":"0xDc4252E99397371aDa045040A28C05025bAE7101","name":"ChainLink Token","symbol":"LINK","balance":"3997863.6130105284973979","eth_balance":"0.0","decimals":18,"block":8711386}

while the balance on ethscan is:
3997863.613010528440330967

Is there any problem when transforming balance, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant