Create a chainhook
Create a chainhook through the Hiro Platform.
POST
/v1/ext/{apiKey}/chainhooks
Create a chainhook
Request Body
body
Requiredstring
Chainhook predicate configuration
Path Parameters
apiKey
Requiredstring
Hiro API key
Pattern:"0941f307fd270ace19a5bfed67fbd3bc"
Status code | Description |
---|---|
| Default Response |
Terminal
$curl -X POST "https://api.platform.hiro.so/v1/ext/{apiKey}/chainhooks" \-d '{chainhookPredicate}'
{"status": "string","chainhookUuid": "string"}