api.zato.org/api/chain/total-supply
Use when you need the total supply of an ERC20 or ERC721 token contract on Ethereum, via totalSupply (eth_call).
GET
https://api.zato.org/api/chain/total-supplyUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.zato.org/api/chain/total-supply?contract=0xdac17f958d2ee523a2206206994597c13d831ec7&network=ethereum");
console.log(await res.json());Example input
{
"contract": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"network": "ethereum"
}More from Token DataProvider status
- api.zato.org/api/chain/erc20-transfersUse when you need raw ERC20 Transfer event logs for a token contract or a wallet from the last 800 blocks (max 100 logs), via eth_getLogs.0.002
- api.zato.org/api/token-infoUse when an agent needs the basics of a token contract before showing amounts. Trigger: contract and network ethereum or base. Outcome: name, symbol, decimals and total supply. The paid answer points to Token Risk Check (GET /api/chain/token-risk, $0.003) for owner powers, proxy and mint, pause, blacklist or fee functions.0.001
