Get stacking pool members
Retrieves the list of stacking pool members for a given delegator principal.
Path Parameters
poxstring & string & string
pool_principalstring
Address principal of the stacking pool delegator
Query Parameters
limit?Limit
Results per page
Default
100
Range
value <= 200
offset?Offset
Result offset
Default
0
after_block?integer
If specified, only delegation events after the given block will be included
Range
1 <= value
height?integer
Range
1 <= value
unanchored?boolean
Include data from unanchored (i.e. unconfirmed) microblocks
Default
false
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/v1/pox2/SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11/delegations?limit=100&offset=0&after_block=1&height=1&unanchored=true"
fetch("https://api.hiro.so//extended/v1/pox2/SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11/delegations?limit=100&offset=0&after_block=1&height=1&unanchored=true")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so//extended/v1/pox2/SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11/delegations?limit=100&offset=0&after_block=1&height=1&unanchored=true"
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/v1/pox2/SPSCWDV3RKV5ZRN1FQD84YE1NQFEDJ9R1F4DYQ11/delegations?limit=100&offset=0&after_block=1&height=1&unanchored=true"
response = requests.request("GET", url)
print(response.text)
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"stacker": "string",
"pox_addr": "string",
"amount_ustx": "string",
"burn_block_unlock_height": 0,
"block_height": 0,
"tx_id": "string"
}
]
}
{
"error": "string",
"message": "string"
}