def GetSpd(ea):
    func = idaapi.get_func(ea)

    if not func:
        return None

    return idaapi.get_spd(func, ea)
Get current delta for the stack pointer
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetSpd