Get a specific chainhook
Get a specific chainhook through the Hiro Platform.
curl -X GET "https://api.platform.hiro.so/v1/ext/0941f307fd270ace19a5bfed67fbd3bc/chainhooks/aa3626dc-2090-49cd-8f1e-8f9994393aed"
fetch("https://api.platform.hiro.so/v1/ext/0941f307fd270ace19a5bfed67fbd3bc/chainhooks/aa3626dc-2090-49cd-8f1e-8f9994393aed")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.platform.hiro.so/v1/ext/0941f307fd270ace19a5bfed67fbd3bc/chainhooks/aa3626dc-2090-49cd-8f1e-8f9994393aed"
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/0941f307fd270ace19a5bfed67fbd3bc/chainhooks/aa3626dc-2090-49cd-8f1e-8f9994393aed"
response = requests.request("GET", url)
print(response.text)
{}
Empty