> For the complete documentation index, see [llms.txt](https://superfluid.gitbook.io/superfluid/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://superfluid.gitbook.io/superfluid/developers/integration-guides/displaying-token-balances.md).

# Displaying Token Balances

## Getting Standard Account Balances

To get an account’s balance, you can call `balanceOf()` on each individual Super Token contract, and pass in the address of the account you’re looking to query as the lone param. This works just like an ERC20 `balanceOf()` call.

## Displaying an Account’s Streaming Balance in Your Own App

Our guess is that you want to display something like this in your own app:

<figure><img src="/files/qgZ7PREcvyfJh59YJdtE" alt=""><figcaption><p>we love a good streaming balance</p></figcaption></figure>

`balanceOf()`will give you the balance of the token holder as of the most recent `block.timestamp` value, but you won’t be able to call this function fast enough to render a truly by-the-second real time balance animation in your application. As such, we recommend using a combination of an animation which takes into consideration the static balance of the user, the netflow of the user for each token, and regular polling of the Superfluid subgraph to check for updates to a user’s net flow.

What we’ve seen other teams do is take into consideration the static balance & dynamic balance of each user by listening for `flowUpdatedEvents`, `indexUpdatedEvents`, `transferEvents`, and `upgrade`/`downgrade` events to generate the correct up to date token balance. From here, if a user is actively sending or receiving streams for a token, an animation helps to bring this to life & usually gets really positive reviews.

If you’re interested in seeing an example of how the streaming animation works via our console, you should take a look at this component:

{% embed url="<https://github.com/superfluid-finance/superfluid-console/blob/master/src/components/FlowingBalance.tsx>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://superfluid.gitbook.io/superfluid/developers/integration-guides/displaying-token-balances.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
