Function derivativePriceFromChainPriceToFixed

  • Amount that the chain returns is in the x * 10^(quoteDecimals) format where x is a human readable number stringified

    Parameters

    • __namedParameters: {
          decimalPlaces?: number;
          quoteDecimals?: string | number;
          roundingMode?: RoundingMode;
          value: string | number | BigNumber;
      }
      • Optional decimalPlaces?: number
      • Optional quoteDecimals?: string | number
      • Optional roundingMode?: RoundingMode
      • value: string | number | BigNumber

    Returns string

Generated using TypeDoc