Skip to main content

Rotate a chain

POST 

//v1/chain/rotate

Rotate a chain

Request

Body

RotateRequest

    rotateToAddressstring

    The address of the new committee or empty to cancel attempt to rotate

Responses

Chain rotation was requested

Authorization: Authorization

name: Authorizationtype: apiKeydescription: JWT Tokenin: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "/v1/chain/rotate");
request.Headers.Add("Authorization", "<Authorization>");
var content = new StringContent("{\n \"rotateToAddress\": \"rotateToAddress\"\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
Auth
Body
{
  "rotateToAddress": "rotateToAddress"
}
ResponseClear

Click the Send API Request button above and see the response here!