accounts
Get hook storage slots
Returns a list of hook storage slots associated with a given hook.
get/api/v1/accounts/{idOrAliasOrEvmAddress}/hooks/{hookId}/storage
Path parameters
idOrAliasOrEvmAddressstring required
Account alias or account id or evm address
hookIdinteger required
The ID of the hook
Query parameters
keystring
Example:eq:0x00000000000000000000000000000000000000000000000000000000000f9a10
A string representing a pair of operator:address of a hook storage entry
limitinteger
The maximum number of items to return
order'asc' | 'desc'
The order in which items are listed
timestampstring[]
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.
Response
OK
Example response
{
"hook_id": 1,
"owner_id": "0.0.2",
"storage": [
{
"key": "0x00000000000000000000000000000000000000000000000000000000000f9a17",
"value": "0x00000000000000000000000000000000000000000000000000000000000f9a17",
"timestamp": "1586567700.453054000"
}
]
}