Get API Status
Retrieves the status of the API.
curl -X GET "https://api.hiro.so/runes/v1"
fetch("https://api.hiro.so/runes/v1")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.hiro.so/runes/v1"
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/runes/v1"
response = requests.request("GET", url)
print(response.text)
{
"server_version": "",
"status": "string",
"block_height": 0
}