> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-docs-sync-code-change-be6d045.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IB20Asset.toScaledBalance

> Deprecated alias for scaledBalanceOf. Converts a raw balance to its scaled view using the current multiplier.

<Warning>
  `toScaledBalance` is a deprecated alias retained in `IB20Asset` for backward compatibility. Prefer `scaledBalanceOf(account)` for new integrations.
</Warning>

## Signature

```solidity IB20Asset.sol theme={null}
function toScaledBalance(uint256 rawBalance) external view returns (uint256);
```

| Field               | Value                      |
| ------------------- | -------------------------- |
| Selector            | `0x04f04c99`               |
| Canonical signature | `toScaledBalance(uint256)` |

## Description

Converts a raw token amount to its scaled (UI) view: `rawBalance * multiplier / WAD_PRECISION`.

This function is a deprecated alias for the conversion logic exposed by `toUIAmount(rawAmount)` and the convenience read `scaledBalanceOf(account)`. It applies the effective multiplier at the time of the call.

## Parameters

| Name         | Type      | Description                  |
| ------------ | --------- | ---------------------------- |
| `rawBalance` | `uint256` | Raw token amount to convert. |

## Returns

| Type      | Description                                             |
| --------- | ------------------------------------------------------- |
| `uint256` | Scaled balance at the current multiplier, rounded down. |

## Access Control

Read-only. No role required.

## Policy Interaction

No direct policy interaction.

## Example

```solidity Usage Example theme={null}
// Deprecated — prefer toUIAmount or scaledBalanceOf
uint256 scaled = IB20Asset(token).toScaledBalance(rawAmount);
```
