accounts
List hooks for an account
Changed onReturns a list of hooks associated with a given account ID, alias, or EVM address.
get/api/v1/accounts/{idOrAliasOrEvmAddress}/hooks
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/accounts/{idOrAliasOrEvmAddress}/hooks
- Authnone declared
Path parameters
idOrAliasOrEvmAddressstring required
Account alias or account id or evm address
Query parameters
hook.idinteger
The ID of the hook
limitinteger
The maximum number of items to return
order'asc' | 'desc'
The order in which items are listed
Response
OK
Example response
{
"hooks": [
{
"admin_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"contract_id": "0.0.2",
"created_timestamp": "1586567700.453054000",
"extension_point": "ACCOUNT_ALLOWANCE_HOOK",
"hook_id": 1,
"owner_id": "0.0.2",
"timestamp_range": {
"from": "1586567700.453054000",
"to": "1586567700.453054000"
},
"type": "EVM"
}
]
}Changes
- warning
added the new
EVMenum value to the//response property for the response status - info
removed the
LAMBDAenum value from the//response property for the response status
- warning
- info
endpoint added
- info