> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Custody integration

> How a gated token meets a custodian: the custody models available, and what a custodian must support to hold your asset.

<Info>
Custodian support for Token-2022 varies by extension, and a custodian's address
has to be on the allowlist before it can hold a gated asset. Without both, the
custodian cannot hold the asset for its clients.
</Info>

## What a gated token requires of a custodian

The custodian's system has to create a token account that starts frozen, get
that account thawed against your gate, and keep working when the issuer
exercises controls the custodian does not hold: a pause, a freeze, or a forced
transfer.

## The custody models

| Model                     | Who holds the keys                                  | Applies when                                                                  |
| ------------------------- | --------------------------------------------------- | ----------------------------------------------------------------------------- |
| **Qualified custodian**   | A regulated third party, on the holder's behalf     | A regulatory obligation requires it, or holders will not self-custody         |
| **Self-custody with HSM** | The institution, in its own hardware                | Treasury and issuer-side keys: your mint and permanent delegate authorities   |
| **MPC or threshold**      | Split across parties; no single complete key exists | Operational control must be shared without a single point of compromise       |
| **Exchange-held**         | A venue, as an operational balance                  | Trading balances, not long-term holdings                                      |

These are not exclusive, and an issuance can use more than one: a qualified
custodian for holders, and an HSM or MPC arrangement for the issuer's own
authorities. For the issuer-side keys,
[choosing a backend](/developers/docs/tools/keychain/choosing-a-backend) and
[production best practices](/developers/docs/tools/keychain/production-best-practices)
cover the mechanics of each backend; this page is about the holder side.

## What to confirm with a custodian

**Asset support**

- Token-2022 mints, with support confirmed for each extension you enable.
- Accounts that are frozen on creation. Some systems treat a frozen account as
  an error state and will not create or display one.
- Confidential Balances, if enabled; see
  [privacy and transfer controls](/developers/docs/tokenization/compliance/privacy-and-transfer-controls)
  for what a custodian's systems need to support.

**Onboarding to the gate**

- Which address the custodian will hold the asset at, and whether it is stable
  or rotates. An allowlist entry is per address, so a custodian that rotates
  deposit addresses needs a different arrangement from one that does not.
- Whether they can supply that address ahead of the first transfer, so it can
  be allowlisted before any mint is attempted.
- Who at the custodian requests allowlisting, and your service level for acting
  on it.

**Issuer controls**

- Behavior when you freeze an account they hold. Do they detect it and alert,
  and can they still report the balance?
- Behavior under a pause of the whole token.
- Behavior when a permanent delegate moves a balance out of an account they
  hold. From the custodian's side, an asset has left the account without their
  instruction, so their reconciliation process needs a category for a movement
  the issuer started, distinct from an unexplained loss or error.
- A custodian watching the issuer's authorities as a control may treat an
  unannounced rotation as an incident.
- A custodian sees a pause only by monitoring the mint.

**Reporting**

- Whether they can report holdings at a specific slot or commitment level
  rather than "now."
  [Reconciliation](/developers/docs/tokenization/custody/transfer-agent-responsibilities#reconciliation)
  against your register of record depends on it.

## Related

- [Add Solana to your exchange](/developers/docs/defi/exchange) covers running
  a node, deposit and withdrawal handling, offline accounts, and validating
  withdrawals, most of which applies to a custodian.
- [Keychain](/developers/docs/tools/keychain) covers signer backends and
  production key handling for the keys you hold yourself.
- [Transfer agent responsibilities](/developers/docs/tokenization/custody/transfer-agent-responsibilities):
  how issuer and transfer agent duties divide
- [Hold a gated token as a custodian](/developers/docs/tokenization/tutorials/custodian):
  the flow end to end
