Open qingshuiling opened 1 year ago
In terms of EVM there are no decimals in tokens at all. However, most of the tokens have 18 decimals, meaning if you want to send 1.555 tokens you need to send 1.555*10^18 value. To check how many decimans token you are interacting with has, simply navigate to etherscan and check "decimals()" function in read contract tab.
How to send 1.555 tokens or 54.1332 tokens? Is there a way to control the number of custom tokens sent?