{"uid":"cap_KHsMYbnii4R0M8EzC5I0-","slug":"erc20-erc721-total-supply-lookup-c69fb287","name":"ERC20/ERC721 Total Supply Lookup","description":"Total supply of an ERC20 or ERC721 contract — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/erc20-supply?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"chain":{"enum":["ethereum","base","polygon","arbitrum","optimism","bsc","avalanche","gnosis","linea","scroll"],"type":"string"},"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"erc20-supply","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.003,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fwZV3BH7fBHcWGEix3_uu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the total token supply for a given ERC20 or ERC721 contract address on one of ten supported EVM chains","exampleAgentPrompt":"What is the total supply of the token at contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?","exampleUseCases":[{"title":"NFT collection size verification","prompt":"How many NFTs have been minted in total for the contract 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum?"},{"title":"DeFi token supply monitoring","prompt":"What's the total supply of the USDC token at 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 on Polygon? I want to track it over time."},{"title":"New token launch audit","prompt":"I need to verify the total supply of a newly launched token at contract 0x1234567890abcdef1234567890abcdef12345678 on Base — can you pull the on-chain total supply?"}],"resultDescription":"Returns a JSON object containing: a boolean ok status, the supply type (erc20-supply), and a receipt object with the transaction hash, USD amount charged, receipt ID, and ISO8601 timestamp of when the data was generated.","failureModes":["Invalid contract address format (not a valid 0x hex address) returns a validation error","Unsupported chain name outside the allowed enum returns an error","Contract address does not implement ERC20/ERC721 supply interface returns null or error","Payment failure via x402 protocol results in 402 response and no data","Network timeout or RPC node unavailability on the target chain"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call lookup of a token's total supply across any of ten major EVM chains without running your own RPC infrastructure. Ideal for agents that need on-chain token metadata without a long-term API subscription. The x402 micropayment model ($0.003/call) makes it cost-effective for low-frequency or one-off queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:47.545Z","isFirstParty":false,"canonicalSlug":"erc20-erc721-total-supply-lookup-c69fb287"}