# HCA

> For the complete documentation index, see [llms.txt](https://ensforge.com/llms.txt).

Browse every action of the experimental @ensforge/hca package by domain, plus the route and executors that send hosted contract account calls.

Source: https://ensforge.com/docs/reference/hca

<ApiMeta summary="21 actions · 2 domains" since="1.0.0" source="packages/hca/src" />

<Callout type="info" title="Experimental">
`@ensforge/hca` is experimental: its API can change in a minor release.
</Callout>

Every action of `@ensforge/hca`, by domain, and the executors that send them.

<Cards>
<Card title="Executors" href="/docs/reference/hca/executors" description="The HCA route, the executors and their options." />
</Cards>

## [hca](/docs/reference/hca/hca) [#hca]

| Action | Description |
| --- | --- |
| [`addDeposit`](/docs/reference/hca/hca/add-deposit) | Adds ETH to an HCA's ERC-4337 EntryPoint deposit. |
| [`authorizeSession`](/docs/reference/hca/hca/authorize-session) | Asks the owner to approve a session key for their HCA, with one signature and no transaction. |
| [`checkSessionCalls`](/docs/reference/hca/hca/check-session-calls) (batchable) | Checks calls against the HCA session policy before anything is signed. |
| [`deploy`](/docs/reference/hca/hca/deploy) | Deploys the signer's HCA through the ENS factory. |
| [`execute`](/docs/reference/hca/hca/execute) | Runs calls from the signer's HCA as one atomic execution. |
| [`get`](/docs/reference/hca/hca/get) (batchable) | Reads an ENS HCA (Hosted Contract Account): its address, owner, implementation, session nonce and verification problems. |
| [`getDeposit`](/docs/reference/hca/hca/get-deposit) (batchable) | Reads an HCA's ERC-4337 EntryPoint deposit, which pays for its UserOperations without a paymaster. |
| [`getSession`](/docs/reference/hca/hca/get-session) (batchable) | Checks whether a stored HCA session can still be used. |
| [`getUpgrade`](/docs/reference/hca/hca/get-upgrade) (batchable) | Checks whether an HCA may upgrade to an implementation: it must be in the DAO's upgrade set and accept the current implementation. |
| [`predictAddress`](/docs/reference/hca/hca/predict-address) (batchable) | Computes the address of an owner's ENS HCA, deployed or not. |
| [`revokeSessions`](/docs/reference/hca/hca/revoke-sessions) | Invalidates every session approval of the signer's HCA. |
| [`upgrade`](/docs/reference/hca/hca/upgrade) | Upgrades the signer's HCA to an implementation the DAO's upgrade set and its own `canUpgradeFrom` check allow. |
| [`verify`](/docs/reference/hca/hca/verify) (batchable) | Checks that an address is a usable ENS HCA of its owner, and returns it. |
| [`withdrawDeposit`](/docs/reference/hca/hca/withdraw-deposit) | Withdraws ETH from the signer's HCA EntryPoint deposit. |

## [hcaAdmin](/docs/reference/hca/hca-admin) [#hcaadmin]

| Action | Description |
| --- | --- |
| [`getGovernance`](/docs/reference/hca/hca-admin/get-governance) (batchable) | Reads who governs ENS HCAs: the factory owner and whether implementations are approved. |
| [`grantUpgradeSetRoles`](/docs/reference/hca/hca-admin/grant-upgrade-set-roles) | Grants root roles on the HCA upgrade set (role admins only). |
| [`renounceGovernance`](/docs/reference/hca/hca-admin/renounce-governance) | Renounces ownership of the HCA factory, freezing its implementation approvals (factory owner only). |
| [`revokeUpgradeSetRoles`](/docs/reference/hca/hca-admin/revoke-upgrade-set-roles) | Revokes root roles on the HCA upgrade set (role admins only). |
| [`setDeploymentApproval`](/docs/reference/hca/hca-admin/set-deployment-approval) | Approves or revokes an implementation for new HCA deployments (factory owner only). |
| [`setUpgradeApproval`](/docs/reference/hca/hca-admin/set-upgrade-approval) | Approves or revokes an implementation in the HCA upgrade set (role holders only). |
| [`transferGovernance`](/docs/reference/hca/hca-admin/transfer-governance) | Transfers ownership of the HCA factory (factory owner only). |