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

# getPortfolio

> Get the account portfolio (token balances across chains).

Method on an account instance returned by [`createAccount`](/sdk-reference/rhinestone-sdk/create-account).

## Usage

```ts theme={null}
const portfolio = await account.getPortfolio()
```

## Parameters

<ParamField path="onTestnets" type="boolean">
  Whether to query testnet balances (default is `false`)
</ParamField>

## Returns

<ResponseField name="portfolio" type="Portfolio">
  The account balances
</ResponseField>
