Create a chainhook
Create a chainhook through the Hiro Platform.
POST
/v1/ext/{apiKey}/chainhooks
Create a chainhook
Request Body
bodyRequiredstring
Chainhook predicate configuration
Path Parameters
apiKeyRequiredstring
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"}