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

# Gas Tank Balance & Alerts

## Query Balance

You can query your Gas Tank balance programmatically using the `gelato_getBalance` RPC method:

```bash theme={null}
curl -s -X POST "https://api.gelato.cloud/rpc" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"gelato_getBalance","params":[]}'
```

**Response:**

```json theme={null}
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "balance": "175028009",
    "decimals": 6,
    "unit": "usd"
  }
}
```

## Alerts

Get alerted when your balance is running low. If you are utilizing Gelato Gas Tank, you can subscribe to a real-time alerting system that uses Email to inform you when your Gas Tank funds drop below a specified threshold.

<img src="https://mintcdn.com/gelato-6540eeb1/lDeuenH_T3kxHIAm/images/gastank-alerts.png?fit=max&auto=format&n=lDeuenH_T3kxHIAm&q=85&s=e99a0cb43c4e928576faf45cc82c78ba" alt="Gas Tank Alerts" width="3808" height="1902" data-path="images/gastank-alerts.png" />

### Email Notifications

Email alerts are sent to each **Admin** of your organization. This ensures that all administrators are kept informed about the Gas Tank balance status and can take appropriate action when needed.

### Setting alert thresholds

You can configure the minimum USDC balance threshold for which you want the alert system to send email notifications. When your Gas Tank balance drops below this configured threshold, the system will automatically send email alerts to notify you.

<Note>
  **Important:** Email alerts are not repeated or resent when there is no change in balance and subscription after sending once. The system only sends a new alert when the balance changes or when you update your subscription settings. Therefore, make sure to check your alerts and refill the balances accordingly to maintain uninterrupted service.
</Note>
