# TrollBridge Gas Price Predictor

> TrollBridge Gas Price Predictor is a paid API for AI agents from mini-tollbooth.onrender.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Returns live base fee, priority tip percentiles (low/medium/high), and a next-block base-fee projection for Ethereum, Base, or Arbitrum

## Facts

- Endpoint: GET https://mini-tollbooth.onrender.com/gas-predict?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trollbridge-gas-price-predictor-ab7c5bec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yiWrsqtaxQ1Mcvr_XeNNn

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 trollbridge-gas-price-predictor-ab7c5bec
```

Example prompt: What are the current gas fees on Ethereum — give me the live base fee, low/medium/high priority tip percentiles, and the predicted next-block base fee so I can decide what to set before sending my transaction.

## When to prefer this

Choose this endpoint when an agent needs live EIP-1559 gas parameters (base fee + priority tip percentiles + next-block projection) for Ethereum, Base, or Arbitrum before submitting or pricing a transaction. It is preferable to raw RPC calls when a single paid API call is more convenient than running your own node, and superior to static gas oracles when you need multi-percentile tip data alongside base-fee trend context in one response.

## Known failure modes

- Upstream RPC (PublicNode) unavailable — stale or missing data returned
- Chain parameter not recognized — defaults to Ethereum or returns error
- High network volatility causes predicted base fee to lag actual conditions
- Payment not completed (x402) — endpoint returns 402 before serving data
- Optional gwei parameters not supplied — server computes from live RPC data which may differ from caller's context

## How this service works

The insurance booth for AI agents, with Mini's Agent Supply Store on the side of the road. One hundred checkpoints: pre-transaction safety lanes (honeypot, approval-risk, rug-score, receipt-check, tx-dryrun, permit-scan, airdrop-verdict, deployer-history, wallet-watch, secret-scan at $0.02 USDC per call; the protection tier — /contract-check, /approval-screen, /tx-plain-english, /honeypot-check, /tx-simulate, /redteam, /skill-scan, /verdict, /egress-audit, /tool-gate, /airlock, /repo-scan, /prove, /task-scope — at $0.10; the one-call /shield don't-get-rugged screen at $0.25; the full /preflight bundle at $0.05), bounty intel (bounties, fresh, verdicts, deadlines, sweepstakes, opportunities) at $0.02 USDC per call, trader intel (/prices and /quant at $0.02; /enrich and /token-check at $0.05; /contract-check and /honeypot-check at $0.10; /sec-facts at $0.05), market intel (/markets and /search at $0.05; /grants at $0.02), DeFi intel (/yields and /new-pairs at $0.05; /gas and /defi at $0.02), AI intel (/models at $0.02), agent-ops intel (/prompt-cost, /model-picks, /rpc-speed, /terms-tldr, /scrape, /gigs, /retry-verify, /idempotency, /verify-independent at $0.02; /site-watch, /wallet-check, /code-run, /regulatory-pack, /sage, /cron-watch, /caveat-check, /tripwire, /escrow, /trust, /bridge-fees, /dao-votes, /dev-activity, /dex-arb, /dydx-perps, /funding-rates, /gas-predict, /hack-tracker, /long-short-ratio, /lp-yields, /mev-scan, /open-interest, /perp-basis, /polymarket-odds, /rwa-watch, /sentiment, /stablecoin-flows, /tokenomics, /top-movers, /whale-watch, and /yield-stable at $0.05; /approval-screen, /tx-plain-english, /tx-simulate, and /task-scope at $0.10; /scam-scan deep scan at $5.00 or 30-day subscription at $30.00), supply store (/road-pack combo meal at $0.05; curated datasets, the /audit-prep pre-audit review, and the /prove-state symbolic-execution run at $1.00; the /audit AI-agent audit at $25.00). Every lane answers before money moves — heuristic verdicts, not audits. Don't get rugged.

## Output

A JSON object containing the chain name, upstream source, current base fee in gwei, number of sampled blocks for the trend, legacy gas price in gwei, low/medium/high priority tip percentiles in gwei, the oldest sampled block's base fee, and a projected next-block base fee — plus a note that estimates are heuristic and may lag during volatility spikes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 200,
       "minimum": 1,
       "description": "Max items to return. Omit for the full feed."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lane": "/gas-predict",
  "note": "heuristic projection from recent blocks — estimates can lag during volatility spikes; not a guarantee of inclusion",
  "chain": "ethereum",
  "source": "publicnode",
  "description": "Gas forecast ($0.05) — live base fee, low/medium/high priority-tip percentiles, and a next-block base-fee projection for ethereum, base, or arbitrum.",
  "base_fee_gwei": 0.153,
  "base_fee_trend_blocks": 5,
  "legacy_gas_price_gwei": 0.183,
  "priority_tip_low_gwei": 0.005,
  "priority_tip_high_gwei": 0.201,
  "priority_tip_medium_gwei": 0.1,
  "base_fee_first_sampled_gwei": 0.151,
  "predicted_next_block_base_fee_gwei": 0.152
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trollbridge-gas-price-predictor-ab7c5bec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mini-tollbooth.onrender.com](https://www.zero.xyz/host/mini-tollbooth.onrender.com/llms.txt)
