> ## 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) 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

**params\[0]** `0x$\{string\}` *required*

Account address.

**params\[1]** \`\`0x\$\{string}`[]`

Optional. Restrict the response to specific chain IDs (hex-encoded). Omit to return capabilities for all chains available in the wallet store.

## 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`](https://docs.startale.com/api-reference/rpc-methods/wallet-send-calls), uses these capabilities.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.