EIP-7715 Account with permissions
Last updated
type BasePermission = {
type: string; // 权限类型,如 erc20-token-periodic
isAdjustmentAllowed: boolean; // 钱包是否允许用户调整请求额度
data: Record<string, unknown>; // 类型相关参数
};type ExpiryRule = {
type: "expiry";
data: { timestamp: number }; // Unix 秒级时间戳
};rules: [{ type: "expiry", data: { timestamp: 1735689600 } }];optionalMethods: [
"wallet_requestExecutionPermissions",
"wallet_getSupportedExecutionPermissions",
"wallet_getGrantedExecutionPermissions",
];