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