> For the complete documentation index, see [llms.txt](/llms.txt).

# Get granted permissions

[ERC-7715](https://eip.tools/eip/7715) defines an RPC method that returns the granted execution permissions for a wallet. Use the method to get the granted [Advanced Permissions](/smart-accounts-kit/development/reference/glossary#advanced-permissions)**Advanced Permissions** Fine-grained, wallet execution permissions that dapps can request from MetaMask extension users. Based on ERC-7715. for a wallet.

## Prerequisites[​](#prerequisites "Direct link to Prerequisites")

- [Install and set up the Smart Accounts Kit.](/smart-accounts-kit/development/get-started/install/)
- [Learn about Advanced Permissions.](/smart-accounts-kit/development/concepts/advanced-permissions/)

## Request granted permissions[​](#request-granted-permissions "Direct link to Request granted permissions")

Request the granted Advanced Permissions for a wallet with the Wallet Client's [getGrantedExecutionPermissions](/smart-accounts-kit/development/reference/advanced-permissions/wallet-client/#getgrantedexecutionpermissions) action.

- response.ts
- example.ts
- config.ts

```
[
  {
    chainId: 84532,
    context: "0x0000...0000",
    delegationManager: "0xdb9B1e94B5b69Df7e401DDbedE43491141047dB3",
    dependencies: [],
    from: "0x993fC0d346A8AfA40Da014bA8834A56cE8B17f31",
    permission: {
      type: "erc20-token-periodic",
      isAdjustmentAllowed: false,
      data: { ... },
    },
    rules: [
      { type: "expiry", data: { ... } },
    ],
    to: "0xAB57cfCDaF510594eA68D47ffBEF04Ebf73e7F1f",
  },
  // ...
]

```

```
import { walletClient } from './config.ts'

const grantedExecutionPermissions = await walletClient.getGrantedExecutionPermissions()

```

```
import { createWalletClient, custom } from 'viem'
import { erc7715ProviderActions } from '@metamask/smart-accounts-kit/actions'

export const walletClient = createWalletClient({
  transport: custom(window.ethereum),
}).extend(erc7715ProviderActions())

```
