Skip to main content

useNativeTokenAmountFromNumber

Callable

  • useNativeTokenAmountFromNumber(number: string | number, options?: ChainHookOptions): DenominatedNumber
  • useNativeTokenAmountFromNumber(options?: ChainHookOptions): (number: number | string) => DenominatedNumber

  • Hook for returning the native token amount from a number value


    Parameters

    • number: string | number

      The number value

    • optionaloptions: ChainHookOptions

      Additional options

    Returns DenominatedNumber

    The native token amount