> For the complete documentation index, see [llms.txt](https://xerial.gitbook.io/xerial-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xerial.gitbook.io/xerial-doc/xerial-apis/wallet-api/wallet-management/get-chain-native-currency-balance.md).

# Get Chain Native Currency Balance

The "Get Chain Native Currency Balance" endpoint allows you to retrieve the balance of the native currency associated with a specific wallet address on the specified blockchain.

## Overview

{% hint style="success" %}

### Endpoint

* **Method:** GET
* **URL:** `/wallet/{address}/{chain}/eth`
  {% endhint %}

### Parameters

* **`address`**: (Path Parameter): Wallet address (string).
* **`chain`** : (Path Parameter): Blockchain (string).&#x20;

### Responses

#### Success (Code 200)

```json
{
  "balance": "1.2"
}
```

* **Media Type**: application/json
* **Example Value**: An object containing the native currency balance.

**Internal Server Error (Code 500)**

```json
{
  "error": "Internal Server Error"
}
```

* **Media Type**: application/json
* **Example Value**: An error response indicating an internal server error.

## Usage

1. **Send a GET request** to the `/api/wallet/{address}/{chain}/polygon` endpoint to retrieve the native currency balance.
2. **Handle the response accordingly** based on success or internal server error.

**Note:** Ensure the wallet address and blockchain chain are valid.
