Solana IDL reference › SPL Token › Token account

Token account account layout

SPL Token account type. Program ID TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA. SPL Token accounts have no discriminator: the data starts with the first field.

Notes

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.

Fields

FieldTypeOffsetSize
mintpubkey032
ownerpubkey3232
amountu64648
delegateCOption<pubkey>7236
stateAccountState1081
is_nativeCOption<u64>10912
delegated_amountu641218
close_authorityCOption<pubkey>12936

Decode account data

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.

Other SPL Token account types

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.