Get all chainhooks

Returns all chainhooks registered by the current user

GET
Hiro API key

Parameters

Query Parameters

offset
integer Result offset
limit
integer Results per page
Status codeDescription
200Default Response
cURL
curl -L \
"https://api.mainnet.hiro.so/chainhooks/v1/me/?offset={offset}&limit={limit}" \
-H 'Accept: application/json'
Response
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"uuid": "string",
"definition": {
"name": "string",
"version": "1",
"chain": "stacks",
"network": "mainnet",
"filters": {
"events": [
{
"type": "balance_change",
"principal": "SP318Q55DEKHRXJK696033DQN5C54D9K2EE6DHRWP"
}
]
},
"options": {
"enable_on_registration": false,
"expire_after_evaluations": 0,
"expire_after_occurrences": 0,
"decode_clarity_values": false,
"include_contract_abi": false,
"include_contract_source_code": false,
"include_post_conditions": false,
"include_raw_transactions": false,
"include_block_signatures": false,
"include_block_metadata": false
},
"action": {
"type": "http_post",
"url": "https://example.com"
}
},
"status": {
"status": "new",
"enabled": false,
"created_at": 0,
"last_evaluated_at": 0,
"last_evaluated_block_height": 144000,
"last_occurrence_at": 0,
"last_occurrence_block_height": 144000,
"evaluated_block_count": 0,
"occurrence_count": 0
}
}
]
}

How is this guide?