# Estimate a Chain's Fees

LOW, MEDIUM and HIGH fee levels for one of your tenant's chains, from its recent fees.

## Overview

- How the levels are made: [Fees and the Most You Can Send](https://docs.aureahub.com/docs/guide-operations.md). `model`: `eip1559`, `legacy` or `solana`. EVM fields are `null` on Solana and the other way round.
- `chain`: the chain's slug as your tenant's chains name it (`ethereum`, `base`, `solana`…); `isTestnet` picks its test network. A chain your tenant doesn't have answers `404` `FEE_CHAIN_NOT_CONFIGURED`; a node that doesn't answer, `502` `FEE_ESTIMATE_UNAVAILABLE` (`The chain's node did not answer; try again`).
- For every role of a tenant. At most 60 calls a minute.

## Endpoint

### `GET /v1/fees/estimate`

Authentication: bearer token required.

Fee levels for one of the tenant's chains.

**Query parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `chain` | string | yes | The chain's slug |
| `isTestnet` | boolean | no | Default `false` |

**Responses**

`200` EVM

```json
{
  "chain": "base",
  "chainId": 8453,
  "isTestnet": false,
  "family": "evm",
  "model": "eip1559",
  "baseFeePerGas": "6000000",
  "levels": {
    "LOW": { "maxFeePerGas": "7750000", "maxPriorityFeePerGas": "1000000", "priorityFeeMicroLamports": null, "networkFee": "162750000000" },
    "MEDIUM": { "maxFeePerGas": "10500000", "maxPriorityFeePerGas": "1500000", "priorityFeeMicroLamports": null, "networkFee": "220500000000" },
    "HIGH": { "maxFeePerGas": "17000000", "maxPriorityFeePerGas": "5000000", "priorityFeeMicroLamports": null, "networkFee": "357000000000" }
  },
  "estimatedAt": "2026-10-06T12:30:00.412Z"
}
```

`404` Not your chain

```json
{
  "statusCode": 404,
  "error": "NotFoundError",
  "message": "The tenant has no mainnet chain \"avalanche\"",
  "details": { "code": "FEE_CHAIN_NOT_CONFIGURED" }
}
```

**Example request**

```bash
curl "https://api.aureahub.com/v1/fees/estimate?chain=base" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
```

---

Web version: https://docs.aureahub.com/#fees-estimate
