# Grokzilla Base Transaction Decision API

> Grokzilla Base Transaction Decision API is a paid API for AI agents from grokzilla.shop, paid per call via x402, $0.020001/call, status unknown (last checked 2026-10-29).

Returns a go/wait verdict for submitting a Base blockchain transaction, with real-time EIP-1559 fee suggestions, congestion analysis, and estimated cost

## Facts

- Endpoint: GET https://grokzilla.shop/api/resale/base/tx-decision?utm_source=zero.xyz
- Price: $0.020001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/grokzilla-base-transaction-decision-api-f09fe48b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AOqXbBE0lEpUO_8WV_LNL

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 grokzilla-base-transaction-decision-api-f09fe48b
```

Example prompt: Check if now is a good time to submit a USDC transfer on Base — give me the current gas fees, a settle-now or wait verdict, and the estimated cost in USD.

## When to prefer this

Use this endpoint when an AI agent needs a real-time, actionable go/wait decision for Base blockchain transactions, including EIP-1559 fee parameter recommendations and cost estimates. Prefer this over raw RPC calls when you want a structured verdict with congestion analysis and no need to manage your own Base node. Ideal for DeFi bots, payment automation, and any agent that must time transaction submissions to minimize fees.

## Known failure modes

- HTTP 402 returned if USDC payment on Base via x402 is not attached — agent must pay and retry
- Network timeout if Base RPC is slow or unavailable
- Stale block data if upstream provider lags behind chain head
- Missing or null fee fields if Base network data is temporarily unavailable
- Invalid query parameter values for 'gas' or 'urgency' may return error or default behavior

## How this service works

32 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.002 per call.

## Output

A JSON object with a boolean 'submit' verdict (true = submit now, false = wait), EIP-1559 fee parameters (maxFeePerGas, maxPriorityFeePerGas, current and next base fee in gwei), estimated cost in ETH, gas units, and USD, current block number, CAIP-2 chain ID, a human-readable congestion summary, risk flags array, and a recheck interval in seconds if waiting is advised.

## 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": {
      "gas": {
       "type": "string",
       "default": "usdc",
       "description": "Transaction kind, e.g. eth, usdc, x402"
      },
      "urgency": {
       "type": "string",
       "default": "flexible",
       "description": "e.g. flexible, normal, urgent"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "$id": "https://grokzilla.shop/schemas/grokzilla.partner-resale.v1/base-tx-decision.json",
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "schema",
      "route",
      "provider",
      "subject",
      "verdict",
      "status",
      "summary",
      "risk_flags",
      "evidence",
      "sources",
      "disclaimer",
      "checked_at",
      "upstream_tx",
      "data"
     ],
     "properties": {
      "ok": {
       "type": "boolean",
       "description": "Always true on a 200 response."
      },
      "data": {
       "type": "object",
       "required": [
        "submit",
        "urgency",
        "fee",
        "estimated_cost",
        "recheck_in_s",
        "as_of_block",
        "chain"
       ],
       "properties": {
        "fee": {
         "type": "object",
         "required": [
          "max_fee_per_gas_gwei",
          "max_priority_fee_per_gas_gwei",
          "current_base_fee_gwei",
          "next_base_fee_gwei"
         ],
         "properties": {
          "next_base_fee_gwei": {
           "type": [
            "number",
            "null"
           ],
           "description": "Projected base fee of the next block, gwei."
          },
          "max_fee_per_gas_gwei": {
           "type": [
            "number",
            "null"
           ],
           "description": "Suggested EIP-1559 maxFeePerGas, gwei."
          },
          "current_base_fee_gwei": {
           "type": [
            "number",
            "null"
           ],
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "fee": {
    "next_base_fee_gwei": 0.004432,
    "max_fee_per_gas_gwei": 0.011,
    "current_base_fee_gwei": 0.005,
    "max_priority_fee_per_gas_gwei": 0.001
   },
   "chain": "eip155:8453",
   "submit": true,
   "urgency": "flexible",
   "as_of_block": 52702618,
   "recheck_in_s": null,
   "estimated_cost": {
    "eth": 3.3e-7,
    "gas": 55000,
    "usd": 0.000799
   }
  },
  "route": "base-tx-decision",
  "schema": "grokzilla.partner-resale.v1",
  "status": "ok",
  "sources": null,
  "subject": {
   "kind": "base_network",
   "value": null,
   "jurisdiction": "base"
  },
  "summary": "Blockspace is 4.5% full at 0.0050 gwei - settlement is at or near the floor with ~22.1x headroom. No congestion premium; a stablecoin transfer settles for a fraction of a cent.",
  "verdict": "settle_now",
  "evidence": [
   {
    "id": "52702618",
    "code": null,
    "date": "2026-10-16T23:49:46.011831+00:00",
    "type": "block",
    "detail": null,
    "status": null
   }
  ],
  "provider": "x402-mcp.onrender.com",
  "checked_at": "2026-10-16T23:49:46.011831+00:00",
  "disclaimer": null,
  "risk_flags": [],
  "upstream_tx": "0x954459f45d1427ddf187d34bd5d17f6e637030e920080ef106efeb10222b46ce"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/grokzilla-base-transaction-decision-api-f09fe48b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from grokzilla.shop](https://www.zero.xyz/host/grokzilla.shop/llms.txt)
