Skip to main content
type RevokeSpendPermissionOptions = {
  evmSmartAccount: EvmAddress;
  network: SpendPermissionNetwork;
  permissionHash: string;
  useCdpPaymaster?: boolean;
  paymasterUrl?: string;
};
Input for revoking a spend permission.

Properties

PropertyTypeDescription
evmSmartAccountEvmAddressThe EVM Smart Account to revoke the spend permission for.
networkSpendPermissionNetworkThe network to revoke the spend permission on.
permissionHashstringThe hash of the spend permission to revoke.
useCdpPaymaster?booleanWhether to use the CDP Paymaster for the user operation. Only available on Base. Enabled by default on Base Sepolia.
paymasterUrl?stringThe URL of the paymaster to use for the user operation.