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

    if not func:
        return 0
    else:
        return idaapi.get_frame_size(func)
Get full size of function frame
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetFrameSize