Function spotQuantityFromChainQuantity
- spotQuantityFromChainQuantity(__namedParameters: {
baseDecimals?: string | number;
value: string | number | BigNumber;
}): BigNumber
-
Parameters
-
__namedParameters: {
baseDecimals?: string | number;
value: string | number | BigNumber;
}
-
Optional
baseDecimals?: string | number
-
value: string | number | BigNumber
Returns BigNumber
Amount that the chain returns is in the x * 10^(baseDecimals) format where x is a human readable number