5

When I tried to import NFT to my Metamask wallet, I found out that "Token Decimal" input should be filled. I know NFT doesn't have decimal so does it mean I should fill it with 0?

Token Decimal input in Metamask

1
  • what does etherscan report?
    – qwr
    Commented Jan 10, 2022 at 7:53

1 Answer 1

7

NFTs have a decimals value of 0.

Conceptually you cannot split a simple non-fungible token in half (think of sending half a painting to a buyer). Only natural values.

Technically, we can read in the ERC-721 that the standard requires the 0 decimals (amounts will only be integers >= 0):

An implementation may also include a function decimals that returns uint8(0) if its goal is to be more compatible with ERC-20 while supporting this standard.


For technical reference, see an earlier answer here (includes another standard as well)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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