- APIs
- Platform API
- Status
Get a chainhook status
Retrieve the status of a specific chainhook through the Hiro Platform.
GET
Parameters
Path Parameters
apiKey
REQUIRED
string Hiro API key
chainhookUuid
REQUIRED
string Chainhook UUID
Status code | Description |
---|---|
200 | Successfully retrieved chainhook status |
404 | Chainhook not found |
cURL
curl -L \"https://api.hiro.so/v1/ext/{apiKey}/chainhooks/{chainhookUuid}/status" \-H 'Accept: application/json'
Response
{"status": {"info": {"expired_at_block_height": 144000,"last_evaluated_block_height": 144000,"last_occurrence": 0,"number_of_blocks_evaluated": 0,"number_of_times_triggered": 0},"type": "string"},"enabled": false}