Aller directement au menu principal

Retrieve Validator Details

GET 

https://staking-api.test2.btcs.network//staking/status/validators

Returns detail information of all validators.

Request

Responses

Validator details retrieved successfully.

Schema
    codestring

    Code indicating the success of the operation.

    messagestring

    Additional information or message about the response.

    data object
    inactiveValidatorCountinteger

    The number of inactive validators.

    activeValidatorCountinteger

    The number of active validators.

    validatorsList object[]

    List of detailed information for each validator.

  • Array [
  • stakedHashAmountinteger

    Total amount of HASH staked by the validator.

    realtimeHashAmountinteger

    Real-time HASH amount for the validator.

    stakedBTCScoreinteger

    Staked BTC score for the validator.

    stakedCoreScoreinteger

    Staked CORE score for the validator.

    estimatedBTCRewardRateinteger

    Estimated BTC reward rate for the validator.

    realtimeHashScoreinteger

    Real-time HASH score for the validator.

    descriptionstring

    Description of the validator.

    realtimeCoreAmountinteger

    Real-time CORE amount for the validator.

    stakedCoreAmountinteger

    Total amount of CORE staked by the validator.

    stakedHashScoreinteger

    Staked HASH score for the validator.

    realtimeCoreScoreinteger

    Real-time CORE score for the validator.

    rewardAddressstring

    Address to receive rewards for the validator.

    consensusAddressstring

    Consensus address of the validator.

    stakedBTCAmountinteger

    Total amount of BTC staked by the validator.

    namestring

    Name of the validator.

    logostring

    Logo or image URL of the validator.

    operatorAddressstring

    Operator address of the validator.

    realtimeBTCScoreinteger

    Real-time BTC score for the validator.

    hybridScoreinteger

    Hybrid score combining metrics of the validator.

    estimatedCoreRewardRateinteger

    Estimated CORE reward rate for the validator.

    realtimeBTCAmountinteger

    Real-time BTC amount for the validator.

    statusinteger

    Status of the validator (e.g., active, inactive).

  • ]
  • realtimeBtcAmountstring

    Real time BTC amount.

    statusinteger

    Integer indicating status.

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://staking-api.test2.btcs.network/staking/status/validators");
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!