import _axios from "@/utils/request";
export default {
  // 首页数据
  getHomeList: (data) => _axios.fetch("/browser/home-data", data, "POST"),
  // 存证详情
  getEvidenceDetail: (data) =>
    _axios.fetch("/browser/txhash-detail", data, "POST"),
  // 存证列表（存证公示）
  getEvidenceList: (data) => _axios.fetch("/browser/tx-list", data, "POST"),
  // 区块详情
  getBlockDetail: (data) =>
    _axios.fetch("/browser/blockhash-detail", data, "POST"),
  // 区块列表
  getBlockList: (data) => _axios.fetch("/browser/block-list", data, "POST"),
  // 文件列表
  getFileList: (data) => _axios.fetch("/browser/filehash-list", data, "POST"),
  // 文件上链
  uploadFile: (data) => _axios.fetch("/browser/file-add-chain", data, "POST"),
  // 刷新
  refresh: (data) => _axios.fetch("/browser/refresh-file-chain", data, "POST"),
};
