Function convertAssetPriceToPlanck

  • Converts an Asset Price (priceNQT) into Planck returned in Trade and/or Order objects from node

    Parameters

    • assetPrice: string

      The priceNQT from asset queries

    • decimals: number

      The decimals of that asset

    Returns string