Lends Math Collateral Value
lends_math_collateral_valueCalculate the 6-decimal leUSD value of collateral using its raw amount, token decimals, and e8 market price.
Instructions
Calculate raw 6-decimal leUSD collateral value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| priceE8 | Yes | ||
| collateralRaw | Yes | ||
| collateralDecimals | Yes |