{"uid":"cap_aLICU66SMr9OT4q1Yi08T","slug":"solana-token-2022-extensions-lookup-c7567150","name":"Solana Token-2022 Extensions Lookup","description":"Solana SPL mint audit from the chain: program (Token or Token-2022), authorities, supply and decimals, plus Token-2022 extensions with risk flags for permanent delegate, transfer hook, transfer fee, default frozen state and mint close. Reads the mint account only; it does not check holders or liquidity.","url":"https://api.chainmarket-api.workers.dev/api/crypto/solana-token-extensions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["mint"],"properties":{"mint":{"type":"string","description":"Solana mint address (base58, 32 to 44 characters)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"mint":"2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo","flags":{"transferHook":false,"permanentDelegate":true,"mintCloseAuthority":true,"transferHookProgram":null,"transferFeeBasisPoints":0,"permanentDelegateAddress":"2apBGMsS6ti9RyF5TwQTDswXBWskiJP2LD4cUEDqYJjk","defaultAccountStateFrozen":false},"source":"https://api.mainnet-beta.solana.com","supply":"730901064051690","program":"Token-2022","decimals":6,"checkedAt":"2026-10-23T09:35:54.443Z","extensions":["mintCloseAuthority","permanentDelegate"],"mintAuthority":"AxJkHRY3puoofyj7Pn512M1SGBgWroXMkEdNPQypkzbu","freezeAuthority":"2apBGMsS6ti9RyF5TwQTDswXBWskiJP2LD4cUEDqYJjk"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IKvCAvAikmqmRvnkF_Mzu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches Token-2022 (Token Extensions Program) metadata and extension flags for a given Solana mint address","exampleAgentPrompt":"Can you pull the Token-2022 extension details for the Solana mint 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo — I want to know if it has a permanent delegate, transfer hook, or any other special extensions enabled?","exampleUseCases":[{"title":"Token safety audit before DeFi trade","prompt":"Before I swap into this token, check the mint 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo on Solana — does it have any dangerous Token-2022 flags like a permanent delegate or transfer hook that could drain my wallet?"},{"title":"Transfer fee detection for arbitrage bot","prompt":"Look up the Token-2022 extensions for Solana mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v and tell me if there are any transfer fees configured — I need the exact basis points before routing trades through it."},{"title":"Smart contract integration verification","prompt":"I'm integrating with a new Solana token at mint So11111111111111111111111111111111111111112 — can you fetch its Token-2022 program details and tell me whether it uses mintCloseAuthority or defaultAccountStateFrozen so I know how to handle accounts properly?"}],"resultDescription":"Returns a JSON object containing the mint address, token program name (e.g. Token-2022), decimals, total supply, mint authority, freeze authority, the timestamp of the check, the source RPC URL, a list of active extension names, and a flags object with boolean and value fields for each possible extension (transferHook, permanentDelegate, mintCloseAuthority, transferFeeBasisPoints, defaultAccountStateFrozen, transferHookProgram, permanentDelegateAddress).","failureModes":["Invalid or malformed mint address (not valid base58 or wrong length) returns an error","Mint address does not exist on Solana mainnet returns not-found error","Mint uses legacy SPL Token program rather than Token-2022 — may return empty extensions","Solana RPC node temporarily unavailable causes timeout or 5xx response","Network issues between Cloudflare Worker and Solana mainnet may cause transient failures"],"whenToPreferThis":"Use this endpoint when you need authoritative on-chain Token-2022 extension data directly from Solana mainnet without requiring an API key or signup. Ideal for agents performing token safety audits, DeFi routing decisions, wallet integrations, or smart contract compatibility checks where knowing exact extension flags (permanent delegate, transfer hooks, transfer fees, freeze state) is critical. Prefer over generic token metadata APIs when you specifically need Token-2022 program details rather than price or market data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:44:07.214Z","isFirstParty":false,"canonicalSlug":"solana-token-2022-extensions-lookup-c7567150"}