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

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

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

checks

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

reproduce

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

Transcript highlighted = a Signal fired

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

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

# The `pimlico` CLI

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

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

## Commands

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

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

## Things to know

- **Policies are addressed by id**, not name: find the `sp_…` id with
  `pimlico policies list` first. Policy amounts are in USD
  (`--budget-usd`, `--per-user-usd`, `--per-op-usd`); `--chains` takes
  comma-separated chain ids (Base is 8453, Optimism 10, Base Sepolia 84532).
  Dates (`--start`, `--end`) are ISO 8601.
- **API keys are addressed by name.** `keys create` prints the new key's
  secret once; save it then. `keys disable` cannot be undone from the CLI.
  Names only need to be unique among active keys.
- **Logs are paginated.** `ops` and `requests` print 50 records per page and a
  `nextCursor`; pass `--all` to walk every page (up to `--max`, 1000 by
  default; with `--json` it prints one JSON object per line). `--csv` prints
  CSV. Both default to the last 24h; widen with `--last 7d` or `--last 30d`.
- **`ops --status` takes one status.** A failed operation is any of
  `failed_validation`, `dropped`, `failed_onchain`,
  `execution_reverted_onchain` and `frontran_onchain`; query each, or fetch
  them all and filter. Operations rejected on submission never become
  operations: look for them with
  `pimlico requests --method eth_sendUserOperation --status error`.
- **Why did an oper
[… 78 more characters]
3agent
$ pimlico requests --key fixture-key --status error --last 24h --all --json 2>&1 | head -200
{"createdAt":"2026-11-16T20:59:37.816Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"cad313d437db11b3d416ecff4fa2654e","key":"fixture-key","error":{"code":-32500,"message":"AA25 invalid account nonce"},"request":null,"response":null}
{"createdAt":"2026-11-16T20:17:39.091Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"5b4f6f62f532147d14fc2d163dcbb546","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":null,"response":null}
{"createdAt":"2026-11-16T16:39:02.028Z","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:56:03.802Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"9a5473ea51a3a24668a3b2c98244edfa","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":null,"response":null}
{"createdAt":"2026-11-16T15:49:42.889Z","chainId":84532,"method":"pm_sponsorUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"2d13aa36a3d6f6d4df1a1495e6e38481","key":"fixture-key","error":{"code":-32602,"message":"Invalid params: sponsorship policy sp_bitter_anthem is not active"},"request":null,"response":null}
{"createdAt":"2026-11-16T15:15:23.926Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"9a459eef575b5b6682dca3e8966a97a2","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":null,"response":null}
{"createdAt":
[… 3494 more characters]
4agent
$ pimlico policies get sp_bitter_anthem --json 2>&1 | head -50
{
  "id": "sp_bitter_anthem",
  "name": "Old testnet faucet",
  "active": false,
  "chainIds": [
    11155111
  ],
  "startTime": "2026-07-19T23:20:07.485Z",
  "endTime": "2026-09-17T23:20:07.485Z",
  "budgetUsd": "100.00",
  "perUserUsd": null,
  "perOpUsd": null,
  "createdAt": "2026-07-09T23:20:07.485Z",
  "updatedAt": "2026-09-17T23:20:07.485Z",
  "description": null,
  "public": false,
  "restrictUsageToOwner": true,
  "resetCronExpression": null,
  "globalMaximumOpCount": null,
  "perUserMaximumOpCount": null,
  "globalMaximumNative": null,
  "perUserMaximumNative": null,
  "perOpMaximumNative": null,
  "addressAllowlist": null,
  "addressBlocklist": null,
  "webhook": {
    "enabled": false,
    "endpoint": null,
    "secret": "b07512503f98ea8390ac69574826d5a783f40b770331d8ca8b24a42cc5d48118"
  },
  "onchainCall": {
    "enabled": false,
    "address": null,
    "functionName": null
  },
  "effectiveCaps": {
    "budgetUsd": "100.00",
    "perUserUsd": null,
    "perOpUsd": null,
    "globalMaximumOpCount": null,
    "perUserMaximumOpCount": null,
    "accountOverdraftLimitUsd": "250.00"
  },
  "warnings": []
}
5agent
16 RPC calls through `fixture-key` failed in the last 24 hours. All were on Base Sepolia (84532), and they fall into five errors:

| Count | Method | Error | Times (UTC, Nov 16) |
|---|---|---|---|
| 7 | `eth_estimateUserOperationGas` | -32521 `UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance` | 00:36, 01:39, 07:53, 11:09, 14:25, 15:56, 20:17 |
| 4 | `eth_sendUserOperation` | -32500 `AA25 invalid account nonce` | 06:13, 07:48, 13:56, 20:59 |
| 3 | `pm_sponsorUserOperation` | -32602 `Invalid params: sponsorship policy sp_bitter_anthem is not active` | 11:29, 11:48, 15:49 |
| 2 | `eth_sendUserOperation` | -32603 `Internal error` (HTTP 500) | 15:15, 16:39 |

What each one likely means:

- **ERC20 balance reverts (7):** the operations being estimated try to transfer more of a token than the sending account holds. Either fund the account or fix the transfer amount on your side.
- **AA25 nonce (4):** the client is sending operations with an old or duplicate nonce. This usually happens when several operations are sent at once, or a retry goes out after the first one already landed.
- **Inactive policy (3):** the client still uses `sp_bitter_anthem` ("Old testnet faucet"). I looked it up: it's disabled, it ended on 2026-09-17, and it only covered Ethereum Sepolia (11155111), not Base Sepolia. Turning it back on wouldn't fix these calls. The client needs to point at a current policy for Base Sepolia.
- **Internal errors (2):** these failed on Pimlico's side, not because of your input. If you contact Pimlico support, give them trace IDs `9a459eef575b5b6682dca3e8966a97a2` and `b86ce82c6db614bd3d3b6661587fb733`.

The 14 client errors (HTTP 400) were still charged API credits.

Target CLI calls

#callexitmssignal
0
$ pimlico requests --key fixture-key --status error --last 24h --all --json
{"createdAt":"2026-11-16T20:59:37.816Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"cad313d437db11b3d416ecff4fa2654e","key":"fixture-key","error":{"code":-32500,"message":"AA25 invalid account nonce"},"request":null,"response":null}
{"createdAt":"2026-11-16T20:17:39.091Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"5b4f6f62f532147d14fc2d163dcbb546","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":null,"response":null}
{"createdAt":"2026-11-16T16:39:02.028Z","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:56:03.802Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"9a5473ea51a3a24668a3b2c98244edfa","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":null,"response":null}
{"createdAt":"2026-11-16T15:49:42.889Z","chainId":84532,"method":"pm_sponsorUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"2d13aa36a3d6f6d4df1a1495e6e38481","key":"fixture-key","error":{"code":-32602,"message":"Invalid params: sponsorship policy sp_bitter_anthem is not active"},"request":null,"response":null}
{"createdAt":"2026-11-16T15:15:23.926Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"9a459eef575b5b6682dca3e8966a97a2","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":null,"response":null}
{"createdAt":
[… 3474 more characters]
16 records in 1 page
0186
1
$ pimlico policies get sp_bitter_anthem --json
{
  "id": "sp_bitter_anthem",
  "name": "Old testnet faucet",
  "active": false,
  "chainIds": [
    11155111
  ],
  "startTime": "2026-07-19T23:20:07.485Z",
  "endTime": "2026-09-17T23:20:07.485Z",
  "budgetUsd": "100.00",
  "perUserUsd": null,
  "perOpUsd": null,
  "createdAt": "2026-07-09T23:20:07.485Z",
  "updatedAt": "2026-09-17T23:20:07.485Z",
  "description": null,
  "public": false,
  "restrictUsageToOwner": true,
  "resetCronExpression": null,
  "globalMaximumOpCount": null,
  "perUserMaximumOpCount": null,
  "globalMaximumNative": null,
  "perUserMaximumNative": null,
  "perOpMaximumNative": null,
  "addressAllowlist": null,
  "addressBlocklist": null,
  "webhook": {
    "enabled": false,
    "endpoint": null,
    "secret": "b07512503f98ea8390ac69574826d5a783f40b770331d8ca8b24a42cc5d48118"
  },
  "onchainCall": {
    "enabled": false,
    "address": null,
    "functionName": null
  },
  "effectiveCaps": {
    "budgetUsd": "100.00",
    "perUserUsd": null,
    "perOpUsd": null,
    "globalMaximumOpCount": null,
    "perUserMaximumOpCount": null,
    "accountOverdraftLimitUsd": "250.00"
  },
  "warnings": []
}
0176

Final state

outcome
pass
final answer
16 RPC calls through `fixture-key` failed in the last 24 hours. All were on Base Sepolia (84532), and they fall into five errors:

| Count | Method | Error | Times (UTC, Nov 16) |
|---|---|---|---|
| 7 | `eth_estimateUserOperationGas` | -32521 `UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance` | 00:36, 01:39, 07:53, 11:09, 14:25, 15:56, 20:17 |
| 4 | `eth_sendUserOperation` | -32500 `AA25 invalid account nonce` | 06:13, 07:48, 13:56, 20:59 |
| 3 | `pm_sponsorUserOperation` | -32602 `Invalid params: sponsorship policy sp_bitter_anthem is not active` | 11:29, 11:48, 15:49 |
| 2 | `eth_sendUserOperation` | -32603 `Internal error` (HTTP 500) | 15:15, 16:39 |

What each one likely means:

- **ERC20 balance reverts (7):** the operations being estimated try to transfer more of a token than the sending account holds. Either fund the account or fix the transfer amount on your side.
- **AA25 nonce (4):** the client is sending operations with an old or duplicate nonce. This usually happens when several operations are sent at once, or a retry goes out after the first one already landed.
- **Inactive policy (3):** the client still uses `sp_bitter_anthem` ("Old testnet faucet"). I looked it up: it's disabled, it ended on 2026-09-17, and it only covered Ethereum Sepolia (11155111), not Base Sepolia. Turning it back on wouldn't fix these calls. The client needs to point at a current policy for Base Sepolia.
- **Internal errors (2):** these failed on Pimlico's side, not because of your input. If you contact Pimlico support, give them trace IDs `9a459eef575b5b6682dca3e8966a97a2` and `b86ce82c6db614bd3d3b6661587fb733`.

The 14 client errors (HTTP 400) were still charged API credits.
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
WebFetch (sandbox) · WebSearch (provider)

context inputs

kindsourceplaced atofferedused
skillskills/pimlico.claude/skills/pimlicotruetrue

prompt

You have the `pimlico` CLI available.

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

Artifacts

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