query hash