Signer information for a block

Get signer information for a specific block.


GET
/signer-metrics/v1/block_proposals/{block_hash}

Path Parameters

block_hashBlock hash

Block hash

Pattern"^(0x)?[a-fA-F0-9]{64}$"

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/0xdaf79950c5e8bb0c620751333967cdd62297137cdaf79950c5e8bb0c62075133?limit=25"
fetch("https://api.hiro.so/signer-metrics/v1/block_proposals/0xdaf79950c5e8bb0c620751333967cdd62297137cdaf79950c5e8bb0c62075133?limit=25")
package main

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

func main() {
  url := "https://api.hiro.so/signer-metrics/v1/block_proposals/0xdaf79950c5e8bb0c620751333967cdd62297137cdaf79950c5e8bb0c62075133?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/0xdaf79950c5e8bb0c620751333967cdd62297137cdaf79950c5e8bb0c62075133?limit=25"

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

print(response.text)
{
  "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"
    }
  ]
}