DevX Token Snapshot

v2.1.0
io.github.devx-agent/token-snapshot Checked 1 day ago Published 1 month ago

ERC-20 price, liquidity, pools, holder hints, risk flags on 7 EVM chains.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

token_basics Free ERC-20 token basics

Free: identifies an ERC-20 contract by returning its name, symbol, decimals and total supply, whether it has an owner() and whether it is an EIP-1967 proxy. Use it to confirm which token a contract address really is (for example before trading or listing it) or to get decimals for amount math. For price, liquidity and risk flags use token_snapshot. Read-only. The address is sent to the hosted DevX API, which reads the contract over public RPC at the latest block. No key, no payment. Returns: ok, chain, chain_id, block, token {address, name, symbol, decimals, total_supply as a decimal string},…

ParameterTypeDescription
token *stringERC-20 contract address: 0x followed by 40 hex characters (not a symbol or name).
chainstringChain the contract is deployed on. Default: base.

token_snapshot Token price, liquidity and risk snapshot (paid, 0.003 USDC)

Returns an on-chain market and risk snapshot of an ERC-20: USD price from its deepest DEX pool against wrapped native or stablecoins, FDV, total DEX liquidity, the top pools across Uniswap V2/V3, Aerodrome, Velodrome, PancakeSwap, Sushi, Camelot, QuickSwap, Trader Joe and Pangolin, holder-concentration hints (supply held in pools, burn address, the contract and the owner), and risk flags (proxy, owner, mint, blacklist, fee, pause or trading-switch functions in the bytecode, thin liquidity, price divergence between pools). Use it before buying, accepting or listing an unfamiliar token, or when…

ParameterTypeDescription
token *stringERC-20 contract address: 0x followed by 40 hex characters (not a symbol or name).
chainstringChain the contract is deployed on. Default: base.
poolsintegerHow many top pools to include, 1-10. Default 5.

token_snapshot_info Price and payment details of the paid call

Returns the URL template, HTTP methods, price (0.003 USDC), protocol (x402 exact, USDC on Base), supported chains, payee address and docs link of the paid token_snapshot endpoint, so an agent with its own x402 client can call it directly. Makes no network request and does not pay. Returns: url, method, price_usdc, protocol, chains, payTo, docs, pay_with_this_package.