1

Is it a wei, kwei, mwei, gwei, ... Something else?

The API doesn't say much.

  • 2
    wei (typing more to meet minimum length) – user19510 Sep 11 at 0:30
1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.