Skip to main content
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.

Request

Base58-encoded public key (string)
required
The mint account address to parse.

Response

MintInfo (object)
required
Core mint account fields.
TokenProgram (enum)
required
Indicates which token program owns this mint. Either TOKEN_PROGRAM_SPL_TOKEN (legacy SPL Token) or TOKEN_PROGRAM_TOKEN_2022 (Token Extensions). See TokenProgram.
Token2022Extension[] (repeated)
Token-2022 extensions configured on this mint. Empty for SPL Token mints.
MetaplexTokenMetadata (object)
Metaplex on-chain metadata. Only present for SPL Token mints that were created with CreateSPLTokenMint and included metadata.

Code Examples