Get all chainhooks
Get all of your chainhooks through the Hiro Platform.
curl -X GET "https://api.platform.hiro.so/v1/ext/string/chainhooks"
fetch("https://api.platform.hiro.so/v1/ext/string/chainhooks")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.platform.hiro.so/v1/ext/string/chainhooks"
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.platform.hiro.so/v1/ext/string/chainhooks"
response = requests.request("GET", url)
print(response.text)
[
{}
]