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/name-only/2 · ← prev next →

export-failed-ops/claude-code-anthropic-claude-opus-5.5/name-only/2 · pass

Outcome
pass
2/2 Checks passed
Turns
9
model turns
CLI calls
15
0 exited non-zero
Help lookups
3
reads of the CLI's help
Tokens in
71198
64937 of them cached
Tokens out
2162
written by the model
Cost
$0.09
of the model calls
Wall time
38.6s
from start to the Checks
scenario
export-failed-ops
agent
claude-code:anthropic/claude-opus-5.5 · 2.1.318
context
name-only
repeat
2 · 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 name-only --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
$ pimlico --help; pimlico --version
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 909 more characters]
2agent
$ 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
3agent
$ cd /work; pimlico whoami; pimlico keys list; pimlico ops --last 7d --all --max 100000 --json > /tmp/ops.ndjson; echo exit=$?; wc -l /tmp/ops.ndjson; head -2 /tmp/ops.ndjson
Logged in as  ops@northwind-labs.dev
Account       Northwind Labs
Entity        organization
Org id        org_2pX7nQ4sVbW9kLmR3tYe6HcJ8uA
Scopes        write:policies write:keys
Name                Status  Boost  Last used   Req 30d  Ops 30d  Created
production-web      active  on     6 min ago     9,000    1,180  2026-04-10
mobile-app          active  off    5 min ago     5,200      700  2026-06-09
staging             active  off    2 h ago         840       76  2026-07-19
analytics-readonly  active  off    16 min ago    3,100        0  2026-08-18
fixture-key         active  off    27 min ago    2,422      380  2026-10-02
600 records in 12 pages
exit=0
600 /tmp/ops.ndjson
{"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:16:28.485Z"}
{"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:13:42.920Z"}
4agent
$ cd /tmp; jq -r .status ops.ndjson | sort | uniq -c; echo; jq -r .userOpHash ops.ndjson | sort | uniq -d | wc -l; jq -r '[.userOpHash,.chainId]|@tsv' ops.ndjson | sort | uniq -d | wc -l; jq -r .createdAt ops.ndjson | sort | sed -n '1p;$p'; jq -r .key ops.ndjson | sort | uniq -c
      3 added_to_mempool
      2 dropped
     57 execution_reverted_onchain
      5 failed_validation
    533 included_onchain

0
0
2026-11-10T00:31:23.543Z
2026-11-16T23:16:28.485Z
    107 fixture-key
    157 mobile-app
    316 production-web
     20 staging
Shell cwd was reset to /work
5agent
$ for s in failed_validation dropped failed_onchain execution_reverted_onchain frontran_onchain; do echo -n "$s: "; pimlico ops --last 7d --status $s --all --max 100000 --json | wc -l; done; pimlico ops --last 7d --limit 100 --json | jq '{n:(.items // .records // .data | length), nextCursor, keys:keys}' 2>/dev/null | head -20
failed_validation: 5 records in 1 page
5
dropped: 2 records in 1 page
2
failed_onchain: 0 records in 1 page
0
execution_reverted_onchain: 57 records in 2 pages
57
frontran_onchain: 0 records in 1 page
0
{
  "n": 100,
  "nextCursor": "MjAyNi0xMS0xNlQwMDoyNzoxNi43MTda",
  "keys": [
    "items",
    "nextCursor",
    "warnings"
  ]
}
6agent
$ pimlico ops --last 7d --limit 100 --json | jq .warnings; pimlico requests --help | head -30
[]
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
7agent
$ pimlico requests --last 7d --method eth_sendUserOperation --status error --all --max 100000 --json | wc -l
20 records in 1 page
20
8agent
Now writing the CSV from the 64 failed operations (failed_validation, dropped, execution_reverted_onchain; no failed_onchain/frontran in range).
$ cd /work; jq -s -r '(["userOpHash","chainId","status","transactionHash","entryPoint","sender","revertReason","policy","costUsd","key","createdAt"]) as $c | ($c|@csv), (map(select(.status|IN("failed_validation","dropped","failed_onchain","execution_reverted_onchain","frontran_onchain"))) | sort_by(.createdAt)|reverse|.[] | [.[$c[]]] | @csv)' /tmp/ops.ndjson > failed-ops.csv; wc -l failed-ops.csv; cut -d, -f3 failed-ops.csv | sort | uniq -c; head -3 failed-ops.csv; git status --short
65 failed-ops.csv
      2 "dropped"
     57 "execution_reverted_onchain"
      5 "failed_validation"
      1 "status"
"userOpHash","chainId","status","transactionHash","entryPoint","sender","revertReason","policy","costUsd","key","createdAt"
"0x1c39f810b55ef71925c84cba2dde2c9cbb07b48c3d6a877aeb25033f903ca05b",8453,"execution_reverted_onchain","0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d","0x0000000071727De22E5E9d8BAf0edAc6f37da032","0x8b1b323f9676f2f07c3289f88cca82e2d7f28a31","UserOperation reverted with reason: Ownable: caller is not the owner","sp_brave_banshee","0.066000","production-web","2026-11-16T21:21:03.026Z"
"0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920",84532,"execution_reverted_onchain","0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571","0x0000000071727De22E5E9d8BAf0edAc6f37da032","0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e","ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)","sp_amused_arclight","0.022000","fixture-key","2026-11-16T20:00:16.195Z"
?? failed-ops.csv
9agent
I wrote `/work/failed-ops.csv` with **64 failed user operations** from the last 7 days, one row per operation and newest first. No operation appears twice.

| Status | Count |
|---|---|
| `execution_reverted_onchain` | 57 |
| `failed_validation` | 5 |
| `dropped` | 2 |

I counted an operation as failed if its latest status was any failure state. `failed_onchain` and `frontran_onchain` were also included, but no operations had those in this period. The columns are hash, chain, status, transaction hash, entry point, sender, revert reason, policy, cost in USD, API key and timestamp.

The export covers all 600 operations from the 7-day window across every active API key. Querying each failure status on its own gave the same counts as the file.

**Not in the file:** 20 `eth_sendUserOperation` calls were rejected when they were submitted. These are validation errors such as AA24, and Pimlico never records them as user operations, so I left them out. If you want them listed too, I can add them to this file or put them in a separate one. You can see them with `pimlico requests --method eth_sendUserOperation --status error --last 7d`.

The file is untracked and I haven't committed it.

Target CLI calls

#callexitmssignal
0
$ pimlico --help
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 904 more characters]
0158
1
$ pimlico --version
1.2.0
0125
2
$ 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
0172
3
$ pimlico whoami
Logged in as  ops@northwind-labs.dev
Account       Northwind Labs
Entity        organization
Org id        org_2pX7nQ4sVbW9kLmR3tYe6HcJ8uA
Scopes        write:policies write:keys
0233
4
$ pimlico keys list
Name                Status  Boost  Last used   Req 30d  Ops 30d  Created
production-web      active  on     6 min ago     9,000    1,180  2026-04-10
mobile-app          active  off    5 min ago     5,200      700  2026-06-09
staging             active  off    2 h ago         840       76  2026-07-19
analytics-readonly  active  off    16 min ago    3,100        0  2026-08-18
fixture-key         active  off    27 min ago    2,422      380  2026-10-02
0249
5
$ 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:16:28.485Z"}
{"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:13:42.920Z"}
{"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:13:29.392Z"}
{"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:51:12.006Z"}
{"userOpHash":"0xfc1dd86ea8b188d10e7e97976ec3916bbc1617c88f1a42ff058766be541a9d9a","chainId":42161,"status":"included_onchain","pending":false,"transactionHash":"0x259ef75ecd8bcb2d5ee074fea45874af5bbf34f53dbacb0d00a66c3a98a267ac","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xb2d65d63a71218ee93edd8
[… 283051 more characters]
600 records in 12 pages
01343
6
$ pimlico ops --last 7d --status failed_validation --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:00:49.885Z"}
{"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-14T11:55:43.907Z"}
{"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:18:49.260Z"}
{"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:28:26.449Z"}
{"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
0270
7
$ pimlico ops --last 7d --status dropped --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:17:37.523Z"}
{"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:16:29.657Z"}
2 records in 1 page
0267
8
$ pimlico ops --last 7d --status failed_onchain --all --max 100000 --json
0 records in 1 page
0260
9
$ pimlico ops --last 7d --status execution_reverted_onchain --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:21:03.026Z"}
{"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:00:16.195Z"}
{"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:41:33.713Z"}
{"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
0342
10
$ pimlico ops --last 7d --status frontran_onchain --all --max 100000 --json
0 records in 1 page
0272
11
$ pimlico ops --last 7d --limit 100 --json
{
  "items": [
    {
      "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:16:28.485Z"
    },
    {
      "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:13:42.920Z"
    },
    {
      "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:13:29.392Z"
    },
    {
      "userOpHash": "0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47",
      "chainId": 10,
      "status": "included_onchain",
      "pending": false,
      "transactionHash": "0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347",
      "entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
      "sender": "0xbee51ccb71fd291605fbd9df7ed201329cfb892c",
      "revertReason": null,
      "policy": "sp_brave_banshe
[… 56153 more characters]
0272
12
$ pimlico ops --last 7d --limit 100 --json
{
  "items": [
    {
      "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:16:28.485Z"
    },
    {
      "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:13:42.920Z"
    },
    {
      "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:13:29.392Z"
    },
    {
      "userOpHash": "0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47",
      "chainId": 10,
      "status": "included_onchain",
      "pending": false,
      "transactionHash": "0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347",
      "entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
      "sender": "0xbee51ccb71fd291605fbd9df7ed201329cfb892c",
      "revertReason": null,
      "policy": "sp_brave_banshe
[… 56153 more characters]
0282
13
$ 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
0187
14
$ pimlico requests --last 7d --method eth_sendUserOperation --status error --all --max 100000 --json
{"createdAt":"2026-11-16T20:56:46.525Z","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-16T16:36:10.737Z","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-16T15:12:32.635Z","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":"2026-11-16T13:54:07.542Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"9d04310e6216a23b276a783e535ebdd3","key":"fixture-key","error":{"code":-32500,"message":"AA25 invalid account nonce"},"request":null,"response":null}
{"createdAt":"2026-11-16T07:45:16.404Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"a1a6a6619de6a1450f57517a89dee167","key":"fixture-key","error":{"code":-32500,"message":"AA25 invalid account nonce"},"request":null,"response":null}
{"createdAt":"2026-11-16T06:11:04.962Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"64b80ae8b956fbf7fb043948b1271006","key":"fixture-key","error":{"code":-32500,"message":"AA25 invalid account nonce"},"request":null,"response":null}
{"createdAt":"2026-11-15T20:54:36.727Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"f79d3145cc4759a53b253149a0a7cdd7","key":"fixt
[… 4030 more characters]
20 records in 1 page
0180

Final state

outcome
pass
final answer
I wrote `/work/failed-ops.csv` with **64 failed user operations** from the last 7 days, one row per operation and newest first. No operation appears twice.

| Status | Count |
|---|---|
| `execution_reverted_onchain` | 57 |
| `failed_validation` | 5 |
| `dropped` | 2 |

I counted an operation as failed if its latest status was any failure state. `failed_onchain` and `frontran_onchain` were also included, but no operations had those in this period. The columns are hash, chain, status, transaction hash, entry point, sender, revert reason, policy, cost in USD, API key and timestamp.

The export covers all 600 operations from the 7-day window across every active API key. Querying each failure status on its own gave the same counts as the file.

**Not in the file:** 20 `eth_sendUserOperation` calls were rejected when they were submitted. These are validation errors such as AA24, and Pimlico never records them as user operations, so I left them out. If you want them listed too, I can add them to this file or put them in a separate one. You can see them with `pimlico requests --method eth_sendUserOperation --status error --last 7d`.

The file is untracked and I haven't committed it.
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
WebFetch (sandbox) · WebSearch (provider)

context inputs

none

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