{"uid":"cap_SnN07p5x23i_V_-OqsDEf","slug":"base-erc-20-total-supply-lookup-0c78e6ae","name":"Base ERC-20 Total Supply Lookup","description":"Call when an agent needs ERC-20 totalSupply for one Base token, raw and human when decimals() is readable. Send token (example Circle USDC). Read-only eth_call on eip155:8453. No spend. Send JSON {\"token\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/base-total-supply first.","url":"https://agentshelf.syntexa.ch/v1/base-total-supply?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","examples":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"description":"ERC-20 contract on Base mainnet. Example: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. Returns total_supply_raw and a human total_supply when decimals() is readable. Read-only."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NRAC8PumP0ODvw6Feuf9I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the raw and human-readable total supply of any ERC-20 token on Base mainnet via a read-only eth_call","exampleAgentPrompt":"What's the total supply of USDC on Base? The contract address is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — give me both the raw number and the human-readable amount.","exampleUseCases":[{"title":"USDC circulating supply check","prompt":"Look up the total supply of USDC on Base mainnet — the contract is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. I want both the raw integer and the formatted number adjusted for decimals."},{"title":"DeFi token market cap research","prompt":"I'm researching a DeFi token on Base with contract address 0x4200000000000000000000000000000000000006 — can you fetch its total supply in both raw and human-readable form so I can estimate its market cap?"},{"title":"Smart contract audit supply verification","prompt":"For my audit report, I need the on-chain total supply of the ERC-20 token at 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb on Base mainnet, including the raw value and the decimal-adjusted amount."}],"resultDescription":"Returns a JSON object containing total_supply_raw (the raw integer from the ERC-20 totalSupply() call) and total_supply (the human-readable value adjusted by the token's decimals, when decimals() is readable). No state is modified; this is a pure read-only eth_call on Base mainnet (eip155:8453).","failureModes":["Invalid or non-ERC-20 contract address returns an error or empty response","Token contract does not implement decimals() — human-readable total_supply may be absent, only raw returned","Contract address on wrong network (not Base mainnet) returns an error","Malformed JSON input (missing 'token' field) returns a 400-level error","Network RPC failure or Base node unavailability causes a timeout or 5xx error"],"whenToPreferThis":"Use this endpoint when you specifically need the ERC-20 totalSupply of a token deployed on Base mainnet (eip155:8453) and want both the raw big-integer value and a decimals-adjusted human-readable figure in a single call. Prefer this over general blockchain RPC calls when you want a simple JSON interface without managing raw eth_call encoding. Try the free sandbox endpoint at /v1/sandbox/base-total-supply first before spending $0.001 USDC per paid call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:34:58.913Z","isFirstParty":false,"canonicalSlug":"base-erc-20-total-supply-lookup-0c78e6ae"}