Scroll token info, ERC-20
agent-data-tools.revmesh2074.workers.dev/scroll/token-info
Scroll token info, ERC-20. Look up the name, symbol, decimals and total supply of an ERC-20 token contract on Scroll, live from the contract. Use to identify an unknown token address or to format raw amounts; for a holder's balance use scroll_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/scroll/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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/scroll/token-info?token=0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4");
console.log(await res.json());Example input
{
"token": "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4"
}