# spark\_getBalance

You can use the `getBalance` method to retrieve your user's Spark wallet balances, i.e. the amount of Bitcoin & BTKN tokens that their [connected wallet](https://docs.xverse.app/sats-connect/connecting-to-the-wallet)'s Spark address owns.&#x20;

Your app must have first [connected to the wallet](https://docs.xverse.app/sats-connect/connecting-to-the-wallet/connect-to-xverse-wallet) and obtained [account read permissions.](https://docs.xverse.app/sats-connect/xverse-wallet-permissions) \
\
No query parameters are required for the method:

```typescript
import { request } from 'sats-connect';

const response = await request('spark_getBalance', undefined);

if (response.status === 'success') {
  console.log(response.result);
} else {
  console.error(response.error);
}
```

The `getBalance` method will **not** trigger any operation or prompt your user to sign any transaction. It will return an object representing the connected wallet's Spark Bitcoin & BTKN holdings:

<table><thead><tr><th width="204">balance </th><th>Description</th></tr></thead><tbody><tr><td><code>balance</code></td><td>A <code>bigint</code> representing the total amount of Bitcoin in satoshis</td></tr><tr><td><code>tokenBalances</code></td><td><p></p><p>A Map of token balances, where each entry contains:</p><ul><li><code>balance</code>: A <code>bigint</code> representing the token amount</li><li><p><code>tokenInfo</code>: an object providing information about the specific token the wallet is holding:</p><ul><li><code>tokenIdentifier</code>: a string representing the token public key   </li><li><code>tokenName</code>: a string representing the token name</li><li><code>tokenTicker</code>: a string representing the token ticker</li><li><code>decimals</code>: a string representing the decimals supported</li><li><code>maxSupply</code>: a string representing the max token supply</li></ul></li></ul></td></tr></tbody></table>
