add index_type to blockchain::fetch_history(...)