Create a chainhook

Create a chainhook through the Hiro Platform.

POST
/v1/ext/{apiKey}/chainhooks

Create a chainhook

Request Body

body
Required
string

Chainhook predicate configuration

Path Parameters

apiKey
Required
string

Hiro API key

Pattern: "0941f307fd270ace19a5bfed67fbd3bc"
Status codeDescription
200Default Response
/v1/ext/{apiKey}/chainhooks

curl -X POST "https://api.platform.hiro.so/v1/ext/{apiKey}/chainhooks" \
  -d '{chainhookPredicate}'

{
  "status": "string",
  "chainhookUuid": "string"
}