80trust / 100
Chain Total Supply
by Tanod chainpeek in Onchain & crypto
x402 APIPassing, checked 2 h ago
chainpeek (Tanod) ERC-20 total supply with decimals and symbol on Ethereum, Base or Robinhood Chain. Use when an agent needs the total supply of an ERC-20 token, with its decimals and symbol.
POST https://tanod.dev/v1/chain/total-supply
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 275 ms typical, 731 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://tanod.dev/v1/chain/total-supply' \
-H 'content-type: application/json' \
--data-raw '{"chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftanod.dev%2Fv1%2Fchain%2Ftotal-supply
const res = await pay("https://tanod.dev/v1/chain/total-supply", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"chain\":\"base\",\"token\":\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"}",
});
console.log(await res.json());Example input
{
"chain": "base",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}Example output
{
"block": 52396571,
"chain": "base",
"decimals": 6,
"note": "symbol and decimals come from the token contract, which can report anything: check the address",
"symbol": "USDC",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"total_supply": "4399817144.81441",
"total_supply_raw": "4399817144814410",
"untrusted_content": true
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 731 ms | $0.001 |
| 6 h ago | Passed | 402 | 260 ms | $0.001 |
| 10 h ago | Passed | 402 | 262 ms | $0.001 |
| 13 h ago | Passed | 402 | 670 ms | $0.001 |
| 18 h ago | Passed | 402 | 280 ms | $0.001 |
| 21 h ago | Passed | 402 | 294 ms | $0.001 |
| 25 h ago | Passed | 402 | 417 ms | $0.001 |
| 28 h ago | Passed | 402 | 2.2 s | $0.001 |
| 32 h ago | Passed | 402 | 275 ms | $0.001 |
| 36 h ago | Passed | 402 | 283 ms | $0.001 |
| 39 h ago | Passed | 402 | 268 ms | $0.001 |
| 43 h ago | Passed | 402 | 529 ms | $0.001 |
| 47 h ago | Passed | 402 | 354 ms | $0.001 |
| 2 days ago | Passed | 402 | 273 ms | $0.001 |
| 2 days ago | Passed | 402 | 275 ms | $0.001 |