Signer information for most recent block proposals

Get signer information for most recent block proposals.


GET
/signer-metrics/v1/block_proposals

Query Parameters

limitinteger

Number of results to return

Default25
Range1 <= value <= 50
offsetinteger

Number of results to skip

Default0

Response Body

curl -X GET "https://api.hiro.so/signer-metrics/v1/block_proposals?limit=25"
fetch("https://api.hiro.so/signer-metrics/v1/block_proposals?limit=25")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api.hiro.so/signer-metrics/v1/block_proposals?limit=25"

  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/block_proposals?limit=25"

response = requests.request("GET", url)

print(response.text)
{
  "limit": 0,
  "offset": 0,
  "results": [
    {
      "received_at": "string",
      "block_height": 0,
      "block_hash": "string",
      "index_block_hash": "string",
      "burn_block_height": 0,
      "block_time": 0,
      "cycle_number": 0,
      "status": "pending",
      "push_time_ms": {},
      "total_signer_count": 0,
      "total_signer_weight": 0,
      "total_signer_stacked_amount": "string",
      "accepted_count": 0,
      "rejected_count": 0,
      "missing_count": 0,
      "accepted_weight": 0,
      "rejected_weight": 0,
      "missing_weight": 0,
      "signer_data": [
        {
          "signer_key": "string",
          "slot_index": 0,
          "response": "accepted",
          "weight": 0,
          "weight_percentage": 0,
          "stacked_amount": "string",
          "version": "string",
          "received_at": "string",
          "response_time_ms": 0,
          "reason_string": "string",
          "reason_code": "string",
          "reject_code": "string"
        }
      ]
    }
  ]
}