How to check if a Solana token's mint authority is revoked

"Mint authority revoked" means nobody can ever print more of the token. "Freeze authority revoked" means nobody can freeze your tokens in your wallet. Both are fields on the token's mint account, and you can read them yourself with one RPC call, no explorer and no API key.

What the two authorities can do

FieldIf set, its holder canRevoked looks like
mintAuthorityMint any amount of new tokens, diluting every holdernull
freezeAuthorityFreeze any token account, so its owner cannot sell or move itnull

A memecoin that still has either one live is a risk. A regulated stablecoin like USDC keeps both on purpose. The field is the fact; what it means depends on who holds it.

Working code, zero dependencies

getAccountInfo with encoding: "jsonParsed" decodes the mint for you. Save as check-mint.mjs and run node check-mint.mjs <mint>. The free public mainnet RPC serves this method, so no key is needed.

// check-mint.mjs: node check-mint.mjs <mint>. Node 20+, no dependencies
const RPC = process.env.SOLANA_RPC_URL || "https://api.mainnet-beta.solana.com";
const mint = process.argv[2] ?? "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"; // BONK

const res = await fetch(RPC, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "getAccountInfo", params: [mint, { encoding: "jsonParsed" }] }),
});
const { result, error } = await res.json();
if (error) throw new Error(`RPC error ${error.code}: ${error.message}`);
const parsed = result.value?.data?.parsed;
if (parsed?.type !== "mint") throw new Error("not a token mint");

const { mintAuthority, freezeAuthority, supply, decimals } = parsed.info;
console.log("program:         ", result.value.data.program); // "spl-token" or "spl-token-2022"
console.log("mint authority:  ", mintAuthority ?? "revoked");
console.log("freeze authority:", freezeAuthority ?? "revoked");
console.log("supply:          ", supply, "raw units,", decimals, "decimals");

// Token-2022 mints can carry more powers than the two classic authorities
for (const ext of parsed.info.extensions ?? []) {
  if (["permanentDelegate", "transferFeeConfig", "transferHook", "mintCloseAuthority", "pausableConfig"].includes(ext.extension)) {
    console.log("extension:       ", ext.extension, JSON.stringify(ext.state));
  }
}

Three real mints:

$ node check-mint.mjs DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
program:          spl-token
mint authority:   revoked
freeze authority: revoked
supply:           8799429331529188186 raw units, 5 decimals

$ node check-mint.mjs EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
program:          spl-token
mint authority:   BJE5MMbqXjVwjAF7oxwPYXnTXDyspzZyt4vwenNw5ruG
freeze authority: 7dGbd2QZcCKcTndnHcTL8q7SMVXAkp688NTQYwrRCrar
supply:           9149767648444108 raw units, 6 decimals

$ node check-mint.mjs 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo
program:          spl-token-2022
mint authority:   AxJkHRY3puoofyj7Pn512M1SGBgWroXMkEdNPQypkzbu
freeze authority: 2apBGMsS6ti9RyF5TwQTDswXBWskiJP2LD4cUEDqYJjk
supply:           778774433254451 raw units, 6 decimals
extension:        mintCloseAuthority {"closeAuthority":"2apBGMsS6ti9RyF5TwQTDswXBWskiJP2LD4cUEDqYJjk"}
extension:        permanentDelegate {"delegate":"2apBGMsS6ti9RyF5TwQTDswXBWskiJP2LD4cUEDqYJjk"}
extension:        transferFeeConfig {"newerTransferFee":{"epoch":605,"maximumFee":0,"transferFeeBasisPoints":0},...}
extension:        transferHook {"authority":"2apBGMsS6ti9RyF5TwQTDswXBWskiJP2LD4cUEDqYJjk","programId":null}

BONK has both authorities revoked. USDC and PYUSD (PayPal USD) keep theirs, as issuers of regulated stablecoins do.

Token-2022: revoked is not the whole story

Mints owned by the Token-2022 program can carry extensions with powers the two classic fields do not show. For a rug check, look at these too:

Where pump.fun coins stand

pump.fun creates coins with the mint and freeze authority already revoked, so for those the check mostly confirms it. The question that matters there is who holds the supply, not who can mint more. Coins launched elsewhere, and any token someone sends you, are worth checking.

Many mints at once, with metadata

solana-token-meta reads the mint and its Metaplex metadata together, 50 mints per getMultipleAccounts call, decodes every Token-2022 extension, and returns the facts above as booleans:

npm install github:blixvip/solana-token-meta
import { getTokenMetas, riskFlags } from "solana-token-meta";

const metas = await getTokenMetas([
  "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263", // BONK
  "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", // USDC
  "DxYWLXgKJpQmfhTG7ikK6oX6oDhxMhN5wCs5BJekpump", // a pump.fun coin on Token-2022
]);
for (const m of metas) {
  const f = riskFlags(m);
  console.log(m.metadata?.symbol, m.program, "mint:", f.mintAuthorityActive ? "ACTIVE" : "revoked", "freeze:", f.freezeAuthorityActive ? "ACTIVE" : "revoked", "metadata mutable:", f.metadataMutable);
}
Bonk spl-token mint: revoked freeze: revoked metadata mutable: true
USDC spl-token mint: ACTIVE freeze: ACTIVE metadata mutable: true
DEED token-2022 mint: revoked freeze: revoked metadata mutable: false

riskFlags(m) also has hasPermanentDelegate, hasTransferFee, hasTransferHook, nonTransferable, defaultAccountsFrozen and paused. Or from a terminal: npx github:blixvip/solana-token-meta <mint>.

Limits to know

Want it done for you?

This is the small, open version. Blix is the AI-powered Solana memecoin terminal it comes from: every pump.fun launch live, AI coin ratings, narratives, wallet and X tracking, and one-click trading with 0% fees. There is a public API and an MCP server too.

Start trading at blixvip.comJoin the Discord

Help build it

solana-token-meta is open source and takes pull requests. There are good first issues with step-by-step instructions, and setup is git clone and npm test.

More guides

How to read Token-2022 metadata in JavaScriptsolana-token-metaHow to calculate a Solana token's top 10 holders percentagesol-holdersHow to parse a Solana transaction in Node.js without web3.jssolana-tx-parseHow to get a pump.fun token's market cap without an APIpump-curve