Get signer in PoX cycle
Retrieves details for a signer in a PoX cycle.
Path Parameters
cycle_numberinteger
PoX cycle number
signer_keystring
Signer key
Response Body
Default Response
TypeScript Definitions
Use the response body type in TypeScript.
signing_keystring
signer_addressstring
The Stacks address derived from the signing_key.
weightinteger
stacked_amountstring
weight_percentnumber
stacked_amount_percentnumber
solo_stacker_countinteger
The number of solo stackers associated with this signer.
pooled_stacker_countinteger
The number of pooled stackers associated with this signer.
Default Response
TypeScript Definitions
Use the response body type in TypeScript.
errorstring
message?string
[key: string]any
curl -X GET "https://api.hiro.so//extended/v2/pox/cycles/0/signers/0x038e3c4529395611be9abf6fa3b6987e81d402385e3d605a073f42f407565a4a3d"
fetch("https://api.hiro.so//extended/v2/pox/cycles/0/signers/0x038e3c4529395611be9abf6fa3b6987e81d402385e3d605a073f42f407565a4a3d")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so//extended/v2/pox/cycles/0/signers/0x038e3c4529395611be9abf6fa3b6987e81d402385e3d605a073f42f407565a4a3d"
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//extended/v2/pox/cycles/0/signers/0x038e3c4529395611be9abf6fa3b6987e81d402385e3d605a073f42f407565a4a3d"
response = requests.request("GET", url)
print(response.text)
{
"signing_key": "string",
"signer_address": "string",
"weight": 0,
"stacked_amount": "string",
"weight_percent": 0,
"stacked_amount_percent": 0,
"solo_stacker_count": 0,
"pooled_stacker_count": 0
}
{
"error": "string",
"message": "string"
}