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/1 · ← prev next →

rpc-errors-fixture-key/claude-code-anthropic-claude-opus-5.5/skill/1 · 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
36605
27699 of them cached
Tokens out
1320
written by the model
Cost
$0.08
of the model calls
Wall time
18.8s
from start to the Checks
scenario
rpc-errors-fixture-key
agent
claude-code:anthropic/claude-opus-5.5 · 2.1.318
context
skill
repeat
1 · 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 --bodies --json; echo "exit=$?"
{"createdAt":"2026-11-16T20:53:29.586Z","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":{"jsonrpc":"2.0","id":7811,"method":"eth_sendUserOperation","params":[{"sender":"0x066d2496da5f23ece337368de5a29f2f7b40fa59"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":7811,"error":{"code":-32500,"message":"AA25 invalid account nonce"}}}
{"createdAt":"2026-11-16T20:11:30.861Z","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":{"jsonrpc":"2.0","id":9376,"method":"eth_estimateUserOperationGas","params":[{"sender":"0x3074f3453bf170bfd0c6ff97ad716e9d0a087668"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":9376,"error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"}}}
{"createdAt":"2026-11-16T16:32:53.798Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"b86ce82c6db614bd3d3b6661587fb733","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":{"jsonrpc":"2.0","id":1273,"method":"eth_sendUserOperation","params":[{"sender":"0x73ba488af761aabb04cd09d54dcb6ab6ff742f56"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":1273,"error":{"code":-32603,"message":"Internal error"}}}
{"createdAt":"2026-11-16T15:49:55.572Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"9a5473ea51a3a24668a3b2c98244edfa","key":"f
[… 8308 more characters]
4agent
$ pimlico policies list --json
{
  "policies": [
    {
      "id": "sp_brave_banshee",
      "name": "Production main",
      "active": true,
      "chainIds": [
        8453,
        10,
        42161
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": "5000.00",
      "perUserUsd": "25.00",
      "perOpUsd": "2.00",
      "createdAt": "2026-04-30T23:13:59.255Z",
      "updatedAt": "2026-11-04T23:13:59.255Z"
    },
    {
      "id": "sp_breezy_archangel",
      "name": "Mobile onboarding",
      "active": true,
      "chainIds": [
        8453
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": "5.00",
      "perOpUsd": null,
      "createdAt": "2026-06-19T23:13:59.255Z",
      "updatedAt": "2026-06-19T23:13:59.255Z"
    },
    {
      "id": "sp_amused_arclight",
      "name": "beta-promo",
      "active": true,
      "chainIds": [
        84532
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": null,
      "perOpUsd": "0.50",
      "createdAt": "2026-10-07T23:13:59.255Z",
      "updatedAt": "2026-10-07T23:13:59.255Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:13:59.255Z",
      "endTime": "2026-11-30T23:13:59.255Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:13:59.255Z",
      "updatedAt": "2026-11-08T23:13:59.255Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:13:59.255Z",
      "endTime": "2026-09-17T23:13:59.255Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:13:59.255Z",
      "updatedAt": "2026-09-17T23:13:59.255Z"
    }
  ],
  "warnings": []
[… 2 more characters]
5agent
In the last 24 hours, 16 RPC calls through `fixture-key` failed. All were on Base Sepolia (84532) and they came from 4 different errors:

| # | Method | Error | Count | Times (UTC, Nov 16) |
|---|---|---|---|---|
| 1 | `eth_estimateUserOperationGas` | `-32521` UserOperation reverted during simulation with reason: **ERC20: transfer amount exceeds balance** (HTTP 400) | 7 | 00:29, 01:33, 07:47, 11:02, 14:19, 15:49, 20:11 |
| 2 | `eth_sendUserOperation` | `-32500` **AA25 invalid account nonce** (HTTP 400) | 4 | 06:07, 07:41, 13:50, 20:53 |
| 3 | `pm_sponsorUserOperation` | `-32602` Invalid params: **sponsorship policy sp_bitter_anthem is not active** (HTTP 400) | 3 | 11:23, 11:42, 15:43 |
| 4 | `eth_sendUserOperation` | `-32603` **Internal error** (HTTP 500) | 2 | 15:09 (trace `9a459eef…`), 16:32 (trace `b86ce82c…`) |

**What each one points to:**
- **ERC20 transfer exceeds balance:** the calls being simulated try to move more tokens than the sender holds. Every one came from a different sender, so this looks like a problem in how the app builds these calls, not one account with no funds.
- **AA25 invalid nonce:** the app sent operations with a nonce that was already used or out of order. This usually happens when operations are sent at the same time or a stale nonce is reused.
- **Internal error (500):** this came from Pimlico's side, not the requests. If it keeps happening, send the two trace IDs to Pimlico support.
- **Sponsorship policy errors:** these don't add up. All 3 requests asked for `sp_amused_arclight` ("beta-promo"), which is active and covers Base Sepolia. The error instead names `sp_bitter_anthem` ("Old testnet faucet"), a policy that was turned off on Sep 17 and only covered Sepolia (11155111). So the policy the request asked for isn't the one that was checked. Either `fixture-key` is still tied to the old policy somewhere in its settings, or Pimlico has a bug. I'd run `pimlico keys get fixture-key` next to check, or ask Pimlico support.

These 16 calls used 600 API credits (250 for the 10 at 25 credits, 350 for the 7 at 50 credits).

Target CLI calls

#callexitmssignal
0
$ pimlico requests --key fixture-key --status error --last 24h --all --bodies --json
{"createdAt":"2026-11-16T20:53:29.586Z","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":{"jsonrpc":"2.0","id":7811,"method":"eth_sendUserOperation","params":[{"sender":"0x066d2496da5f23ece337368de5a29f2f7b40fa59"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":7811,"error":{"code":-32500,"message":"AA25 invalid account nonce"}}}
{"createdAt":"2026-11-16T20:11:30.861Z","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":{"jsonrpc":"2.0","id":9376,"method":"eth_estimateUserOperationGas","params":[{"sender":"0x3074f3453bf170bfd0c6ff97ad716e9d0a087668"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":9376,"error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"}}}
{"createdAt":"2026-11-16T16:32:53.798Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"b86ce82c6db614bd3d3b6661587fb733","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":{"jsonrpc":"2.0","id":1273,"method":"eth_sendUserOperation","params":[{"sender":"0x73ba488af761aabb04cd09d54dcb6ab6ff742f56"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":1273,"error":{"code":-32603,"message":"Internal error"}}}
{"createdAt":"2026-11-16T15:49:55.572Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"9a5473ea51a3a24668a3b2c98244edfa","key":"f
[… 8281 more characters]
16 records in 1 page
0202
1
$ pimlico policies list --json
{
  "policies": [
    {
      "id": "sp_brave_banshee",
      "name": "Production main",
      "active": true,
      "chainIds": [
        8453,
        10,
        42161
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": "5000.00",
      "perUserUsd": "25.00",
      "perOpUsd": "2.00",
      "createdAt": "2026-04-30T23:13:59.255Z",
      "updatedAt": "2026-11-04T23:13:59.255Z"
    },
    {
      "id": "sp_breezy_archangel",
      "name": "Mobile onboarding",
      "active": true,
      "chainIds": [
        8453
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": "5.00",
      "perOpUsd": null,
      "createdAt": "2026-06-19T23:13:59.255Z",
      "updatedAt": "2026-06-19T23:13:59.255Z"
    },
    {
      "id": "sp_amused_arclight",
      "name": "beta-promo",
      "active": true,
      "chainIds": [
        84532
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": null,
      "perOpUsd": "0.50",
      "createdAt": "2026-10-07T23:13:59.255Z",
      "updatedAt": "2026-10-07T23:13:59.255Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:13:59.255Z",
      "endTime": "2026-11-30T23:13:59.255Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:13:59.255Z",
      "updatedAt": "2026-11-08T23:13:59.255Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:13:59.255Z",
      "endTime": "2026-09-17T23:13:59.255Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:13:59.255Z",
      "updatedAt": "2026-09-17T23:13:59.255Z"
    }
  ],
  "warnings": []
[… 3 more characters]
0174

Final state

outcome
pass
final answer
In the last 24 hours, 16 RPC calls through `fixture-key` failed. All were on Base Sepolia (84532) and they came from 4 different errors:

| # | Method | Error | Count | Times (UTC, Nov 16) |
|---|---|---|---|---|
| 1 | `eth_estimateUserOperationGas` | `-32521` UserOperation reverted during simulation with reason: **ERC20: transfer amount exceeds balance** (HTTP 400) | 7 | 00:29, 01:33, 07:47, 11:02, 14:19, 15:49, 20:11 |
| 2 | `eth_sendUserOperation` | `-32500` **AA25 invalid account nonce** (HTTP 400) | 4 | 06:07, 07:41, 13:50, 20:53 |
| 3 | `pm_sponsorUserOperation` | `-32602` Invalid params: **sponsorship policy sp_bitter_anthem is not active** (HTTP 400) | 3 | 11:23, 11:42, 15:43 |
| 4 | `eth_sendUserOperation` | `-32603` **Internal error** (HTTP 500) | 2 | 15:09 (trace `9a459eef…`), 16:32 (trace `b86ce82c…`) |

**What each one points to:**
- **ERC20 transfer exceeds balance:** the calls being simulated try to move more tokens than the sender holds. Every one came from a different sender, so this looks like a problem in how the app builds these calls, not one account with no funds.
- **AA25 invalid nonce:** the app sent operations with a nonce that was already used or out of order. This usually happens when operations are sent at the same time or a stale nonce is reused.
- **Internal error (500):** this came from Pimlico's side, not the requests. If it keeps happening, send the two trace IDs to Pimlico support.
- **Sponsorship policy errors:** these don't add up. All 3 requests asked for `sp_amused_arclight` ("beta-promo"), which is active and covers Base Sepolia. The error instead names `sp_bitter_anthem` ("Old testnet faucet"), a policy that was turned off on Sep 17 and only covered Sepolia (11155111). So the policy the request asked for isn't the one that was checked. Either `fixture-key` is still tied to the old policy somewhere in its settings, or Pimlico has a bug. I'd run `pimlico keys get fixture-key` next to check, or ask Pimlico support.

These 16 calls used 600 API credits (250 for the 10 at 25 credits, 350 for the 7 at 50 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