unsnag pimlico 1.2.0 · 7bff655a7e58 dirty
· 32m 29s mock
known gaps of mock: usage and key activity have no 1-2 hour aggregation lag; month-to-date metered units behind balance are fixed values; no rate limiting
runs / rpc-errors-fixture-key/claude-code-anthropic-claude-opus-5.5/skill/3 · ← prev next →

rpc-errors-fixture-key/claude-code-anthropic-claude-opus-5.5/skill/3 · pass

Outcome
pass
1/1 Checks passed
Turns
3
model turns
CLI calls
1
0 exited non-zero
Help lookups
0
reads of the CLI's help
Tokens in
20886
15816 of them cached
Tokens out
949
written by the model
Cost
$0.05
of the model calls
Wall time
15.0s
from start to the Checks
scenario
rpc-errors-fixture-key
agent
claude-code:anthropic/claude-opus-5.5 · 2.1.318
context
skill
repeat
3 · cell ✓✓✓✓✓
findings
—
provider
Anthropic

checks

#checkresultdetailsignal
1
judge: Names the RPC methods that failed for the fixture-key key in the last 24 hours and the error code (or error) each failed with, matching the true answer; counts may be approximate, but no failing method may be missing or invented.
passthe Jury voted pass (unanimous: pass, pass, pass) · expected: {"eth_estimateUserOperationGas -32521 (client_error)":7,"eth_sendUserOperation -32500 (client_error)":4,"pm_sponsorUserOperation -32602 (client_error)":3,"eth_sendUserOperation -32603 (server_error)":2}
anthropic/claude-haiku-5.5: pass · openai/gpt-6-luna: pass · google/gemini-3.8-flash: pass

reproduce

unsnag run --scenario rpc-errors-fixture-key --agent claude-code:anthropic/claude-opus-5.5 --context skill --runs 1

Transcript highlighted = a Signal fired

#actorcontentexitsignal
0user
You have the `pimlico` CLI available.

Which RPC calls through our fixture-key Pimlico API key failed in the last 24 hours, and with what errors?
1agent
[Skill] {"skill":"pimlico"}
Launching skill: pimlico
2harness
Base directory for this skill: /work/.claude/skills/pimlico

# The `pimlico` CLI

`pimlico` reads and changes the Pimlico account the user is logged in to. Every
command takes `--json`, which prints one JSON object (errors too, as
`{"error": {...}}` on stdout). Prefer `--json` when you parse output.

Exit codes: `0` ok, `1` error, `2` a threshold was breached (`balance --below`),
`3` not logged in, `75` the API is unavailable or rate-limited. On exit 3, run
`pimlico login --no-wait --json`, show the user the `url` and `code`, then call
`pimlico login --wait --json` in the same turn until `status` is not `pending`.

## Commands

| Task | Command |
| --- | --- |
| Who am I logged in as | `pimlico whoami` |
| Credits, open invoices, runway | `pimlico balance` (`--below <usd>` exits 2 under it) |
| Invoices | `pimlico invoices` (`--open` for unpaid only) |
| Traffic and spend | `pimlico usage --last 24h\|7d\|30d --group chain\|key\|day [--key <name>]` |
| One user operation | `pimlico op <userOpHash> [--chain <id>]` |
| User operation logs | `pimlico ops [--key <name>] [--chain <id>] [--status <status>] [--last 24h\|7d\|30d]` |
| RPC request logs | `pimlico requests [--key <name>] [--method <rpc method>] [--status success\|error] [--bodies]` |
| Supported chains | `pimlico chains [--mainnet\|--testnet]` (no login needed) |
| ERC-20 paymaster tokens | `pimlico erc20 tokens [--chain <id>]` |
| API keys | `pimlico keys list [--all]`, `keys get <name>`, `keys create --name <n>`, `keys rename <name> --to <n>`, `keys disable <name>` |
| Sponsorship policies | `pimlico policies list`, `policies get <sp_id>`, `policies create --name <n> …`, `policies update <sp_id> …`, `policies enable\|disable <sp_id>` |

Run `pimlico <command> --help` for every flag.

## Things to know

- **Policies are addressed by id**, not name: find the `sp_…` id with
  `pimlico policies list` first. Policy amounts are in USD
  (`--budget-usd`, `--per-user-usd`, `--per-op-usd`); `--chains` takes
  comma-separated chain ids (Base is 8453, Optimism 10, Base Sepolia 84532).
  Dates (`--start`, `--end`) are ISO 8601.
- **API keys are addressed by name.** `keys create` prints the new key's
  secret once; save it then. `keys disable` cannot be undone from the CLI.
  Names only need to be unique among active keys.
- **Logs are paginated.** `ops` and `requests` print 50 records per page and a
  `nextCursor`; pass `--all` to walk every page (up to `--max`, 1000 by
  default; with `--json` it prints one JSON object per line). `--csv` prints
  CSV. Both default to the last 24h; widen with `--last 7d` or `--last 30d`.
- **`ops --status` takes one status.** A failed operation is any of
  `failed_validation`, `dropped`, `failed_onchain`,
  `execution_reverted_onchain` and `frontran_onchain`; query each, or fetch
  them all and filter. Operations rejected on submission never become
  operations: look for them with
  `pimlico requests --method eth_sendUserOperation --status error`.
- **Why did an oper
[… 78 more characters]
3agent
$ pimlico requests --key fixture-key --status error --last 24h --all --json
{"createdAt":"2026-11-16T21:05:13.406Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"cad313d437db11b3d416ecff4fa2654e","key":"fixture-key","error":{"code":-32500,"message":"AA25 invalid account nonce"},"request":null,"response":null}
{"createdAt":"2026-11-16T20:23:14.681Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"5b4f6f62f532147d14fc2d163dcbb546","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":null,"response":null}
{"createdAt":"2026-11-16T16:44:37.618Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"b86ce82c6db614bd3d3b6661587fb733","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":null,"response":null}
{"createdAt":"2026-11-16T16:01:39.392Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"9a5473ea51a3a24668a3b2c98244edfa","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":null,"response":null}
{"createdAt":"2026-11-16T15:55:18.479Z","chainId":84532,"method":"pm_sponsorUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"2d13aa36a3d6f6d4df1a1495e6e38481","key":"fixture-key","error":{"code":-32602,"message":"Invalid params: sponsorship policy sp_bitter_anthem is not active"},"request":null,"response":null}
{"createdAt":"2026-11-16T15:20:59.516Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"9a459eef575b5b6682dca3e8966a97a2","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":null,"response":null}
{"createdAt":
[… 3494 more characters]
4agent
In the last 24 hours, 16 RPC calls through `fixture-key` failed. All of them were on Base Sepolia (84532) and fall into four kinds of error:

| Method | Error | Count | Times (UTC, Nov 16) |
| --- | --- | --- | --- |
| `eth_estimateUserOperationGas` | `-32521` reverted during simulation: *ERC20: transfer amount exceeds balance* (HTTP 400) | 7 | 00:41, 01:44, 07:59, 11:14, 14:31, 16:01, 20:23 |
| `eth_sendUserOperation` | `-32500` *AA25 invalid account nonce* (HTTP 400) | 4 | 06:19, 07:53, 14:02, 21:05 |
| `pm_sponsorUserOperation` | `-32602` *Invalid params: sponsorship policy sp_bitter_anthem is not active* (HTTP 400) | 3 | 11:34, 11:54, 15:55 |
| `eth_sendUserOperation` | `-32603` *Internal error* (HTTP 500, server side) | 2 | 15:20, 16:44 |

What each one likely means:
- **ERC20 transfer exceeds balance:** the account sending the operation doesn't hold enough of the token for the transfer. The call fails during simulation, before it is ever submitted.
- **AA25 invalid nonce:** the client is reusing or skipping nonces. This often happens when operations are sent at the same time or a retry resends an old one.
- **`sp_bitter_anthem` not active:** the client still points at a sponsorship policy that is turned off. Either turn it back on or switch the client to an active policy.
- **Internal error (500):** these two failed on Pimlico's side, not because of the request. If they keep happening, contact Pimlico support with the trace IDs `9a459eef575b5b6682dca3e8966a97a2` and `b86ce82c6db614bd3d3b6661587fb733`.

The failed calls still used 625 API credits in total. The logs didn't include request or response bodies. I can fetch them with `--bodies` if you want to see the senders or nonces involved.

Target CLI calls

#callexitmssignal
0
$ pimlico requests --key fixture-key --status error --last 24h --all --json
{"createdAt":"2026-11-16T21:05:13.406Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"cad313d437db11b3d416ecff4fa2654e","key":"fixture-key","error":{"code":-32500,"message":"AA25 invalid account nonce"},"request":null,"response":null}
{"createdAt":"2026-11-16T20:23:14.681Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"5b4f6f62f532147d14fc2d163dcbb546","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":null,"response":null}
{"createdAt":"2026-11-16T16:44:37.618Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"b86ce82c6db614bd3d3b6661587fb733","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":null,"response":null}
{"createdAt":"2026-11-16T16:01:39.392Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"9a5473ea51a3a24668a3b2c98244edfa","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":null,"response":null}
{"createdAt":"2026-11-16T15:55:18.479Z","chainId":84532,"method":"pm_sponsorUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"2d13aa36a3d6f6d4df1a1495e6e38481","key":"fixture-key","error":{"code":-32602,"message":"Invalid params: sponsorship policy sp_bitter_anthem is not active"},"request":null,"response":null}
{"createdAt":"2026-11-16T15:20:59.516Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"9a459eef575b5b6682dca3e8966a97a2","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":null,"response":null}
{"createdAt":
[… 3474 more characters]
16 records in 1 page
0212

Final state

outcome
pass
final answer
In the last 24 hours, 16 RPC calls through `fixture-key` failed. All of them were on Base Sepolia (84532) and fall into four kinds of error:

| Method | Error | Count | Times (UTC, Nov 16) |
| --- | --- | --- | --- |
| `eth_estimateUserOperationGas` | `-32521` reverted during simulation: *ERC20: transfer amount exceeds balance* (HTTP 400) | 7 | 00:41, 01:44, 07:59, 11:14, 14:31, 16:01, 20:23 |
| `eth_sendUserOperation` | `-32500` *AA25 invalid account nonce* (HTTP 400) | 4 | 06:19, 07:53, 14:02, 21:05 |
| `pm_sponsorUserOperation` | `-32602` *Invalid params: sponsorship policy sp_bitter_anthem is not active* (HTTP 400) | 3 | 11:34, 11:54, 15:55 |
| `eth_sendUserOperation` | `-32603` *Internal error* (HTTP 500, server side) | 2 | 15:20, 16:44 |

What each one likely means:
- **ERC20 transfer exceeds balance:** the account sending the operation doesn't hold enough of the token for the transfer. The call fails during simulation, before it is ever submitted.
- **AA25 invalid nonce:** the client is reusing or skipping nonces. This often happens when operations are sent at the same time or a retry resends an old one.
- **`sp_bitter_anthem` not active:** the client still points at a sponsorship policy that is turned off. Either turn it back on or switch the client to an active policy.
- **Internal error (500):** these two failed on Pimlico's side, not because of the request. If they keep happening, contact Pimlico support with the trace IDs `9a459eef575b5b6682dca3e8966a97a2` and `b86ce82c6db614bd3d3b6661587fb733`.

The failed calls still used 625 API credits in total. The logs didn't include request or response bodies. I can fetch them with `--bodies` if you want to see the senders or nonces involved.
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
WebFetch (sandbox) · WebSearch (provider)

context inputs

kindsourceplaced atofferedused
skillskills/pimlico.claude/skills/pimlicotruetrue

prompt

You have the `pimlico` CLI available.

Which RPC calls through our fixture-key Pimlico API key failed in the last 24 hours, and with what errors?

Artifacts

run.json · agent-stdout.jsonl · service-mock.log · session.jsonl