查询一条蚂蚁区块链的交易统计信息(仅适用于阿里云国内站)。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeAntChainTransactionStatisticsV2 |
系统规定参数。取值:DescribeAntChainTransactionStatisticsV2。 |
AntChainId | String | 是 | 8bd720bde18c4b37b0f4a1c7834db163 |
区块链ID |
Start | Long | 否 | 1609084800000 |
统计开始时间 |
End | Long | 否 | 1609776000000 |
统计结束时间 |
ConsortiumId | String | 否 | M8GaMEyX |
联盟ID |
返回数据
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeAntChainTransactionStatisticsV2
&<公共请求参数>
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<RequestId>EC6752BA-90E9-4B03-94D5-126021CB8D61</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Code>OK</Code>
<ResultCode>OK</ResultCode>
<Success>true</Success>
<Result>
<Dt>1609171200000</Dt>
<CreatTime>1609258222000</CreatTime>
<TransCount>4</TransCount>
<LastSumBlockHeight>11511</LastSumBlockHeight>
</Result>
<Result>
<Dt>1609257600000</Dt>
<CreatTime>1609344622000</CreatTime>
<TransCount>0</TransCount>
<LastSumBlockHeight>40306</LastSumBlockHeight>
</Result>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "EC6752BA-90E9-4B03-94D5-126021CB8D61",
"HttpStatusCode" : "200",
"Code" : "OK",
"ResultCode" : "OK",
"Success" : true,
"Result" : [ {
"Dt" : 1609171200000,
"CreatTime" : 1609258222000,
"TransCount" : 4,
"LastSumBlockHeight" : 11511
}, {
"Dt" : 1609257600000,
"CreatTime" : 1609344622000,
"TransCount" : 0,
"LastSumBlockHeight" : 40306
} ]
}
错误码
访问错误中心查看更多错误码。