Parse a mint account’s on-chain state — including authority, decimals, supply, token program, and Token-2022 extensions.
ParseMint reads a mint account and returns its structured state. It detects whether the mint belongs to the SPL Token or Token-2022 program and returns the appropriate extension or metadata data.ParseMint is a query method — it does not return a SolanaInstruction. No transaction is needed.
Indicates which token program owns this mint. Either TOKEN_PROGRAM_SPL_TOKEN (legacy SPL Token) or TOKEN_PROGRAM_TOKEN_2022 (Token Extensions). See TokenProgram.