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

Token decimals - manual correction of contract metadata #1026

Open
tomasklim opened this issue Jan 24, 2024 · 0 comments
Open

Token decimals - manual correction of contract metadata #1026

tomasklim opened this issue Jan 24, 2024 · 0 comments

Comments

@tomasklim
Copy link
Member

tomasklim commented Jan 24, 2024

@tomasklim yes, it is reported incorrectly by Blockbook because the contract self describes itself incorrectly (probably does not implement the get decimals method and Blockbook then defaults to 18). I will have to implement manual correction of contract metadata.

trezor/trezor-suite#8030

Same tx on etherscan and blockbook
https://etherscan.io/tx/0xa7b635ff1f823fa3a99ac2353a14bfc523ce6b690b9743992757346ad8c9def9
https://eth1.trezor.io/tx/0xa7b635ff1f823fa3a99ac2353a14bfc523ce6b690b9743992757346ad8c9def9

According to blockbook, decimals = 18 https://eth1.trezor.io/api/v2/address/0xC19B6A4Ac7C7Cc24459F08984Bbd09664af17bD1
Acording to ethscan decimals = 0
Screenshot 2023-04-07 at 22 13 34

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