Track history opening
null chain access
some safety checks for api methods