# x402 MCP Storefront – Base Transaction Decision

> x402 MCP Storefront – Base Transaction Decision is a paid API for AI agents from x402-mcp.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns a submit-or-wait recommendation plus EIP-1559 fee parameters (max fee per gas, priority fee in gwei) and estimated USD cost for ETH transfer, USDC ERC-20 transfer, or x402 settlement on Base mainnet.

## Facts

- Endpoint: GET https://x402-mcp.onrender.com/base/tx-decision
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-mcp-storefront-base-transaction-decision-68f49380
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eyGjkSelzkiXj7pxMDli0

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 x402-mcp-storefront-base-transaction-decision-68f49380
```

Example prompt: Before I send this USDC transfer on Base, should I submit it now or wait — and what are the current EIP-1559 max fee and priority fee in gwei, plus the estimated USD cost?

## When to prefer this

Use this endpoint when an agent or bot is about to submit a transaction on Base mainnet and needs a real-time go/no-go decision plus accurate EIP-1559 fee parameters, especially for cost-sensitive operations like x402 micropayments, USDC transfers, or ETH sends. Prefer this over generic gas trackers when you need a bundled decision with USD cost estimates specific to Base L2, with no API key required.

## Known failure modes

- Base RPC node unavailable — returns error or stale data
- Network congestion spikes between call and transaction submission making advice stale
- Rate limiting or timeout from the render.com hosted service
- Estimated USD cost may drift if ETH price moves rapidly between call and execution

## How this service works

Should I submit this Base transaction now, and at what fee? One call returns submit-or-wait, max fee per gas and priority fee in gwei (EIP-1559), and the estimated cost in USD for an ETH transfer, USDC ERC-20 transfer, or x402 settlement on Base mainnet. Live gas price and congestion from Base RPC blocks, no API key. For bots that queue transactions: call before every send.

## Output

Returns a JSON object containing: a submit-or-wait recommendation, the recommended max fee per gas in gwei, the priority fee (tip) in gwei per EIP-1559, the estimated USD cost for an ETH transfer, USDC ERC-20 transfer, or x402 settlement, and current network congestion/utilization data derived from live Base RPC block data.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fee": {
   "max_fee_per_gas_gwei": 0.012,
   "current_base_fee_gwei": 0.0055,
   "max_priority_fee_per_gas_gwei": 0.001
  },
  "submit": true,
  "verdict": "SETTLE_NOW",
  "as_of_block": 48941850,
  "recheck_in_s": null,
  "estimated_cost": {
   "gas": 55000,
   "usd": 0.0011
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-mcp-storefront-base-transaction-decision-68f49380/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-mcp.onrender.com](https://www.zero.xyz/host/x402-mcp.onrender.com/llms.txt)
