Function useFiatConversionRateSWR

  • React hook to get the conversion rate for a pair of tokens

    Parameters

    • from: undefined | string
    • to: undefined | string
    • enabled: boolean = true
    • options: Partial<PublicConfiguration<any, any, BareFetcher<any>>> = {}

    Returns UseFiatConversionRateReturnType