Calls the "getPermissionsForSigner" function on the contract.
import { getPermissionsForSigner } from "thirdweb/extensions/erc4337"; const result = await getPermissionsForSigner({ contract, signer: ...,});
function getPermissionsForSigner(options: BaseTransactionOptions<GetPermissionsForSignerParams>) : Promise<{ approvedTargets: readonly Array<string>; endTimestamp: bigint; nativeTokenLimitPerTransaction: bigint; signer: string; startTimestamp: bigint }>
The options for the getPermissionsForSigner function.
let options: BaseTransactionOptions<GetPermissionsForSignerParams>;
let returnType: Promise<{ approvedTargets: readonly Array<string>; endTimestamp: bigint; nativeTokenLimitPerTransaction: bigint; signer: string; startTimestamp: bigint }>
The parsed result of the function call.