Get recent reward slot holders
Retrieves a list of the Bitcoin addresses that would validly receive Proof-of-Transfer commitments.
Query Parameters
limit?Limit
max number of items to fetch
Default
96
Range
value <= 250
offset?Offset
Result offset
Default
0
Response Body
Default Response
TypeScript Definitions
Use the response body type in TypeScript.
limitinteger
offsetinteger
totalinteger
resultsarray<BurnchainRewardSlotHolder>
Default Response
TypeScript Definitions
Use the response body type in TypeScript.
errorstring
message?string
[key: string]any
curl -X GET "https://api.hiro.so//extended/v1/burnchain/reward_slot_holders?limit=96&offset=0"
fetch("https://api.hiro.so//extended/v1/burnchain/reward_slot_holders?limit=96&offset=0")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so//extended/v1/burnchain/reward_slot_holders?limit=96&offset=0"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.hiro.so//extended/v1/burnchain/reward_slot_holders?limit=96&offset=0"
response = requests.request("GET", url)
print(response.text)
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"canonical": true,
"burn_block_hash": "string",
"burn_block_height": 0,
"address": "string",
"slot_index": 0
}
]
}
{
"error": "string",
"message": "string"
}