查詢一條螞蟻區塊鏈的賬戶列表(僅適用于阿里云國內站)。
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
請求參數
名稱 | 類型 | 是否必選 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeAntChainAccountsV2 |
系統規定參數。取值:DescribeAntChainAccountsV2。 |
PageSize | Integer | 是 | 10 |
每頁數量 |
PageNumber | Integer | 是 | 1 |
頁面編號,從1開始 |
AntChainId | String | 是 | 區塊鏈ID |
區塊鏈ID |
ConsortiumId | String | 否 | M8GaMEyX |
聯盟ID |
返回數據
名稱 | 類型 | 示例值 | 描述 |
---|---|---|---|
HttpStatusCode | String | 200 |
請求返回碼 |
RequestId | String | D68D66B6-1964-4073-8714-B49F5EF1AEFC |
請求ID |
Success | Boolean | true |
結果狀態 |
ResultMessage | String | OK |
結果消息 |
Code | String | OK |
返回碼 |
Message | String | OK |
請求消息 |
ResultCode | String | OK |
結果碼 |
Result | Object |
請求結果 |
|
Accounts | Array of Accounts |
賬戶信息 |
|
AccountPublicKey | String | 2aa43bae103b6840ce8efdfe6f3fe5e52f8d1db0f44ff762df87ba17eb209979a0e22c934b2728c6c1bab864a6da52de60c5da89793bd839650a1a153e876e32 |
賬戶公鑰 |
Account | String | test |
賬戶名 |
AccountRecoveryKey | String | 5a36312d78681794258bb33372586c676adf150ad69e67dbfcaae61bba3607705950bc9efe1bf4a17ac24b05b1615a410e48d2a005dca251c6173495bb47ae29 |
賬戶恢復公鑰 |
AccountStatus | String | NORMAL |
狀態 |
AntChainId | String | 8bd720bde18c4b37b0f4a1c7834db163 |
區塊鏈ID |
Pagination | Object |
分頁信息 |
|
PageSize | Integer | 10 |
每頁數量 |
PageNumber | Integer | 1 |
當前頁面編號,從1開始 |
TotalCount | Integer | 100 |
總數 |
示例
請求示例
http(s)://[Endpoint]/?Action=DescribeAntChainAccountsV2
&<公共請求參數>
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<RequestId>3375F3B1-9F1D-42B8-B492-5BBBE62408BD</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Code>OK</Code>
<ResultCode>OK</ResultCode>
<Success>true</Success>
<Result>
<Pagination>
<TotalCount>2</TotalCount>
<PageSize>10</PageSize>
<PageNumber>1</PageNumber>
</Pagination>
<Accounts>
<Account>test</Account>
<AccountStatus>NORMAL</AccountStatus>
<AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>
<AccountRecoveryKey>5a36312d78681794258bb33372586c676adf150ad69e67dbfcaae61bba3607705950bc9efe1bf4a17ac24b05b1615a410e48d2a005dca251c6173495bb47ae29</AccountRecoveryKey>
<AccountPublicKey>2aa43bae103b6840ce8efdfe6f3fe5e52f8d1db0f44ff762df87ba17eb209979a0e22c934b2728c6c1bab864a6da52de60c5da89793bd839650a1a153e876e32</AccountPublicKey>
</Accounts>
<Accounts>
<Account>test1</Account>
<AccountStatus>NORMAL</AccountStatus>
<AntChainId>8bd720bde18c4b37b0f4a1c7834db163</AntChainId>
<AccountRecoveryKey>2d2f0906643f68cd412b0f81448974a5a4407f254e54258752babd281dc7dcd2eedaed48446ecfab79944ab0817acc43be7c07898e9be8eaf4d771f001eaf764</AccountRecoveryKey>
<AccountPublicKey>2d2f0906643f68cd412b0f81448974a5a4407f254e54258752babd281dc7dcd2eedaed48446ecfab79944ab0817acc43be7c07898e9be8eaf4d771f001eaf764</AccountPublicKey>
</Accounts>
</Result>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "3375F3B1-9F1D-42B8-B492-5BBBE62408BD",
"HttpStatusCode" : "200",
"Code" : "OK",
"ResultCode" : "OK",
"Success" : true,
"Result" : {
"Pagination" : {
"TotalCount" : 2,
"PageSize" : 10,
"PageNumber" : 1
},
"Accounts" : [ {
"Account" : "test",
"AccountStatus" : "NORMAL",
"AntChainId" : "8bd720bde18c4b37b0f4a1c7834db163",
"AccountRecoveryKey" : "5a36312d78681794258bb33372586c676adf150ad69e67dbfcaae61bba3607705950bc9efe1bf4a17ac24b05b1615a410e48d2a005dca251c6173495bb47ae29",
"AccountPublicKey" : "2aa43bae103b6840ce8efdfe6f3fe5e52f8d1db0f44ff762df87ba17eb209979a0e22c934b2728c6c1bab864a6da52de60c5da89793bd839650a1a153e876e32"
}, {
"Account" : "test1",
"AccountStatus" : "NORMAL",
"AntChainId" : "8bd720bde18c4b37b0f4a1c7834db163",
"AccountRecoveryKey" : "2d2f0906643f68cd412b0f81448974a5a4407f254e54258752babd281dc7dcd2eedaed48446ecfab79944ab0817acc43be7c07898e9be8eaf4d771f001eaf764",
"AccountPublicKey" : "2d2f0906643f68cd412b0f81448974a5a4407f254e54258752babd281dc7dcd2eedaed48446ecfab79944ab0817acc43be7c07898e9be8eaf4d771f001eaf764"
} ]
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。