get agreement hash from realm