Solana IDL reference › SPL Token › Token account
SPL Token account type. Program ID TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA. SPL Token accounts have no discriminator: the data starts with the first field.
A token account (holds a balance of one mint for one owner). 165 bytes for SPL Token. Token-2022 accounts with extensions add an account-type byte (2 = Account) at offset 165, then TLV extension entries.
| Field | Type | Offset | Size |
|---|---|---|---|
| mint | pubkey | 0 | 32 |
| owner | pubkey | 32 | 32 |
| amount | u64 | 64 | 8 |
| delegate | COption<pubkey> | 72 | 36 |
| state | AccountState | 108 | 1 |
| is_native | COption<u64> | 109 | 12 |
| delegated_amount | u64 | 121 | 8 |
| close_authority | COption<pubkey> | 129 | 36 |
Decoding runs on Rugsight's server against the bundled snapshot. Nothing is fetched from the chain. Paste public account data only; never paste a private key or seed phrase.
SPL Token instructions · Explain a transaction
Data: solana-idls@1.2.1 (MIT, © Obsidian Protocol) and SPL Token / Token-2022 state layouts (Apache-2.0), snapshot 2026-11-17. Programs can upgrade and an IDL snapshot can lag the deployed program, so check important offsets against current account data.