Skip to main content

Get granted permissions

ERC-7715 defines an RPC method that returns the granted execution permissions for a wallet. Use the method to get the granted Advanced Permissions for a wallet.

Prerequisites

Request granted permissions

Request the granted Advanced Permissions for a wallet with the Wallet Client's getGrantedExecutionPermissions action.

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

const grantedExecutionPermissions = await walletClient.getGrantedExecutionPermissions()