Aggregated signer information for a block
Get aggregated signer information for a specific block.
curl -X GET "https://api.hiro.so/signer-metrics/v1/blocks/latest"
fetch("https://api.hiro.so/signer-metrics/v1/blocks/latest")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so/signer-metrics/v1/blocks/latest"
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/latest"
response = requests.request("GET", url)
print(response.text)
{
"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
}
}