Get fungible token holders
Retrieves the list of fungible token holders for a given token ID.
Path Parameters
tokenstring
fungible token identifier
Query Parameters
limit?Limit
max number of holders to fetch
Default
100
Range
value <= 200
offset?Offset
index of first holder to fetch
Default
0
Response Body
Default Response
TypeScript Definitions
Use the response body type in TypeScript.
total_supplystring
The total supply of the token (the sum of all balances)
limitinteger
offsetinteger
totalinteger
resultsarray<FtHolderEntry>
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/tokens/ft/string/holders?limit=100&offset=0"
fetch("https://api.hiro.so//extended/v1/tokens/ft/string/holders?limit=100&offset=0")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so//extended/v1/tokens/ft/string/holders?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/v1/tokens/ft/string/holders?limit=100&offset=0"
response = requests.request("GET", url)
print(response.text)
{
"total_supply": "5817609278457",
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"address": "SP3G2QZHYDZPJ2FBN2V2MB74T5ZQ6FQK2P5QJ2K6",
"balance": "174823763"
}
]
}
{
"error": "string",
"message": "string"
}