Stake distribution
GET /epochs/:number/stakes
Return the active stake distribution for the specified epoch.
Request
Path Parameters
number integer required
Number of the epoch
Example: 225
Query Parameters
count integer
Possible values: >= 1
and <= 100
Default value: 100
The number of results displayed on one page.
page integer
Possible values: >= 1
and <= 21474836
Default value: 1
The page number for listing the results.
Responses
- 200
- 400
- 403
- 404
- 418
- 429
- 500
Return the data about the epoch
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
stake_address string required
Stake address
pool_id string required
Bech32 prefix of the pool delegated to
amount string required
Amount of active delegated stake in Lovelaces
[
{
"stake_address": "stake1u9l5q5jwgelgagzyt6nuaasefgmn8pd25c8e9qpeprq0tdcp0e3uk",
"pool_id": "pool1pu5jlj4q9w9jlxeu370a3c9myx47md5j5m2str0naunn2q3lkdy",
"amount": "4440295078"
}
]
Bad request
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 400,
"error": "Bad Request",
"message": "Backend did not understand your request."
}
Authentication secret is missing or invalid
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 403,
"error": "Forbidden",
"message": "Invalid project token."
}
Component not found
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 404,
"error": "Not Found",
"message": "The requested component has not been found."
}
IP has been auto-banned for extensive sending of requests after usage limit has been reached
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 418,
"error": "Requested Banned",
"message": "IP has been auto-banned for flooding."
}
Usage limit reached
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 429,
"error": "Project Over Limit",
"message": "Usage is over limit."
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 500,
"error": "Internal Server Error",
"message": "An unexpected response was received from the backend."
}
Loading...