export-failed-ops/opencode-google-gemini-4-argon/name-only/3 · pass
Outcome
pass
2/2 Checks passed
Turns
17
model turns
CLI calls
16
0 exited non-zero
Help lookups
4
reads of the CLI's help
Tokens in
827459
732682 of them cached
Tokens out
2996
written by the model
Cost
$0.29
of the model calls
Wall time
175.6s
from start to the Checks
checks
| # | check | result | detail | signal |
|---|---|---|---|---|
| 1 | test -f /work/failed-ops.csv | pass | exited 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)"
| pass | exited 0missing 0, rows 64, expected 64 |
reproduce
unsnag run --scenario export-failed-ops --agent opencode:google/gemini-4-argon --context name-only --runs 1 Transcript highlighted = a Signal fired
| # | actor | content | exit | signal |
|---|---|---|---|---|
| 0 | user | 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. | ||
| 1 | agent | $ 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] | ||
| 2 | agent | $ 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
| ||
| 3 | agent | $ pimlico ops --last 7d --all --csv 2026-11-11T23:09:22.178Z,8453,included_onchain,0x6ff6ee216b553f7754cd8b55cc02cb15ee43331ce5cb30ed0222e53d872629b2,0x4b8b1f20f750f32f3d0f516d49b5f9868a3d6d7f,0x7c9f9ccfb518e425c240a55e911cc4fb8278886bb5871cc1e24451ae7b59acbf,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_breezy_archangel,0.044000,mobile-app 2026-11-11T23:04:56.237Z,84532,execution_reverted_onchain,0x7f8c4e68a9fc19cc98ab065e7b471e57c11fe67248a36eb0fa3653da9c3b3b85,0x9d0f2719e7f0a1719e76f3df53ee2e45134d0e8d,0x387a8abd55da5869391176b86703adce814c4c94c08d52548a756bda9127bb7c,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,execution reverted,sp_amused_arclight,0.022000,fixture-key 2026-11-11T22:47:55.828Z,8453,included_onchain,0x03901419d8f59cb0287d9414dd779543b693408ab3d4fc2be9a6fe34884622b0,0xa1541bb3dcdf140996c4ec82d7d63ac9b2931a58,0x8fb632b4dde1067eb5de0a2d625a04adf3d8edc2087388d93bec77a2de3e465b,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_breezy_archangel,0.055000,mobile-app 2026-11-11T22:28:04.569Z,42161,included_onchain,0xf0157ba5bddbd3f50dee79df1a4bdd9981e6d533b48867dec1cf81910687f446,0xbee51ccb71fd291605fbd9df7ed201329cfb892c,0x54764f44fd685058204f356d537df1ed3cd150fd47ac6c2b35367ec8058871eb,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.066000,production-web 2026-11-11T22:27:12.893Z,8453,included_onchain,0x9f862e0be4085989e242f6e757353c8e8bbcc22f5e31252b27e5101976f6a999,0x65336995a70cf0df83259c7286adfaefa8f050c7,0x7418bbc2d1c926a64fb6e7b76441fee48767856a78c5aece896ef2c455a192fe,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.033000,production-web 2026-11-11T21:35:54.098Z,10,included_onchain,0xf84f0209a5d546205bb7fc2b39c09cd069e6fe902d66c3ca5456324d124c134f,0x7056ba1c309bcb1d56abc11668431e14e158719f,0xb3be64cbb57ab93c13bfc414a833db098f734e77f3e975db74e96164bfa0c669,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.033000,production-web 2026-11-11T21:34:12.403Z,8453,included_onchain,0x5e299434832b29ae67232df45886ac305396 [… 49173 more characters] | ||
| 4 | agent | **Examining Output and Status** I've started examining the output file you specified, focusing on the initial lines. Simultaneously, I'm checking the dataset for existing statuses. It appears that there are 600 records. $ head -n 5 /home/agent/.local/share/opencode/shell/cce9aab61c811653eda7fe148d57ee3e704ea648/sh_1e6ac9f91001ksj5K22bVKY0cK.out; cut -d',' -f3 /home/agent/.local/share/opencode/shell/cce9aab61c811653eda7fe148d57ee3e704ea648/sh_1e6ac9f91001ksj5K22bVKY0cK.out | sort | uniq -c createdAt,chainId,status,userOpHash,sender,transactionHash,entryPoint,pending,revertReason,policy,costUsd,key
2026-11-16T23:22:46.233Z,8453,added_to_mempool,0x8497fe299408a4fa09991e98340e4aeea7b5dc3f0f1315b06debafec4e672e32,0x13f5794d5d1302332ee9a10aaaadb6bd6d20ea54,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_brave_banshee,,production-web
2026-11-16T23:20:00.668Z,42161,added_to_mempool,0xa28c8a8bd1b819283d12ded571613c5506a719dc36b924483bf99f11adeb3dce,0xe408e454496404967a895b0b9e280100a54fb190,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_brave_banshee,,production-web
2026-11-16T23:19:47.140Z,84532,added_to_mempool,0xd5184662105a43f0dd8fd4249e9d1f49bf1e34435a5bd955248d28a8ffbb5165,0x0b9f075fc4919611621314041c022249dd4eaeff,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_amused_arclight,,fixture-key
2026-11-16T22:57:29.754Z,10,included_onchain,0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47,0xbee51ccb71fd291605fbd9df7ed201329cfb892c,0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.044000,production-web
1 600 records in 12 pages
3 added_to_mempool
2 dropped
57 execution_reverted_onchain
5 failed_validation
533 included_onchain
1 status
| ||
| 5 | agent | $ which pimlico && pimlico keys list /usr/local/bin/pimlico 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 6 min ago 5,200 700 2026-06-09 staging active off 2 h ago 840 76 2026-07-19 analytics-readonly active off 17 min ago 3,100 0 2026-08-18 fixture-key active off 27 min ago 2,422 380 2026-10-02 | ||
| 6 | agent | $ ls -la /usr/local/bin/pimlico -rwsr-xr-x 1 root root 786696 Nov 16 23:09 /usr/local/bin/pimlico | ||
| 7 | agent | **Inspecting Pimlico Statuses** I'm currently reviewing the output of `pimlico ops --last 7d --all`. I see a significant number of `execution_reverted_onchain` statuses, alongside some `dropped` and `failed_validation` states. This warrants further investigation to understand the root causes of these failures. My focus is now on the failed operations in particular. $ grep -v ',included_onchain,' /home/agent/.local/share/opencode/shell/cce9aab61c811653eda7fe148d57ee3e704ea648/sh_1e6ac9f91001ksj5K22bVKY0cK.out createdAt,chainId,status,userOpHash,sender,transactionHash,entryPoint,pending,revertReason,policy,costUsd,key 2026-11-16T23:22:46.233Z,8453,added_to_mempool,0x8497fe299408a4fa09991e98340e4aeea7b5dc3f0f1315b06debafec4e672e32,0x13f5794d5d1302332ee9a10aaaadb6bd6d20ea54,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_brave_banshee,,production-web 2026-11-16T23:20:00.668Z,42161,added_to_mempool,0xa28c8a8bd1b819283d12ded571613c5506a719dc36b924483bf99f11adeb3dce,0xe408e454496404967a895b0b9e280100a54fb190,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_brave_banshee,,production-web 2026-11-16T23:19:47.140Z,84532,added_to_mempool,0xd5184662105a43f0dd8fd4249e9d1f49bf1e34435a5bd955248d28a8ffbb5165,0x0b9f075fc4919611621314041c022249dd4eaeff,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_amused_arclight,,fixture-key 2026-11-16T21:27:20.774Z,8453,execution_reverted_onchain,0x1c39f810b55ef71925c84cba2dde2c9cbb07b48c3d6a877aeb25033f903ca05b,0x8b1b323f9676f2f07c3289f88cca82e2d7f28a31,0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,UserOperation reverted with reason: Ownable: caller is not the owner,sp_brave_banshee,0.066000,production-web 2026-11-16T20:06:33.943Z,84532,execution_reverted_onchain,0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920,0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e,0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,"ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)",sp_amused_arclight,0.022000,fixture-key 2026-11-16T17:47:51.461Z,84532,execution_reverted_onchain,0x500dbfb98c90bb415b527d1f2c3375d70b952b736643f9f7e83bf2a2e1b12233,0xf6f39d5219837781a392e3f243fb902ea5e5a706,0x71d08db36a55a879954f34e4ba990b0cabf52c380cf877dd1eaebf926284fb42,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,ERC20: transfer amount exceeds balance,sp_amused_arclight,0.033000,fixture-key 202 [… 21431 more characters] | ||
| 8 | agent | $ pimlico keys list --help Usage: pimlico keys list [options]
List API keys by name with last use and 30-day traffic (never the keys
themselves)
Options:
--all Include disabled keys
--sort <order> Order by creation date (default) or most recently used first
(choices: "created", "last-used")
-h, --help display help for command
| ||
| 9 | agent | $ pimlico keys list --all Name Status Boost Last used Req 30d Ops 30d Created legacy-2023 disabled off never (30d) 0 0 2025-10-12 production-web active on 7 min ago 9,000 1,180 2026-04-10 mobile-app active off 7 min ago 5,200 700 2026-06-09 staging active off 2 h ago 840 76 2026-07-19 analytics-readonly active off 18 min ago 3,100 0 2026-08-18 fixture-key active off 28 min ago 2,422 380 2026-10-02 | ||
| 10 | agent | **Defining Failure Criteria** I'm currently focused on precisely defining what constitutes a "failed" user operation. I'm exploring the available status values within `pimlico ops --help` to clarify the criteria, specifically looking at how `"received"`, `"failed_validation"`, `"queued"`, and `"added_to_mempool"` relate to a failure. My aim is to accurately identify these operations. $ pimlico usage --help && pimlico usage --last 7d --json Usage: pimlico usage [options]
Requests, API credits and sponsored USD over a window, EVM and Solana
Options:
--last <window> Window to summarize (choices: "24h", "7d", "30d", default:
"24h")
--group <by> Group rows by chain, API key or day (choices: "chain", "key",
"day", default: "chain")
--key <name> Only this API key, by name
--csv Print CSV instead of a table
-h, --help display help for command
{
"from": "2026-11-09T23:25:22.538Z",
"to": "2026-11-16T23:25:22.538Z",
"groupBy": "chain",
"rows": [
{
"group": "1",
"name": "Ethereum",
"requests": 36,
"apiCredits": 852,
"sponsoredUsd": "8.04"
},
{
"group": "10",
"name": "Optimism",
"requests": 691,
"apiCredits": 10357,
"sponsoredUsd": "2.99"
},
{
"group": "8453",
"name": "Base",
"requests": 3026,
"apiCredits": 55309,
"sponsoredUsd": "15.22"
},
{
"group": "42161",
"name": "Arbitrum One",
"requests": 222,
"apiCredits": 4003,
"sponsoredUsd": "2.57"
},
{
"group": "84532",
"name": "Base Sepolia",
"requests": 673,
"apiCredits": 13814,
"sponsoredUsd": "2.59"
},
{
"group": "11155111",
"name": "Sepolia",
"requests": 89,
"apiCredits": 2117,
"sponsoredUsd": "0.20"
},
{
"group": "solana-devnet",
"name": "Solana devnet",
"requests": 40,
"apiCredits": 256,
"sponsoredUsd": "0.04"
}
],
"totals": {
"requests": 4777,
"apiCredits": 86708,
"sponsoredUsd": "31.65"
},
"warnings": []
}
| ||
| 11 | agent | **Investigating Pimlico Operations** I'm now diving into the specifics of `pimlico op`, focusing on "dropped," "failed_validation," and "execution_reverted_onchain" operations. I am exploring the system for documentation or strings related to `/usr/local/bin/pimlico` using the `file` command. $ pimlico op 0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69 && pimlico op 0x128972e3bd7203c7c79f52deb681fc38be42fab23811e789d5321575647739b4 && pimlico op 0x1c39f810b55ef71925c84cba2dde2c9cbb07b48c3d6a877aeb25033f903ca05b User op 0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69 Chain 10 Status dropped (failed) Transaction - Entry point 0x0000000071727De22E5E9d8BAf0edAc6f37da032 Revert reason Dropped from mempool: maxFeePerGas below base fee for 25 blocks Policy sp_brave_banshee Cost - Time Event Transaction 2026-11-11 13:22:47 received - 2026-11-11 13:22:47 queued - 2026-11-11 13:22:47 added_to_mempool - 2026-11-11 13:27:21 dropped - User op 0x128972e3bd7203c7c79f52deb681fc38be42fab23811e789d5321575647739b4 Chain 8453 Status failed_validation (failed) Transaction - Entry point 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789 Revert reason AA25 invalid account nonce Policy sp_breezy_archangel Cost - Time Event Transaction 2026-11-10 20:50:25 received - 2026-11-10 20:50:25 failed_validation - User op 0x1c39f810b55ef71925c84cba2dde2c9cbb07b48c3d6a877aeb25033f903ca05b Chain 8453 Status execution_reverted_onchain (failed) Transaction 0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d Entry point 0x0000000071727De22E5E9d8BAf0edAc6f37da032 Revert reason UserOperation reverted with reason: Ownable: caller is not the owner Policy sp_brave_banshee Cost $0.066 Time Event Transaction 2026-11-16 21:27:20 received - 2026-11-16 21:27:21 queued - 2026-11-16 21:27:21 added_to_mempool - 2026-11-16 21:27:23 submitted 0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d 2026-11-16 21:27:28 execution_reverted_onchain 0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d | ||
| 12 | agent | **Analyzing Failure Causes** I'm currently investigating the "failed" statuses. I've noticed failures like "dropped," "failed_validation," and "execution_reverted_onchain". I'm now examining the `pimlico op --json` output to find specific indicators or tagging methods used by `pimlico` to denote these failure types. This should give me a clearer picture of the root causes. $ pimlico op 0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69 --json {
"userOpHash": "0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69",
"chainId": 10,
"status": "dropped",
"failed": true,
"transactionHash": null,
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"revertReason": "Dropped from mempool: maxFeePerGas below base fee for 25 blocks",
"policyId": "sp_brave_banshee",
"costUsd": null,
"timeline": [
{
"type": "received",
"at": "2026-11-11T13:22:47.404Z",
"transactionHash": null,
"data": null
},
{
"type": "queued",
"at": "2026-11-11T13:22:47.806Z",
"transactionHash": null,
"data": null
},
{
"type": "added_to_mempool",
"at": "2026-11-11T13:22:47.926Z",
"transactionHash": null,
"data": null
},
{
"type": "dropped",
"at": "2026-11-11T13:27:21.742Z",
"transactionHash": null,
"data": {
"reason": "Dropped from mempool: maxFeePerGas below base fee for 25 blocks"
}
}
],
"warnings": []
}
| ||
| 13 | agent | $ pimlico ops --last 7d --limit 5 --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:22:46.233Z"
},
{
"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:20:00.668Z"
},
{
"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:47.140Z"
},
{
"userOpHash": "0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47",
"chainId": 10,
"status": "included_onchain",
"pending": false,
"transactionHash": "0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xbee51ccb71fd291605fbd9df7ed201329cfb892c",
"revertReason": null,
"policy": "sp_brave_banshe
[… 772 more characters] | ||
| 14 | agent | $ pimlico ops --key legacy-2023 --last 7d (none) | ||
| 15 | agent | **Analyzing Recent Records** I've determined that `legacy-2023` currently has no records. I'm now exploring the implications of running `pimlico ops --last 7d --status ... --all --csv`. Further analysis of `pimlico ops --last 7d --all` revealed a total of 600 records across all active keys within the past seven days. $ pimlico ops --last 7d --status dropped --all --csv 2>/dev/null createdAt,chainId,status,userOpHash,sender,transactionHash,entryPoint,pending,revertReason,policy,costUsd,key 2026-11-14T06:23:55.271Z,8453,dropped,0xf5ce196047d82127a33c41393bc00f4ca371b7cde9d41ab74ea86b518bdae7d2,0x7c70903b697adc6375af652eba93da4a1fcbc62d,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,Dropped from mempool: maxFeePerGas below base fee for 25 blocks,sp_brave_banshee,,production-web 2026-11-11T13:22:47.405Z,10,dropped,0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69,0xbee51ccb71fd291605fbd9df7ed201329cfb892c,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,Dropped from mempool: maxFeePerGas below base fee for 25 blocks,sp_brave_banshee,,production-web | ||
| 16 | agent | **Analyzing Pimlico Output** I've been examining the `pimlico ops` command output. Specifically, I'm focusing on the CSV data and the accompanying stderr messages. I see a count of 600 records across 12 pages. I'm now exploring how to filter the CSV to isolate failed statuses and retain the header row. $ pimlico ops --last 7d --all --csv 2>/dev/null | awk -F',' 'NR==1 || $3=="failed_validation" || $3=="dropped" || $3=="failed_onchain" || $3=="execution_reverted_onchain" || $3=="frontran_onchain"' > /work/failed-ops.csv && wc -l /work/failed-ops.csv && head -n 5 /work/failed-ops.csv && tail -n 5 /work/failed-ops.csv 65 /work/failed-ops.csv createdAt,chainId,status,userOpHash,sender,transactionHash,entryPoint,pending,revertReason,policy,costUsd,key 2026-11-16T21:27:20.774Z,8453,execution_reverted_onchain,0x1c39f810b55ef71925c84cba2dde2c9cbb07b48c3d6a877aeb25033f903ca05b,0x8b1b323f9676f2f07c3289f88cca82e2d7f28a31,0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,UserOperation reverted with reason: Ownable: caller is not the owner,sp_brave_banshee,0.066000,production-web 2026-11-16T20:06:33.943Z,84532,execution_reverted_onchain,0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920,0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e,0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,"ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)",sp_amused_arclight,0.022000,fixture-key 2026-11-16T17:47:51.461Z,84532,execution_reverted_onchain,0x500dbfb98c90bb415b527d1f2c3375d70b952b736643f9f7e83bf2a2e1b12233,0xf6f39d5219837781a392e3f243fb902ea5e5a706,0x71d08db36a55a879954f34e4ba990b0cabf52c380cf877dd1eaebf926284fb42,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,ERC20: transfer amount exceeds balance,sp_amused_arclight,0.033000,fixture-key 2026-11-16T14:48:34.656Z,84532,execution_reverted_onchain,0x0299628e6bff7d262ebd81d3d1350eac540aeedadf31b8058a0160559e0df201,0xb6342d6d52a9094a6521d0ce21c08d8f30215c13,0xf0636fcf52533f69a93b778f4bde7253e85b3224015374b777a2d0773f0d7f30,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,ERC20: transfer amount exceeds balance,sp_amused_arclight,0.011000,fixture-key 2026-11-10T09:05:23.000Z,84532,execution_reverted_onchain,0x311aeca9dc16aecbaa5c46410af2e1a9b103a3c477f1bde928475dc92694beaf,0xba7433650a7c1834b8ba63a96a5fbbc2a0de7b1d,0x5fa36a121fc7e1720d1a971d846824c01dd7c8baa531e9c42e68e82a7086e85d,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,ERC20: transfer amount exceeds balance,sp_amused_arcl [… 1463 more characters] | ||
| 17 | agent | Exported all 64 failed user operations from the last 7 days to `/work/failed-ops.csv` (65 lines including the header row): - **`execution_reverted_onchain`**: 57 operations - **`failed_validation`**: 5 operations - **`dropped`**: 2 operations |
Target CLI calls
| # | call | exit | ms | signal |
|---|---|---|---|---|
| 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] | 0 | 189 | |
| 1 | $ 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
| 0 | 140 | |
| 2 | $ pimlico ops --last 7d --all --csv createdAt,chainId,status,userOpHash,sender,transactionHash,entryPoint,pending,revertReason,policy,costUsd,key 2026-11-16T23:22:46.233Z,8453,added_to_mempool,0x8497fe299408a4fa09991e98340e4aeea7b5dc3f0f1315b06debafec4e672e32,0x13f5794d5d1302332ee9a10aaaadb6bd6d20ea54,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_brave_banshee,,production-web 2026-11-16T23:20:00.668Z,42161,added_to_mempool,0xa28c8a8bd1b819283d12ded571613c5506a719dc36b924483bf99f11adeb3dce,0xe408e454496404967a895b0b9e280100a54fb190,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_brave_banshee,,production-web 2026-11-16T23:19:47.140Z,84532,added_to_mempool,0xd5184662105a43f0dd8fd4249e9d1f49bf1e34435a5bd955248d28a8ffbb5165,0x0b9f075fc4919611621314041c022249dd4eaeff,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_amused_arclight,,fixture-key 2026-11-16T22:57:29.754Z,10,included_onchain,0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47,0xbee51ccb71fd291605fbd9df7ed201329cfb892c,0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.044000,production-web 2026-11-16T22:26:19.290Z,42161,included_onchain,0xfc1dd86ea8b188d10e7e97976ec3916bbc1617c88f1a42ff058766be541a9d9a,0xb2d65d63a71218ee93edd843c4d8a762630895bc,0x259ef75ecd8bcb2d5ee074fea45874af5bbf34f53dbacb0d00a66c3a98a267ac,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.077000,production-web 2026-11-16T22:24:22.366Z,8453,included_onchain,0xa6b6f32de6b62ed7b31a97c463a5da4e2121c4558c5e7c52a24a735859ad8770,0xefe5b13ad10401b81f693ddc28e160ff7a017047,0x8f614b11aad637360e6ee7d430fb2f803d3747ad2022a5522498103056580840,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.033000,production-web 2026-11-16T22:20:43.974Z,8453,included_onchain,0x549288ba7616ba569c5f45d08d672d6860febc779c49b879aa8825aaccf6752d,0x31441b45b502e3eccb8ca2ee2dce0289f65867d7,0x109f72c4a13d0415716873b8951b7ea60daa2c4b89057979956321f570ce8fb7,0 [… 188347 more characters] 600 records in 12 pages | 0 | 1406 | |
| 3 | $ 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 6 min ago 5,200 700 2026-06-09 staging active off 2 h ago 840 76 2026-07-19 analytics-readonly active off 17 min ago 3,100 0 2026-08-18 fixture-key active off 27 min ago 2,422 380 2026-10-02 | 0 | 244 | |
| 4 | $ pimlico keys list --help Usage: pimlico keys list [options]
List API keys by name with last use and 30-day traffic (never the keys
themselves)
Options:
--all Include disabled keys
--sort <order> Order by creation date (default) or most recently used first
(choices: "created", "last-used")
-h, --help display help for command
| 0 | 150 | |
| 5 | $ pimlico keys list --all Name Status Boost Last used Req 30d Ops 30d Created legacy-2023 disabled off never (30d) 0 0 2025-10-12 production-web active on 7 min ago 9,000 1,180 2026-04-10 mobile-app active off 7 min ago 5,200 700 2026-06-09 staging active off 2 h ago 840 76 2026-07-19 analytics-readonly active off 18 min ago 3,100 0 2026-08-18 fixture-key active off 28 min ago 2,422 380 2026-10-02 | 0 | 232 | |
| 6 | $ pimlico usage --help Usage: pimlico usage [options]
Requests, API credits and sponsored USD over a window, EVM and Solana
Options:
--last <window> Window to summarize (choices: "24h", "7d", "30d", default:
"24h")
--group <by> Group rows by chain, API key or day (choices: "chain", "key",
"day", default: "chain")
--key <name> Only this API key, by name
--csv Print CSV instead of a table
-h, --help display help for command
| 0 | 129 | |
| 7 | $ pimlico usage --last 7d --json {
"from": "2026-11-09T23:25:22.538Z",
"to": "2026-11-16T23:25:22.538Z",
"groupBy": "chain",
"rows": [
{
"group": "1",
"name": "Ethereum",
"requests": 36,
"apiCredits": 852,
"sponsoredUsd": "8.04"
},
{
"group": "10",
"name": "Optimism",
"requests": 691,
"apiCredits": 10357,
"sponsoredUsd": "2.99"
},
{
"group": "8453",
"name": "Base",
"requests": 3026,
"apiCredits": 55309,
"sponsoredUsd": "15.22"
},
{
"group": "42161",
"name": "Arbitrum One",
"requests": 222,
"apiCredits": 4003,
"sponsoredUsd": "2.57"
},
{
"group": "84532",
"name": "Base Sepolia",
"requests": 673,
"apiCredits": 13814,
"sponsoredUsd": "2.59"
},
{
"group": "11155111",
"name": "Sepolia",
"requests": 89,
"apiCredits": 2117,
"sponsoredUsd": "0.20"
},
{
"group": "solana-devnet",
"name": "Solana devnet",
"requests": 40,
"apiCredits": 256,
"sponsoredUsd": "0.04"
}
],
"totals": {
"requests": 4777,
"apiCredits": 86708,
"sponsoredUsd": "31.65"
},
"warnings": []
}
| 0 | 177 | |
| 8 | $ pimlico op 0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69 User op 0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69 Chain 10 Status dropped (failed) Transaction - Entry point 0x0000000071727De22E5E9d8BAf0edAc6f37da032 Revert reason Dropped from mempool: maxFeePerGas below base fee for 25 blocks Policy sp_brave_banshee Cost - Time Event Transaction 2026-11-11 13:22:47 received - 2026-11-11 13:22:47 queued - 2026-11-11 13:22:47 added_to_mempool - 2026-11-11 13:27:21 dropped - | 0 | 159 | |
| 9 | $ pimlico op 0x128972e3bd7203c7c79f52deb681fc38be42fab23811e789d5321575647739b4 User op 0x128972e3bd7203c7c79f52deb681fc38be42fab23811e789d5321575647739b4 Chain 8453 Status failed_validation (failed) Transaction - Entry point 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789 Revert reason AA25 invalid account nonce Policy sp_breezy_archangel Cost - Time Event Transaction 2026-11-10 20:50:25 received - 2026-11-10 20:50:25 failed_validation - | 0 | 159 | |
| 10 | $ pimlico op 0x1c39f810b55ef71925c84cba2dde2c9cbb07b48c3d6a877aeb25033f903ca05b User op 0x1c39f810b55ef71925c84cba2dde2c9cbb07b48c3d6a877aeb25033f903ca05b Chain 8453 Status execution_reverted_onchain (failed) Transaction 0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d Entry point 0x0000000071727De22E5E9d8BAf0edAc6f37da032 Revert reason UserOperation reverted with reason: Ownable: caller is not the owner Policy sp_brave_banshee Cost $0.066 Time Event Transaction 2026-11-16 21:27:20 received - 2026-11-16 21:27:21 queued - 2026-11-16 21:27:21 added_to_mempool - 2026-11-16 21:27:23 submitted 0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d 2026-11-16 21:27:28 execution_reverted_onchain 0x5ea77bbd156ebb8edabf346a20c5dd00bcd69a87240479463346934fe8271a5d | 0 | 169 | |
| 11 | $ pimlico op 0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69 --json {
"userOpHash": "0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69",
"chainId": 10,
"status": "dropped",
"failed": true,
"transactionHash": null,
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"revertReason": "Dropped from mempool: maxFeePerGas below base fee for 25 blocks",
"policyId": "sp_brave_banshee",
"costUsd": null,
"timeline": [
{
"type": "received",
"at": "2026-11-11T13:22:47.404Z",
"transactionHash": null,
"data": null
},
{
"type": "queued",
"at": "2026-11-11T13:22:47.806Z",
"transactionHash": null,
"data": null
},
{
"type": "added_to_mempool",
"at": "2026-11-11T13:22:47.926Z",
"transactionHash": null,
"data": null
},
{
"type": "dropped",
"at": "2026-11-11T13:27:21.742Z",
"transactionHash": null,
"data": {
"reason": "Dropped from mempool: maxFeePerGas below base fee for 25 blocks"
}
}
],
"warnings": []
}
| 0 | 187 | |
| 12 | $ pimlico ops --last 7d --limit 5 --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:22:46.233Z"
},
{
"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:20:00.668Z"
},
{
"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:47.140Z"
},
{
"userOpHash": "0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47",
"chainId": 10,
"status": "included_onchain",
"pending": false,
"transactionHash": "0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xbee51ccb71fd291605fbd9df7ed201329cfb892c",
"revertReason": null,
"policy": "sp_brave_banshe
[… 772 more characters] | 0 | 259 | |
| 13 | $ pimlico ops --key legacy-2023 --last 7d (none) | 0 | 172 | |
| 14 | $ pimlico ops --last 7d --status dropped --all --csv createdAt,chainId,status,userOpHash,sender,transactionHash,entryPoint,pending,revertReason,policy,costUsd,key 2026-11-14T06:23:55.271Z,8453,dropped,0xf5ce196047d82127a33c41393bc00f4ca371b7cde9d41ab74ea86b518bdae7d2,0x7c70903b697adc6375af652eba93da4a1fcbc62d,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,Dropped from mempool: maxFeePerGas below base fee for 25 blocks,sp_brave_banshee,,production-web 2026-11-11T13:22:47.405Z,10,dropped,0x0e0b8845abe64a529b17f5af738423d4aba3001de30044e90417ddc1fc305f69,0xbee51ccb71fd291605fbd9df7ed201329cfb892c,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,Dropped from mempool: maxFeePerGas below base fee for 25 blocks,sp_brave_banshee,,production-web 2 records in 1 page | 0 | 302 | |
| 15 | $ pimlico ops --last 7d --all --csv createdAt,chainId,status,userOpHash,sender,transactionHash,entryPoint,pending,revertReason,policy,costUsd,key 2026-11-16T23:22:46.233Z,8453,added_to_mempool,0x8497fe299408a4fa09991e98340e4aeea7b5dc3f0f1315b06debafec4e672e32,0x13f5794d5d1302332ee9a10aaaadb6bd6d20ea54,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_brave_banshee,,production-web 2026-11-16T23:20:00.668Z,42161,added_to_mempool,0xa28c8a8bd1b819283d12ded571613c5506a719dc36b924483bf99f11adeb3dce,0xe408e454496404967a895b0b9e280100a54fb190,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_brave_banshee,,production-web 2026-11-16T23:19:47.140Z,84532,added_to_mempool,0xd5184662105a43f0dd8fd4249e9d1f49bf1e34435a5bd955248d28a8ffbb5165,0x0b9f075fc4919611621314041c022249dd4eaeff,,0x0000000071727De22E5E9d8BAf0edAc6f37da032,true,,sp_amused_arclight,,fixture-key 2026-11-16T22:57:29.754Z,10,included_onchain,0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47,0xbee51ccb71fd291605fbd9df7ed201329cfb892c,0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.044000,production-web 2026-11-16T22:26:19.290Z,42161,included_onchain,0xfc1dd86ea8b188d10e7e97976ec3916bbc1617c88f1a42ff058766be541a9d9a,0xb2d65d63a71218ee93edd843c4d8a762630895bc,0x259ef75ecd8bcb2d5ee074fea45874af5bbf34f53dbacb0d00a66c3a98a267ac,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.077000,production-web 2026-11-16T22:24:22.366Z,8453,included_onchain,0xa6b6f32de6b62ed7b31a97c463a5da4e2121c4558c5e7c52a24a735859ad8770,0xefe5b13ad10401b81f693ddc28e160ff7a017047,0x8f614b11aad637360e6ee7d430fb2f803d3747ad2022a5522498103056580840,0x0000000071727De22E5E9d8BAf0edAc6f37da032,false,,sp_brave_banshee,0.033000,production-web 2026-11-16T22:20:43.974Z,8453,included_onchain,0x549288ba7616ba569c5f45d08d672d6860febc779c49b879aa8825aaccf6752d,0x31441b45b502e3eccb8ca2ee2dce0289f65867d7,0x109f72c4a13d0415716873b8951b7ea60daa2c4b89057979956321f570ce8fb7,0 [… 188347 more characters] 600 records in 12 pages | 0 | 1402 |
Final state
outcome
pass
final answer
Exported all 64 failed user operations from the last 7 days to `/work/failed-ops.csv` (65 lines including the header row): - **`execution_reverted_onchain`**: 57 operations - **`failed_validation`**: 5 operations - **`dropped`**: 2 operations
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
webfetch (sandbox)
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.