Get a chainhook status

Retrieve the status of a specific chainhook through the Hiro Platform.


GET
/v1/ext/{apiKey}/chainhooks/{chainhookUuid}/status

Retrieve a chainhook status

Path Parameters

apiKey
Required
string

Hiro API key

Pattern: "0941f307fd270ace19a5bfed67fbd3bc"

chainhookUuid
Required
string

Chainhook UUID

Pattern: "aa3626dc-2090-49cd-8f1e-8f9994393aed"
Status codeDescription
200Successfully retrieved chainhook status
404Chainhook not found
/v1/ext/{apiKey}/chainhooks/{chainhookUuid}/status

curl -X GET "https://api.platform.hiro.so/v1/ext/{apiKey}/chainhooks/{chainhookUuid}/status"

{
"status": {
"info": {
"expired_at_block_height": 162515,
"last_evaluated_block_height": 162515,
"last_occurrence": 1724075618,
"number_of_blocks_evaluated": 4,
"number_of_times_triggered": 3
},
"type": "confirmed_expiration"
},
"enabled": false
}