You can call this operation to create a consortium in Ant Blockchain.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
ConsortiumName | String | Yes | ConsortiumNameExample |
The name of the consortium to create. |
Action | String | No | CreateAntChainConsortium |
The operation that you want to perform. Set the value to CreateAntChainConsortium. |
ConsortiumDescription | String | No | ConsortiumDescriptionExample |
The description of the consortium to create. |
RegionId | String | No | cn-hangzhou |
The ID of the region where Ant Blockchain is used. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5 |
The ID of the request. |
Result |
The result of the operation. |
||
ConsortiumId | String | A28nO1ow |
The ID of the created consortium. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=CreateAntChainConsortium
&<Common request parameters>
Sample success responses
JSON
format
{
"successResponse":true,
"requestId":"87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5",
"data":{
"Result":{
"ConsortiumId":"A28nO1ow"
},
"RequestId":"87FAFC6B-E7AE-4626-B7F7-AE0B88E612D5"
},
"code":"200"
}
Error codes
For a list of error codes, visit the API Error Center.