Solana Fee Calculator
All tools

Token-2022 extensions: size and rent

Each Token-2022 extension adds bytes to the mint or to every token account, and every byte raises the rent-exempt deposit. Sizes come from the struct definitions in the token-2022 interface.

The current rent rate: no data yet. The page shows nothing rather than a guess.

Extension sizes

ExtensionOnValue bytesSource file
Transfer feemint108transfer_fee/mod.rs
Mint close authoritymint32mint_close_authority.rs
Default account statemint1default_account_state/mod.rs
Non-transferablemint0non_transferable.rs
Interest-bearingmint52interest_bearing_mint/mod.rs
Permanent delegatemint32permanent_delegate.rs
Transfer hookmint64transfer_hook/mod.rs
Metadata pointermint64metadata_pointer/mod.rs
Group pointermint64group_pointer/mod.rs
Group member pointermint64group_member_pointer/mod.rs
Scaled UI amountmint56scaled_ui_amount/mod.rs
Pausablemint33pausable/mod.rs
Immutable owneraccount0immutable_owner.rs
Required memo on transferaccount1memo_transfer/mod.rs
CPI guardaccount1cpi_guard/mod.rs
Transfer fee amount (withheld)account8transfer_fee/mod.rs
Non-transferable accountaccount0non_transferable.rs
Transfer hook accountaccount1transfer_hook/mod.rs
Pausable accountaccount0pausable/mod.rs

Plus 4 bytes per extension (u16 type, u16 length). Confidential-transfer extensions are left out: their size depends on encryption fields this page does not model.

FAQ

How big is a Token-2022 mint with extensions?

165 bytes (the base, padded to the size of a token account) + 1 byte for the account type + 4 bytes of type and length per extension + the extension's own data. A mint without extensions stays at 82 bytes.

Which extensions make token accounts bigger?

Transfer fee adds a withheld-amount field (8 bytes) to every token account, transfer hook adds 1 byte, non-transferable and pausable add zero-length markers, and accounts created through the associated-token program carry Immutable owner. Each entry also costs 4 bytes of header.

Why is the metadata size variable?

The token-metadata extension stores name, symbol and URI as length-prefixed strings plus optional extra fields, so its size depends on what you write.