数字资产链 DAC-存证信息核验:响应示例

时间:2024-07-15 14:40:02

响应示例

状态码: 200

verify evidence

{
  "name" : "test01",
  "ev_id" : "7484b9b5b4bc11ed87c64a2b0e716f7e",
  "file_hash" : "61135423d6f938fb46932ba2eb2852271e6a3ee20b8c7448e547b96ad72def84",
  "block_hash" : "rPF6EDUVf+lA1ZoCxPyEPWHO7YiMh+YKATstQqumQV0=",
  "block_height" : 1556,
  "create_time" : "1671517527492",
  "tx_id" : "541443bb866c8af826fcdef85d17a17f0bcc4da6373a32e0c5a8a0da9958f71a",
  "platform_name" : "test",
  "data_type" : 1,
  "user_addr" : "0e4f922e897d977d2c0726ea64ef0852653505f0"
}

状态码: 400

Error response

  • {
      "error_code" : "TDE.40000400",
      "error_msg" : "InvokeReq params invalid"
    }
  • {
      "error_code" : "TDE.40010404",
      "error_msg" : "resource not found"
    }

状态码: 500

Error response

{
  "error_code" : "TDE.50010008",
  "error_msg" : "Internal error"
}
support.huaweicloud.com/api-dac/ValidateEvidence.html