> For the complete documentation index, see [llms.txt](https://plutolabs.gitbook.io/plutoframework/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plutolabs.gitbook.io/plutoframework/make-your-application/ui-components/usdbalanceview.md).

# UsdBalanceView

<figure><img src="/files/wy2IRrjd4YfCT4hrKQwY" alt="" width="451"><figcaption></figcaption></figure>

Probably one of the technically most complex and most elegant UI components in PlutoFramework.

* Gets you all assets that exist on all blockchains that the app is connected to.
* Gets the metadata for each asset
* Gets the current price of the asset according to the Hydration Omnipool on-chain oracle.
* Sums the USD balance and displays it on top for clarity.

{% hint style="warning" %}
The app must be connected to Hydration in order to be able to query the current price
{% endhint %}

## Pallets supported:

* Balances
* Assets
* Tokens

More pallets can be added upon request. You can also add them yourself via Pull Request.

## Parameters

Currency format sets how many decimal places will be displayed. By default, it displays always 2 decimal places.

```xml
<x:String x:Key="CurrencyFormat">{0:0.00}</x:String>
```

Location sets which currency will be the current price calculated to.

```xml
<x:String x:Key="Location">US</x:String>
```
