Saltar al contenido principal

Retrieve Overall Staking Data on Core Blockchain

GET 

https://staking-api.test2.btcs.network//staking/summary/overall

Returns overall staking data on the Core blockchain, including information on validators, stakers, and amounts staked.

Request

Responses

Overall staking data retrieved successfully.

Schema
    statusinteger

    Status code of the response.

    messagestring

    Additional information or message about the response.

    result object
    latestRoundinteger

    The latest staking round number.

    activeValidatorCountinteger

    The number of active validators in the staking network.

    coreStakerCountinteger

    The number of CORE stakers in the network.

    stakedCoreAmountinteger

    The total amount of CORE staked in the network.

    btcStakerCountinteger

    The number of BTC stakers in the network.

    stakedBTCAmountinteger

    The total amount of BTC staked in the network.

    hashStakerCountinteger

    The number of HASH stakers in the network.

    stakedHashAmountinteger

    The total amount of HASH staked in the network.

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://staking-api.test2.btcs.network/staking/summary/overall");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://staking-api.test2.btcs.network
ResponseClear

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