# useEtherspotBalances()

## Introduction

The `useEtherspotBalances()` hook will return an object containing the native balance of the Etherspot Smart Wallet address on the blockchain ID being passed to the hook.

## How to use

```javascript
import {
  useEtherspotBalances,
} from '@etherspot/transaction-kit';

// Later in the main component function...
const etherspotBalanceOnMatic = useEtherspotBalances(137);

// etherspotBalanceOnMatic will look similar to this:
/**
 * [
 *  {
 *   "token": null,
 *    "balance": {
 *      "type": "BigNumber",
 *      "hex": "0x00"
 *    },
 *   "superBalance": null
 *  }
 * ]
/*
```

## :tada: Congratulations!

It's that easy to fetch your Etherspot Smart Wallet balances each chain.


---

# Agent Instructions: 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:

```
GET https://v1.etherspot.io/transaction-kit/react-hooks/useetherspotbalances.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
