API Status
Displays the status of the API and its current workload.
curl -X GET "https://api.hiro.so/signer-metrics"
fetch("https://api.hiro.so/signer-metrics")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so/signer-metrics"
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"
response = requests.request("GET", url)
print(response.text)
{
"server_version": "signer-metrics-api v0.0.1 (master:a1b2c3)",
"status": "ready",
"chain_tip": {
"block_height": 163541
}
}