> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperauth.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# POST /api/bundler

> JSON-RPC proxy for the Pimlico ERC-4337 bundler that validates each method against an allowlist before forwarding UserOperation requests upstream.

Proxy for the Pimlico ERC-4337 bundler. Forwards the JSON-RPC request body to `https://api.pimlico.io/v2/84532/rpc` after validating the method name against an allowlist.

## Allowed methods

| Method                         |
| ------------------------------ |
| `eth_sendUserOperation`        |
| `eth_getUserOperationReceipt`  |
| `eth_estimateUserOperationGas` |
| `pm_sponsorUserOperation`      |
| `eth_supportedEntryPoints`     |

## Request body

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendUserOperation",
  "params": [...]
}
```

## Status codes

| Code  | Condition                                   |
| ----- | ------------------------------------------- |
| `200` | Method allowed; upstream response forwarded |
| `403` | Method not in allowlist                     |
| `405` | Non-POST request                            |
