Skip to main content
Helpful?

IERC20Metadata

Extension to IERC20 that includes token metadata

Functions​

name​

  function name(
) external returns (string)

Return Values:​

TypeDescription
stringname of the token

symbol​

  function symbol(
) external returns (string)

Return Values:​

TypeDescription
stringsymbol of the token

decimals​

  function decimals(
) external returns (uint8)

Return Values:​

TypeDescription
uint8number of decimal places the token has
Helpful?