• Converts a token amount to its full precision based on the given decimals.

    Parameters

    • amount: Amount

      The base amount to convert. This can be a number, string, or bigint.

    • decimals: number

      The number of decimal places the token uses.

    Returns bigint

    The full amount as a bigint, representing the value with all decimals.