from_token_decimals

Function

def from_token_decimals(amount, decimals):
    return amount / 10 ** decimals

Description

  • Return the amount as a float