# HALOWERK kettenwerk Gas Fee Estimator

> HALOWERK kettenwerk Gas Fee Estimator is a paid API for AI agents from kette.halowerk.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Returns current gas fee estimates (slow/normal/fast) for a specified EVM chain, with L1 and L2 fees quoted separately for rollups, based on the last 20 blocks of fee history.

## Facts

- Endpoint: POST https://kette.halowerk.com/gas?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-kettenwerk-gas-fee-estimator-f75c6400
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Dk65wATXY0tSuZlCcgXxN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability halowerk-kettenwerk-gas-fee-estimator-f75c6400 -d '<json body>'
```

Example prompt: What does a swap transaction cost right now on Base — break out the L1 data fee and L2 execution fee separately, and show me all three speed levels.

## When to prefer this

Use this endpoint when you need accurate, percentile-labeled gas fee estimates across major EVM chains, especially when working with rollups where the L1 data component must be understood separately. It is superior to single-block fee snapshots and to estimates that merge L1+L2 costs opaquely. Ideal before submitting any transaction where cost matters — swaps, mints, deploys, transfers.

## Known failure modes

- Unsupported chain value returns validation error
- RPC unavailability for a given chain may cause stale or missing data
- Highly volatile fee environments may cause estimates to shift before transaction submission
- Invalid tx_type or speed enum values return a schema error

## How this service works

Reads the fee history of the last 20 blocks on Ethereum, Base, Arbitrum, Optimism, Polygon or BNB Smart Chain and returns what a transaction costs right now. Priority fees come from the 10th, 50th and 90th percentile of the tips actually paid in those blocks — the percentile used is named, not hidden. On rollups the L1 data fee is quoted separately from the L2 execution fee, because it is often the larger part and an estimate that merges them is simply wrong; the L1 part is computed from the cha

## Output

Returns the current base fee, priority fees at 10th/50th/90th percentile (labeled slow/normal/fast), and total estimated transaction cost for the specified transaction type. For rollups (Base, Arbitrum, Optimism), the L1 data fee and L2 execution fee are quoted separately. The assumed gas limit and byte size for the chosen transaction profile are included in the response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "base",
    "arbitrum",
    "optimism",
    "polygon",
    "bsc"
   ],
   "type": "string",
   "description": "Chain to read fees from."
  },
  "speed": {
   "enum": [
    "langsam",
    "normal",
    "schnell",
    "alle"
   ],
   "type": "string",
   "default": "alle",
   "description": "Which speed level to highlight. All three are always returned."
  },
  "tx_type": {
   "enum": [
    "native_transfer",
    "erc20_transfer",
    "erc20_approve",
    "swap",
    "nft_mint",
    "contract_deploy"
   ],
   "type": "string",
   "default": "erc20_transfer",
   "description": "Transaction profile used for the total cost estimate. Its assumed gas limit and byte size are stated in the answer."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-kettenwerk-gas-fee-estimator-f75c6400/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kette.halowerk.com](https://www.zero.xyz/host/kette.halowerk.com/llms.txt)
