Leitura rápida
Comece pela explicação mais curta e útil antes de aprofundar.
An Anchor account type for CPI interactions with programs that implement a defined interface, allowing a single account type to work with multiple program implementations. For example, InterfaceAccount<'info, TokenAccount> accepts accounts from both the SPL Token Program and Token-2022, since both implement the token interface. This enables programs to be compatible with multiple token standards without separate code paths.