Calculates the spot token amount including any accumulated interest.
The calculated token amount, scaled by SpotMarketConfig.precision
SpotMarketConfig.precision
The balance amount, typically from SpotPosition.scaledBalance
SpotPosition.scaledBalance
The spot market account details
The balance type to be used for calculation
Generated using TypeDoc
Calculates the spot token amount including any accumulated interest.
Returns
The calculated token amount, scaled by
SpotMarketConfig.precision