Anchor provides strongly-typed account wrappers for common Solana account patterns.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/solana-foundation/anchor/llms.txt
Use this file to discover all available pages before exploring further.
Account<‘info, T>
Wrapper for program-owned accounts with automatic validation and deserialization.- Account owner is the current program
- Account discriminator matches type T
- Account data deserializes to type T
Signer<‘info>
Verifies an account signed the transaction.is_signeris true
SystemAccount<‘info>
Represents a native Solana account owned by the System Program.Program type
Verifies an account is an executable program.- Account is executable
- Account key matches expected program ID
UncheckedAccount<‘info>
RawAccountInfo with no automatic checks.