added api command: getPubkeyByHash