Function spotQuantityToChainQuantity
- spotQuantityToChainQuantity(__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 requires is in the x * 10^(baseDecimals) format where x is a human readable number