---
eip: 7902
label: ERC-7902
title: Wallet Capabilities for Account Abstraction
status: Draft
type: Standards Track
category: ERC
created: 2025-03-01
requires: 5792, 7702
official: https://eips.ethereum.org/EIPS/eip-7902
source: https://github.com/ethereum/ERCs/blob/master/ERCS/erc-7902.md
canonical: https://eips.huatuo.xyz/eip-7902/
lang: en
tldr: A set of EIP-5792 wallet capabilities that let account-abstraction-aware dApps pass paymaster data, validity windows, nonce keys, gas overrides and even EIP-7702 delegation requests to the wallet.
tags: [account-abstraction, wallet, json-rpc, paymaster, 7702]
---

# ERC-7902: Wallet Capabilities for Account Abstraction

> EIP-5792 Capabilities allowing dApps and wallets to exchange all AA specific UserOp fields

**TL;DR:** A set of EIP-5792 wallet capabilities that let account-abstraction-aware dApps pass paymaster data, validity windows, nonce keys, gas overrides and even EIP-7702 delegation requests to the wallet.

## What problem does it solve?

[ERC-4337](/eip-4337/) made smart contract accounts practical, and [ERC-7769](/eip-7769/) defines a low-level RPC for bundlers. But a dApp talking to a user's wallet had no standard way to say "use this paymaster", "make this operation valid only until noon" or "use this nonce key". Each AA wallet needed custom integration.

[EIP-5792](/eip-5792/) already gives dApps `wallet_sendCalls` with an extensible `capabilities` object. ERC-7902 defines a handful of AA-specific capabilities on top of it, so the same request works across AA wallets that support them.

## How it works

All calls in a batch run on one chain, atomically. The proposal defines five capabilities:

| Identifier | What the dApp supplies |
| --- | --- |
| `eip7702Auth` | An EOA `account` and a `delegation` address; the wallet produces an [EIP-7702](/eip-7702/) authorization setting that account's code to the delegation |
| `staticPaymasterConfiguration` | `paymaster`, `paymasterData`, and paymaster validation / post-op gas limits, for paymasters that need no dynamic lookup |
| `validityTimeRange` | `validAfter` / `validUntil` timestamps (seconds); the wallet must show them to the user and the account must enforce them |
| `multiDimensionalNonce` | `nonceKey` and `nonceSequence`, the two parts of the ERC-4337 semi-abstracted nonce |
| `accountAbstractionGasParamsOverride` | Any of `preVerificationGas`, `verificationGasLimit`, `callGasLimit`, paymaster gas limits, `maxFeePerGas`, `maxPriorityFeePerGas` |

All numeric values are hex strings. Gas overrides are optional field by field; the wallet should warn the user when overrides are present and may reject conflicting configurations. The spec recommends that production dApps rely on wallet defaults rather than raw gas overrides.

Paymasters that need a web service are covered separately by [ERC-7677](/eip-7677/).

## Sample code

A `wallet_sendCalls` request using two of the capabilities (addresses are placeholders):

```json
{
  "method": "wallet_sendCalls",
  "params": [{
    "version": "2.0.0",
    "chainId": "0x1",
    "from": "0xUserAccount...",
    "atomicRequired": true,
    "calls": [{ "to": "0xTarget...", "data": "0x..." }],
    "capabilities": {
      "validityTimeRange": {
        "validAfter": "0x0",
        "validUntil": "0x6a000000"
      },
      "staticPaymasterConfiguration": {
        "paymaster": "0xPaymaster...",
        "paymasterData": "0x",
        "paymasterValidationGasLimit": "0x186a0",
        "paymasterPostOpGasLimit": "0xc350"
      }
    }
  }]
}
```

Before sending, a dApp should call `wallet_getCapabilities` (EIP-5792) to see which of these the wallet supports.

## Things to know

- Status is **Draft**; the Rationale section is still empty.
- `eip7702Auth` is the most dangerous capability: a malicious `delegation` can drain the account. Wallets must restrict it to a short list of well-known, audited account implementations.
- A malicious `staticPaymasterConfiguration` can also be an attack vector (for example a paymaster holding token approvals), so wallets must check the values match user intent.
- For fine-grained session permissions, see [ERC-7715](/eip-7715/).


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7902
