pub fn token_account(
program: TokenProgram,
mint: Address,
owner: Address,
amount: u64,
) -> AccountDataExpand description
An initialized 165-byte account holding amount of mint. Wrapped SOL under Token gets
is_native = Some(rent) and rent + amount lamports, otherwise SyncNative/transfers revert.
Token-2022 mints whose transfers need account extensions (fee, hook, pausable) need the
real account re-balanced with with_token_amount instead.