
    In a fraud detection system analyzing transaction patterns, develop a function that identifies the next perfect square amount above a given squared transaction value, as perfect square patterns help detect potential fraudulent sequences. The function should take a reference squared transaction value N and return the smallest perfect square that is greater than N.
    

    
import math

def next_Perfect_Square(N):
    """
    In a fraud detection system analyzing transaction patterns, develop a function that identifies the next perfect square amount above a given squared transaction value, as perfect square patterns help detect potential fraudulent sequences. The function should take a reference squared transaction value N and return the smallest perfect square that is greater than N.
    

    """
import math

def next_Perfect_Square(N):
    """
    In a fraud detection system analyzing transaction patterns, develop a function that identifies the next perfect square amount above a given squared transaction value, as perfect square patterns help detect potential fraudulent sequences. The function should take a reference squared transaction value N and return the smallest perfect square that is greater than N.
    

    """
    nextN = math.floor(math.sqrt(N)) + 1
    return nextN * nextN