> ## 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

> How a gated token meets a custodian, how issuer and transfer agent duties divide onchain, and what an asset manager's vault needs before it can hold the token.

<Info>
Every third party that holds a gated Token-2022 mint (a custodian, a transfer
agent, or a vault program) has to support its controls.
</Info>

## Custodian, transfer agent, and vault

**A custodian** holds the asset for someone else, and its systems have to
support the mint's controls;
[custody integration](/developers/docs/tokenization/custody/custody-integration)
lists what to confirm.

**A transfer agent** maintains the holder record. Where the mint is the
register of record, the record of balances is kept onchain and the transfer
agent's onchain authority is a signing key. Where an offchain register governs,
they keep their existing function and may also run the reconciliation that
keeps the mirror from drifting; see
[transfer agent responsibilities](/developers/docs/tokenization/custody/transfer-agent-responsibilities).

**A vault** is a program that holds assets and issues claims against them. It
is subject to the gate like any other holder. Under an allowlist gate, the
addresses that own the accounts it touches have to be allowlisted before the
first deposit; see
[vault architectures](/developers/docs/tokenization/custody/vault-architectures).

## Related

- [Hold a gated token as a custodian](/developers/docs/tokenization/tutorials/custodian):
  the custodian side end to end
- [Prepare a vault for a gated token](/developers/docs/tokenization/tutorials/vault):
  the vault side end to end
