Calls the "getCallPoliciesForSigner" function on the contract.
import { getCallPoliciesForSigner } from "thirdweb/extensions/erc7702"; const result = await getCallPoliciesForSigner({ contract, signer: ...,});
function getCallPoliciesForSigner(options: BaseTransactionOptions<GetCallPoliciesForSignerParams>) : Promise<readonly Array<{ constraints: readonly Array<{ condition: number; index: bigint; limit: { limit: bigint; limitType: number; period: bigint }; refValue: `0x${string}` }>; maxValuePerUse: bigint; selector: `0x${string}`; target: string; valueLimit: { limit: bigint; limitType: number; period: bigint } }>>
The options for the getCallPoliciesForSigner function.
let returnType: Promise<readonly Array<{ constraints: readonly Array<{ condition: number; index: bigint; limit: { limit: bigint; limitType: number; period: bigint }; refValue: `0x${string}` }>; maxValuePerUse: bigint; selector: `0x${string}`; target: string; valueLimit: { limit: bigint; limitType: number; period: bigint } }>>
The parsed result of the function call.