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 / export-failed-ops/claude-code-anthropic-claude-opus-5.5/skill/3 · ← prev next →

export-failed-ops/claude-code-anthropic-claude-opus-5.5/skill/3 · pass

Outcome
pass
2/2 Checks passed
Turns
7
model turns
CLI calls
9
0 exited non-zero
Help lookups
1
reads of the CLI's help
Tokens in
58133
50887 of them cached
Tokens out
1841
written by the model
Cost
$0.08
of the model calls
Wall time
32.6s
from start to the Checks
scenario
export-failed-ops
agent
claude-code:anthropic/claude-opus-5.5 · 2.1.318
context
skill
repeat
3 · cell ✓✓✓✓✓
findings
—
provider
Anthropic

checks

#checkresultdetailsignal
1
test -f /work/failed-ops.csv
passexited 0
2
set -euo pipefail
# One row per failed operation: every true hash is there, and as many
# rows hold a hash as there are failed operations.
curl -fsS "$PIMLICO_DASHBOARD_URL/__mock/facts" | jq -r '.failedOps["7d"].hashes[]' > /root/failed.txt
missing=$(while read -r hash; do grep -qiF "$hash" /work/failed-ops.csv || echo "$hash"; done < /root/failed.txt | wc -l)
rows=$(grep -cE '0x[0-9a-fA-F]{64}' /work/failed-ops.csv)
echo "missing $missing, rows $rows, expected $(wc -l < /root/failed.txt)"
test "$missing" -eq 0 && test "$rows" -eq "$(wc -l < /root/failed.txt)"
passexited 0
missing 0, rows 64, expected 64

reproduce

unsnag run --scenario export-failed-ops --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.

Export every user operation that failed in the last 7 days to failed-ops.csv, one row per operation.
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 ops --help; pimlico whoami --json
Usage: pimlico ops [options]

User operation logs of your API keys, newest first, with revert reason, policy
and cost. Operations rejected on submission (validation errors such as AA24)
never become operations: find them with `pimlico requests --method
eth_sendUserOperation --status error`

Options:
  --key <name>       Only this API key, by name (see `pimlico keys list`); every
                     active key when omitted
  --chain <chainId>  Only this EVM chain
  --status <status>  Only operations whose latest status is this (choices:
                     "received", "failed_validation", "queued",
                     "added_to_mempool", "submitted", "dropped",
                     "included_onchain", "frontran_onchain", "failed_onchain",
                     "execution_reverted_onchain")
  --last <window>    Only records from the last 24h, 7d or 30d (choices: "24h",
                     "7d", "30d", default: "24h")
  --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
{
  "userId": "user_2pX7mK9qRvT3nLwE8hYc4ZbA1dF",
  "orgId": "org_2pX7nQ4sVbW9kLmR3tYe6HcJ8uA",
  "email": "ops@northwind-labs.dev",
  "displayName": "Northwind Labs",
  "entityType": "org",
  "scopes": [
    "write:policies",
    "write:keys"
  ],
  "warnings": []
}
4agent
$ pimlico keys list --all --json
{
  "keys": [
    {
      "name": "legacy-2023",
      "disabled": true,
      "createdAt": "2025-10-12T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": null,
      "requests30d": 0,
      "userOps30d": 0
    },
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:23:12.188Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:17:32.353Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:18:11.870Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:23:07.506Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:07:17.110Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T22:56:49.673Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
5agent
$ mkdir -p /tmp/ops && cd /tmp/ops && for s in failed_validation dropped failed_onchain execution_reverted_onchain frontran_onchain; do pimlico ops --status $s --last 7d --all --max 100000 --json > $s.ndjson; echo "$s exit=$? lines=$(wc -l < $s.ndjson)"; done; head -c 1500 failed_validation.ndjson; echo; tail -n 2 dropped.ndjson
5 records in 1 page
failed_validation exit=0 lines=5
2 records in 1 page
dropped exit=0 lines=2
0 records in 1 page
failed_onchain exit=0 lines=0
57 records in 2 pages
execution_reverted_onchain exit=0 lines=57
0 records in 1 page
frontran_onchain exit=0 lines=0
{"userOpHash":"0xb1e67797ecbca6006f6713a6aef949284116bf91518c81d658a96d82888eef6c","chainId":84532,"status":"failed_validation","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xcf48de8fc1dd7d935b02b8fbcee6adac7952acea","revertReason":"AA21 didn't pay prefund","policy":"sp_amused_arclight","costUsd":null,"key":"fixture-key","createdAt":"2026-11-16T06:06:45.879Z"}
{"userOpHash":"0x6003b28429231b331b3920867f5d002fd39403778d317207337049c29f0d102e","chainId":84532,"status":"failed_validation","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xe3903157b3c32b6c789ba5c7504117afd8a2afb7","revertReason":"AA25 invalid account nonce","policy":"sp_amused_arclight","costUsd":null,"key":"fixture-key","createdAt":"2026-11-14T12:01:39.901Z"}
{"userOpHash":"0x58d23cb97d75376f307e3b9922e87f6fc5420093e08cfbe0c8c0e7442a38e4df","chainId":84532,"status":"failed_validation","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xdf80cc956f09fa353d6584d1fb7be67a28b77504","revertReason":"AA21 didn't pay prefund","policy":"sp_amused_arclight","costUsd":null,"key":"fixture-key","createdAt":"2026-11-14T00:24:45.254Z"}
{"userOpHash":"0xd3464a98cb321d81ffea18b290d636e40b799d80a8f657088b628bd10bc8deb0","chainId":8453,"status":"failed_validation","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032
{"userOpHash":"0xf5ce196047d82127a33c41393bc00f4ca371b7cde9d41ab74ea86b518bdae7d2","chainId":8453,"status":"dropped","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x7c70903b69
[… 700 more characters]
6agent
$ cd /tmp/ops && pimlico ops --last 7d --all --max 100000 --json > all.ndjson; wc -l all.ndjson; python3 -I -c " import json,collections r=[json.loads(l) for l in open('all.ndjson') if l.strip()] print(collections.Counter(x['status'] for x in r)) print(len(r), len({(x['userOpHash'],x['chainId']) for x in r})) print(min(x['createdAt'] for x in r)) "
600 records in 12 pages
600 all.ndjson
Counter({'included_onchain': 533, 'execution_reverted_onchain': 57, 'failed_validation': 5, 'added_to_mempool': 3, 'dropped': 2})
600 600
2026-11-10T00:37:19.537Z
Shell cwd was reset to /work
detour dismissed
7agent
The status filters and an unfiltered 7-day pull give the same result: 64 failed operations (57 reverted on-chain, 5 failed validation, 2 dropped). Writing the CSV now.
$ cd /tmp/ops && python3 -I -c " import json,csv,sys r=[] for s in ['failed_validation','dropped','failed_onchain','execution_reverted_onchain','frontran_onchain']: r+=[json.loads(l) for l in open(s+'.ndjson') if l.strip()] seen=set(); out=[] for x in r: k=(x['userOpHash'],x['chainId']) if k not in seen: seen.add(k); out.append(x) out.sort(key=lambda x:x['createdAt'],reverse=True) cols=['createdAt','userOpHash','chainId','status','revertReason','key','policy','sender','entryPoint','transactionHash','costUsd'] with open('/work/failed-ops.csv','w',newline='') as f: w=csv.DictWriter(f,fieldnames=cols,extrasaction='ignore'); w.writeheader(); w.writerows(out) print(len(r),len(out)) "; wc -l /work/failed-ops.csv; head -3 /work/failed-ops.csv; git -C /work status --short
64 64
65 /work/failed-ops.csv
createdAt,userOpHash,chainId,status,revertReason,key,policy,sender,entryPoint,transactionHash,costUsd
2026-11-16T21:26:59.020Z,0x1c39f810b55ef71925c84cba2dde2c9cbb07b48c3d6a877aeb25033f903ca05b,8453,execution_reverted_onchain,UserOperation reverted with reason: Ownable: caller is not the owner,production-web,sp_brave_banshee,0x8b1b323f9676f2f07c3289f88cca82e2d7f28a31,0x0000000071727De22E5E9d8BAf0edAc6f37da032,0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d,0.066000
2026-11-16T20:06:12.189Z,0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920,84532,execution_reverted_onchain,"ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)",fixture-key,sp_amused_arclight,0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e,0x0000000071727De22E5E9d8BAf0edAc6f37da032,0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571,0.022000
?? failed-ops.csv
Shell cwd was reset to /work
8agent
I saved `/work/failed-ops.csv`, which lists the 64 user operations that failed in the last 7 days, one row per operation, newest first. It hasn't been committed.

| Status | Count |
| --- | --- |
| `execution_reverted_onchain` | 57 |
| `failed_validation` | 5 |
| `dropped` | 2 |
| `failed_onchain` | 0 |
| `frontran_onchain` | 0 |

Each row has the timestamp, userOp hash, chain id, status, revert reason, API key, policy, sender, entry point, transaction hash and cost in USD.

I checked the count by pulling all 600 operations from the same 7 days without a status filter. The breakdown matched: 533 included onchain, 3 still in the mempool, and the 64 failures above. No operation appears twice. The one disabled key, `legacy-2023`, has no operations, so nothing is missing from it.

The file doesn't include `eth_sendUserOperation` calls that were rejected on submission, such as AA-code validation errors. Pimlico never records those as user operations, so they only show up in the RPC request logs. I can export those to a separate file if you want them too.

Target CLI calls

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

User operation logs of your API keys, newest first, with revert reason, policy
and cost. Operations rejected on submission (validation errors such as AA24)
never become operations: find them with `pimlico requests --method
eth_sendUserOperation --status error`

Options:
  --key <name>       Only this API key, by name (see `pimlico keys list`); every
                     active key when omitted
  --chain <chainId>  Only this EVM chain
  --status <status>  Only operations whose latest status is this (choices:
                     "received", "failed_validation", "queued",
                     "added_to_mempool", "submitted", "dropped",
                     "included_onchain", "frontran_onchain", "failed_onchain",
                     "execution_reverted_onchain")
  --last <window>    Only records from the last 24h, 7d or 30d (choices: "24h",
                     "7d", "30d", default: "24h")
  --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
0136
1
$ pimlico whoami --json
{
  "userId": "user_2pX7mK9qRvT3nLwE8hYc4ZbA1dF",
  "orgId": "org_2pX7nQ4sVbW9kLmR3tYe6HcJ8uA",
  "email": "ops@northwind-labs.dev",
  "displayName": "Northwind Labs",
  "entityType": "org",
  "scopes": [
    "write:policies",
    "write:keys"
  ],
  "warnings": []
}
0172
2
$ pimlico keys list --all --json
{
  "keys": [
    {
      "name": "legacy-2023",
      "disabled": true,
      "createdAt": "2025-10-12T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": null,
      "requests30d": 0,
      "userOps30d": 0
    },
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:23:12.188Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:17:32.353Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:18:11.870Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:23:07.506Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:07:17.110Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:23:12.188Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T22:56:49.673Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
0187
3
$ pimlico ops --status failed_validation --last 7d --all --max 100000 --json
{"userOpHash":"0xb1e67797ecbca6006f6713a6aef949284116bf91518c81d658a96d82888eef6c","chainId":84532,"status":"failed_validation","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xcf48de8fc1dd7d935b02b8fbcee6adac7952acea","revertReason":"AA21 didn't pay prefund","policy":"sp_amused_arclight","costUsd":null,"key":"fixture-key","createdAt":"2026-11-16T06:06:45.879Z"}
{"userOpHash":"0x6003b28429231b331b3920867f5d002fd39403778d317207337049c29f0d102e","chainId":84532,"status":"failed_validation","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xe3903157b3c32b6c789ba5c7504117afd8a2afb7","revertReason":"AA25 invalid account nonce","policy":"sp_amused_arclight","costUsd":null,"key":"fixture-key","createdAt":"2026-11-14T12:01:39.901Z"}
{"userOpHash":"0x58d23cb97d75376f307e3b9922e87f6fc5420093e08cfbe0c8c0e7442a38e4df","chainId":84532,"status":"failed_validation","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xdf80cc956f09fa353d6584d1fb7be67a28b77504","revertReason":"AA21 didn't pay prefund","policy":"sp_amused_arclight","costUsd":null,"key":"fixture-key","createdAt":"2026-11-14T00:24:45.254Z"}
{"userOpHash":"0xd3464a98cb321d81ffea18b290d636e40b799d80a8f657088b628bd10bc8deb0","chainId":8453,"status":"failed_validation","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x1d9d9ce4682f6a18b793f3223acb6e6ba70065bf","revertReason":"AA21 didn't pay prefund","policy":"sp_breezy_archangel","costUsd":null,"key":"mobile-app","createdAt":"2026-11-13T19:34:22.443Z"}
{"userOpHash":"0x128972e3bd7203c7c79f52deb681fc38be42fab23811e789d5321575647739b4","chainId":8453,"status":"failed_validation","pending":false,"transactionHash":null,"entryPoint":"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789","sender":"0x5390574a7074f5efb7d15925726c750cb0e37eec","revertReason":"AA25
[… 129 more characters]
5 records in 1 page
0396
4
$ pimlico ops --status dropped --last 7d --all --max 100000 --json
{"userOpHash":"0xf5ce196047d82127a33c41393bc00f4ca371b7cde9d41ab74ea86b518bdae7d2","chainId":8453,"status":"dropped","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x7c70903b697adc6375af652eba93da4a1fcbc62d","revertReason":"Dropped from mempool: maxFeePerGas below base fee for 25 blocks","policy":"sp_brave_banshee","costUsd":null,"key":"production-web","createdAt":"2026-11-14T06:23:33.517Z"}
{"userOpHash":"0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69","chainId":10,"status":"dropped","pending":false,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xbee51ccb71fd291605fbd9df7ed201329cfb892c","revertReason":"Dropped from mempool: maxFeePerGas below base fee for 25 blocks","policy":"sp_brave_banshee","costUsd":null,"key":"production-web","createdAt":"2026-11-11T13:22:25.651Z"}
2 records in 1 page
0289
5
$ pimlico ops --status failed_onchain --last 7d --all --max 100000 --json
0 records in 1 page
0269
6
$ pimlico ops --status execution_reverted_onchain --last 7d --all --max 100000 --json
{"userOpHash":"0x1c39f810b55ef71925c84cba2dde2c9cbb07b48c3d6a877aeb25033f903ca05b","chainId":8453,"status":"execution_reverted_onchain","pending":false,"transactionHash":"0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x8b1b323f9676f2f07c3289f88cca82e2d7f28a31","revertReason":"UserOperation reverted with reason: Ownable: caller is not the owner","policy":"sp_brave_banshee","costUsd":"0.066000","key":"production-web","createdAt":"2026-11-16T21:26:59.020Z"}
{"userOpHash":"0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920","chainId":84532,"status":"execution_reverted_onchain","pending":false,"transactionHash":"0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e","revertReason":"ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)","policy":"sp_amused_arclight","costUsd":"0.022000","key":"fixture-key","createdAt":"2026-11-16T20:06:12.189Z"}
{"userOpHash":"0x500dbfb98c90bb415b527d1f2c3375d70b952b736643f9f7e83bf2a2e1b12233","chainId":84532,"status":"execution_reverted_onchain","pending":false,"transactionHash":"0x71d08db36a55a879954f34e4ba990b0cabf52c380cf877dd1eaebf926284fb42","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xf6f39d5219837781a392e3f243fb902ea5e5a706","revertReason":"ERC20: transfer amount exceeds balance","policy":"sp_amused_arclight","costUsd":"0.033000","key":"fixture-key","createdAt":"2026-11-16T17:47:29.707Z"}
{"userOpHash":"0x0299628e6bff7d262ebd81d3d1350eac540aeedadf31b8058a0160559e0df201","chainId":84532,"status":"execution_reverted_onchain","pending":false,"transactionHash":"0xf0636fcf52533f69a93b778f4bde7253e85b3224015374b777a2d0773f0d7f30","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xb6342d6d52a9094a6521d0ce21c08d8f30215c13","revertReason":"
[… 27559 more characters]
57 records in 2 pages
0352
7
$ pimlico ops --status frontran_onchain --last 7d --all --max 100000 --json
0 records in 1 page
0270
8
$ pimlico ops --last 7d --all --max 100000 --json
{"userOpHash":"0x8497fe299408a4fa09991e98340e4aeea7b5dc3f0f1315b06debafec4e672e32","chainId":8453,"status":"added_to_mempool","pending":true,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x13f5794d5d1302332ee9a10aaaadb6bd6d20ea54","revertReason":null,"policy":"sp_brave_banshee","costUsd":null,"key":"production-web","createdAt":"2026-11-16T23:22:24.479Z"}
{"userOpHash":"0xa28c8a8bd1b819283d12ded571613c5506a719dc36b924483bf99f11adeb3dce","chainId":42161,"status":"added_to_mempool","pending":true,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xe408e454496404967a895b0b9e280100a54fb190","revertReason":null,"policy":"sp_brave_banshee","costUsd":null,"key":"production-web","createdAt":"2026-11-16T23:19:38.914Z"}
{"userOpHash":"0xd5184662105a43f0dd8fd4249e9d1f49bf1e34435a5bd955248d28a8ffbb5165","chainId":84532,"status":"added_to_mempool","pending":true,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x0b9f075fc4919611621314041c022249dd4eaeff","revertReason":null,"policy":"sp_amused_arclight","costUsd":null,"key":"fixture-key","createdAt":"2026-11-16T23:19:25.386Z"}
{"userOpHash":"0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47","chainId":10,"status":"included_onchain","pending":false,"transactionHash":"0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xbee51ccb71fd291605fbd9df7ed201329cfb892c","revertReason":null,"policy":"sp_brave_banshee","costUsd":"0.044000","key":"production-web","createdAt":"2026-11-16T22:57:08.000Z"}
{"userOpHash":"0xfc1dd86ea8b188d10e7e97976ec3916bbc1617c88f1a42ff058766be541a9d9a","chainId":42161,"status":"included_onchain","pending":false,"transactionHash":"0x259ef75ecd8bcb2d5ee074fea45874af5bbf34f53dbacb0d00a66c3a98a267ac","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xb2d65d63a71218ee93edd8
[… 283051 more characters]
600 records in 12 pages
01492

Final state

outcome
pass
final answer
I saved `/work/failed-ops.csv`, which lists the 64 user operations that failed in the last 7 days, one row per operation, newest first. It hasn't been committed.

| Status | Count |
| --- | --- |
| `execution_reverted_onchain` | 57 |
| `failed_validation` | 5 |
| `dropped` | 2 |
| `failed_onchain` | 0 |
| `frontran_onchain` | 0 |

Each row has the timestamp, userOp hash, chain id, status, revert reason, API key, policy, sender, entry point, transaction hash and cost in USD.

I checked the count by pulling all 600 operations from the same 7 days without a status filter. The breakdown matched: 533 included onchain, 3 still in the mempool, and the 64 failures above. No operation appears twice. The one disabled key, `legacy-2023`, has no operations, so nothing is missing from it.

The file doesn't include `eth_sendUserOperation` calls that were rejected on submission, such as AA-code validation errors. Pimlico never records those as user operations, so they only show up in the RPC request logs. I can export those to a separate file if you want them too.
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.

Export every user operation that failed in the last 7 days to failed-ops.csv, one row per operation.

Artifacts

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