changed getcurrentblock to blockchain