getHooks
Get all installed hooks.
Usage
const hooks = await getHooks({
client,
account,
})
Parameters
client
- Type:
PublicClient
The rpc client to use for the chain you want to query.
account
- Type:
Account
The account to get the hooks for.
Returns
hooks
An array of all installed hooks.