Get stackers for signer in PoX cycle
Retrieves a list of stackers for a signer in a PoX cycle.
Path Parameters
cycle_numberinteger
PoX cycle number
signer_keystring
Signer key
Query Parameters
limit?Limit
Results per page
Default
100
Range
value <= 200
offset?Offset
Result offset
Default
0
Response Body
Default Response
TypeScript Definitions
Use the response body type in TypeScript.
limitinteger
offsetinteger
totalinteger
resultsarray<object>
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/stackers?limit=100&offset=0"
fetch("https://api.hiro.so//extended/v2/pox/cycles/0/signers/0x038e3c4529395611be9abf6fa3b6987e81d402385e3d605a073f42f407565a4a3d/stackers?limit=100&offset=0")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so//extended/v2/pox/cycles/0/signers/0x038e3c4529395611be9abf6fa3b6987e81d402385e3d605a073f42f407565a4a3d/stackers?limit=100&offset=0"
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/stackers?limit=100&offset=0"
response = requests.request("GET", url)
print(response.text)
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"stacker_address": "string",
"stacked_amount": "string",
"pox_address": "string",
"stacker_type": "solo"
}
]
}
{
"error": "string",
"message": "string"
}