> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usdh.money/llms.txt
> Use this file to discover all available pages before exploring further.

# Show balances and rewards

> How the sUSDh price works, and how to turn it into the numbers your customers see.

**A customer's number of sUSDh never changes on its own. The sUSDh price does.** To show what a customer holds, multiply their sUSDh by the price.

## The math

| | |
| - | - |
| sUSDh price | `pps()`, in USDh per sUSDh, with 18 decimals. `1024085752525288264` means 1 sUSDh = 1.024086 USDh |
| Value in USDh | sUSDh balance × price. `getUserView(customer)` does this for you and returns `stakedAssets6`, with 6 decimals |
| sUSDh for a stake | USDh staked ÷ price |

## Worked example

These figures show how the price works. They are not a forecast.

| Step | sUSDh price | Customer holds | Worth |
| - | - | - | - |
| Customer stakes 1,000 USDh | 1.00 | 1,000 sUSDh | 1,000 USDh |
| Rewards build up | 1.05 | 1,000 sUSDh | 1,050 USDh |
| A new customer stakes 1,000 USDh | 1.05 | about 952.38 sUSDh | 1,000 USDh |

Same value in, fewer sUSDh, so earlier stakers are not diluted.

## Showing the reward rate

`currentYieldRate()` returns the rate in force, in basis points (`700` means 7% a year), plus any end date or price ceiling on it.

* The rate can change, be paused, or be zero at any time. Show it as today's rate, never as a promise.
* If the returned `expired` or `ceilingReached` is `true`, the price has stopped rising. Show that the rate is currently zero.
* The rate can never go above a cap in the contract, `maxApyBps()`. Today that is 25% a year.
* Past rewards say nothing about future ones. Don't project a customer's future balance from today's rate.

## What to show customers

| Show | Read from |
| - | - |
| Staked balance, in USDh | `getUserView` → `stakedAssets6` |
| Amount waiting to be claimed | `getUserView` → `exitingAssets6` |
| When it can be claimed | `getUserView` → `cooldownEnd` or `pendingExit` → `availableAt` |
| Claim button | `getUserView` → `claimable` |
| Today's rate | `currentYieldRate` → `apyBps` |

*Last updated: Nov 17, 2026*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.