查询一条蚂蚁区块链的基本信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeAntChainInformation

系统规定参数。取值:DescribeAntChainInformation

AntChainId String pYogqb9v

区块链ID

RegionId String cn-hangzhou

地域ID

返回数据

名称 类型 示例值 描述
RequestId String 91246411-C7E9-4EFD-9074-3939AEDFC1BB

请求ID

Result Object

请求结果

TransactionSum Integer 42

交易总数

Version String 0.10.2.4.7

区块链版本

BlockHeight Integer 365236

区块链高度

CreateTime Long 1562847396000

创建时戳

NodeNumber Integer 4

节点总数

AbnormalNodes Integer 0

异常节点数

AntChainId String pYogqb9v

区块链ID

Normal Boolean true

运行状态

NodeInfos Array of NodeInfos

节点信息

Status Boolean true

节点状态:

  • true:节点正常
  • false:节点异常
NodeName String 121.199.195.8 18130

节点地址

Version String 0.10

运行版本

BlockHeight Long 365216

区块链高度

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeAntChainInformation
&<公共请求参数>

正常返回示例

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "code" : "200",
  "data" : {
    "RequestId" : "91246411-C7E9-4EFD-9074-3939AEDFC1BB",
    "Result" : {
      "AntChainId" : "pYogqb9v",
      "Version" : "0.10.2.4.7",
      "CreateTime" : 1562847396000,
      "AbnormalNodes" : 0,
      "Normal" : true,
      "IsRole" : false,
      "NodeNumber" : 4,
      "BlockHeight" : 365236,
      "NodeInfos" : [ {
        "Status" : true,
        "Version" : "0.10",
        "NodeName" : "121.199.195.8 18130",
        "BlockHeight" : 365216
      }, {
        "Status" : true,
        "Version" : "0.10",
        "NodeName" : "121.199.195.8 18132",
        "BlockHeight" : 365216
      }, {
        "Status" : true,
        "Version" : "0.10",
        "NodeName" : "121.199.195.8 18133",
        "BlockHeight" : 365216
      }, {
        "Status" : true,
        "Version" : "0.10",
        "NodeName" : "121.199.195.8 18131",
        "BlockHeight" : 365216
      } ],
      "TransactionSum" : 42
    }
  },
  "requestId" : "91246411-C7E9-4EFD-9074-3939AEDFC1BB",
  "successResponse" : true
}