const Component = () => {
  const {
    mutate: revokeSessionKey,
    isLoading,
    error,
  } = useRevokeSessionKey();
  if (error) {
    console.error("failed to revoke session key", error);
  }
  return (
    <button
      disabled={isLoading}
      onClick={() => revokeSessionKey("0x...")}
    >
      Revoke Session Key
    </button>
  );
};
Account
Generated using TypeDoc
Revoke a session key on the smart wallet