{"slug":"api-onesource-io-api-chain-total-supply-440309","title":"Total supply of an ERC20 or ERC721 token contract via totalSupply (eth_call)","host":"api.onesource.io","method":"GET","resource":"https://api.onesource.io/api/chain/total-supply","category":"market","description":"Total supply of an ERC20 or ERC721 token contract via totalSupply (eth_call)","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":752,"reported_calls_30d":593,"reported_payers_30d":591,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"contract":"0xdac17f958d2ee523a2206206994597c13d831ec7","network":"ethereum"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"contract":{"pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"network":{"default":"ethereum","enum":["ethereum","sepolia","robinhood"],"type":"string"}},"required":["contract"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"description":"Endpoint-specific response payload","properties":{"contract_address":{"type":"string"},"decimals":{"type":"integer"},"is_erc721":{"type":"boolean"},"name":{"type":"string"},"symbol":{"type":"string"},"total_supply":{"type":"string"}},"type":"object"},"error":{"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"type":["object","null"]},"meta":{"properties":{"cost_usdc":{"type":"string"},"endpoint":{"type":"string"},"payment_chain":{"type":"string"},"payment_token":{"type":"string"},"request_id":{"type":"string"}},"required":["endpoint","request_id"],"type":"object"}},"required":["data","meta"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":752,"error":null}],"description_full":"Total supply of an ERC20 or ERC721 token contract via totalSupply (eth_call)","last_updated":"2026-09-24T15:38:54.762Z","schemes":["batch-settlement","exact"]}