Aggregated signer information for most recent blocks
Get aggregated signer information for most recent blocks.
Query Parameters
limitinteger
Number of results to return
Default
100
offsetinteger
Number of results to skip
Default
0
Response Body
curl -X GET "https://api.hiro.so/signer-metrics/v1/blocks?limit=100"
fetch("https://api.hiro.so/signer-metrics/v1/blocks?limit=100")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so/signer-metrics/v1/blocks?limit=100"
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/signer-metrics/v1/blocks?limit=100"
response = requests.request("GET", url)
print(response.text)
{
"total": 0,
"limit": 0,
"offset": 0,
"results": [
{
"block_height": 0,
"block_hash": "string",
"block_time": 0,
"index_block_hash": "string",
"burn_block_height": 0,
"tenure_height": 0,
"signer_data": {
"cycle_number": 0,
"total_signer_count": 0,
"accepted_count": 0,
"rejected_count": 0,
"missing_count": 0,
"accepted_excluded_count": 0,
"average_response_time_ms": 0,
"block_proposal_time_ms": 0,
"accepted_stacked_amount": "string",
"rejected_stacked_amount": "string",
"missing_stacked_amount": "string",
"accepted_weight": 0,
"rejected_weight": 0,
"missing_weight": 0
}
}
]
}