zkSync token info, ERC-20
agent-data-tools.revmesh2074.workers.dev/zksync/token-info
zkSync token info, ERC-20. Look up the name, symbol, decimals and total supply of an ERC-20 token contract on zkSync Era, live from the contract. Use to identify an unknown token address or to format raw amounts; for a holder's balance use zksync_token_balance. Input is a ticker (USDC, WETH…) or the token's 0x contract address; an address that is not an ERC-20 contract returns 422, uncharged.
GET
https://agent-data-tools.revmesh2074.workers.dev/zksync/token-infoUptime100% 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://agent-data-tools.revmesh2074.workers.dev/zksync/token-info?token=0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4");
console.log(await res.json());Example input
{
"token": "0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4"
}