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/codex-openai-gpt-6.1-sol/skill/5 · ← prev next →

rpc-errors-fixture-key/codex-openai-gpt-6.1-sol/skill/5 · pass

Outcome
pass
1/1 Checks passed
Turns
4
model turns
CLI calls
2
0 exited non-zero
Help lookups
1
reads of the CLI's help
Tokens in
54918
39278 of them cached
Tokens out
393
written by the model
Cost
$0.05
of the model calls
Wall time
11.4s
from start to the Checks
scenario
rpc-errors-fixture-key
agent
codex:openai/gpt-6.1-sol · 0.167.2
context
skill
repeat
5 · cell ✓✓✓✓✓
findings
—
provider
openai

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 codex:openai/gpt-6.1-sol --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
I’ll use the pimlico skill to find the fixture-key API key and check its failed RPC requests over the last 24 hours.
$ cat /work/.agents/skills/pimlico/SKILL.md
---
name: pimlico
description: Use the `pimlico` CLI to inspect and manage a Pimlico account (ERC-4337 bundler and paymaster) — balance, invoices, usage, API keys, sponsorship policies, and the logs of user operations and RPC requests. Use whenever a task mentions Pimlico, its API keys or policies, or debugging user operations sent through 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\|d
[… 1373 more characters]
2agent
$ pimlico requests --help
Usage: pimlico requests [options]

RPC request logs of your API keys, newest first, with the error code and message
of failed calls

Options:
  --key <name>        Only this API key, by name (see `pimlico keys list`);
                      every active key when omitted
  --chain <chainId>   Only this EVM chain
  --solana <cluster>  Only this Solana network instead of an EVM chain (choices:
                      "mainnet", "devnet")
  --method <name>     Only this RPC method (e.g. eth_sendUserOperation)
  --status <status>   Only successful or only failed requests (choices:
                      "success", "error")
  --last <window>     Only records from the last 24h, 7d or 30d (choices: "24h",
                      "7d", "30d", default: "24h")
  --bodies            Include the request and response bodies (JSON only)
  --limit <n>         Records per page, 1 to 100 (default: 50)
  --cursor <cursor>   Continue from a previous page's nextCursor
  --all               Walk every page until exhausted or --max; with --json
                      prints NDJSON
  --max <n>           Stop --all after this many records (default: 1000)
  --csv               Print CSV instead of a table
  -h, --help          display help for command
3agent
$ pimlico requests --key fixture-key --status error --last 24h --all --json
{"createdAt":"2026-11-16T21:16:59.574Z","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:35:00.849Z","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:56:23.786Z","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:13:25.560Z","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-16T16:07:04.647Z","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:32:45.684Z","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":
[… 3495 more characters]
4agent
`fixture-key` had **16 failed RPC calls in the last 24 hours**, all on chain **84532 (Base Sepolia)**.

| RPC method | Failures | Error code | Error |
|---|---:|---|---|
| `eth_estimateUserOperationGas` | 7 | `-32521` | UserOperation reverted during simulation: `ERC20: transfer amount exceeds balance` |
| `eth_sendUserOperation` | 4 | `-32500` | `AA25 invalid account nonce` |
| `pm_sponsorUserOperation` | 3 | `-32602` | Invalid params: sponsorship policy `sp_bitter_anthem` is not active |
| `eth_sendUserOperation` | 2 | `-32603` | `Internal error` |

The two internal errors returned **HTTP 500**, at **15:32:45** and **16:56:23 UTC on November 16**. The other 14 failures returned **HTTP 400**.

Checked all pages using `pimlico requests --key fixture-key --status error --last 24h --all --json`.

Target CLI calls

#callexitmssignal
0
$ pimlico requests --help
Usage: pimlico requests [options]

RPC request logs of your API keys, newest first, with the error code and message
of failed calls

Options:
  --key <name>        Only this API key, by name (see `pimlico keys list`);
                      every active key when omitted
  --chain <chainId>   Only this EVM chain
  --solana <cluster>  Only this Solana network instead of an EVM chain (choices:
                      "mainnet", "devnet")
  --method <name>     Only this RPC method (e.g. eth_sendUserOperation)
  --status <status>   Only successful or only failed requests (choices:
                      "success", "error")
  --last <window>     Only records from the last 24h, 7d or 30d (choices: "24h",
                      "7d", "30d", default: "24h")
  --bodies            Include the request and response bodies (JSON only)
  --limit <n>         Records per page, 1 to 100 (default: 50)
  --cursor <cursor>   Continue from a previous page's nextCursor
  --all               Walk every page until exhausted or --max; with --json
                      prints NDJSON
  --max <n>           Stop --all after this many records (default: 1000)
  --csv               Print CSV instead of a table
  -h, --help          display help for command
0124
1
$ pimlico requests --key fixture-key --status error --last 24h --all --json
{"createdAt":"2026-11-16T21:16:59.574Z","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:35:00.849Z","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:56:23.786Z","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:13:25.560Z","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-16T16:07:04.647Z","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:32:45.684Z","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
0171

Final state

outcome
pass
final answer
`fixture-key` had **16 failed RPC calls in the last 24 hours**, all on chain **84532 (Base Sepolia)**.

| RPC method | Failures | Error code | Error |
|---|---:|---|---|
| `eth_estimateUserOperationGas` | 7 | `-32521` | UserOperation reverted during simulation: `ERC20: transfer amount exceeds balance` |
| `eth_sendUserOperation` | 4 | `-32500` | `AA25 invalid account nonce` |
| `pm_sponsorUserOperation` | 3 | `-32602` | Invalid params: sponsorship policy `sp_bitter_anthem` is not active |
| `eth_sendUserOperation` | 2 | `-32603` | `Internal error` |

The two internal errors returned **HTTP 500**, at **15:32:45** and **16:56:23 UTC on November 16**. The other 14 failures returned **HTTP 400**.

Checked all pages using `pimlico requests --key fixture-key --status error --last 24h --all --json`.
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
web_search (provider)

context inputs

kindsourceplaced atofferedused
skillskills/pimlico.agents/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 · rollout.jsonl · service-mock.log