{"uid":"cap_jeioRHzNnlcgoRFE2plcs","slug":"erc-20-total-supply-lookup-54bda89d","name":"ERC-20 Total Supply Lookup","description":"Returns the total supply of an ERC-20 token. Provide token (ERC-20 contract address). Query: token (ERC-20 contract, 0x + 40 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/erc20_total_supply?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"ERC-20 contract, 0x + 40 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"string","description":"the uint256 as a decimal string"},"service":{"type":"string"}}}}}}},"responseSchema":null,"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_j9jG5J4RgiXCExxtgtlOH","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 supply of an ERC-20 token contract by calling totalSupply() on-chain for Ethereum mainnet","exampleAgentPrompt":"What's the total supply of the USDC token contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?","exampleUseCases":[{"title":"DeFi token supply audit","prompt":"Can you check the total supply of the Uniswap token at 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 on Ethereum so I can compare it against the reported circulating supply?"},{"title":"Stablecoin issuance monitoring","prompt":"What's the current total supply of USDT on Ethereum — the contract address is 0xdAC17F958D2ee523a2206206994597C13D831ec7?"},{"title":"Token analytics dashboard enrichment","prompt":"I need the on-chain totalSupply for the WETH contract 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 so I can display it alongside price data in my dashboard."}],"resultDescription":"Returns a JSON object with ok (boolean), result (the totalSupply as a uint256 decimal string), chain (e.g. 'ethereum'), method (the RPC method used), and service name. On failure, ok is false and an error string is present.","failureModes":["Invalid or non-ERC-20 contract address returns ok:false with an error message","Contract does not implement totalSupply() causes a revert or empty response","Malformed address (not matching 0x + 40 hex) rejected by schema validation","Network or RPC node unavailability causes timeout or error response","Token contract that has been self-destructed returns zero or error"],"whenToPreferThis":"Use this endpoint when you need the raw on-chain totalSupply of any ERC-20 token on Ethereum mainnet. It is a direct eth_call to the contract, so the data is authoritative and real-time. Prefer this over off-chain aggregators (CoinGecko, CoinMarketCap) when you need the exact on-chain figure rather than a reported or circulating supply approximation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:23:24.780Z","isFirstParty":false,"canonicalSlug":"erc-20-total-supply-lookup-54bda89d"}