区块链服务 BCS-查询区块列表:响应示例

时间:2024-11-14 11:31:35

响应示例

状态码: 200

请求成功

{
  "count" : 2,
  "blocks" : [ {
    "block_height" : 1,
    "transaction_num" : 1,
    "body_hash" : "sDkqoUXCuDPJHBeV5FOpDBh1RygliHVEA0LqhPCZSuk=",
    "parent_hash" : "Pr25oSO7eImsxLFXUgppq3Q76QYcF1Rn6WiSMDkIh+g=",
    "create_time" : "2022-04-26T12:37:16Z"
  }, {
    "block_height" : 0,
    "transaction_num" : 1,
    "body_hash" : "O4UOrSyGzCgeu27+4DINOwTtpEEL+s/rKvXFEQGOuwk==",
    "parent_hash" : "A950LMuE2sjd6Mxys+tO9IVYeQwfdC1RTlRFoCNvgSw=",
    "create_time" : "2022-04-26T12:37:15Z"
  } ]
}
support.huaweicloud.com/api-bcs/ListBlocks_1.html