getPermissionsForSigner

Calls the "getPermissionsForSigner" function on the contract.

Example

import { getPermissionsForSigner } from "thirdweb/extensions/erc4337";
const result = await getPermissionsForSigner({
contract,
signer: ...,
});

Parameters

Returns

The parsed result of the function call.