Function derivativeQuantityFromChainQuantityToFixed
- derivativeQuantityFromChainQuantityToFixed(__namedParameters: {
decimalPlaces?: number;
roundingMode?: RoundingMode;
value: string | number | BigNumber;
}): string
-
Parameters
-
__namedParameters: {
decimalPlaces?: number;
roundingMode?: RoundingMode;
value: string | number | BigNumber;
}
-
Optional decimalPlaces?: number
-
Optional roundingMode?: RoundingMode
-
value: string | number | BigNumber
Returns string
Amount that the chain requires is in the x format where x is a human readable number stringified