# SignalHarness Wallet Gas Spend Analyzer

> SignalHarness Wallet Gas Spend 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-15).

Analyzes wallet gas spend data supplied by the caller and returns structured spend metrics with warnings and evidence scope.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/wallet_gas_spend/invoke
- 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/signalharness-wallet-gas-spend-analyzer-98c8ed7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IsAcTmDE3qOrzNoh7a-0n

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 signalharness-wallet-gas-spend-analyzer-98c8ed7f -d '<json body>'
```

Example prompt: Can you analyze the gas spend for my wallet — here's the request data: '0xABC123...wallet_gas_data' — and tell me what the total gas spend looks like along with any warnings?

## When to prefer this

Choose this endpoint when you need on-demand, per-call gas spend analysis for a wallet and want a lightweight, pay-per-use model ($0.01 USDC) with a cryptographic receipt. Prefer this over blockchain explorer APIs when you want structured output with warnings and evidence scope rather than raw transaction data.

## Known failure modes

- Input string too short (below minLength:2) returns validation error
- Input string exceeds 65536 characters causing rejection
- Malformed or unparseable gas request string returns empty or error result
- Payment failure via x402 protocol blocks invocation
- Network or service unavailability returns non-succeeded status

## 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 JSON object with a 'wallet_gas_spend' result string, a list of warnings, an evidence scope label ('caller_supplied_data'), a status field ('succeeded'), and a full receipt including payment ID, network (Base/eip155:8453), service version, latency, and a SHA-256 hash of the result for verification.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Gas data is caller supplied and does not include omitted chains or transactions."
   ],
   "service_id": "wallet_gas_spend",
   "evidence_scope": "caller_supplied_data",
   "wallet_gas_spend": "{\"records\":[{\"fee_atomic\":\"2100000\",\"transaction_hash\":\"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}],\"total_gas_atomic\":\"2100000\",\"transaction_count\":1}"
  },
  "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": "wallet_gas_spend",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "7398cf1f3cdef8c794e10fec32e352f038e64b78b5610a650c4476c38d508b4e",
   "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/signalharness-wallet-gas-spend-analyzer-98c8ed7f/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)
