Is it a wei, kwei, mwei, gwei, ... Something else?
The API doesn't say much.
Is it a wei, kwei, mwei, gwei, ... Something else?
The API doesn't say much.
The unit is wei.
Wei is the lowest possible denomination that can be handled by Solidity. Because of this, various values can be calculated (but not necessarily the other way around), such as ether, tx.gasprice, and even ERC20 tokens with arbitrary decimals.