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

# wallet_getCapabilities

> Discover which capabilities (atomic batching, paymaster service, sub-accounts) the wallet supports for a given account and chain.

Returns the capability map for the connected account on one or more chains. Per EIP-5792.

## Request

```ts theme={null}
const caps = await provider.request({
  method: 'wallet_getCapabilities',
  params: [address, ['0x74c']], // optional chain filter
})
```

## Parameters

<ParamField path="params[0]" type="`0x${string}`" required>
  Account address.
</ParamField>

<ParamField path="params[1]" type="`0x${string}`[]">
  Optional. Restrict the response to specific chain IDs (hex-encoded). Omit to return capabilities for all chains available in the wallet store.
</ParamField>

## Returns

```ts theme={null}
{
  '0x74c': {
    atomic: { status: 'supported' },
    paymasterService: { supported: true },
    // ...
  },
}
```

A map keyed by hex chain ID.

## Errors

| Code   | Cause                |
| ------ | -------------------- |
| `4100` | Wallet not connected |

## Related

* [`wallet_sendCalls`](/api-reference/rpc-methods/wallet-send-calls), uses these capabilities.
