# Base Network Priority Fee Analyzer

> Base Network Priority Fee Analyzer is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Analyzes EVM gas fee parameters for Base network transactions, decomposing base fee, priority fee, and effective gas price from caller-supplied transaction data.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/base_priority_fee_analyze/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-network-priority-fee-analyzer-f7d58061
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4Pp2TMsAzRbANCAoJPbh1

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 base-network-priority-fee-analyzer-f7d58061 -d '<json body>'
```

Example prompt: Can you analyze the gas fee parameters for this Base transaction — base fee is 100 gwei, max fee per gas is 105, max priority fee is 5, and gas limit is 21000 — and tell me if the priority tip is reasonable and what the effective gas price will be?

## When to prefer this

Use this endpoint when you need to programmatically validate or decompose EVM gas fee parameters specifically for the Base network (OP Stack L2). It is ideal for agents building or verifying transactions before submission, cost-estimation pipelines, or fee debugging workflows. Prefer this over generic gas estimators when you already have transaction parameters and need structured analysis of cap headroom, priority fee viability, and effective gas price on Base specifically.

## Known failure modes

- Malformed or missing request_json causes validation error
- Invalid JSON structure in the transaction data returns parsing error
- Gas parameters that are inconsistent (e.g. max_fee < base_fee) may trigger warnings or errors
- Network not recognized as Base (chain IDs 8453 or 84532) may return an error or unexpected results
- Payment failure via x402 prevents execution

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a structured JSON analysis including: base_fee_per_gas, max_fee_per_gas, max_priority_fee_per_gas, realized_priority_fee_per_gas, effective_gas_price, execution_fee (in gwei units), cap_headroom (headroom between max fee and base fee), gas limit, operating mode (evm_fee), and network_context describing the OP Stack chain's accepted chain IDs, deposit transaction type, and fee model. May include warnings if the priority fee tip is not recommended or viable at current conditions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request_json": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Does not recommend a live tip."
   ],
   "service_id": "base_priority_fee_analyze",
   "analysis_json": "{\"base_fee_per_gas\":\"100\",\"cap_headroom\":\"5\",\"effective_gas_price\":\"105\",\"execution_fee\":\"2205000\",\"gas\":\"21000\",\"max_fee_per_gas\":\"105\",\"max_priority_fee_per_gas\":\"5\",\"mode\":\"evm_fee\",\"network_context\":{\"accepted_chain_ids\":[\"8453\",\"84532\"],\"deposit_transaction_type\":\"0x7e\",\"fee_model\":\"L2 execution plus caller-supplied L1 data/operator components\",\"protocol_family\":\"OP Stack\"},\"realized_priority_fee_per_gas\":\"5\"}",
   "evidence_scope": "caller_supplied_data",
   "analyzed_network": "base"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "base_priority_fee_analyze",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "7275526274d1c0ddab291ff00c3419779369469f6091ea8d2a98393f2afc5904",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-network-priority-fee-analyzer-f7d58061/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
