PoX Cycle Signer
Get stats for a specific signer in a given PoX cycle.
Path Parameters
cycle_numberinteger
PoX cycle number
signer_idstring
Signer public key (hex encoded)
Response Body
curl -X GET "https://api.hiro.so/signer-metrics/v1/cycles/0/signers/string"
fetch("https://api.hiro.so/signer-metrics/v1/cycles/0/signers/string")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so/signer-metrics/v1/cycles/0/signers/string"
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/cycles/0/signers/string"
response = requests.request("GET", url)
print(response.text)
{
"signer_key": "string",
"slot_index": 0,
"weight": 0,
"weight_percentage": 0,
"stacked_amount": "string",
"stacked_amount_percent": 0,
"stacked_amount_rank": 0,
"proposals_accepted_count": 0,
"proposals_rejected_count": 0,
"proposals_missed_count": 0,
"average_response_time_ms": 0,
"last_seen": "string",
"version": "string"
}
{
"error": "string"
}