Retrieve Validator Details
GEThttps://staking-api.coredao.org//staking/status/validators
Returns detail information of all validators.
Request
Responses
- 200
- 400
Validator details retrieved successfully.
- application/json
- Schema
- Example (auto)
Schema
codestring
Code indicating the success of the operation.
messagestring
Additional information or message about the response.
data object
{
"code": "string",
"message": "string",
"data": {
"inactiveValidatorCount": 0,
"activeValidatorCount": 0,
"validatorsList": [
{
"stakedHashAmount": 0,
"realtimeHashAmount": 0,
"stakedBTCScore": 0,
"stakedCoreScore": 0,
"estimatedBTCRewardRate": 0,
"realtimeHashScore": 0,
"description": "string",
"realtimeCoreAmount": 0,
"stakedCoreAmount": 0,
"stakedHashScore": 0,
"realtimeCoreScore": 0,
"rewardAddress": "string",
"consensusAddress": "string",
"stakedBTCAmount": 0,
"name": "string",
"logo": "string",
"operatorAddress": "string",
"realtimeBTCScore": 0,
"hybridScore": 0,
"estimatedCoreRewardRate": 0,
"realtimeBTCAmount": 0,
"status": 0
}
],
"realtimeBtcAmount": "string",
"status": 0
}
}
An error occurred while retrieving validator details.
- application/json
- Schema
- Example (auto)
Schema
codestring
Error code for the operation.
messagestring
Error message explaining the issue.
{
"code": "string",
"message": "string"
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://staking-api.coredao.org/staking/status/validators");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear